diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/ConfigurationParseResult.cs b/locker/Constants.cs similarity index 73% rename from src/ResourceManager/Compute/Commands.Compute/Extension/DSC/ConfigurationParseResult.cs rename to locker/Constants.cs index 62f60f98bb31..f22d134b53b6 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/ConfigurationParseResult.cs +++ b/locker/Constants.cs @@ -14,15 +14,14 @@ using System; using System.Collections.Generic; -using System.Management.Automation.Language; +using System.Linq; +using System.Text; +using System.Threading.Tasks; -namespace Microsoft.Azure.Commands.Compute.Extension.DSC +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets { - public class ConfigurationParseResult + public class Constants { - public string Path { get; set; } - public ParseError[] Errors { get; set; } - public List RequiredModules { get; set; } - + public const int VaultCertificateExpiryInHoursForBackup = 48; } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionPrivateSettings.cs b/locker/ListContainerQueryParameter.cs similarity index 53% rename from src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionPrivateSettings.cs rename to locker/ListContainerQueryParameter.cs index f4c9b6d8cbef..08de6d174ffe 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionPrivateSettings.cs +++ b/locker/ListContainerQueryParameter.cs @@ -12,26 +12,30 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - - using System.Collections; +using Microsoft.Azure.Management.BackupServices.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; - /// - /// Represents private/protected settings. Serialized representation of this object stored as an encrypted string on the VM. - /// Part of the protocol between Set-AzureVMDscExtension cmdlet and DSC Extension handler. - /// - public class DscExtensionPrivateSettings +namespace Microsoft.Azure.Commands.AzureBackup.Models +{ + internal class ListContainerQueryParameter : ManagementBaseObject { /// - /// Url to the blob storage with ConfigurationData .psd1 file. + ///Containers information for registration + /// + public string ContainerTypeField { get; set; } + + /// + ///Containers status information /// - public string DataBlobUri { get; set; } + public string ContainerStatusField { get; set; } /// - /// This hashtable contains parameters that needs to be encrypted on target VM, like PSCredential. - /// are not encrypted on target VM. + ///Containers status information /// - public Hashtable Items { get; set; } + public string ContainerFriendlyNameField { get; set; } } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/VirtualMachineDscExtensionContext.cs b/locker/PSOperationContext.cs similarity index 68% rename from src/ResourceManager/Compute/Commands.Compute/Extension/DSC/VirtualMachineDscExtensionContext.cs rename to locker/PSOperationContext.cs index 01172fe6642d..ea0b67f93da7 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/VirtualMachineDscExtensionContext.cs +++ b/locker/PSOperationContext.cs @@ -12,17 +12,14 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections; -using Microsoft.Azure.Commands.Compute.Models; +using System.Net; -namespace Microsoft.Azure.Commands.Compute.Extension.DSC +namespace Microsoft.Azure.Commands.Compute.Models { - public class VirtualMachineDscExtensionContext : PSVirtualMachineExtension + public class PSOperationContext { + public string RequestId { get; set; } - public string ModulesUrl { get; set; } - public string ConfigurationFunction { get; set; } - public Hashtable Properties { get; set; } - + public HttpStatusCode StatusCode { get; set; } } } diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln index d38164fd5238..17a5d3d9b664 100644 --- a/src/AzurePowershell.sln +++ b/src/AzurePowershell.sln @@ -222,10 +222,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates.Test", "ResourceManager\Commerce\Commands.UsageAggregates.Test\Commands.UsageAggregates.Test.csproj", "{F220C306-29A3-4511-8518-A58A55C60D07}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.ServiceManagement", "ResourceManager\ApiManagement\Commands.ApiManagement.ServiceManagement\Commands.ApiManagement.ServiceManagement.csproj", "{ED8BA708-AF42-4C08-9F4E-DAA1037797D5}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ApiManagement.ServiceManagement.Test", "ResourceManager\ApiManagement\Commands.SMAPI.Test\Commands.ApiManagement.ServiceManagement.Test.csproj", "{6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup", "ResourceManager\AzureBackup\Commands.AzureBackup\Commands.AzureBackup.csproj", "{6C8D2337-C9D1-4F52-94B3-AB63A19F3453}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureBackup.Test", "ResourceManager\AzureBackup\Commands.AzureBackup.Test\Commands.AzureBackup.Test.csproj", "{678AE95D-2364-47D7-888C-3FFA6D412CC8}" @@ -556,14 +552,6 @@ Global {F220C306-29A3-4511-8518-A58A55C60D07}.Debug|Any CPU.Build.0 = Debug|Any CPU {F220C306-29A3-4511-8518-A58A55C60D07}.Release|Any CPU.ActiveCfg = Release|Any CPU {F220C306-29A3-4511-8518-A58A55C60D07}.Release|Any CPU.Build.0 = Release|Any CPU - {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ED8BA708-AF42-4C08-9F4E-DAA1037797D5}.Release|Any CPU.Build.0 = Release|Any CPU - {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B}.Release|Any CPU.Build.0 = Release|Any CPU {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Debug|Any CPU.Build.0 = Debug|Any CPU {6C8D2337-C9D1-4F52-94B3-AB63A19F3453}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -616,7 +604,6 @@ Global {7D1D3B56-4EB4-4819-86FD-43330DED8EE7} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {11387E0A-4DB6-49B8-BDBC-EE020D85D10F} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {F220C306-29A3-4511-8518-A58A55C60D07} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} - {6448E795-3D02-4BDD-B0C7-AD0A2AFE3C8B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {678AE95D-2364-47D7-888C-3FFA6D412CC8} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj index 604e143d266e..e65f631b0573 100644 --- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj +++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj @@ -58,7 +58,7 @@ False - ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/Common/Commands.Common.Storage/app.config b/src/Common/Commands.Common.Storage/app.config new file mode 100644 index 000000000000..d493bfcbbea0 --- /dev/null +++ b/src/Common/Commands.Common.Storage/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/Common/Commands.Common.Storage/packages.config b/src/Common/Commands.Common.Storage/packages.config index 7c90b5dc7bce..00b0be189cd2 100644 --- a/src/Common/Commands.Common.Storage/packages.config +++ b/src/Common/Commands.Common.Storage/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj index 39c86b3c664d..2069e4964522 100644 --- a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj +++ b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj @@ -58,7 +58,7 @@ False - ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs b/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs index 7f278d628119..128f03e5bfb0 100644 --- a/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs +++ b/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs @@ -19,8 +19,6 @@ using System.Threading.Tasks; using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using System.Net.Http; -using System.Net.Http.Headers; namespace Microsoft.WindowsAzure.Commands.Common.Test.Common { @@ -51,12 +49,12 @@ public TClient CreateCustomClient(params object[] parameters) where TCl throw new NotImplementedException(); } - public HttpClient CreateHttpClient(string endpoint, HttpMessageHandler effectiveHandler) + public System.Net.Http.HttpClient CreateHttpClient(string endpoint, System.Net.Http.HttpMessageHandler effectiveHandler) { throw new NotImplementedException(); } - public HttpClient CreateHttpClient(string endpoint, System.Net.ICredentials credentials) + public System.Net.Http.HttpClient CreateHttpClient(string endpoint, System.Net.ICredentials credentials) { throw new NotImplementedException(); } @@ -66,19 +64,16 @@ public void RemoveAction(Type actionType) throw new NotImplementedException(); } - public void AddUserAgent(string productName, string productVersion) + public List UserAgents { - throw new NotImplementedException(); - } - - public void AddUserAgent(string productName) - { - throw new NotImplementedException(); - } - - public HashSet UserAgents - { - get { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } } } } diff --git a/src/Common/Commands.Common.Test/packages.config b/src/Common/Commands.Common.Test/packages.config index c4f1233b1aa8..ddd8b7888a41 100644 --- a/src/Common/Commands.Common.Test/packages.config +++ b/src/Common/Commands.Common.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj index fe1e8a7a42d5..a0254d512455 100644 --- a/src/Common/Commands.Common/Commands.Common.csproj +++ b/src/Common/Commands.Common/Commands.Common.csproj @@ -60,7 +60,7 @@ False - ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config index 87ab2f29722c..2136d5cf5624 100644 --- a/src/Common/Commands.Common/packages.config +++ b/src/Common/Commands.Common/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj index ddab49633a5a..9686a2341ea9 100644 --- a/src/Common/Commands.Profile/Commands.Profile.csproj +++ b/src/Common/Commands.Profile/Commands.Profile.csproj @@ -55,7 +55,7 @@ False - ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/Common/Commands.Profile/packages.config b/src/Common/Commands.Profile/packages.config index 0127cfe1b5ea..278646ed464b 100644 --- a/src/Common/Commands.Profile/packages.config +++ b/src/Common/Commands.Profile/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj index 4a75bde5caaf..223a45b2b949 100644 --- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj +++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj @@ -48,7 +48,7 @@ False - ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll @@ -105,10 +105,6 @@ ..\..\packages\Microsoft.WindowsAzure.Management.Compute.12.2.0-preview\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.Network.7.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll - True - ..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.1.1\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll @@ -209,9 +205,6 @@ Always - - Always - Always diff --git a/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs b/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs index 07bb21030e07..a9100023ccdc 100644 --- a/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs +++ b/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs @@ -12,21 +12,17 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Test; +using System.Collections.Generic; +using System.IO; +using System.Linq; using Xunit; namespace Microsoft.WindowsAzure.Commands.ScenarioTest { public partial class ServiceManagementTests { - [Fact] - [Trait(Category.Service, Category.ServiceManagement)] - [Trait(Category.AcceptanceType, Category.CheckIn)] - [Trait(Category.AcceptanceType, Category.BVT)] - public void TestGetAzureVM() - { - this.RunPowerShellTest("Test-GetAzureVM"); - } - [Fact] [Trait(Category.Service, Category.ServiceManagement)] [Trait(Category.AcceptanceType, Category.CheckIn)] @@ -44,14 +40,5 @@ public void RunServiceManagementCloudExceptionTests() { this.RunPowerShellTest("Run-ServiceManagementCloudExceptionTests"); } - - [Fact] - [Trait(Category.Service, Category.ServiceManagement)] - [Trait(Category.AcceptanceType, Category.CheckIn)] - [Trait(Category.AcceptanceType, Category.BVT)] - public void RunStartAndStopMultipleVirtualMachinesTest() - { - this.RunPowerShellTest("Run-StartAndStopMultipleVirtualMachinesTest"); - } } } diff --git a/src/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs b/src/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs index 146abffa0432..2cd663f1404e 100644 --- a/src/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs +++ b/src/Common/Commands.ScenarioTest/ServiceManagement/ServiceManagementTests.cs @@ -14,13 +14,10 @@ using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Test; -using Microsoft.WindowsAzure.Management; -using Microsoft.WindowsAzure.Management.Compute; -using Microsoft.WindowsAzure.Management.Network; -using Microsoft.WindowsAzure.Management.Storage; using System.Collections.Generic; using System.IO; using System.Linq; +using Xunit; namespace Microsoft.WindowsAzure.Commands.ScenarioTest { @@ -28,19 +25,16 @@ public partial class ServiceManagementTests { private EnvironmentSetupHelper helper = new EnvironmentSetupHelper(); - protected void SetupManagementClients() + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetAzureVM() { - var rdfeTestFactory = new RDFETestEnvironmentFactory(); - var managementClient = TestBase.GetServiceClient(rdfeTestFactory); - var computeClient = TestBase.GetServiceClient(rdfeTestFactory); - var networkClient = TestBase.GetServiceClient(rdfeTestFactory); - var storageClient = TestBase.GetServiceClient(rdfeTestFactory); + this.RunPowerShellTest("Test-GetAzureVM"); + } - helper.SetupSomeOfManagementClients( - managementClient, - computeClient, - networkClient, - storageClient); + protected void SetupManagementClients() + { + helper.SetupSomeOfManagementClients(); } protected void RunPowerShellTest(params string[] scripts) diff --git a/src/Common/Commands.ScenarioTest/packages.config b/src/Common/Commands.ScenarioTest/packages.config index 0bad7d2da05e..4da23e3698eb 100644 --- a/src/Common/Commands.ScenarioTest/packages.config +++ b/src/Common/Commands.ScenarioTest/packages.config @@ -2,7 +2,7 @@ - + @@ -18,7 +18,6 @@ - diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj index 3a35cb2bbf1c..4c3fbcff7f71 100644 --- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj +++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj @@ -47,7 +47,7 @@ False - ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/Common/Commands.ScenarioTests.Common/packages.config b/src/Common/Commands.ScenarioTests.Common/packages.config index e9a3ceacc584..46f651991606 100644 --- a/src/Common/Commands.ScenarioTests.Common/packages.config +++ b/src/Common/Commands.ScenarioTests.Common/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs deleted file mode 100644 index 205646d18a1f..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/ApiManagementClient.cs +++ /dev/null @@ -1,1354 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Text.RegularExpressions; - using AutoMapper; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Common.Authentication; - using Microsoft.Azure.Common.Authentication.Models; - using Microsoft.Azure.Management.ApiManagement; - using Microsoft.Azure.Management.ApiManagement.SmapiModels; - using Newtonsoft.Json; - using Newtonsoft.Json.Linq; - - public class ApiManagementClient - { - private const string PeriodGroupName = "period"; - private const string ValueGroupName = "value"; - - private const string ProductIdPathTemplate = "/products/{0}"; - private const string UserIdPathTemplate = "/users/{0}"; - - // pattern: ^(?[DdMmYy]{1})(?\d+)$ - internal const string PeriodPattern = "^(?<" + PeriodGroupName + ">[DdMmYy]{1})(?<" + ValueGroupName + @">\d+)$"; - static readonly Regex PeriodRegex = new Regex(PeriodPattern, RegexOptions.Compiled); - - private readonly AzureProfile _azureProfile; - private Management.ApiManagement.ApiManagementClient _client; - - static ApiManagementClient() - { - ConfugureMappings(); - } - - private static void ConfugureMappings() - { - ConfigureSmapiToPowershellMappings(); - ConfigurePowershellToSmapiMappings(); - } - - private static void ConfigurePowershellToSmapiMappings() - { - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - } - - private static void ConfigureSmapiToPowershellMappings() - { - Mapper - .CreateMap() - .ForMember(dest => dest.ApiId, opt => opt.MapFrom(src => src.Id)) - .ForMember(dest => dest.Protocols, opt => opt.MapFrom(src => src.Protocols.ToArray())) - .ForMember( - dest => dest.AuthorizationServerId, - opt => opt.MapFrom( - src => src.AuthenticationSettings != null && src.AuthenticationSettings.OAuth2 != null - ? src.AuthenticationSettings.OAuth2.AuthorizationServerId - : null)) - .ForMember( - dest => dest.AuthorizationScope, - opt => opt.MapFrom( - src => src.AuthenticationSettings != null && src.AuthenticationSettings.OAuth2 != null - ? src.AuthenticationSettings.OAuth2.AuthorizationServerId - : null)) - .ForMember( - dest => dest.SubscriptionKeyHeaderName, - opt => opt.MapFrom( - src => src.SubscriptionKeyParameterNames != null - ? src.SubscriptionKeyParameterNames.Header - : null)) - .ForMember( - dest => dest.SubscriptionKeyQueryParamName, - opt => opt.MapFrom( - src => src.SubscriptionKeyParameterNames != null - ? src.SubscriptionKeyParameterNames.Query - : null)); - - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - Mapper.CreateMap(); - - Mapper - .CreateMap() - .ForMember(dest => dest.ProductId, opt => opt.MapFrom(src => src.Id)) - .ForMember(dest => dest.Title, opt => opt.MapFrom(src => src.Name)) - .ForMember(dest => dest.LegalTerms, opt => opt.MapFrom(src => src.Terms)) - .ForMember(dest => dest.NotificationPeriod, opt => opt.MapFrom(src => FormatPeriod(src.NotificationPeriod))) - .ForMember(dest => dest.SubscriptionPeriod, opt => opt.MapFrom(src => FormatPeriod(src.SubscriptionPeriod))); - - Mapper - .CreateMap() - .ForMember(dest => dest.SubscriptionId, opt => opt.MapFrom(src => src.Id)); - - Mapper - .CreateMap() - .ForMember(dest => dest.UserId, opt => opt.MapFrom(src => src.Id)) - .ForMember(dest => dest.Identities, opt => opt.MapFrom(src => src.Identities.ToDictionary(key => key.Id, value => value.Provider))); - - Mapper - .CreateMap() - .ForMember(dest => dest.GroupId, opt => opt.MapFrom(src => src.Id)); - - Mapper - .CreateMap() - .ForMember(dest => dest.CertificateId, opt => opt.MapFrom(src => src.Id)); - - Mapper - .CreateMap() - .ForMember(dest => dest.ServerId, opt => opt.MapFrom(src => src.Id)) - .ForMember(dest => dest.AccessTokenSendingMethods, opt => opt.MapFrom(src => src.BearerTokenSendingMethods)) - .ForMember(dest => dest.TokenEndpointUrl, opt => opt.MapFrom(src => src.TokenEndpoint)) - .ForMember(dest => dest.AuthorizationEndpointUrl, opt => opt.MapFrom(src => src.AuthorizationEndpoint)) - .ForMember(dest => dest.ClientRegistrationPageUrl, opt => opt.MapFrom(src => src.ClientRegistrationEndpoint)) - .ForMember(dest => dest.ClientAuthenticationMethods, opt => opt.MapFrom(src => src.ClientAuthenticationMethod)) - .ForMember(dest => dest.AuthorizationRequestMethods, opt => opt.MapFrom(src => src.AuthorizationMethods)) - .ForMember(dest => dest.TokenBodyParameters, opt => opt.Ignore()) - .AfterMap((src, dest) => - dest.TokenBodyParameters = src.TokenBodyParameters == null - ? (Hashtable) null - : new Hashtable(src.TokenBodyParameters.ToDictionary(key => key.Name, value => value.Value))); - } - - private static string FormatPeriod(PeriodContract notificationPeriod) - { - if (notificationPeriod == null) - { - return null; - } - - const string format = "{0}{1}"; - - return string.Format(format, notificationPeriod.Interval.ToString()[0], notificationPeriod.Value); - } - - public ApiManagementClient(AzureProfile azureProfile) - { - if (azureProfile == null) - { - throw new ArgumentNullException("azureProfile"); - } - - _azureProfile = azureProfile; - _client = CreateClient(); - - } - - private IApiManagementClient Client - { - get { return _client ?? (_client = CreateClient()); } - } - - private Management.ApiManagement.ApiManagementClient CreateClient() - { - return AzureSession.ClientFactory.CreateClient( - _azureProfile, - AzureEnvironment.Endpoint.ResourceManager); - } - - private static IList ListPaged( - Func> listFirstPage, - Func> listNextPage) - { - var resultsList = new List(); - - var pagedResponse = listFirstPage(); - resultsList.AddRange(pagedResponse.Result.Values); - - while (!string.IsNullOrEmpty(pagedResponse.Result.NextLink)) - { - pagedResponse = listNextPage(pagedResponse.Result.NextLink); - resultsList.AddRange(pagedResponse.Result.Values); - } - - return resultsList; - } - - private static IList ListPagedAndMap( - Func> listFirstPage, - Func> listNextPage) - { - IList unmappedList = ListPaged(listFirstPage, listNextPage); - - var mappedList = Mapper.Map>(unmappedList); - - return mappedList; - } - - #region APIs - public IList ApiList(PsApiManagementContext context) - { - var results = ListPagedAndMap( - () => Client.Apis.List(context.ResourceGroupName, context.ServiceName, null), - nextLink => Client.Apis.ListNext(nextLink)); - - return results; - } - - public IList ApiByName(PsApiManagementContext context, string name) - { - var results = ListPagedAndMap( - () => Client.Apis.List( - context.ResourceGroupName, - context.ServiceName, - new QueryParameters - { - Filter = string.Format("name eq '{0}'", name) - }), - nextLink => Client.ProductApis.ListNext(nextLink)); - - return results; - } - - public IList ApiByProductId(PsApiManagementContext context, string productId) - { - var results = ListPagedAndMap( - () => Client.ProductApis.List(context.ResourceGroupName, context.ServiceName, productId, null), - nextLink => Client.ProductApis.ListNext(nextLink)); - - return results; - } - - public PsApiManagementApi ApiById(PsApiManagementContext context, string id) - { - var response = Client.Apis.Get(context.ResourceGroupName, context.ServiceName, id); - - return Mapper.Map(response.Value); - } - - public PsApiManagementApi ApiCreate( - PsApiManagementContext context, - string id, - string name, - string description, - string serviceUrl, - string urlSuffix, - PsApiManagementSchema[] urlSchema, - string authorizationServerId, - string authorizationScope, - string subscriptionKeyHeaderName, - string subscriptionKeyQueryParamName) - { - var api = new ApiContract - { - Name = name, - Description = description, - ServiceUrl = serviceUrl, - Path = urlSuffix, - Protocols = Mapper.Map>(urlSchema), - }; - - if (!string.IsNullOrWhiteSpace(authorizationServerId)) - { - api.AuthenticationSettings = new AuthenticationSettingsContract - { - OAuth2 = new OAuth2AuthenticationSettingsContract - { - AuthorizationServerId = authorizationServerId, - Scope = authorizationScope - } - }; - } - - if (!string.IsNullOrWhiteSpace(subscriptionKeyHeaderName) || !string.IsNullOrWhiteSpace(subscriptionKeyQueryParamName)) - { - api.SubscriptionKeyParameterNames = new SubscriptionKeyParameterNamesContract - { - Header = subscriptionKeyHeaderName, - Query = subscriptionKeyQueryParamName - }; - } - - Client.Apis.CreateOrUpdate(context.ResourceGroupName, context.ServiceName, id, new ApiCreateOrUpdateParameters(api), null); - - var getResponse = Client.Apis.Get(context.ResourceGroupName, context.ServiceName, id); - - return Mapper.Map(getResponse.Value); - } - - public void ApiRemove(PsApiManagementContext context, string id) - { - Client.Apis.Delete(context.ResourceGroupName, context.ServiceName, id, "*"); - } - - public void ApiSet( - PsApiManagementContext context, - string id, - string name, - string description, - string serviceUrl, - string urlSuffix, - PsApiManagementSchema[] urlSchema, - string authorizationServerId, - string authorizationScope, - string subscriptionKeyHeaderName, - string subscriptionKeyQueryParamName) - { - var api = new ApiContract - { - Name = name, - Description = description, - ServiceUrl = serviceUrl, - Path = urlSuffix, - Protocols = Mapper.Map>(urlSchema), - }; - - if (!string.IsNullOrWhiteSpace(authorizationServerId)) - { - api.AuthenticationSettings = new AuthenticationSettingsContract - { - OAuth2 = new OAuth2AuthenticationSettingsContract - { - AuthorizationServerId = authorizationServerId, - Scope = authorizationScope - } - }; - } - - if (!string.IsNullOrWhiteSpace(subscriptionKeyHeaderName) || !string.IsNullOrWhiteSpace(subscriptionKeyQueryParamName)) - { - api.SubscriptionKeyParameterNames = new SubscriptionKeyParameterNamesContract - { - Header = subscriptionKeyHeaderName, - Query = subscriptionKeyQueryParamName - }; - } - - Client.Apis.CreateOrUpdate(context.ResourceGroupName, context.ServiceName, id, new ApiCreateOrUpdateParameters(api), "*"); - } - - public void ApiImportFromFile( - PsApiManagementContext context, - string apiId, - PsApiManagementApiFormat specificationFormat, - string specificationPath, - string urlSuffix) - { - string contentType; - switch (specificationFormat) - { - case PsApiManagementApiFormat.Wadl: - contentType = "application/vnd.sun.wadl+xml"; - break; - case PsApiManagementApiFormat.Swagger: - contentType = "application/vnd.swagger.doc+json"; - break; - default: - throw new ArgumentException(string.Format("Format '{0}' is not supported.", specificationFormat)); - } - - using (var fileStream = File.OpenRead(specificationPath)) - { - Client.Apis.Import(context.ResourceGroupName, context.ServiceName, apiId, contentType, fileStream, urlSuffix); - } - } - - public void ApiImportFromUrl( - PsApiManagementContext context, - string apiId, - PsApiManagementApiFormat specificationFormat, - string specificationUrl, - string urlSuffix) - { - string contentType; - switch (specificationFormat) - { - case PsApiManagementApiFormat.Wadl: - contentType = "application/vnd.sun.wadl.link+json"; - break; - case PsApiManagementApiFormat.Swagger: - contentType = "application/vnd.swagger.link+json"; - break; - default: - throw new ArgumentException(string.Format("Format '{0}' is not supported.", specificationFormat)); - } - - var jobj = JObject.FromObject( - new - { - link = specificationUrl - }); - - using (var memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(jobj.ToString(Formatting.None)))) - { - Client.Apis.Import(context.ResourceGroupName, context.ServiceName, apiId, contentType, memoryStream, urlSuffix); - } - } - - public byte[] ApiExportToFile( - PsApiManagementContext context, - string apiId, - PsApiManagementApiFormat specificationFormat, - string saveAs) - { - string contentType; - switch (specificationFormat) - { - case PsApiManagementApiFormat.Wadl: - contentType = "application/vnd.sun.wadl+xml"; - break; - case PsApiManagementApiFormat.Swagger: - contentType = "application/vnd.swagger.doc+json"; - break; - default: - throw new ArgumentException(string.Format("Format '{0}' is not supported.", specificationFormat)); - } - - var response = Client.Apis.Export(context.ResourceGroupName, context.ServiceName, apiId, contentType); - return response.Content; - } - - public void ApiAddToProduct(PsApiManagementContext context, string productId, string apiId) - { - Client.ProductApis.Add(context.ResourceGroupName, context.ServiceName, productId, apiId); - } - - public void ApiRemoveFromProduct(PsApiManagementContext context, string productId, string apiId) - { - Client.ProductApis.Remove(context.ResourceGroupName, context.ServiceName, productId, apiId); - } - #endregion - - #region Operations - public IList OperationList(PsApiManagementContext context, string apiId) - { - var results = ListPagedAndMap( - () => Client.ApiOperations.List(context.ResourceGroupName, context.ServiceName, apiId, null), - nextLink => Client.ApiOperations.ListNext(nextLink)); - - return results; - } - - public PsApiManagementOperation OperationById(PsApiManagementContext context, string apiId, string operationId) - { - var response = Client.ApiOperations.Get(context.ResourceGroupName, context.ServiceName, apiId, operationId); - - return Mapper.Map(response.Value); - } - - public PsApiManagementOperation OperationCreate( - PsApiManagementContext context, - string apiId, - string operationId, - string name, - string method, - string urlTemplate, - string description, - PsApiManagementParameter[] templateParameters, - PsApiManagementRequest request, - PsApiManagementResponse[] responses) - { - var operationContract = new OperationContract - { - Name = name, - Description = description, - Method = method, - UrlTemplate = urlTemplate, - }; - - if (templateParameters != null) - { - operationContract.TemplateParameters = Mapper.Map>(templateParameters); - } - - if (request != null) - { - operationContract.Request = Mapper.Map(request); - } - - if (responses != null) - { - operationContract.Responses = Mapper.Map>(responses); - } - - Client.ApiOperations.Create( - context.ResourceGroupName, - context.ServiceName, - apiId, - operationId, - new OperationCreateOrUpdateParameters(operationContract)); - - var getResponse = Client.ApiOperations.Get(context.ResourceGroupName, context.ServiceName, apiId, operationId); - - return Mapper.Map(getResponse.Value); - } - - public void OperationSet( - PsApiManagementContext context, - string apiId, - string operationId, - string name, - string method, - string urlTemplate, - string description, - PsApiManagementParameter[] templateParameters, - PsApiManagementRequest request, - PsApiManagementResponse[] responses) - { - var operationContract = new OperationContract - { - Name = name, - Description = description, - Method = method, - UrlTemplate = urlTemplate, - }; - - if (templateParameters != null) - { - operationContract.TemplateParameters = Mapper.Map>(templateParameters); - } - - if (request != null) - { - operationContract.Request = Mapper.Map(request); - } - - if (responses != null) - { - operationContract.Responses = Mapper.Map>(responses); - } - - Client.ApiOperations.Update( - context.ResourceGroupName, - context.ServiceName, - apiId, - operationId, - new OperationCreateOrUpdateParameters(operationContract), - "*"); - } - - public void OperationRemove(PsApiManagementContext context, string apiId, string operationId) - { - Client.ApiOperations.Delete(context.ResourceGroupName, context.ServiceName, apiId, operationId, "*"); - } - #endregion - - #region Products - public IList ProductList(PsApiManagementContext context, string title) - { - var query = new QueryParameters(); - if (!string.IsNullOrWhiteSpace(title)) - { - query.Filter = string.Format("name eq '{0}'", title); - } - - var results = ListPagedAndMap( - () => Client.Products.List(context.ResourceGroupName, context.ServiceName, query), - nextLink => Client.Products.ListNext(nextLink)); - - return results; - } - - public PsApiManagementProduct ProductById(PsApiManagementContext context, string productId) - { - var response = Client.Products.Get(context.ResourceGroupName, context.ServiceName, productId); - var product = Mapper.Map(response.Value); - - return product; - } - - public void ProductRemove(PsApiManagementContext context, string productId, bool deleteSubscriptions) - { - Client.Products.Delete(context.ResourceGroupName, context.ServiceName, productId, "*", deleteSubscriptions); - } - - public PsApiManagementProduct ProductCreate( - PsApiManagementContext context, - string productId, - string title, - string description, - string legalTerms, - bool? subscriptionRequired, - bool? approvalRequired, - int? subscriptionsLimit, - string subscriptionPeriod, - string notificationPeriod, - PsApiManagementProductState? state) - { - var productContract = new ProductContract(title) - { - ApprovalRequired = approvalRequired, - Description = description, - SubscriptionRequired = subscriptionRequired, - SubscriptionsLimit = subscriptionsLimit, - Terms = legalTerms - }; - - if (state.HasValue) - { - switch (state) - { - case PsApiManagementProductState.NotPublished: - productContract.State = ProductStateContract.NotPublished; - break; - case PsApiManagementProductState.Published: - productContract.State = ProductStateContract.Published; - break; - default: - throw new ArgumentOutOfRangeException(string.Format("State '{0}' is not supported.", state)); - } - } - - if (!string.IsNullOrWhiteSpace(subscriptionPeriod)) - { - productContract.SubscriptionPeriod = ParsePeriod(subscriptionPeriod); - } - - if (!string.IsNullOrWhiteSpace(notificationPeriod)) - { - productContract.NotificationPeriod = ParsePeriod(notificationPeriod); - } - - Client.Products.Create(context.ResourceGroupName, context.ServiceName, productId, new ProductCreateParameters(productContract)); - var response = Client.Products.Get(context.ResourceGroupName, context.ServiceName, productId); - - return Mapper.Map(response.Value); - } - - public void ProductSet( - PsApiManagementContext context, - string productId, - string title, - string description, - string legalTerms, - bool? subscriptionRequired, - bool? approvalRequired, - int? subscriptionsLimit, - string subscriptionPeriod, - string notificationPeriod, - PsApiManagementProductState? state) - { - var productUpdateParameters = new ProductUpdateParameters - { - Name = title, - ApprovalRequired = approvalRequired, - Description = description, - SubscriptionRequired = subscriptionRequired, - SubscriptionsLimit = subscriptionsLimit, - Terms = legalTerms - }; - - if (state.HasValue) - { - switch (state) - { - case PsApiManagementProductState.NotPublished: - productUpdateParameters.State = ProductStateContract.NotPublished; - break; - case PsApiManagementProductState.Published: - productUpdateParameters.State = ProductStateContract.Published; - break; - default: - throw new ArgumentOutOfRangeException(string.Format("State '{0}' is not supported.", state)); - } - } - - if (!string.IsNullOrWhiteSpace(subscriptionPeriod)) - { - productUpdateParameters.SubscriptionPeriod = ParsePeriod(subscriptionPeriod); - } - - if (!string.IsNullOrWhiteSpace(notificationPeriod)) - { - productUpdateParameters.NotificationPeriod = ParsePeriod(notificationPeriod); - } - - Client.Products.Update(context.ResourceGroupName, context.ServiceName, productId, productUpdateParameters, "*"); - } - - private static PeriodContract ParsePeriod(string period) - { - var match = PeriodRegex.Match(period); - if (!match.Success) - { - throw new ArgumentException(string.Format("Invalid period format: {0}", period), "period"); - } - - var periodStr = match.Groups[PeriodGroupName].Value; - var valueStr = match.Groups[ValueGroupName].Value; - - var contract = new PeriodContract - { - Value = Int32.Parse(valueStr), - Interval = "d".Equals(periodStr, StringComparison.OrdinalIgnoreCase) - ? PeriodIntervalContract.Day - : "m".Equals(periodStr, StringComparison.OrdinalIgnoreCase) - ? PeriodIntervalContract.Month - : PeriodIntervalContract.Year - }; - - return contract; - } - - public void ProductAddToGroup(PsApiManagementContext context, string groupId, string productId) - { - Client.ProductGroups.Add(context.ResourceGroupName, context.ServiceName, productId, groupId); - } - - public void ProductRemoveFromGroup(PsApiManagementContext context, string groupId, string productId) - { - Client.ProductGroups.Remove(context.ResourceGroupName, context.ServiceName, productId, groupId); - } - #endregion - - #region Subscriptions - public IList SubscriptionList(PsApiManagementContext context) - { - var results = ListPagedAndMap( - () => Client.Subscriptions.List(context.ResourceGroupName, context.ServiceName, null), - nextLink => Client.Subscriptions.ListNext(nextLink)); - - return results; - } - - public IList SubscriptionByUser(PsApiManagementContext context, string userId) - { - var results = ListPagedAndMap( - () => Client.UserSubscriptions.List(context.ResourceGroupName, context.ServiceName, userId, null), - nextLink => Client.UserSubscriptions.ListNext(nextLink)); - - return results; - } - - public IList SubscriptionByProduct(PsApiManagementContext context, string productId) - { - var results = ListPagedAndMap( - () => Client.ProductSubscriptions.List(context.ResourceGroupName, context.ServiceName, productId, null), - nextLink => Client.ProductSubscriptions.ListNext(nextLink)); - - return results; - } - - public PsApiManagementSubscription SubscriptionById(PsApiManagementContext context, string subscriptionId) - { - var response = Client.Subscriptions.Get(context.ResourceGroupName, context.ServiceName, subscriptionId); - var subscription = Mapper.Map(response.Value); - - return subscription; - } - - public PsApiManagementSubscription SubscriptionCreate( - PsApiManagementContext context, - string subscriptionId, - string productId, - string userId, - string name, - string primaryKey, - string secondaryKey, - PsApiManagementSubscriptionState? state) - { - var createParameters = new SubscriptionCreateParameters( - string.Format(UserIdPathTemplate, userId), - string.Format(ProductIdPathTemplate, productId), - name) - { - Name = name, - PrimaryKey = primaryKey, - SecondaryKey = secondaryKey - }; - - if (state.HasValue) - { - createParameters.State = Mapper.Map(state.Value); - } - - Client.Subscriptions.Create(context.ResourceGroupName, context.ServiceName, subscriptionId, createParameters); - - var response = Client.Subscriptions.Get(context.ResourceGroupName, context.ServiceName, subscriptionId); - - return Mapper.Map(response.Value); - } - - public void SubscriptionSet( - PsApiManagementContext context, - string subscriptionId, - string name, - string primaryKey, - string secondaryKey, - PsApiManagementSubscriptionState? state, - DateTime? expiresOn, - string stateComment) - { - var updateParameters = new SubscriptionUpdateParameters - { - Name = name, - PrimaryKey = primaryKey, - SecondaryKey = secondaryKey, - ExpiresOn = expiresOn, - StateComment = stateComment - }; - - if (state.HasValue) - { - updateParameters.State = Mapper.Map(state.Value); - } - - Client.Subscriptions.Update(context.ResourceGroupName, context.ServiceName, subscriptionId, updateParameters, "*"); - } - - public void SubscriptionRemove(PsApiManagementContext context, string subscriptionId) - { - Client.Subscriptions.Delete(context.ResourceGroupName, context.ServiceName, subscriptionId, "*"); - } - #endregion - - #region Users - public PsApiManagementUser UserCreate( - PsApiManagementContext context, - string userId, - string firstName, - string lastName, - string password, - string email, - PsApiManagementUserState? state, - string note) - { - var userCreateParameters = new UserCreateParameters - { - Email = email, - FirstName = firstName, - LastName = lastName, - Note = note, - Password = password - }; - - if (state.HasValue) - { - userCreateParameters.State = Mapper.Map(state.Value); - } - - Client.Users.Create(context.ResourceGroupName, context.ServiceName, userId, userCreateParameters); - - var response = Client.Users.Get(context.ResourceGroupName, context.ServiceName, userId); - var user = Mapper.Map(response.Value); - - return user; - } - - public void UserSet( - PsApiManagementContext context, - string userId, - string firstName, - string lastName, - string password, - string email, - PsApiManagementUserState? state, - string note) - { - var userUpdateParameters = new UserUpdateParameters - { - Email = email, - FirstName = firstName, - LastName = lastName, - Note = note, - Password = password, - }; - - if (state.HasValue) - { - userUpdateParameters.State = Mapper.Map(state.Value); - } - - Client.Users.Update(context.ResourceGroupName, context.ServiceName, userId, userUpdateParameters, "*"); - } - - public IList UsersList( - PsApiManagementContext context, - string firstName, - string lastName, - string email, - PsApiManagementUserState? state, - string groupId) - { - var query = CreateQueryUserParameters(firstName, lastName, email, state); - - var results = !string.IsNullOrEmpty(groupId) - ? ListPagedAndMap( - () => Client.GroupUsers.List(context.ResourceGroupName, context.ServiceName, groupId, query), - nextLink => Client.GroupUsers.ListNext(nextLink)) - : ListPagedAndMap( - () => Client.Users.List(context.ResourceGroupName, context.ServiceName, query), - nextLink => Client.Users.ListNext(nextLink)); - - return results; - } - - public PsApiManagementUser UserById(PsApiManagementContext context, string userId) - { - var response = Client.Users.Get(context.ResourceGroupName, context.ServiceName, userId); - - var user = Mapper.Map(response.Value); - return user; - } - - public void UserRemove(PsApiManagementContext context, string userId, bool deleteSubscriptions) - { - Client.Users.Delete(context.ResourceGroupName, context.ServiceName, userId, "*", deleteSubscriptions); - } - - public string UserGetSsoUrl(PsApiManagementContext context, string userId) - { - var response = Client.Users.GenerateSsoUrl(context.ResourceGroupName, context.ServiceName, userId); - - return response.Value; - } - - public void UserAddToGroup(PsApiManagementContext context, string groupId, string userId) - { - Client.UserGroups.AddToGroup(context.ResourceGroupName, context.ServiceName, userId, groupId); - } - - public void UserRemoveFromGroup(PsApiManagementContext context, string groupId, string userId) - { - Client.UserGroups.RemoveFromGroup(context.ResourceGroupName, context.ServiceName, userId, groupId); - } - - private static QueryParameters CreateQueryUserParameters(string firstName, string lastName, string email, PsApiManagementUserState? state) - { - var isFirstCondition = true; - var query = new QueryParameters(); - if (!string.IsNullOrEmpty(firstName)) - { - query.Filter = string.Format("firstName eq '{0}'", firstName); - isFirstCondition = false; - } - - if (!string.IsNullOrEmpty(lastName)) - { - if (!isFirstCondition) - { - query.Filter += "&"; - } - query.Filter = string.Format("lastName eq '{0}'", lastName); - isFirstCondition = false; - } - - if (!string.IsNullOrEmpty(email)) - { - if (!isFirstCondition) - { - query.Filter += "&"; - } - query.Filter = string.Format("lastName eq '{0}'", email); - isFirstCondition = false; - } - - if (state.HasValue) - { - if (!isFirstCondition) - { - query.Filter += "&"; - } - query.Filter = string.Format("state eq '{0}'", state.Value.ToString().ToLowerInvariant()); - } - return query; - } - #endregion - - #region Groups - public PsApiManagementGroup GroupCreate(PsApiManagementContext context, string groupId, string name, string description) - { - var groupCreateParameters = new GroupCreateParameters(name) - { - Description = description - }; - - Client.Groups.Create(context.ResourceGroupName, context.ServiceName, groupId, groupCreateParameters); - - var response = Client.Groups.Get(context.ResourceGroupName, context.ServiceName, groupId); - var group = Mapper.Map(response.Value); - - return group; - } - - public IList GroupsList(PsApiManagementContext context, string name, string userId, string productId) - { - var query = new QueryParameters(); - if (!string.IsNullOrEmpty(name)) - { - query.Filter = string.Format("name eq '{0}'", name); - } - - IList results; - if (!string.IsNullOrWhiteSpace(userId)) - { - results = ListPagedAndMap( - () => Client.UserGroups.List(context.ResourceGroupName, context.ServiceName, userId, query), - nextLink => Client.UserGroups.ListNext(nextLink)); - } - else if (!string.IsNullOrEmpty(productId)) - { - results = ListPagedAndMap( - () => Client.ProductGroups.List(context.ResourceGroupName, context.ServiceName, productId, query), - nextLink => Client.ProductGroups.ListNext(nextLink)); - } - else - { - results = ListPagedAndMap( - () => Client.Groups.List(context.ResourceGroupName, context.ServiceName, query), - nextLink => Client.Groups.ListNext(nextLink)); - } - - return results; - } - - public PsApiManagementGroup GroupById(PsApiManagementContext context, string groupId) - { - var response = Client.Groups.Get(context.ResourceGroupName, context.ServiceName, groupId); - var group = Mapper.Map(response.Value); - - return group; - } - - public void GroupRemove(PsApiManagementContext context, string groupId) - { - Client.Groups.Delete(context.ResourceGroupName, context.ServiceName, groupId, "*"); - } - - public void GroupSet(PsApiManagementContext context, string groupId, string name, string description) - { - Client.Groups.Update( - context.ResourceGroupName, - context.ServiceName, - groupId, - new GroupUpdateParameters - { - Name = name, - Description = description - }, - "*"); - } - #endregion - - #region Policy - - private static byte[] PolicyGetWrap(Func getPolicyFunc) - { - try - { - var response = getPolicyFunc(); - - return response.PolicyBytes; - } - catch (Hyak.Common.CloudException ex) - { - if (ex.Response.StatusCode == HttpStatusCode.NotFound) - { - return null; - } - - throw; - } - } - - public byte[] PolicyGetTenantLevel(PsApiManagementContext context, string format) - { - return PolicyGetWrap(() => Client.TenantPolicy.Get(context.ResourceGroupName, context.ServiceName, format)); - } - - public byte[] PolicyGetProductLevel(PsApiManagementContext context, string format, string productId) - { - return PolicyGetWrap(() => Client.ProductPolicy.Get(context.ResourceGroupName, context.ServiceName, productId, format)); - } - - public byte[] PolicyGetApiLevel(PsApiManagementContext context, string format, string apiId) - { - return PolicyGetWrap(() => Client.ApiPolicy.Get(context.ResourceGroupName, context.ServiceName, apiId, format)); - } - - public byte[] PolicyGetOperationLevel(PsApiManagementContext context, string format, string apiId, string operationId) - { - return PolicyGetWrap(() => Client.ApiOperationPolicy.Get(context.ResourceGroupName, context.ServiceName, apiId, operationId, format)); - } - - public void PolicySetTenantLevel(PsApiManagementContext context, string format, Stream stream) - { - Client.TenantPolicy.Set(context.ResourceGroupName, context.ServiceName, format, stream, "*"); - } - - public void PolicySetProductLevel(PsApiManagementContext context, string format, Stream stream, string productId) - { - Client.ProductPolicy.Set(context.ResourceGroupName, context.ServiceName, productId, format, stream); - } - - public void PolicySetApiLevel(PsApiManagementContext context, string format, Stream stream, string apiId) - { - Client.ApiPolicy.Set(context.ResourceGroupName, context.ServiceName, apiId, format, stream); - } - - public void PolicySetOperationLevel(PsApiManagementContext context, string format, Stream stream, string apiId, string operationId) - { - Client.ApiOperationPolicy.Set(context.ResourceGroupName, context.ServiceName, apiId, operationId, format, stream, "*"); - } - - public void PolicyRemoveTenantLevel(PsApiManagementContext context) - { - Client.TenantPolicy.Delete(context.ResourceGroupName, context.ServiceName, "*"); - } - - public void PolicyRemoveProductLevel(PsApiManagementContext context, string productId) - { - Client.ProductPolicy.Delete(context.ResourceGroupName, context.ServiceName, productId, "*"); - } - - public void PolicyRemoveApiLevel(PsApiManagementContext context, string apiId) - { - Client.ApiPolicy.Delete(context.ResourceGroupName, context.ServiceName, apiId, "*"); - } - - public void PolicyRemoveOperationLevel(PsApiManagementContext context, string apiId, string operationId) - { - Client.ApiOperationPolicy.Delete(context.ResourceGroupName, context.ServiceName, apiId, operationId, "*"); - } - #endregion - - #region Certificates - public IList CertificateList(PsApiManagementContext context) - { - var results = ListPagedAndMap( - () => Client.Certificates.List(context.ResourceGroupName, context.ServiceName, null), - nextLink => Client.Certificates.ListNext(nextLink)); - - return results; - } - - public PsApiManagementCertificate CertificateById(PsApiManagementContext context, string certificateId) - { - var response = Client.Certificates.Get(context.ResourceGroupName, context.ServiceName, certificateId); - - var certificate = Mapper.Map(response.Value); - - return certificate; - } - - public PsApiManagementCertificate CertificateCreate( - PsApiManagementContext context, - string certificateId, - byte[] certificateBytes, - string pfxPassword) - { - var createParameters = new CertificateCreateOrUpdateParameters - { - Data = Convert.ToBase64String(certificateBytes), - Password = pfxPassword - }; - - Client.Certificates.CreateOrUpdate(context.ResourceGroupName, context.ServiceName, certificateId, createParameters, null); - - var response = Client.Certificates.Get(context.ResourceGroupName, context.ServiceName, certificateId); - var certificate = Mapper.Map(response.Value); - - return certificate; - } - - public PsApiManagementCertificate CertificateSet( - PsApiManagementContext context, - string certificateId, - byte[] certificateBytes, - string pfxPassword) - { - var createParameters = new CertificateCreateOrUpdateParameters - { - Data = Convert.ToBase64String(certificateBytes), - Password = pfxPassword - }; - - Client.Certificates.CreateOrUpdate(context.ResourceGroupName, context.ServiceName, certificateId, createParameters, "*"); - - var response = Client.Certificates.Get(context.ResourceGroupName, context.ServiceName, certificateId); - var certificate = Mapper.Map(response.Value); - - return certificate; - } - - public void CertificateRemove(PsApiManagementContext context, string certificateId) - { - Client.Certificates.Delete(context.ResourceGroupName, context.ServiceName, certificateId, "*"); - } - #endregion - - #region Authorization Servers - - public IList AuthorizationServerList(PsApiManagementContext context) - { - var results = ListPagedAndMap( - () => Client.AuthorizationServers.List(context.ResourceGroupName, context.ServiceName, null), - nextLink => Client.AuthorizationServers.ListNext(nextLink)); - - return results; - } - - public PsApiManagementOAuth2AuthrozationServer AuthorizationServerById(PsApiManagementContext context, string serverId) - { - var response = Client.AuthorizationServers.Get(context.ResourceGroupName, context.ServiceName, serverId); - - var server = Mapper.Map(response.Value); - return server; - } - - public PsApiManagementOAuth2AuthrozationServer AuthorizationServerCreate( - PsApiManagementContext context, - string serverId, - string name, - string description, - string clientRegistrationPageUrl, - string authorizationEndpointUrl, - string tokenEndpointUrl, - string clientId, - string clientSecret, - PsApiManagementAuthorizationRequestMethod[] authorizationRequestMethods, - PsApiManagementGrantType[] grantTypes, - PsApiManagementClientAuthenticationMethod[] clientAuthenticationMethods, - Hashtable tokenBodyParameters, - bool? supportState, - string defaultScope, - PsApiManagementAccessTokenSendingMethod[] accessTokenSendingMethods, - string resourceOwnerUsername, - string resourceOwnerPassword) - { - var serverContract = new OAuth2AuthorizationServerContract - { - Name = name, - Description = description, - ClientRegistrationEndpoint = clientRegistrationPageUrl, - AuthorizationEndpoint = authorizationEndpointUrl, - TokenEndpoint = tokenEndpointUrl, - ClientId = clientId, - ClientSecret = clientSecret, - AuthorizationMethods = Mapper.Map>(authorizationRequestMethods), - GrantTypes = Mapper.Map>(grantTypes), - ClientAuthenticationMethod = Mapper.Map>(clientAuthenticationMethods), - SupportState = supportState ?? false, - DefaultScope = defaultScope, - BearerTokenSendingMethods = Mapper.Map>(accessTokenSendingMethods), - ResourceOwnerUsername = resourceOwnerUsername, - ResourceOwnerPassword = resourceOwnerPassword - }; - - if (tokenBodyParameters != null && tokenBodyParameters.Count > 0) - { - serverContract.TokenBodyParameters = new List(tokenBodyParameters.Count); - foreach (var key in tokenBodyParameters.Keys) - { - serverContract.TokenBodyParameters.Add( - new TokenBodyParameterContract - { - Name = key.ToString(), - Value = tokenBodyParameters[key].ToString() - }); - } - } - - Client.AuthorizationServers.Create( - context.ResourceGroupName, - context.ServiceName, - serverId, - new AuthorizationServerCreateOrUpdateParameters(serverContract)); - - var response = Client.AuthorizationServers.Get(context.ResourceGroupName, context.ServiceName, serverId); - var server = Mapper.Map(response.Value); - - return server; - } - - public void AuthorizationServerSet( - PsApiManagementContext context, - string serverId, - string name, - string description, - string clientRegistrationPageUrl, - string authorizationEndpointUrl, - string tokenEndpointUrl, - string clientId, - string clientSecret, - PsApiManagementAuthorizationRequestMethod[] authorizationRequestMethods, - PsApiManagementGrantType[] grantTypes, - PsApiManagementClientAuthenticationMethod[] clientAuthenticationMethods, - Hashtable tokenBodyParameters, - bool? supportState, - string defaultScope, - PsApiManagementAccessTokenSendingMethod[] accessTokenSendingMethods, - string resourceOwnerUsername, - string resourceOwnerPassword) - { - var serverContract = new OAuth2AuthorizationServerContract - { - Name = name, - Description = description, - ClientRegistrationEndpoint = clientRegistrationPageUrl, - AuthorizationEndpoint = authorizationEndpointUrl, - TokenEndpoint = tokenEndpointUrl, - ClientId = clientId, - ClientSecret = clientSecret, - AuthorizationMethods = Mapper.Map>(authorizationRequestMethods), - GrantTypes = Mapper.Map>(grantTypes), - ClientAuthenticationMethod = Mapper.Map>(clientAuthenticationMethods), - SupportState = supportState ?? false, - DefaultScope = defaultScope, - BearerTokenSendingMethods = Mapper.Map>(accessTokenSendingMethods), - ResourceOwnerUsername = resourceOwnerUsername, - ResourceOwnerPassword = resourceOwnerPassword - }; - - if (tokenBodyParameters != null && tokenBodyParameters.Count > 0) - { - serverContract.TokenBodyParameters = new List(tokenBodyParameters.Count); - foreach (var key in tokenBodyParameters.Keys) - { - serverContract.TokenBodyParameters.Add( - new TokenBodyParameterContract - { - Name = key.ToString(), - Value = tokenBodyParameters[key].ToString() - }); - } - } - - Client.AuthorizationServers.Update( - context.ResourceGroupName, - context.ServiceName, - serverId, - new AuthorizationServerCreateOrUpdateParameters(serverContract), - "*"); - } - - public void AuthorizationServerRemove(PsApiManagementContext context, string serverId) - { - Client.AuthorizationServers.Delete(context.ResourceGroupName, context.ServiceName, serverId, "*"); - } - #endregion - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs deleted file mode 100644 index 54ff365a6a73..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs +++ /dev/null @@ -1 +0,0 @@ -// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands { using System; using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; [Cmdlet(VerbsCommon.Add, "AzureApiManagementApiToProduct")] [OutputType(typeof(bool))] public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase { [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] [ValidateNotNullOrEmpty] public PsApiManagementContext Context { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")] [ValidateNotNullOrEmpty] public String ProductId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")] [ValidateNotNullOrEmpty] public String ApiId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] public SwitchParameter PassThru { get; set; } public override void ExecuteApiManagementCmdlet() { Client.ApiAddToProduct(Context, ProductId, ApiId); if (PassThru) { WriteObject(true); } } } } \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs deleted file mode 100644 index 2df1051e58d0..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Add, "AzureApiManagementProductToGroup")] - [OutputType(typeof(bool))] - public class AddAzureApiManagementProductToGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing group. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing product. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.ProductAddToGroup(Context, GroupId, ProductId); - - if (PassThru) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs deleted file mode 100644 index c6c7db978537..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Add, "AzureApiManagementUserToGroup")] - [OutputType(typeof(bool))] - public class AddAzureApiManagementUserToGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing group. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing user. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UserId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.UserAddToGroup(Context, GroupId, UserId); - - if (PassThru) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs deleted file mode 100644 index 61d1a74b8069..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement; - using Microsoft.WindowsAzure.Commands.Utilities.Common; - - abstract public class AzureApiManagementCmdletBase : AzurePSCmdlet - { - protected static TimeSpan LongRunningOperationDefaultTimeout = TimeSpan.FromMinutes(1); - - private ApiManagementClient _client; - - public ApiManagementClient Client - { - get - { - if (_client == null) - { - _client = new ApiManagementClient(Profile); - } - return _client; - } - set - { - _client = value; - } - } - - public abstract void ExecuteApiManagementCmdlet(); - - public override void ExecuteCmdlet() - { - try - { - ExecuteApiManagementCmdlet(); - } - catch (ArgumentException ex) - { - WriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.InvalidArgument, null)); - } - catch (Exception ex) - { - HandleException(ex); - } - } - - protected virtual void HandleException(Exception ex) - { - WriteExceptionError(ex); - } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementRemoveCmdletBase.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementRemoveCmdletBase.cs deleted file mode 100644 index 2ff4ace6ab77..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementRemoveCmdletBase.cs +++ /dev/null @@ -1,58 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - abstract public class AzureApiManagementRemoveCmdletBase : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")] - public SwitchParameter Force { get; set; } - - public abstract string ActionWarning { get; } - - public abstract string ActionDescription { get; } - - public override void ExecuteApiManagementCmdlet() - { - if (!Force.IsPresent && - !ShouldProcess( - ActionDescription, - ActionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - ExecuteRemoveLogic(); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - - protected abstract void ExecuteRemoveLogic(); - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs deleted file mode 100644 index 5bf7022fe43a..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs +++ /dev/null @@ -1,124 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.IO; - using System.Management.Automation; - using System.Text; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsData.Export, "AzureApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)] - [OutputType(typeof(string))] - public class ExportAzureApiManagementApi : AzureApiManagementCmdletBase - { - private const string ExportContentToPipeline = "Export to pipeline"; - private const string ExportToFile = "Export to File"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of exporting API. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Specification format (Wadl or Swagger). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementApiFormat SpecificationFormat { get; set; } - - [Parameter( - ParameterSetName = ExportToFile, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "File path where to save the exporting specification to. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String SaveAs { get; set; } - - [Parameter( - ParameterSetName = ExportToFile, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will override the file if it exists. This parameter is optional.")] - public SwitchParameter Force { get; set; } - - [Parameter( - ParameterSetName = ExportToFile, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true/false if api exported successfully/failed. This parameter is optional.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var result = Client.ApiExportToFile(Context, ApiId, SpecificationFormat, SaveAs); - - if (ParameterSetName.Equals(ExportContentToPipeline)) - { - string resultStr; - using (var memoryStream = new MemoryStream(result)) - using (var streamReader = new StreamReader(memoryStream, Encoding.UTF8)) - { - resultStr = streamReader.ReadToEnd(); - } - - WriteObject(resultStr); - } - else if (ParameterSetName.Equals(ExportToFile)) - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.ApiExportDescription, ApiId, SaveAs); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.ApiExportWarning, SaveAs); - - // Do nothing if force is not specified and user cancelled the operation - if (File.Exists(SaveAs) && - !Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - if (PassThru) - { - WriteObject(false.ToString().ToLower()); - } - - return; - } - - using (var file = File.OpenWrite(SaveAs)) - { - file.Write(result, 0, result.Length); - file.Flush(); - } - - if (PassThru) - { - WriteObject(true.ToString().ToLower()); - } - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs deleted file mode 100644 index c284cbdfdcf0..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs +++ /dev/null @@ -1,79 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementApi", DefaultParameterSetName = AllApis)] - [OutputType(typeof(IList))] - public class GetAzureApiManagementApi : AzureApiManagementCmdletBase - { - private const string FindByProductId = "Find by product ID"; - private const string FindByName = "Find by Name"; - private const string FindById = "Find by ID"; - private const string AllApis = "All APIs"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = FindById, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "API identifier to look for. If specified will try to get the API by the Id. This parameter is optional.")] - public String ApiId { get; set; } - - [Parameter( - ParameterSetName = FindByName, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Name of the API. If specified will try to get the API by name. This parameter is optional.")] - public String Name { get; set; } - - [Parameter( - ParameterSetName = FindByProductId, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "If specified will try to get all Product APIs. This parameter is optional.")] - public String ProductId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(AllApis)) - { - WriteObject(Client.ApiList(Context), true); - } - else if (ParameterSetName.Equals(FindById)) - { - WriteObject(Client.ApiById(Context, ApiId)); - } - else if (ParameterSetName.Equals(FindByName)) - { - WriteObject(Client.ApiByName(Context, Name), true); - } - else if (ParameterSetName.Equals(FindByProductId)) - { - WriteObject(Client.ApiByProductId(Context, ProductId), true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs deleted file mode 100644 index 570ec6c21ff5..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementAuthorizationServer")] - [OutputType(typeof(IList))] - public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional. ")] - public String ServerId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ServerId == null) - { - var servers = Client.AuthorizationServerList(Context); - WriteObject(servers, true); - } - else - { - var server = Client.AuthorizationServerById(Context, ServerId); - WriteObject(server); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs deleted file mode 100644 index 5a7cde9cfecd..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs +++ /dev/null @@ -1,61 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using System.Runtime.InteropServices; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementCertificate", DefaultParameterSetName = GetAll)] - [OutputType(typeof(IList))] - public class GetAzureApiManagementCertificate : AzureApiManagementCmdletBase - { - private const string GetAll = "Get all certificates"; - private const string GetById = "Get certificate by ID"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = GetById, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required. ")] - public String CertificateId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - switch (ParameterSetName) - { - case GetAll: - var certificates = Client.CertificateList(Context); - WriteObject(certificates, true); - break; - case GetById: - var certificate = Client.CertificateById(Context, CertificateId); - WriteObject(certificate); - break; - default: - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs deleted file mode 100644 index ff292c1f3b69..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementGroup", DefaultParameterSetName = GetAll)] - [OutputType(typeof(PsApiManagementGroup))] - public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase - { - private const string GetAll = "Get all groups"; - private const string GetById = "Get by group ID"; - private const string FindByUser = "Find groups by user"; - private const string FindByProduct = "Find groups by product"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = GetById, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of a group. If specified will try to find group by the identifier. This parameter is optional.")] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Group name. If specified will try to find group by the name. This parameter is optional.")] - public String Name { get; set; } - - [Parameter( - ParameterSetName = FindByUser, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional.")] - public String UserId { get; set; } - - [Parameter( - ParameterSetName = FindByProduct, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional.")] - public String ProductId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(GetAll)) - { - var groups = Client.GroupsList(Context, null, null, null); - WriteObject(groups, true); - } - else if (ParameterSetName.Equals(GetById)) - { - var group = Client.GroupById(Context, GroupId); - WriteObject(group); - } - else if (ParameterSetName.Equals(FindByUser)) - { - var groups = Client.GroupsList(Context, Name, UserId, null); - WriteObject(groups, true); - } - else if(ParameterSetName.Equals(FindByProduct)) - { - var groups = Client.GroupsList(Context, Name, null, ProductId); - WriteObject(groups, true); - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs deleted file mode 100644 index fe37ec27b1fe..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementOperation", DefaultParameterSetName = AllApiOperations)] - [OutputType(typeof(IList))] - public class GetAzureApiManagementOperation : AzureApiManagementCmdletBase - { - private const string FindById = "Find by ID"; - private const string AllApiOperations = "All API Operations"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = AllApiOperations, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of API Operation belongs to. This parameter is required.")] - [Parameter( - ParameterSetName = FindById, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of API Operation belongs to. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ParameterSetName = FindById, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier operation to look for. This parameter is optional.")] - public String OperationId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(AllApiOperations)) - { - WriteObject(Client.OperationList(Context, ApiId), true); - } - else if (ParameterSetName.Equals(FindById)) - { - WriteObject(Client.OperationById(Context, ApiId, OperationId)); - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs deleted file mode 100644 index 98cac4dbb502..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs +++ /dev/null @@ -1,152 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.IO; - using System.Management.Automation; - using System.Text; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementPolicy", DefaultParameterSetName = TenantLevel)] - [OutputType(typeof(string))] - public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase - { - private const string DefaultFormat = "application/vnd.ms-azure-apim.policy+xml"; - private const string TenantLevel = "Tenant level"; - private const string ProductLevel = "Product level"; - private const string ApiLevel = "API level"; - private const string OperationLevel = "Operation level"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’.")] - public String Format { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional.")] - public String SaveAs { get; set; } - - [Parameter( - ParameterSetName = ProductLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing product. If specified will return product-scope policy. This parameters is optional.")] - public String ProductId { get; set; } - - [Parameter( - ParameterSetName = ApiLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. If specified will return API-scope policy. This parameters is required.")] - [Parameter( - ParameterSetName = OperationLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. If specified will return API-scope policy. This parameters is required.")] - public String ApiId { get; set; } - - [Parameter( - ParameterSetName = OperationLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required.")] - public String OperationId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional.")] - public SwitchParameter Force { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - string format = Format ?? DefaultFormat; - byte[] content; - switch (ParameterSetName) - { - case TenantLevel: - content = Client.PolicyGetTenantLevel(Context, format); - break; - case ProductLevel: - content = Client.PolicyGetProductLevel(Context, format, ProductId); - break; - case ApiLevel: - content = Client.PolicyGetApiLevel(Context, format, ApiId); - break; - case OperationLevel: - if (string.IsNullOrWhiteSpace(ApiId)) - { - throw new PSArgumentNullException("ApiId"); - } - content = Client.PolicyGetOperationLevel(Context, format, ApiId, OperationId); - break; - default: - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - - if (content == null) - { - return; - } - - if (!string.IsNullOrEmpty(SaveAs)) - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.SavePolicyDescription, ParameterSetName, SaveAs); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.SavePolicyWarning, SaveAs); - - // Do nothing if force is not specified and user cancelled the operation - if (File.Exists(SaveAs) && - !Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - using (var file = File.OpenWrite(SaveAs)) - { - file.Write(content, 0, content.Length); - file.Flush(); - } - } - else - { - string resultStr; - using (var memoryStream = new MemoryStream(content)) - using (var streamReader = new StreamReader(memoryStream, Encoding.UTF8)) - { - resultStr = streamReader.ReadToEnd(); - } - - WriteObject(resultStr); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs deleted file mode 100644 index c92aeda41808..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementProduct", DefaultParameterSetName = GetAllProducts)] - [OutputType(typeof(IList))] - public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase - { - private const string GetAllProducts = "Get all producst"; - private const string GetById = "Get by Id"; - private const string GetByTitle = "Get by Title"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = GetById, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of Product to search for. This parameter is optional.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ParameterSetName = GetByTitle, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional.")] - public String Title { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(GetAllProducts)) - { - var products = Client.ProductList(Context, null); - WriteObject(products, true); - } - else if (ParameterSetName.Equals(GetById)) - { - var product = Client.ProductById(Context, ProductId); - WriteObject(product); - } - else if (ParameterSetName.Equals(GetByTitle)) - { - var products = Client.ProductList(Context, Title); - WriteObject(products, true); - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs deleted file mode 100644 index bb3b4f2eb157..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementSubscription", DefaultParameterSetName = GetAll)] - [OutputType(typeof(IList))] - public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase - { - private const string GetAll = "Get all subscriptions"; - private const string GetBySubscriptionId = "Get by subsctiption ID"; - private const string GetByUserId = "Get by user ID"; - private const string GetByProductId = "Get by product ID"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = GetBySubscriptionId, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional.")] - public String SubscriptionId { get; set; } - - [Parameter( - ParameterSetName = GetByUserId, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional.")] - public String UserId { get; set; } - - [Parameter( - ParameterSetName = GetByProductId, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional.")] - public String ProductId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(GetAll)) - { - var subscriptions = Client.SubscriptionList(Context); - WriteObject(subscriptions, true); - } - else if (ParameterSetName.Equals(GetBySubscriptionId)) - { - var subscription = Client.SubscriptionById(Context, SubscriptionId); - WriteObject(subscription); - } - else if (ParameterSetName.Equals(GetByProductId)) - { - var subscriptions = Client.SubscriptionByProduct(Context, ProductId); - WriteObject(subscriptions, true); - } - else if (ParameterSetName.Equals(GetByUserId)) - { - var subscriptions = Client.SubscriptionByUser(Context, UserId); - WriteObject(subscriptions, true); - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs deleted file mode 100644 index 0c49a104b657..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections.Generic; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementUser", DefaultParameterSetName = GetAll)] - [OutputType(typeof(IList))] - public class GetAzureApiManagementUser : AzureApiManagementCmdletBase - { - private const string GetAll = "Get all users"; - private const string GetById = "Get user by ID"; - private const string FindBy = "Find users"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = GetById, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of a user. If specified will try to find user by the identifier. This parameter is optional.")] - public String UserId { get; set; } - - [Parameter( - ParameterSetName = FindBy, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User first name. If specified will try to find users by the first name. This parameter is optional.")] - public String FirstName { get; set; } - - [Parameter( - ParameterSetName = FindBy, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User last name. If specified will try to find users by the last name. This parameter is optional.")] - public String LastName { get; set; } - - [Parameter( - ParameterSetName = FindBy, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User state. If specified will try to find all users in the state. This parameter is optional.")] - public PsApiManagementUserState? State { get; set; } - - [Parameter( - ParameterSetName = FindBy, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User email. If specified will try to find user by email. This parameter is optional.")] - public String Email { get; set; } - - [Parameter( - ParameterSetName = FindBy, - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of existing group. If specified will try to find all users within the group. This parameter is optional.")] - public String GroupId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(GetAll)) - { - var users = Client.UsersList(Context, null, null, null, null, null); - WriteObject(users, true); - } - else if (ParameterSetName.Equals(GetById)) - { - var user = Client.UserById(Context, UserId); - WriteObject(user); - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs deleted file mode 100644 index d268b5185100..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Get, "AzureApiManagementUserSsoUrl")] - [OutputType(typeof(string))] - public class GetAzureApiManagementUserSsoUrl : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing user. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UserId { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var ssoUrl = Client.UserGetSsoUrl(Context, UserId); - - WriteObject(ssoUrl); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs deleted file mode 100644 index becbfdcb3910..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsData.Import, "AzureApiManagementApi", DefaultParameterSetName = FromLocalFile)] - [OutputType(typeof(PsApiManagementApi))] - public class ImportAzureApiManagementApi : AzureApiManagementCmdletBase - { - private const string FromLocalFile = "From Local File"; - private const string FromUrl = "From URL"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier for importing API. This parameter is optional. If not specified the identifier will be generated.")] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Specification format (Wadl, Swagger). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementApiFormat SpecificationFormat { get; set; } - - [Parameter( - ParameterSetName = FromLocalFile, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Specification file path. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String SpecificationPath { get; set; } - - [Parameter( - ParameterSetName = FromUrl, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Specification URL. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String SpecificationUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.")] - public String Path { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - if (ParameterSetName.Equals(FromLocalFile)) - { - Client.ApiImportFromFile(Context, ApiId, SpecificationFormat, SpecificationPath, Path); - } - else if (ParameterSetName.Equals(FromUrl)) - { - Client.ApiImportFromUrl(Context, ApiId, SpecificationFormat, SpecificationUrl, Path); - } - else - { - throw new InvalidOperationException(string.Format("ParameterSetName '{0}' not supported")); - } - - var api = Client.ApiById(Context, ApiId); - WriteObject(api); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs deleted file mode 100644 index d796a0faab0a..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs +++ /dev/null @@ -1,150 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Linq; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementApi")] - [OutputType(typeof(PsApiManagementApi))] - public class NewAzureApiManagementApi : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier for new API. This parameter is optional. If not specified the identifier will be generated.")] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Web API description. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ServiceUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.")] - public String Path { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.")] - [ValidateNotNullOrEmpty] - public PsApiManagementSchema[] Protocols { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.")] - public String AuthorizationServerId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "OAuth operations scope. This parameter is optional. Default value is $null.")] - public String AuthorizationScope { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription key header name. This parameter is optional. Default value is $null.")] - public String SubscriptionKeyHeaderName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription key query string parameter name. This parameter is optional. Default value is $null.")] - public String SubscriptionKeyQueryParamName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Array of products IDs to add the new API to. This parameter is optional.")] - public String[] ProductIds { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - string id = ApiId ?? Guid.NewGuid().ToString("N"); - - var newApi = Client.ApiCreate( - Context, - id, - Name, - Description, - ServiceUrl, - Path, - Protocols.Distinct().ToArray(), - AuthorizationServerId, - AuthorizationScope, - SubscriptionKeyHeaderName, - SubscriptionKeyQueryParamName); - - if (ProductIds != null && ProductIds.Any()) - { - WriteProgress(new ProgressRecord(0, "New-AzureApiManagementApi", "New API created. Adding to products...")); - - foreach (var productId in ProductIds) - { - try - { - Client.ApiAddToProduct(Context, productId, id); - WriteProgress( - new ProgressRecord( - 0, - "New-AzureApiManagementApi", - string.Format("... Added to product {0}", productId)) - ); - } - catch (Exception ex) - { - WriteProgress( - new ProgressRecord( - 0, - "New-AzureApiManagementApi", - string.Format("... Failed to add to product {0} due to: {1}", productId, ex)) - ); - } - } - } - - WriteObject(newApi); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs deleted file mode 100644 index dc7690c5da96..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs +++ /dev/null @@ -1,172 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementAuthorizationServer")] - [OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))] - public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of existing authorization server. This parameter is optional. ")] - public String ServerId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Name of new authorization server. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Description of new authorization server. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ClientRegistrationPageUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String AuthorizationEndpointUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String TokenEndpointUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Client ID of developer console which is the client application. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ClientId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Client secret of developer console which is the client application. This parameter is optional.")] - public String ClientSecret { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.")] - public PsApiManagementAuthorizationRequestMethod[] AuthorizationRequestMethods { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementGrantType[] GrantTypes { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Supported client authentication methods (Basic, Body). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementClientAuthenticationMethod[] ClientAuthenticationMethods { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.")] - public Hashtable TokenBodyParameters { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether to support state parameter. This parameter is optional.")] - public bool? SupportState { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Authorization server default scope. This parameter is optional.")] - public String DefaultScope { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementAccessTokenSendingMethod[] AccessTokenSendingMethods { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.")] - public String ResourceOwnerUsername { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.")] - public String ResourceOwnerPassword { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var serverId = this.ServerId ?? Guid.NewGuid().ToString("N"); - - var server = Client.AuthorizationServerCreate( - Context, - serverId, - Name, - Description, - ClientRegistrationPageUrl, - AuthorizationEndpointUrl, - TokenEndpointUrl, - ClientId, - ClientSecret, - AuthorizationRequestMethods == null || AuthorizationRequestMethods.Length == 0 - ? new[] {PsApiManagementAuthorizationRequestMethod.Get} - : AuthorizationRequestMethods, - GrantTypes, - ClientAuthenticationMethods, - TokenBodyParameters, - SupportState, - DefaultScope, - AccessTokenSendingMethods, - ResourceOwnerUsername, - ResourceOwnerPassword); - - WriteObject(server); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs deleted file mode 100644 index 67609b93d6d1..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.IO; - using System.Management.Automation; - using System.Security.Cryptography.X509Certificates; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementCertificate", DefaultParameterSetName = FromFile)] - [OutputType(typeof(PsApiManagementCertificate))] - public class NewAzureApiManagementCertificate : AzureApiManagementCmdletBase - { - private const string FromFile = "Load from file"; - private const string Raw = "Raw"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of new certificate. This parameter is optional. If not specified will be generated.")] - public String CertificateId { get; set; } - - [Parameter( - ParameterSetName = FromFile, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.")] - public String PfxFilePath { get; set; } - - [Parameter( - ParameterSetName = Raw, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.")] - public Byte[] PfxBytes { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Password for the certificate. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String PfxPassword { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var certificateId = CertificateId ?? Guid.NewGuid().ToString("N"); - byte[] rawBytes; - if (ParameterSetName.Equals(FromFile)) - { - using (var certStream = File.OpenRead(PfxFilePath)) - { - rawBytes = new byte[certStream.Length]; - certStream.Read(rawBytes, 0, rawBytes.Length); - } - } - else if (ParameterSetName.Equals(Raw)) - { - rawBytes = PfxBytes; - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - - // check for valid certificate file/bytes - new X509Certificate2(rawBytes, PfxPassword); - - var certificate = Client.CertificateCreate(Context, certificateId, rawBytes, PfxPassword); - WriteObject(certificate); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs deleted file mode 100644 index e77829b4daa9..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.WindowsAzure.Commands.Utilities.Common; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementContext"), OutputType(typeof (PsApiManagementContext))] - public class NewAzureApiManagementContext : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Name of resource group under which an API Management service is deployed.")] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Name of deployed API Management service.")] - [ValidateNotNullOrEmpty] - public string ServiceName { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - WriteObject( - new PsApiManagementContext - { - ResourceGroupName = ResourceGroupName, - ServiceName = ServiceName - }); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs deleted file mode 100644 index 8f6db39687cc..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementGroup")] - [OutputType(typeof(PsApiManagementGroup))] - public class NewAzureApiManagementGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of new group. This parameter is optional. If not specified will be generated.")] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Group name. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Group description. This parameter is optional.")] - public String Description { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - string groupId = GroupId ?? Guid.NewGuid().ToString("N"); - - var group = Client.GroupCreate(Context, groupId, Name, Description); - - WriteObject(group); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs deleted file mode 100644 index e05e601e0eed..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementOperation")] - [OutputType(typeof(PsApiManagementOperation))] - public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of API. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of new operation. This parameter is optional. If not specified will be generated.")] - public String OperationId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Display name of new operation. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "HTTP method of new operation. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Method { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UrlTemplate { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Description of new operation. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.")] - public PsApiManagementParameter[] TemplateParameters { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Operation request details. This parameter is optional.")] - public PsApiManagementRequest Request { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Array of possible operation responses. This parameter is optional.")] - public PsApiManagementResponse[] Responses { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - string operationId = OperationId ?? Guid.NewGuid().ToString("N"); - - var newOperation = Client.OperationCreate( - Context, - ApiId, - operationId, - Name, - Method, - UrlTemplate, - Description, - TemplateParameters, - Request, - Responses); - - WriteObject(newOperation); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs deleted file mode 100644 index 5dac8fefacd7..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs +++ /dev/null @@ -1,116 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using System.Text.RegularExpressions; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementProduct")] - [OutputType(typeof(PsApiManagementProduct))] - public class NewAzureApiManagementProduct : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of new Product. This parameter is optional. If not specified will be generated.")] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Product title. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Title { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Product description. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Legal terms of use of the product. This parameter is optional.")] - public String LegalTerms { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether the product requires subscription or not. This parameter is optional. Default value is $true.")] - public bool? SubscriptionRequired { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.")] - public bool? ApprovalRequired { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.")] - public Int32? SubscriptionsLimit { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = false, - Mandatory = false, - HelpMessage = "The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).")] - [ValidatePattern(ApiManagementClient.PeriodPattern, Options = RegexOptions.Compiled)] - public String SubscriptionPeriod { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = false, - Mandatory = false, - HelpMessage = "Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).")] - [ValidatePattern(ApiManagementClient.PeriodPattern, Options = RegexOptions.Compiled)] - public String NotificationPeriod { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.")] - public PsApiManagementProductState? State { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - string productId = ProductId ?? Guid.NewGuid().ToString("N"); - - var product = Client.ProductCreate( - Context, - productId, - Title, - Description, - LegalTerms, - SubscriptionRequired ?? true, - ApprovalRequired ?? false, - SubscriptionsLimit, - SubscriptionPeriod, - NotificationPeriod, - State); - - WriteObject(product); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs deleted file mode 100644 index 82973c0a199c..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using System.Runtime.InteropServices; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementSubscription")] - [OutputType(typeof(PsApiManagementSubscription))] - public class NewAzureApiManagementSubscription : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of new subscription. This parameter is optional. If not specified will be generated.")] - public String SubscriptionId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Subscription name. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing user - the subscriber. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UserId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing product to subscribe to. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")] - public String PrimaryKey { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")] - public String SecondaryKey { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription state. This parameter is optional. Default value is $null.")] - public PsApiManagementSubscriptionState? State { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var subscriptionId = SubscriptionId ?? Guid.NewGuid().ToString("N"); - - var subscription = Client.SubscriptionCreate( - Context, - subscriptionId, - ProductId, - UserId, - Name, - PrimaryKey, - SecondaryKey, - State); - - WriteObject(subscription); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs deleted file mode 100644 index 383e5b8759c7..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.New, "AzureApiManagementUser")] - [OutputType(typeof(PsApiManagementUser))] - public class NewAzureApiManagementUser : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Identifier of new user. This parameter is optional. If not specified will be genetated.")] - public String UserId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "User first name. This parameter is required. Must be 1 to 100 characters long.")] - [ValidateNotNullOrEmpty] - public String FirstName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "User last name. This parameter is required. Must be 1 to 100 characters long.")] - [ValidateNotNullOrEmpty] - public String LastName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "User email. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Email { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "User password. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Password { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User state. This parameter is optional. Default value is $null.")] - public PsApiManagementUserState? State { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Note on the user. This parameter is optional. Default value is $null.")] - public String Note { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - string userId = UserId ?? Guid.NewGuid().ToString("N"); - - var user = Client.UserCreate(Context, userId, FirstName, LastName, Password, Email, State, Note); - - WriteObject(user); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs deleted file mode 100644 index cde32c65f6fe..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementApi")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementApi : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of the API. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional.")] - public SwitchParameter Force { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.ApiRemoveDescription, ApiId); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.ApiRemoveWarning, ApiId); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - Client.ApiRemove(Context, ApiId); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs deleted file mode 100644 index 468ba26c5e46..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementApiFromProduct")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementApiFromProduct : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing Product to remove API from. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing APIs to remove from the product. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.ApiRemoveFromProduct(Context, ProductId, ApiId); - - if (PassThru) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs deleted file mode 100644 index 69986cbd7819..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementAuthorizationServer")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementAuthorizationServer : AzureApiManagementRemoveCmdletBase - { - [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing authorization server. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ServerId { get; set; } - - public override string ActionWarning - { - get { return string.Format(CultureInfo.CurrentCulture, Resources.GroupRemoveWarning, ServerId); } - } - - public override string ActionDescription - { - get { return string.Format(CultureInfo.CurrentCulture, Resources.GroupRemoveDescription, ServerId); } - } - - protected override void ExecuteRemoveLogic() - { - Client.AuthorizationServerRemove(Context, ServerId); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs deleted file mode 100644 index 8dad22d18969..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementCertificate")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementCertificate : AzureApiManagementRemoveCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing certificate. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String CertificateId { get; set; } - - public override string ActionDescription - { - get { return string.Format(CultureInfo.CurrentCulture, Resources.CertificateRemoveDescription, CertificateId); } - } - - public override string ActionWarning - { - get { return string.Format(CultureInfo.CurrentCulture, Resources.CertificateRemoveWarning, CertificateId); } - } - - protected override void ExecuteRemoveLogic() - { - Client.CertificateRemove(Context, CertificateId); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs deleted file mode 100644 index 528e63bfd79d..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementGroup")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing group. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")] - public SwitchParameter Force { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.GroupRemoveDescription, GroupId); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.GroupRemoveWarning, GroupId); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - Client.GroupRemove(Context, GroupId); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs deleted file mode 100644 index 3814b4098d16..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs +++ /dev/null @@ -1,83 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementOperation")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementOperation : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of API. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of API operation. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String OperationId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional.")] - public SwitchParameter Force { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.OperationRemoveDescription, OperationId, ApiId); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.OperationRemoveWarning, OperationId, ApiId); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - Client.OperationRemove(Context, ApiId, OperationId); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs deleted file mode 100644 index d8671801dd24..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs +++ /dev/null @@ -1,120 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementPolicy", DefaultParameterSetName = TenantLevel)] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementPolicy : AzureApiManagementCmdletBase - { - private const string TenantLevel = "Tenant level"; - private const string ProductLevel = "Product level"; - private const string ApiLevel = "API level"; - private const string OperationLevel = "Operation level"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ParameterSetName = ProductLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing product. If specified will remove product-scope policy. This parameters is required.")] - public String ProductId { get; set; } - - [Parameter( - ParameterSetName = ApiLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. If specified will remove API-scope policy. This parameters is required.")] - [Parameter( - ParameterSetName = OperationLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. If specified will remove API-scope policy. This parameters is requied.")] - public String ApiId { get; set; } - - [Parameter( - ParameterSetName = OperationLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required.")] - public String OperationId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")] - public SwitchParameter Force { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.PolicyRemoveDescription, ParameterSetName); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.PolicyRemoveWarning, ParameterSetName); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - switch (ParameterSetName) - { - case TenantLevel: - Client.PolicyRemoveTenantLevel(Context); - break; - case ProductLevel: - Client.PolicyRemoveProductLevel(Context, ProductId); - break; - case ApiLevel: - Client.PolicyRemoveApiLevel(Context, ApiId); - break; - case OperationLevel: - if (string.IsNullOrWhiteSpace(ApiId)) - { - throw new PSArgumentNullException("ApiId"); - } - Client.PolicyRemoveOperationLevel(Context, ApiId, OperationId); - break; - default: - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - - if (PassThru) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs deleted file mode 100644 index b43fc69559fd..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementProduct")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementProduct : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing Product. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional.")] - public SwitchParameter DeleteSubscriptions { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional.")] - public SwitchParameter Force { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.ProductRemoveDescription, ProductId); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.ProductRemoveWarning, ProductId); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - Client.ProductRemove(Context, ProductId, DeleteSubscriptions); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs deleted file mode 100644 index 45acc7a791dc..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementProductFromGroup")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementProductFromGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing group. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing product. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.ProductRemoveFromGroup(Context, GroupId, ProductId); - - if (PassThru) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs deleted file mode 100644 index 6d4e6465ac8c..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementSubscription")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementSubscription : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing subscription. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String SubscriptionId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")] - public SwitchParameter Force { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.SubscriptionRemoveDescription, SubscriptionId); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.SubscriptionRemoveWarning, SubscriptionId); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - Client.SubscriptionRemove(Context, SubscriptionId); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs deleted file mode 100644 index a8215e4a3859..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Globalization; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementUser")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementUser : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing user. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UserId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional. ")] - public SwitchParameter DeleteSubscriptions { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false.")] - public SwitchParameter Force { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - var actionDescription = string.Format(CultureInfo.CurrentCulture, Resources.UserRemoveDescription, UserId); - var actionWarning = string.Format(CultureInfo.CurrentCulture, Resources.UserRemoveWarning, UserId); - - // Do nothing if force is not specified and user cancelled the operation - if (!Force.IsPresent && - !ShouldProcess( - actionDescription, - actionWarning, - Resources.ShouldProcessCaption)) - { - return; - } - - Client.UserRemove(Context, UserId, DeleteSubscriptions); - - if (PassThru.IsPresent) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs deleted file mode 100644 index 2eb0545e8d2e..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Remove, "AzureApiManagementUserFromGroup")] - [OutputType(typeof(bool))] - public class RemoveAzureApiManagementUserFromGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing group. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing user. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UserId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.UserRemoveFromGroup(Context, GroupId, UserId); - - if (PassThru) - { - WriteObject(true); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs deleted file mode 100644 index d4a69c6fb926..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs +++ /dev/null @@ -1,125 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Linq; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementApi")] - [OutputType(typeof(PsApiManagementApi))] - public class SetAzureApiManagementApi : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Web API description. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ServiceUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null.")] - public String Path { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null.")] - [ValidateNotNullOrEmpty] - public PsApiManagementSchema[] Protocols { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified.")] - public String AuthorizationServerId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "OAuth operations scope. This parameter is optional. Default value is $null.")] - public String AuthorizationScope { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription key header name. This parameter is optional. Default value is $null.")] - public String SubscriptionKeyHeaderName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription key query string parameter name. This parameter is optional. Default value is $null.")] - public String SubscriptionKeyQueryParamName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.ApiSet( - Context, - ApiId, - Name, - Description, - ServiceUrl, - Path, - Protocols.Distinct().ToArray(), - AuthorizationServerId, - AuthorizationScope, - SubscriptionKeyHeaderName, - SubscriptionKeyQueryParamName); - - if (PassThru.IsPresent) - { - var api = Client.ApiById(Context, ApiId); - WriteObject(api); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs deleted file mode 100644 index dc5383bea57a..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs +++ /dev/null @@ -1,180 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Collections; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementAuthorizationServer")] - [OutputType(typeof (PsApiManagementOAuth2AuthrozationServer))] - public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing authorization server. This parameter is required. ")] - [ValidateNotNullOrEmpty] - public String ServerId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Name of new authorization server. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Description of new authorization server. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ClientRegistrationPageUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String AuthorizationEndpointUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String TokenEndpointUrl { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Client ID of developer console which is the client application. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ClientId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Client secret of developer console which is the client application. This parameter is optional.")] - public String ClientSecret { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET.")] - public PsApiManagementAuthorizationRequestMethod[] AuthorizationRequestMethods { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementGrantType[] GrantTypes { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Supported client authentication methods (Basic, Body). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementClientAuthenticationMethod[] ClientAuthenticationMethods { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional.")] - public Hashtable TokenBodyParameters { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether to support state parameter. This parameter is optional.")] - public bool? SupportState { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Authorization server default scope. This parameter is optional.")] - public String DefaultScope { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementAccessTokenSendingMethod[] AccessTokenSendingMethods { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.")] - public String ResourceOwnerUsername { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes.")] - public String ResourceOwnerPassword { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.AuthorizationServerSet( - Context, - ServerId, - Name, - Description, - ClientRegistrationPageUrl, - AuthorizationEndpointUrl, - TokenEndpointUrl, - ClientId, - ClientSecret, - AuthorizationRequestMethods == null || AuthorizationRequestMethods.Length == 0 - ? new[] {PsApiManagementAuthorizationRequestMethod.Get} - : AuthorizationRequestMethods, - GrantTypes, - ClientAuthenticationMethods, - TokenBodyParameters, - SupportState, - DefaultScope, - AccessTokenSendingMethods, - ResourceOwnerUsername, - ResourceOwnerPassword); - - if (PassThru) - { - var server = Client.AuthorizationServerById(Context, ServerId); - WriteObject(server); - } - } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs deleted file mode 100644 index 0a761e759684..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs +++ /dev/null @@ -1,98 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.IO; - using System.Management.Automation; - using System.Security.Cryptography.X509Certificates; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementCertificate", DefaultParameterSetName = FromFile)] - [OutputType(typeof(PsApiManagementCertificate))] - public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase - { - private const string FromFile = "Load from file"; - private const string Raw = "Raw"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of certificate. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String CertificateId { get; set; } - - [Parameter( - ParameterSetName = FromFile, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified.")] - public String PfxFilePath { get; set; } - - [Parameter( - ParameterSetName = Raw, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified.")] - public Byte[] PfxBytes { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Password for the certificate. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String PfxPassword { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - byte[] rawBytes; - if (ParameterSetName.Equals(FromFile)) - { - using (var certStream = File.OpenRead(PfxFilePath)) - { - rawBytes = new byte[certStream.Length]; - certStream.Read(rawBytes, 0, rawBytes.Length); - } - } - else if (ParameterSetName.Equals(Raw)) - { - rawBytes = PfxBytes; - } - else - { - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - - // check for valid certificate file/bytes - new X509Certificate2(rawBytes, PfxPassword); - - var certificate = Client.CertificateSet(Context, CertificateId, rawBytes, PfxPassword); - WriteObject(certificate); - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs deleted file mode 100644 index 07bcf40202ae..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementGroup")] - [OutputType(typeof(PsApiManagementGroup))] - public class SetAzureApiManagementGroup : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing group. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String GroupId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Group name. This parameter is optional.")] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Group description. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.GroupSet(Context, GroupId, Name, Description); - - if (PassThru) - { - var @group = Client.GroupById(Context, GroupId); - WriteObject(@group); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs deleted file mode 100644 index e6920e5f4ee8..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs +++ /dev/null @@ -1,108 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementOperation")] - [OutputType(typeof(PsApiManagementOperation))] - public class SetAzureApiManagementOperation : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of API. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ApiId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing operation. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String OperationId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Display name of new operation. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "HTTP method of new operation. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String Method { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String UrlTemplate { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Description of new operation. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values.")] - public PsApiManagementParameter[] TemplateParameters { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Operation request details. This parameter is optional.")] - public PsApiManagementRequest Request { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Array of possible operation responses. This parameter is optional.")] - public PsApiManagementResponse[] Responses { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.OperationSet(Context, ApiId, OperationId, Name, Method, UrlTemplate, Description, TemplateParameters, Request, Responses); - - if (PassThru.IsPresent) - { - var api = Client.OperationById(Context, ApiId, OperationId); - WriteObject(api); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs deleted file mode 100644 index df77965c324f..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs +++ /dev/null @@ -1,146 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.IO; - using System.Management.Automation; - using System.Text; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementPolicy", DefaultParameterSetName = TenantLevel)] - [OutputType(typeof(bool))] - public class SetAzureApiManagementPolicy : AzureApiManagementCmdletBase - { - private const string DefaultFormat = "application/vnd.ms-azure-apim.policy+xml"; - - private const string TenantLevel = "Tenant level"; - private const string ProductLevel = "Product level"; - private const string ApiLevel = "API level"; - private const string OperationLevel = "Operation level"; - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Format of the policy. This parameter is optional. Default value is 'application/vnd.ms-azure-apim.policy+xml'.")] - public String Format { get; set; } - - [Parameter( - ParameterSetName = ProductLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing product. If specified will set product-scope policy. This parameters is required.")] - public String ProductId { get; set; } - - [Parameter( - ParameterSetName = ApiLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. If specified will set API-scope policy. This parameters is required.")] - [Parameter( - ParameterSetName = OperationLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing API. If specified will set API-scope policy. This parameters is required.")] - public String ApiId { get; set; } - - [Parameter( - ParameterSetName = OperationLevel, - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required.")] - public String OperationId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Policy document as a string. This parameter is required if -PolicyFilePath not specified.")] - public String Policy { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Policy document file path. This parameter is required if -Policy not specified.")] - public String PolicyFilePath { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Stream stream = null; - try - { - if (!string.IsNullOrWhiteSpace(Policy)) - { - stream = new MemoryStream(Encoding.UTF8.GetBytes(Policy)); - } - else if (!string.IsNullOrEmpty(PolicyFilePath)) - { - stream = File.OpenRead(PolicyFilePath); - } - else - { - throw new PSInvalidOperationException("Either Policy or PolicyFilePath should be specified."); - } - - string format = Format ?? DefaultFormat; - switch (ParameterSetName) - { - case TenantLevel: - Client.PolicySetTenantLevel(Context, format, stream); - break; - case ProductLevel: - Client.PolicySetProductLevel(Context, format, stream, ProductId); - break; - case ApiLevel: - Client.PolicySetApiLevel(Context, format, stream, ApiId); - break; - case OperationLevel: - if (string.IsNullOrWhiteSpace(ApiId)) - { - throw new PSArgumentNullException("ApiId"); - } - Client.PolicySetOperationLevel(Context, format, stream, ApiId, OperationId); - break; - default: - throw new InvalidOperationException(string.Format("Parameter set name '{0}' is not supported.", ParameterSetName)); - } - - if (PassThru) - { - WriteObject(true); - } - } - finally - { - if (stream != null) - { - stream.Dispose(); - } - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs deleted file mode 100644 index e725afd63a1e..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs +++ /dev/null @@ -1,121 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementProduct")] - [OutputType(typeof(PsApiManagementProduct))] - public class SetAzureApiManagementProduct : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing Product. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String ProductId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Product title. This parameter is required.")] - public String Title { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Product description. This parameter is optional.")] - public String Description { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Legal terms of use of the product. This parameter is optional.")] - public String LegalTerms { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether the product requires subscription or not. This parameter is optional. Default value is $true.")] - public bool? SubscriptionRequired { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false.")] - public bool? ApprovalRequired { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1.")] - public Int32? SubscriptionsLimit { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).")] - public String SubscriptionPeriod { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year).")] - public String NotificationPeriod { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished.")] - public PsApiManagementProductState? State { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.ProductSet( - Context, - ProductId, - Title, - Description, - LegalTerms, - SubscriptionRequired, - ApprovalRequired, - SubscriptionsLimit, - SubscriptionPeriod, - NotificationPeriod, - State); - - if (PassThru) - { - var product = Client.ProductById(Context, ProductId); - WriteObject(product); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs deleted file mode 100644 index 4c17b3bc0c1e..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs +++ /dev/null @@ -1,93 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementSubscription")] - [OutputType(typeof(PsApiManagementSubscription))] - public class SetAzureApiManagementSubscription : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing subscription. This parameter is required.")] - [ValidateNotNullOrEmpty] - public String SubscriptionId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription name. This parameter is optional.")] - public String Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")] - public String PrimaryKey { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long.")] - public String SecondaryKey { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription state. This parameter is optional. Default value is $null.")] - public PsApiManagementSubscriptionState? State { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription expiration date. This parameter is optional. Default value is $null.")] - public DateTime? ExpiresOn { get; set; } - - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Subscription state comment. This parameter is optional. Default value is $null.")] - public string StateComment { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.SubscriptionSet(Context, SubscriptionId, Name, PrimaryKey, SecondaryKey, State, ExpiresOn, StateComment); - - if (PassThru) - { - var subscription = Client.SubscriptionById(Context, SubscriptionId); - WriteObject(subscription); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs deleted file mode 100644 index c230bfd37cf5..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - - [Cmdlet(VerbsCommon.Set, "AzureApiManagementUser")] - [OutputType(typeof(PsApiManagementUser))] - public class SetAzureApiManagementUser : AzureApiManagementCmdletBase - { - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] - [ValidateNotNullOrEmpty] - public PsApiManagementContext Context { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = true, - HelpMessage = "Identifier of existing user. This parameter is required. ")] - [ValidateNotNullOrEmpty] - public String UserId { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User first name. This parameter is optional. Must be 1 to 100 characters long.")] - public String FirstName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User last name. This parameter is optional. Must be 1 to 100 characters long.")] - public String LastName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User email. This parameter is optional.")] - public String Email { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User password. This parameter is optional.")] - public String Password { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "User state. This parameter is optional. Default value is Active.")] - public PsApiManagementUserState State { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "Note on the user. This parameter is optional. Default value is $null.")] - public String Note { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - Mandatory = false, - HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user.")] - public SwitchParameter PassThru { get; set; } - - public override void ExecuteApiManagementCmdlet() - { - Client.UserSet(Context, UserId, FirstName, LastName, Password, Email, State, Note); - - if (PassThru) - { - var user = Client.UserById(Context, UserId); - WriteObject(user); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/CommonConstants.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/CommonConstants.cs deleted file mode 100644 index 7a267443aeef..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/CommonConstants.cs +++ /dev/null @@ -1,20 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement -{ - public class CommonConstants - { - - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj deleted file mode 100644 index 1c9bd237ef29..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.Help.pshproj +++ /dev/null @@ -1,4952 +0,0 @@ - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help - 0.0.1 - - E:\work\github\azure-powershell-pr\src\ResourceManager\ApiManagement\Commands.ApiManagement.ServiceManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 - false - false - - - - Add-AzureApiManagementApiToProduct - - Adds existing API to existing Product. - Adds existing API to existing Product. - - - - - - bool - - - - - - - - - Add-AzureApiManagementApiToProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ProductId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing Product to add API to. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing APIs to be added to the product. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Add-AzureApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 - Add existing API to an existing Product. - - - - - - false - - - Add-AzureApiManagementProductToGroup - - Adds existing product to existing group. In other words assigns a group to a product. - Adds existing product to existing group. In other words assigns a group to a product. - - - - - - bool - - - - - - - - - Add-AzureApiManagementProductToGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing group. This parameter is required. - - - - ProductId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing product. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Add-AzureApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 - Add existing product to an existing group. - - - - - - false - - - Add-AzureApiManagementUserToGroup - - Adds existing user to existing group. - Adds existing user to existing group. - - - - - - bool - - - - - - - - - Add-AzureApiManagementUserToGroup -Context <PsApiManagementContext> -GroupId <String> -UserId <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing group. This parameter is required. - - - - UserId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing user. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Add-AzureApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 - Add existing user to an existing group. - - - - - - false - - - Export-AzureApiManagementApi - - Export API to file in one of the supported formats. - Export API to file in one of the supported formats. - - - - - - string;bool - - -exported api content; -true/false - - - - - - - Export-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -SpecificationFormat <PsApiManagementApiFormat> [-Profile <AzureProfile>] - Export-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -SpecificationFormat <PsApiManagementApiFormat> -SaveAs <String> [-Force] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of exporting API. This parameter is required. - - - - SpecificationFormat - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Specification format (Wadl or Swagger). This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - SaveAs - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - File path where to save the exporting specification to. This parameter is required. - - - - Force - - System.Management.Automation.ParameterAttribute - - - If specified will override the file if it exists. This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true/false if api exported successfully/failed. This parameter is optional. - - - - - - Example 1 - Export-AzureApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl' - Export API to file as WADL. - - - - - - false - - - Get-AzureApiManagementApi - - Gets a list or a particular API description. - Gets a list or a particular API description. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - - - - - - - - Get-AzureApiManagementApi -Context <PsApiManagementContext> [-Profile <AzureProfile>] - Get-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> [-Profile <AzureProfile>] - Get-AzureApiManagementApi -Context <PsApiManagementContext> -Name <String> [-Profile <AzureProfile>] - Get-AzureApiManagementApi -Context <PsApiManagementContext> -ProductId <String> [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - ApiId - - System.Management.Automation.ParameterAttribute - - - API identifier to look for. If specified will try to get the API by the Id. This parameter is optional. - - - - Name - - System.Management.Automation.ParameterAttribute - - - Name of the API. If specified will try to get the API by name. This parameter is optional. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - If specified will try to get all Product APIs. This parameter is optional. - - - - - - Example 1 - Get-AzureApiManagementApi –Context $apimContext - Get list of all APIs. - - - - Example 2 - Get-AzureApiManagementApi –Context $apimContext –ApiId $apiId - Get API by Id. - - - - Example 3 - Get-AzureApiManagementApi –Context $apimContext –Name "EchoApi" - Get API by Name - - - - - - false - - - Get-AzureApiManagementAuthorizationServer - - Gets all or specific authorization servers. - Gets all or specific authorization servers. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer - - - - - - - - - Get-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> [-ServerId <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ServerId - - System.Management.Automation.ParameterAttribute - - - Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Get-AzureApiManagementAuthrizarionServer –Context $apimContext - Get all authorization servers. - - - - Example 2 - Get-AzureApiManagementCertificate –Context $apimContext –ServerId 0123456789 - Get specific authorization server. - - - - - - false - - - Get-AzureApiManagementCertificate - - Gets all or specific certificates. - Gets all or specific certificates. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate - - - - - - - - - - Get-AzureApiManagementCertificate -Context <PsApiManagementContext> [-Profile <AzureProfile>] - Get-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - CertificateId - - System.Management.Automation.ParameterAttribute - - - Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required. - - - - - - Example 1 - Get-AzureApiManagementCertificate –Context $apimContext - Get all certificates. - - - - Example 2 - Get-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 - Get specific certificate. - - - - - - false - - - Get-AzureApiManagementGroup - - Gets all or specific groups. - Gets all or specific groups. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup - - - - - - - - - - - - Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-Profile <AzureProfile>] - Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-GroupId <String>] [-Name <String>] [-Profile <AzureProfile>] - Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-UserId <String>] [-Profile <AzureProfile>] - Get-AzureApiManagementGroup -Context <PsApiManagementContext> [-Name <String>] [-ProductId <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Name - - System.Management.Automation.ParameterAttribute - - - Group name. If specified will try to find group by the name. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - GroupId - - System.Management.Automation.ParameterAttribute - - - Identifier of a group. If specified will try to find group by the identifier. This parameter is optional. - - - - UserId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional. - - - - - - Example 1 - Get-AzureApiManagementGroup –Context $apimContext - Get all groups. - - - - Example 2 - Get-AzureApiManagementGroup –Context $apimContext –GroupId 0123456789 - Get group by identifier. - - - - Example 3 - Get-AzureApiManagementGroup –Context $apimContext –Name 'Custom group' - Get group by name. - - - - Example 4 - Get-AzureApiManagementGroup –Context $apimContext –UserId 0123456789 - Get all user groups. - - - - - - false - - - Get-AzureApiManagementOperation - - Gets a list or a particular API Operation. - Gets a list or a particular API Operation. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation - ; - -; - - - - - - - - Get-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> [-Profile <AzureProfile>] - Get-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of API Operation belongs to. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - OperationId - - System.Management.Automation.ParameterAttribute - - - Identifier operation to look for. This parameter is optional. - - - - - - Example 1 - Get-AzureApiManagementOperation –Context $apimContext –ApiId $apiId - Get all API Operations. - - - - Example 2 - Get-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789 - Get Operation by id. - - - - - - false - - - Get-AzureApiManagementPolicy - - Gets specified scope policy. - Gets specified scope policy. - - - - - - string;bool - - - - - - - - - - - - Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] [-Force] [-Profile <AzureProfile>] - Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ProductId <String> [-Force] [-Profile <AzureProfile>] - Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ApiId <String> -OperationId <String> [-Force] [-Profile <AzureProfile>] - Get-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-SaveAs <String>] -ApiId <String> [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Format - - System.Management.Automation.ParameterAttribute - - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - - - SaveAs - - System.Management.Automation.ParameterAttribute - - - File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing product. If specified will return product-scope policy. This parameters is optional. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing API. If specified will return API-scope policy. This parameters is required. - - - - OperationId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required. - - - - - - Example 1 - Get-AzureApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml' - Get tenant level policy and save to file named tenantpolicy.xml. - - - - Example 2 - $policyString = Get-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 - Get product-scope policy - - - - Example 3 - $policyString = Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 - Get API-scope policy. - - - - Example 4 - Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 - Get operation-scope policy. - - - - - - false - - - Get-AzureApiManagementProduct - - Gets a list or a particular Product. - Gets a list or a particular Product. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct - ; - -; - - - - - - - - - Get-AzureApiManagementProduct -Context <PsApiManagementContext> [-Profile <AzureProfile>] - Get-AzureApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-Profile <AzureProfile>] - Get-AzureApiManagementProduct -Context <PsApiManagementContext> [-Title <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - ProductId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of Product to search for. This parameter is optional. - - - - Title - - System.Management.Automation.ParameterAttribute - - - Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional. - - - - - - Example 1 - Get-AzureApiManagementProduct –Context $apimContext - Get all Products. - - - - Example 2 - Get-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 - Get Product by id. - - - - - - false - - - Get-AzureApiManagementSubscription - - Gets all or specific subscriptions. - Gets all or specific subscriptions. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription - - - - - - - - - - - - Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-Profile <AzureProfile>] - Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-SubscriptionId <String>] [-Profile <AzureProfile>] - Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-UserId <String>] [-Profile <AzureProfile>] - Get-AzureApiManagementSubscription -Context <PsApiManagementContext> [-ProductId <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - SubscriptionId - - System.Management.Automation.ParameterAttribute - - - Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional. - - - - UserId - - System.Management.Automation.ParameterAttribute - - - User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional. - - - - - - Example 1 - Get-AzureApiManagementSubscription –Context $apimContext - Get all subscriptions. - - - - Example 2 - Get-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 - Get subscription by Id. - - - - Example 3 - Get-AzureApiManagementSubscription –Context $apimContext –UserId 777 - Get all users subscriptions. - - - - Example 4 - Get-AzureApiManagementSubscription –Context $apimContext –ProductId 999 - Get all subscriptions for the product. - - - - - - false - - - Get-AzureApiManagementUser - - Gets all or specific user. - Gets all or specific user. - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser>;Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser - - - - - - - - - - - Get-AzureApiManagementUser -Context <PsApiManagementContext> [-Profile <AzureProfile>] - Get-AzureApiManagementUser -Context <PsApiManagementContext> [-UserId <String>] [-Profile <AzureProfile>] - Get-AzureApiManagementUser -Context <PsApiManagementContext> [-FirstName <String>] [-LastName <String>] [-State <Nullable`1[PsApiManagementUserState]>] [-Email <String>] [-GroupId <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - UserId - - System.Management.Automation.ParameterAttribute - - - Identifier of a user. If specified will try to find user by the identifier. This parameter is optional. - - - - FirstName - - System.Management.Automation.ParameterAttribute - - - User first name. If specified will try to find users by the first name. This parameter is optional. - - - - LastName - - System.Management.Automation.ParameterAttribute - - - User last name. If specified will try to find users by the last name. This parameter is optional. - - - - State - - System.Management.Automation.ParameterAttribute - - - User state. If specified will try to find all users in the state. This parameter is optional. - - - - Email - - System.Management.Automation.ParameterAttribute - - - User email. If specified will try to find user by email. This parameter is optional. - - - - GroupId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing group. If specified will try to find all users within the group. This parameter is optional. - - - - - - Example 1 - Get-AzureApiManagementUser –Context $apimContext - Get all users. - - - - Example 2 - Get-AzureApiManagementUser –Context $apimContext –UserId 0123456789 - Get user by Id. - - - - Example 3 - Get-AzureApiManagementUser –Context $apimContext –LastName 'Ivanov' - Get users by last name. - - - - Example 4 - Get-AzureApiManagementUser –Context $apimContext –Email 'user@contoso.com' - Get user by email. - - - - Example 5 - Get-AzureApiManagementUser –Context $apimContext –GroupId 0001 - Get all users within the group. - - - - - - false - - - Get-AzureApiManagementUserSsoUrl - - Generates SSO URL for the user. - Generates SSO URL for the user. - - - - - - string - - - - - - - - - Get-AzureApiManagementUserSsoUrl -Context <PsApiManagementContext> -UserId <String> [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - UserId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing user. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Get-AzureApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789 - Get user SSO URL. - - - - - - false - - - Import-AzureApiManagementApi - - Imports API from file or URL in one of the supported formats. - Imports API from file or URL in one of the supported formats (Wadl, Swagger). - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - -Imported API - - - - - - - Import-AzureApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -SpecificationFormat <PsApiManagementApiFormat> -SpecificationPath <String> [-Path <String>] [-Profile <AzureProfile>] - Import-AzureApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -SpecificationFormat <PsApiManagementApiFormat> -SpecificationUrl <String> [-Path <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - - - Identifier for importing API. This parameter is optional. If not specified the identifier will be generated. - - - - SpecificationFormat - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Specification format (Wadl, Swagger). This parameter is required. - - - - SpecificationPath - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Specification file path. This parameter is required. - - - - Path - - System.Management.Automation.ParameterAttribute - - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - SpecificationUrl - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Specification URL. This parameter is required. - - - - - - Example 1 - Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis' - Import API from WADL file. - - - - Example 2 - Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis' - Import API from Swagger file. - - - - Example 3 - Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis' - Import API from WADL link. - - - - - - false - - - New-AzureApiManagementApi - - Creates new API. - Creates new API. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - - - - - New-AzureApiManagementApi -Context <PsApiManagementContext> [-ApiId <String>] -Name <String> [-Description <String>] -ServiceUrl <String> [-Path <String>] -Protocols <PsApiManagementSchema[]> [-AuthorizationServerId <String>] [-AuthorizationScope <String>] [-SubscriptionKeyHeaderName <String>] [-SubscriptionKeyQueryParamName <String>] [-ProductIds <String[]>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - - - Identifier for new API. This parameter is optional. If not specified the identifier will be generated. - - - - Name - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Web API description. This parameter is optional. - - - - ServiceUrl - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required. - - - - Path - - System.Management.Automation.ParameterAttribute - - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - $null - - - Protocols - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null. - $null - - - AuthorizationServerId - - System.Management.Automation.ParameterAttribute - - - OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified. - $null - - - AuthorizationScope - - System.Management.Automation.ParameterAttribute - - - OAuth operations scope. This parameter is optional. Default value is $null. - $null - - - SubscriptionKeyHeaderName - - System.Management.Automation.ParameterAttribute - - - Subscription key header name. This parameter is optional. Default value is $null. - $null - - - SubscriptionKeyQueryParamName - - System.Management.Automation.ParameterAttribute - - - Subscription key query string parameter name. This parameter is optional. Default value is $null. - $null - - - ProductIds - - System.Management.Automation.ParameterAttribute - - - Array of products IDs to add the new API to. This parameter is optional. - $null - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https') - Create new API. - - - - - - false - - - New-AzureApiManagementAuthorizationServer - - Creates new authorization server. - Creates new authorization server. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer - - - - - - - - - New-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> [-ServerId <String>] -Name <String> [-Description <String>] -ClientRegistrationPageUrl <String> -AuthorizationEndpointUrl <String> -TokenEndpointUrl <String> -ClientId <String> [-ClientSecret <String>] [-AuthorizationRequestMethods <PsApiManagementAuthorizationRequestMethod[]>] -GrantTypes <PsApiManagementGrantType[]> -ClientAuthenticationMethods <PsApiManagementClientAuthenticationMethod[]> [-TokenBodyParameters <Hashtable>] [-SupportState <Nullable`1[Boolean]>] [-DefaultScope <String>] -AccessTokenSendingMethods <PsApiManagementAccessTokenSendingMethod[]> [-ResourceOwnerUsername <String>] [-ResourceOwnerPassword <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ServerId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing authorization server. This parameter is optional. - - - - Name - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Name of new authorization server. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Description of new authorization server. This parameter is optional. - - - - ClientRegistrationPageUrl - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required. - - - - AuthorizationEndpointUrl - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required. - - - - TokenEndpointUrl - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required. - - - - ClientId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Client ID of developer console which is the client application. This parameter is required. - - - - ClientSecret - - System.Management.Automation.ParameterAttribute - - - Client secret of developer console which is the client application. This parameter is optional. - - - - AuthorizationRequestMethods - - System.Management.Automation.ParameterAttribute - - - Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET. - - - - GrantTypes - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required. - - - - ClientAuthenticationMethods - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Supported client authentication methods (Basic, Body). This parameter is required. - - - - TokenBodyParameters - - System.Management.Automation.ParameterAttribute - - - Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional. - - - - SupportState - - System.Management.Automation.ParameterAttribute - - - Whether to support state parameter. This parameter is optional. - - - - DefaultScope - - System.Management.Automation.ParameterAttribute - - - Authorization server default scope. This parameter is optional. - - - - AccessTokenSendingMethods - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required. - - - - ResourceOwnerUsername - - System.Management.Automation.ParameterAttribute - - - Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - - - ResourceOwnerPassword - - System.Management.Automation.ParameterAttribute - - - Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty' - Create new authorization server. - - - - - - false - - - New-AzureApiManagementCertificate - - Creates new certificate. - Creates new certificate. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate - - - - - - - - - - New-AzureApiManagementCertificate -Context <PsApiManagementContext> [-CertificateId <String>] -PfxFilePath <String> -PfxPassword <String> [-Profile <AzureProfile>] - New-AzureApiManagementCertificate -Context <PsApiManagementContext> [-CertificateId <String>] -PfxBytes <Byte[]> -PfxPassword <String> [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - CertificateId - - System.Management.Automation.ParameterAttribute - - - Identifier of new certificate. This parameter is optional. If not specified will be generated. - - - - PfxFilePath - - System.Management.Automation.ParameterAttribute - - - Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified. - - - - PfxPassword - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Password for the certificate. This parameter is required. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - PfxBytes - - System.Management.Automation.ParameterAttribute - - - Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified. - - - - - - Example 1 - New-AzureApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111 - Create/upload new certificate. - - - - - - false - - - New-AzureApiManagementContext - - Create PsAzureApiManagementContext. - Create an instance of PsAzureApiManagementContext. The context is to be used for all the API Management Service Management cmdlets. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsAzureApiManagementContext - - - - - - - - - New-AzureApiManagementContext -ResourceGroupName <String> -ServiceName <String> [-Profile <AzureProfile>] - - - - ResourceGroupName - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Name of resource group under which an API Management service is deployed. - - - - ServiceName - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Name of deployed API Management service. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - $apimContext = New-AzureApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso - Create an instance of PsApiManagementContext - - - - - - false - - - New-AzureApiManagementGroup - - Creates new group. - Creates new group. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup - - - - - - - - - New-AzureApiManagementGroup -Context <PsApiManagementContext> [-GroupId <String>] -Name <String> [-Description <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ParameterAttribute - - - Identifier of new group. This parameter is optional. If not specified will be generated. - - - - Name - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Group name. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Group description. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementGroup –Context $apimContext –Name 'Best devs' - Create new group. - - - - - - false - - - New-AzureApiManagementOperation - - Create new API Operation. - Create new API Operation. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation - - - - - - - - - New-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> [-OperationId <String>] -Name <String> -Method <String> -UrlTemplate <String> [-Description <String>] [-TemplateParameters <PsApiManagementParameter[]>] [-Request <PsApiManagementRequest>] [-Responses <PsApiManagementResponse[]>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of API. This parameter is required. - - - - OperationId - - System.Management.Automation.ParameterAttribute - - - Identifier of new operation. This parameter is optional. If not specified will be generated. - - - - Name - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Display name of new operation. This parameter is required. - - - - Method - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - HTTP method of new operation. This parameter is required. - - - - UrlTemplate - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Description of new operation. This parameter is optional. - - - - TemplateParameters - - System.Management.Automation.ParameterAttribute - - - Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values. - - - - Request - - System.Management.Automation.ParameterAttribute - - - Operation request details. This parameter is optional. - - - - Responses - - System.Management.Automation.ParameterAttribute - - - Array of possible operation responses. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource' - Create new operation. - - - - Example 2 - #create parameters declared in UrlTemplate -$rid = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$rid.Name = 'rid' -$rid.Description = 'Resource identifier' -$rid.Type = 'string' -$query = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$query.Name = 'query' -$query.Description = 'Query string' -$query.Type = 'string' -#create request -$request = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRequest -$request.Description = 'Create/update resource request' -#create query parameters for the request -$dummyQp = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$dummyQp.Name = 'dummy' -$dummyQp.Type = 'string' -$dummyQp.Required = $FALSE -$request.QueryParameters = @($dummyQp) -#create headers for the request -$header = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$header.Name = 'x-custom-header' -$header.Type = 'string' -$request.Headers = @($header) -#create request representation -$requestRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation -$requestRepresentation.ContentType = 'application/json' -$requestRepresentation.Sample = '{ "propName": "propValue" }' -$request.Representations = @($requestRepresentation) -#create response -$response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse -$response.StatusCode = 204 -New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response) - Script to create new operation with request and response details. - - - - - - false - - - New-AzureApiManagementProduct - - Creates new product. - Creates new product. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct - - - - - - - - - New-AzureApiManagementProduct -Context <PsApiManagementContext> [-ProductId <String>] -Title <String> [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Nullable`1[Boolean]>] [-ApprovalRequired <Nullable`1[Boolean]>] [-SubscriptionsLimit <Nullable`1[Int32]>] [-SubscriptionPeriod <String>] [-NotificationPeriod <String>] [-State <Nullable`1[PsApiManagementProductState]>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - Identifier of new Product. This parameter is optional. If not specified will be generated. - - - - Title - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Product title. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Product description. This parameter is optional. - - - - LegalTerms - - System.Management.Automation.ParameterAttribute - - - Legal terms of use of the product. This parameter is optional. - - - - SubscriptionRequired - - System.Management.Automation.ParameterAttribute - - - Whether the product requires subscription or not. This parameter is optional. Default value is $true. - - - - ApprovalRequired - - System.Management.Automation.ParameterAttribute - - - Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false. - - - - SubscriptionsLimit - - System.Management.Automation.ParameterAttribute - - - Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1. - - - - SubscriptionPeriod - - System.Management.Automation.ValidatePatternAttribute - System.Management.Automation.ParameterAttribute - - - The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - - - NotificationPeriod - - System.Management.Automation.ValidatePatternAttribute - System.Management.Automation.ParameterAttribute - - - Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - - - State - - System.Management.Automation.ParameterAttribute - - - Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published' - Crete new product. No subscription required. - - - - Example 2 - New-AzureApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1' - Crete new product. Subscription and approval required. Notification period – 10 days. Subscription period – 1 year. - - - - - - false - - - New-AzureApiManagementSubscription - - Creates new subscription. - Creates new subscription. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription - - - - - - - - - New-AzureApiManagementSubscription -Context <PsApiManagementContext> [-SubscriptionId <String>] -Name <String> -UserId <String> -ProductId <String> [-PrimaryKey <String>] [-SecondaryKey <String>] [-State <Nullable`1[PsApiManagementSubscriptionState]>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - SubscriptionId - - System.Management.Automation.ParameterAttribute - - - Identifier of new subscription. This parameter is optional. If not specified will be generated. - - - - Name - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Subscription name. This parameter is required. - - - - UserId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing user - the subscriber. This parameter is required. - - - - ProductId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing product to subscribe to. This parameter is required. - - - - PrimaryKey - - System.Management.Automation.ParameterAttribute - - - Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - - - SecondaryKey - - System.Management.Automation.ParameterAttribute - - - Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - - - State - - System.Management.Automation.ParameterAttribute - - - Subscription state. This parameter is optional. Default value is $null. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999 - Subscribe existing user to existing product. - - - - - - false - - - New-AzureApiManagementUser - - Register new user. - Register new user. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser - - - - - - - - - New-AzureApiManagementUser -Context <PsApiManagementContext> [-UserId <String>] -FirstName <String> -LastName <String> -Email <String> -Password <String> [-State <Nullable`1[PsApiManagementUserState]>] [-Note <String>] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - UserId - - System.Management.Automation.ParameterAttribute - - - Identifier of new user. This parameter is optional. If not specified will be genetated. - - - - FirstName - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - User first name. This parameter is required. Must be 1 to 100 characters long. - - - - LastName - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - User last name. This parameter is required. Must be 1 to 100 characters long. - - - - Email - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - User email. This parameter is required. - - - - Password - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - User password. This parameter is required. - - - - State - - System.Management.Automation.ParameterAttribute - - - User state. This parameter is optional. Default value is $null. - - - - Note - - System.Management.Automation.ParameterAttribute - - - Note on the user. This parameter is optional. Default value is $null. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty' - Register new user. - - - - - - false - - - Remove-AzureApiManagementApi - - Remove existing API. - Remove existing API. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> [-Force] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of the API. This parameter is required. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementApi –Context $apimContext –ApiId 0123456789 - Remove existing API. - - - - - - false - - - Remove-AzureApiManagementApiFromProduct - - Removes existing API from existing Product. - Removes existing API from existing Product. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementApiFromProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ProductId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing Product to remove API from. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing APIs to remove from the product. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru - Remove existing API from an existing Product. - - - - - - false - - - Remove-AzureApiManagementAuthorizationServer - - Deletes existing authorization server. - Deletes existing authorization server. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> -ServerId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ServerId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing authorization server. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - - Delete existing authorization server. - - - - - - false - - - Remove-AzureApiManagementCertificate - - Deletes existing certificate. - Deletes existing certificate. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - CertificateId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing certificate. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force - Delete existing certificate. - - - - - - false - - - Remove-AzureApiManagementGroup - - Deletes existing group. - Deletes existing group. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementGroup -Context <PsApiManagementContext> -GroupId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing group. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force - Delete existing group. - - - - - - false - - - Remove-AzureApiManagementOperation - - Remove existing operation. - Remove existing operation. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-Force] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of API. This parameter is required. - - - - OperationId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of API operation. This parameter is required. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force - Remove existing API Operation. - - - - - - false - - - Remove-AzureApiManagementPolicy - - Removes policy from specified scope. - Removes policy from specified scope. - - - - - - bool - - - - - - - - - - - - Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> [-PassThru] [-Force] [-Profile <AzureProfile>] - Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> -ProductId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> -ApiId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - Remove-AzureApiManagementPolicy -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing product. If specified will remove product-scope policy. This parameters is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing API. If specified will remove API-scope policy. This parameters is required. - - - - OperationId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required. - - - - - - Example 1 - Remove-AzureApiManagementPolicy –Context $apimContext - Remove tenant level policy. - - - - Example 2 - Remove-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 - Remove product-scope policy. - - - - Example 3 - Remove-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 - Remove API-scope policy. - - - - Example 4 - Remove-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 - Remove operation-scope policy. - - - - - - false - - - Remove-AzureApiManagementProduct - - Remove existing product. - Remove existing product. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-DeleteSubscriptions] [-Force] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ProductId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing Product. This parameter is required. - - - - DeleteSubscriptions - - System.Management.Automation.ParameterAttribute - - - Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force - Remove existing Product with all subscriptions. - - - - - - false - - - Remove-AzureApiManagementProductFromGroup - - Removes existing product from existing group. - Removes existing product from existing group. In other words removes group assignment from product. - - - - - - - - - - - - - - - Remove-AzureApiManagementProductFromGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing group. This parameter is required. - - - - ProductId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing product. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 - Remove existing product from an existing group. - - - - - - false - - - Remove-AzureApiManagementSubscription - - Deletes existing subscription. - Deletes existing subscription. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementSubscription -Context <PsApiManagementContext> -SubscriptionId <String> [-PassThru] [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - SubscriptionId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing subscription. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force - Delete existing subscription. - - - - - - false - - - Remove-AzureApiManagementUser - - Deletes existing user. - Deletes existing user. - - - - - - bool - - - - - - - - - Remove-AzureApiManagementUser -Context <PsApiManagementContext> -UserId <String> [-DeleteSubscriptions] [-PassThru] [-Force] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - UserId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing user. This parameter is required. - - - - DeleteSubscriptions - - System.Management.Automation.ParameterAttribute - - - Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Force - - System.Management.Automation.ParameterAttribute - - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementUser –Context $apimContext –UserId 0123456789 –Force - Delete existing user. - - - - - - false - - - Remove-AzureApiManagementUserFromGroup - - Removes existing user from existing group. - Removes existing user from existing group. - - - - - - - - - - - - - - - Remove-AzureApiManagementUserFromGroup -Context <PsApiManagementContext> -GroupId <String> -UserId <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing group. This parameter is required. - - - - UserId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing user. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Remove-AzureApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 - Remove existing user from an existing group. - - - - - - false - - - Set-AzureApiManagementApi - - Set API details. - Set API details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - - - - - Set-AzureApiManagementApi -Context <PsApiManagementContext> -ApiId <String> -Name <String> [-Description <String>] -ServiceUrl <String> [-Path <String>] -Protocols <PsApiManagementSchema[]> [-AuthorizationServerId <String>] [-AuthorizationScope <String>] [-SubscriptionKeyHeaderName <String>] [-SubscriptionKeyQueryParamName <String>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing API. This parameter is required. - - - - Name - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Web API description. This parameter is optional. - - - - ServiceUrl - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required. - - - - Path - - System.Management.Automation.ParameterAttribute - - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - - - Protocols - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null. - - - - AuthorizationServerId - - System.Management.Automation.ParameterAttribute - - - OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified. - - - - AuthorizationScope - - System.Management.Automation.ParameterAttribute - - - OAuth operations scope. This parameter is optional. Default value is $null. - - - - SubscriptionKeyHeaderName - - System.Management.Automation.ParameterAttribute - - - Subscription key header name. This parameter is optional. Default value is $null. - - - - SubscriptionKeyQueryParamName - - System.Management.Automation.ParameterAttribute - - - Subscription key query string parameter name. This parameter is optional. Default value is $null. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Set-AzureApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo' - - - - - - - false - - - Set-AzureApiManagementAuthorizationServer - - Sets authorization server details. - Sets authorization server details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer - - - - - - - - - Set-AzureApiManagementAuthorizationServer -Context <PsApiManagementContext> -ServerId <String> -Name <String> [-Description <String>] -ClientRegistrationPageUrl <String> -AuthorizationEndpointUrl <String> -TokenEndpointUrl <String> -ClientId <String> [-ClientSecret <String>] [-AuthorizationRequestMethods <PsApiManagementAuthorizationRequestMethod[]>] -GrantTypes <PsApiManagementGrantType[]> -ClientAuthenticationMethods <PsApiManagementClientAuthenticationMethod[]> [-TokenBodyParameters <Hashtable>] [-SupportState <Nullable`1[Boolean]>] [-DefaultScope <String>] -AccessTokenSendingMethods <PsApiManagementAccessTokenSendingMethod[]> [-ResourceOwnerUsername <String>] [-ResourceOwnerPassword <String>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ServerId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing authorization server. This parameter is required. - - - - Name - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Name of new authorization server. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Description of new authorization server. This parameter is optional. - - - - ClientRegistrationPageUrl - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required. - - - - AuthorizationEndpointUrl - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required. - - - - TokenEndpointUrl - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required. - - - - ClientId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Client ID of developer console which is the client application. This parameter is required. - - - - ClientSecret - - System.Management.Automation.ParameterAttribute - - - Client secret of developer console which is the client application. This parameter is optional. - - - - AuthorizationRequestMethods - - System.Management.Automation.ParameterAttribute - - - Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET. - - - - GrantTypes - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required. - - - - ClientAuthenticationMethods - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Supported client authentication methods (Basic, Body). This parameter is required. - - - - TokenBodyParameters - - System.Management.Automation.ParameterAttribute - - - Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional. - - - - SupportState - - System.Management.Automation.ParameterAttribute - - - Whether to support state parameter. This parameter is optional. - - - - DefaultScope - - System.Management.Automation.ParameterAttribute - - - Authorization server default scope. This parameter is optional. - - - - AccessTokenSendingMethods - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required. - - - - ResourceOwnerUsername - - System.Management.Automation.ParameterAttribute - - - Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - - - ResourceOwnerPassword - - System.Management.Automation.ParameterAttribute - - - Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Set-AzureApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader') - Set authorization server details. - - - - - - false - - - Set-AzureApiManagementCertificate - - Sets certificate data. - Sets certificate data. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate - - - - - - - - - - Set-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> -PfxFilePath <String> -PfxPassword <String> [-PassThru] [-Profile <AzureProfile>] - Set-AzureApiManagementCertificate -Context <PsApiManagementContext> -CertificateId <String> -PfxBytes <Byte[]> -PfxPassword <String> [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - CertificateId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of certificate. This parameter is required. - - - - PfxFilePath - - System.Management.Automation.ParameterAttribute - - - Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified. - - - - PfxPassword - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Password for the certificate. This parameter is required. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - PfxBytes - - System.Management.Automation.ParameterAttribute - - - Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified. - - - - - - Example 1 - Set-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222 - Set certificate. - - - - - - false - - - Set-AzureApiManagementGroup - - Sets existing group details. - Sets existing group details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup - - - - - - - - - Set-AzureApiManagementGroup -Context <PsApiManagementContext> -GroupId <String> [-Name <String>] [-Description <String>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - GroupId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing group. This parameter is required. - - - - Name - - System.Management.Automation.ParameterAttribute - - - Group name. This parameter is optional. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Group description. This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementGroup –Context $apimContext –Name 'Best devs' - Create new group. - - - - - - false - - - Set-AzureApiManagementOperation - - Set API Operation details. - Set API Operation details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation - - - - - - - - - Set-AzureApiManagementOperation -Context <PsApiManagementContext> -ApiId <String> -OperationId <String> -Name <String> -Method <String> -UrlTemplate <String> [-Description <String>] [-TemplateParameters <PsApiManagementParameter[]>] [-Request <PsApiManagementRequest>] [-Responses <PsApiManagementResponse[]>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of API. This parameter is required. - - - - OperationId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing operation. This parameter is required. - - - - Name - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Display name of new operation. This parameter is required. - - - - Method - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - HTTP method of new operation. This parameter is required. - - - - UrlTemplate - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Description of new operation. This parameter is optional. - - - - TemplateParameters - - System.Management.Automation.ParameterAttribute - - - Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values. - - - - Request - - System.Management.Automation.ParameterAttribute - - - Operation request details. This parameter is optional. - - - - Responses - - System.Management.Automation.ParameterAttribute - - - Array of possible operation responses. This parameter is optional. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource' - Set operation details. - - - - - - false - - - Set-AzureApiManagementPolicy - - Set specified scope policy. - Set specified scope policy. - - - - - - bool - - - - - - - - - - - - Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>] - Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ProductId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>] - Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ApiId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>] - Set-AzureApiManagementPolicy -Context <PsApiManagementContext> [-Format <String>] -ApiId <String> -OperationId <String> [-Policy <String>] [-PolicyFilePath <String>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - Format - - System.Management.Automation.ParameterAttribute - - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - - - Policy - - System.Management.Automation.ParameterAttribute - - - Policy document as a string. This parameter is required if -PolicyFilePath not specified. - - - - PolicyFilePath - - System.Management.Automation.ParameterAttribute - - - Policy document file path. This parameter is required if -Policy not specified. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - ProductId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing product. If specified will set product-scope policy. This parameters is required. - - - - ApiId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing API. If specified will set API-scope policy. This parameters is required. - - - - OperationId - - System.Management.Automation.ParameterAttribute - - - Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required. - - - - - - Example 1 - Set-AzureApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml' - Set tenant level policy from file named tenantpolicy.xml. - - - - Example 2 - Set-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring - Set product-scope policy. - - - - Example 3 - Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring - Set API-scope policy. - - - - Example 4 - Set-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring - Set operation-scope policy. - - - - - - false - - - Set-AzureApiManagementProduct - - Sets Product details. - Sets Product details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct - - - - - - - - - Set-AzureApiManagementProduct -Context <PsApiManagementContext> -ProductId <String> [-Title <String>] [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Nullable`1[Boolean]>] [-ApprovalRequired <Nullable`1[Boolean]>] [-SubscriptionsLimit <Nullable`1[Int32]>] [-SubscriptionPeriod <String>] [-NotificationPeriod <String>] [-State <Nullable`1[PsApiManagementProductState]>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - ProductId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing Product. This parameter is required. - - - - Title - - System.Management.Automation.ParameterAttribute - - - Product title. This parameter is required. - - - - Description - - System.Management.Automation.ParameterAttribute - - - Product description. This parameter is optional. - - - - LegalTerms - - System.Management.Automation.ParameterAttribute - - - Legal terms of use of the product. This parameter is optional. - - - - SubscriptionRequired - - System.Management.Automation.ParameterAttribute - - - Whether the product requires subscription or not. This parameter is optional. Default value is $true. - - - - ApprovalRequired - - System.Management.Automation.ParameterAttribute - - - Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false. - - - - SubscriptionsLimit - - System.Management.Automation.ParameterAttribute - - - Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1. - - - - SubscriptionPeriod - - System.Management.Automation.ParameterAttribute - - - The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - - - NotificationPeriod - - System.Management.Automation.ParameterAttribute - - - Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - - - State - - System.Management.Automation.ParameterAttribute - - - Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Set-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished' - Update product details: require subscription, unpublish. - - - - - - false - - - Set-AzureApiManagementSubscription - - Sets existing subscription details. - Sets existing subscription details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition - - - - - - - - - Set-AzureApiManagementSubscription -Context <PsApiManagementContext> -SubscriptionId <String> [-Name <String>] [-PrimaryKey <String>] [-SecondaryKey <String>] [-State <Nullable`1[PsApiManagementSubscriptionState]>] [-ExpiresOn <Nullable`1[DateTime]>] [-StateComment <String>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - SubscriptionId - - System.Management.Automation.ValidateNotNullOrEmptyAttribute - System.Management.Automation.ParameterAttribute - - - Identifier of existing subscription. This parameter is required. - - - - Name - - System.Management.Automation.ParameterAttribute - - - Subscription name. This parameter is optional. - - - - PrimaryKey - - System.Management.Automation.ParameterAttribute - - - Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - - - SecondaryKey - - System.Management.Automation.ParameterAttribute - - - Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - - - State - - System.Management.Automation.ParameterAttribute - - - Subscription state. This parameter is optional. Default value is $null. - - - - ExpiresOn - - System.Management.Automation.ParameterAttribute - - - Subscription expiration date. This parameter is optional. Default value is $null. - - - - StateComment - - System.Management.Automation.ParameterAttribute - - - Subscription state comment. This parameter is optional. Default value is $null. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Set-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active' - Set subscription primary, secondary key and activate. - - - - - - false - - - Set-AzureApiManagementUser - - Sets user details. - Sets user details. - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser - - - - - - - - - Set-AzureApiManagementUser -Context <PsApiManagementContext> -UserId <String> [-FirstName <String>] [-LastName <String>] [-Email <String>] [-Password <String>] [-State <PsApiManagementUserState>] [-Note <String>] [-PassThru] [-Profile <AzureProfile>] - - - - Context - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Instance of PsApiManagementContext. This parameter is required. - - - - UserId - - System.Management.Automation.ParameterAttribute - System.Management.Automation.ValidateNotNullOrEmptyAttribute - - - Identifier of existing user. This parameter is required. - - - - FirstName - - System.Management.Automation.ParameterAttribute - - - User first name. This parameter is optional. Must be 1 to 100 characters long. - - - - LastName - - System.Management.Automation.ParameterAttribute - - - User last name. This parameter is optional. Must be 1 to 100 characters long. - - - - Email - - System.Management.Automation.ParameterAttribute - - - User email. This parameter is optional. - - - - Password - - System.Management.Automation.ParameterAttribute - - - User password. This parameter is optional. - - - - State - - System.Management.Automation.ParameterAttribute - - - User state. This parameter is optional. Default value is Active. - - - - Note - - System.Management.Automation.ParameterAttribute - - - Note on the user. This parameter is optional. Default value is $null. - - - - PassThru - - System.Management.Automation.ParameterAttribute - - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user. - - - - Profile - - System.Management.Automation.ParameterAttribute - - - In-memory profile. - - - - - - Example 1 - Set-AzureApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked' - Set new user password and email and block the user. - - - - - - false - - - \ No newline at end of file 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 deleted file mode 100644 index 19b334a59394..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.psd1 +++ /dev/null @@ -1,86 +0,0 @@ -# -# Module manifest for module 'Azure' -# -# Generated by: Microsoft Corporation -# -# Generated on: 4/27/2015 -# - -@{ - -# Version number of this module. -ModuleVersion = '0.0.1' - -# ID used to uniquely identify this module -GUID = '77A7B3B3-A067-4173-9AC9-8A7248EF3C1C' - -# Author of this module -Author = 'Microsoft Corporation' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = '?Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = '' - -# Minimum version of the Windows PowerShell engine required by this module -PowerShellVersion = '3.0' - -# Name of the Windows PowerShell host required by this module -PowerShellHostName = '' - -# Minimum version of the Windows PowerShell host required by this module -PowerShellHostVersion = '' - -# Minimum version of the .NET Framework required by this module -DotNetFrameworkVersion = '4.0' - -# Minimum version of the common language runtime (CLR) required by this module -CLRVersion='4.0' - -# Processor architecture (None, X86, Amd64, IA64) required by this module -ProcessorArchitecture = 'None' - -# Modules that must be imported into the global environment prior to importing this module -RequiredModules = @() - -# Assemblies that must be loaded prior to importing this module -RequiredAssemblies = @() - -# Script files (.ps1) that are run in the caller's environment prior to importing this module -ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = @() - -# Modules to import as nested modules of the module specified in ModuleToProcess -NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\ApiManagement\Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll' - -# Functions to export from this module -FunctionsToExport = '*' - -# Cmdlets to export from this module -CmdletsToExport = '*' - -# Variables to export from this module -VariablesToExport = '*' - -# Aliases to export from this module -AliasesToExport = @() - -# List of all modules packaged with this module -ModuleList = @() - -# List of all files packaged with this module -FileList = @() - -# Private data to pass to the module specified in ModuleToProcess -PrivateData = '' - -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml deleted file mode 100644 index 61825c77642e..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml +++ /dev/null @@ -1,11495 +0,0 @@ - - - - - Add-AzureApiManagementApiToProduct - - Adds existing API to existing Product. - - - - - Add - AzureApiManagementApiToProduct - - - - Adds existing API to existing Product. - - - - Add-AzureApiManagementApiToProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of existing Product to add API to. This parameter is required. - - String - - - ApiId - - Identifier of existing APIs to be added to the product. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ProductId - - Identifier of existing Product to add API to. This parameter is required. - - String - - String - - - - - - ApiId - - Identifier of existing APIs to be added to the product. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Add-AzureApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 - - Add existing API to an existing Product. - - - - - - - - - - - - - - - - - - - - Add-AzureApiManagementProductToGroup - - Adds existing product to existing group. In other words assigns a group to a product. - - - - - Add - AzureApiManagementProductToGroup - - - - Adds existing product to existing group. In other words assigns a group to a product. - - - - Add-AzureApiManagementProductToGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - - ProductId - - Identifier of existing product. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - String - - - - - - ProductId - - Identifier of existing product. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Add-AzureApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 - - Add existing product to an existing group. - - - - - - - - - - - - - - - - - - - - Add-AzureApiManagementUserToGroup - - Adds existing user to existing group. - - - - - Add - AzureApiManagementUserToGroup - - - - Adds existing user to existing group. - - - - Add-AzureApiManagementUserToGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - - UserId - - Identifier of existing user. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - String - - - - - - UserId - - Identifier of existing user. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Add-AzureApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 - - Add existing user to an existing group. - - - - - - - - - - - - - - - - - - - - Export-AzureApiManagementApi - - Export API to file in one of the supported formats. - - - - - Export - AzureApiManagementApi - - - - Export API to file in one of the supported formats. - - - - Export-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of exporting API. This parameter is required. - - String - - - SpecificationFormat - - Specification format (Wadl or Swagger). This parameter is required. - - PsApiManagementApiFormat - - - Profile - - In-memory profile. - - AzureProfile - - - - Export-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of exporting API. This parameter is required. - - String - - - SpecificationFormat - - Specification format (Wadl or Swagger). This parameter is required. - - PsApiManagementApiFormat - - - SaveAs - - File path where to save the exporting specification to. This parameter is required. - - String - - - Force - - If specified will override the file if it exists. This parameter is optional. - - SwitchParameter - - - PassThru - - If specified will write true/false if api exported successfully/failed. This parameter is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of exporting API. This parameter is required. - - String - - String - - - - - - SpecificationFormat - - Specification format (Wadl or Swagger). This parameter is required. - - PsApiManagementApiFormat - - PsApiManagementApiFormat - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - SaveAs - - File path where to save the exporting specification to. This parameter is required. - - String - - String - - - - - - Force - - If specified will override the file if it exists. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - PassThru - - If specified will write true/false if api exported successfully/failed. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - string - - - - - -exported api content - - - - - bool - - - - - -true/false - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Export-AzureApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl' - - Export API to file as WADL. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementApi - - Gets a list or a particular API description. - - - - - Get - AzureApiManagementApi - - - - Gets a list or a particular API description. - - - - Get-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - API identifier to look for. If specified will try to get the API by the Id. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Name - - Name of the API. If specified will try to get the API by name. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - If specified will try to get all Product APIs. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - ApiId - - API identifier to look for. If specified will try to get the API by the Id. This parameter is optional. - - String - - String - - - - - - Name - - Name of the API. If specified will try to get the API by name. This parameter is optional. - - String - - String - - - - - - ProductId - - If specified will try to get all Product APIs. This parameter is optional. - - String - - String - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementApi –Context $apimContext - - Get list of all APIs. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementApi –Context $apimContext –ApiId $apiId - - Get API by Id. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureApiManagementApi –Context $apimContext –Name "EchoApi" - - Get API by Name - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementAuthorizationServer - - Gets all or specific authorization servers. - - - - - Get - AzureApiManagementAuthorizationServer - - - - Gets all or specific authorization servers. - - - - Get-AzureApiManagementAuthorizationServer - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ServerId - - Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ServerId - - Identifier of the authorization server. If specified will find authorization server by the identifier. This parameter is optional. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementAuthrizarionServer –Context $apimContext - - Get all authorization servers. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementCertificate –Context $apimContext –ServerId 0123456789 - - Get specific authorization server. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementCertificate - - Gets all or specific certificates. - - - - - Get - AzureApiManagementCertificate - - - - Gets all or specific certificates. - - - - Get-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - CertificateId - - Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - CertificateId - - Identifier of the certificate. If specified will find certificate by the identifier. This parameter is required. - - String - - String - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementCertificate –Context $apimContext - - Get all certificates. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 - - Get specific certificate. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementGroup - - Gets all or specific groups. - - - - - Get - AzureApiManagementGroup - - - - Gets all or specific groups. - - - - Get-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Name - - Group name. If specified will try to find group by the name. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of a group. If specified will try to find group by the identifier. This parameter is optional. - - String - - - Name - - Group name. If specified will try to find group by the name. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Name - - Group name. If specified will try to find group by the name. This parameter is optional. - - String - - - UserId - - Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Name - - Group name. If specified will try to find group by the name. This parameter is optional. - - String - - - ProductId - - Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Name - - Group name. If specified will try to find group by the name. This parameter is optional. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - GroupId - - Identifier of a group. If specified will try to find group by the identifier. This parameter is optional. - - String - - String - - - - - - UserId - - Identifier of existing user. If specified will return all groups the user belongs to. This parameter is optional. - - String - - String - - - - - - ProductId - - Identifier of existing product. If specified will return all groups the product assigned to. This parameter is optional. - - String - - String - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementGroup –Context $apimContext - - Get all groups. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementGroup –Context $apimContext –GroupId 0123456789 - - Get group by identifier. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureApiManagementGroup –Context $apimContext –Name 'Custom group' - - Get group by name. - - - - - - - - - - - - - - -------------------------- Example 4 -------------------------- - - PS C:\> - - Get-AzureApiManagementGroup –Context $apimContext –UserId 0123456789 - - Get all user groups. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementOperation - - Gets a list or a particular API Operation. - - - - - Get - AzureApiManagementOperation - - - - Gets a list or a particular API Operation. - - - - Get-AzureApiManagementOperation - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of API Operation belongs to. This parameter is required. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementOperation - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of API Operation belongs to. This parameter is required. - - String - - - OperationId - - Identifier operation to look for. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of API Operation belongs to. This parameter is required. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - OperationId - - Identifier operation to look for. This parameter is optional. - - String - - String - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementOperation –Context $apimContext –ApiId $apiId - - Get all API Operations. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789 - - Get Operation by id. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementPolicy - - Gets specified scope policy. - - - - - Get - AzureApiManagementPolicy - - - - Gets specified scope policy. - - - - Get-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - SaveAs - - File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional. - - String - - - Force - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - SaveAs - - File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional. - - String - - - ProductId - - Identifier of existing product. If specified will return product-scope policy. This parameters is optional. - - String - - - Force - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - SaveAs - - File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional. - - String - - - ApiId - - Identifier of existing API. If specified will return API-scope policy. This parameters is required. - - String - - - OperationId - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required. - - String - - - Force - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - SaveAs - - File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional. - - String - - - ApiId - - Identifier of existing API. If specified will return API-scope policy. This parameters is required. - - String - - - Force - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - String - - - - - - SaveAs - - File path to save the result to. If not specified the result will be sent to pipeline as a sting. This parameter is optional. - - String - - String - - - - - - Force - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is optional. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - ProductId - - Identifier of existing product. If specified will return product-scope policy. This parameters is optional. - - String - - String - - - - - - ApiId - - Identifier of existing API. If specified will return API-scope policy. This parameters is required. - - String - - String - - - - - - OperationId - - Identifier of existing operation. If specified with ApiId will return operation-scope policy. This parameters is required. - - String - - String - - - - - - - - - - - - - - - - - - - - - - string - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml' - - Get tenant level policy and save to file named tenantpolicy.xml. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - $policyString = Get-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 - - Get product-scope policy - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - $policyString = Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 - - Get API-scope policy. - - - - - - - - - - - - - - -------------------------- Example 4 -------------------------- - - PS C:\> - - Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 - - Get operation-scope policy. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementProduct - - Gets a list or a particular Product. - - - - - Get - AzureApiManagementProduct - - - - Gets a list or a particular Product. - - - - Get-AzureApiManagementProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of Product to search for. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Title - - Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - ProductId - - Identifier of Product to search for. This parameter is optional. - - String - - String - - - - - - Title - - Title of the Product to look for. If specified will try to get the Product by title. This parameter is optional. - - String - - String - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementProduct –Context $apimContext - - Get all Products. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 - - Get Product by id. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementSubscription - - Gets all or specific subscriptions. - - - - - Get - AzureApiManagementSubscription - - - - Gets all or specific subscriptions. - - - - Get-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - SubscriptionId - - Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - UserId - - User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - SubscriptionId - - Subscription identifier. If specified will try to find subscription by the identifier. This parameter is optional. - - String - - String - - - - - - UserId - - User identifier. If specified will try to find all subscriptions by the user identifier. This parameter is optional. - - String - - String - - - - - - ProductId - - Product identifier. If specified will try to find all subscriptions by the product identifier. This parameter is optional. - - String - - String - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementSubscription –Context $apimContext - - Get all subscriptions. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 - - Get subscription by Id. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureApiManagementSubscription –Context $apimContext –UserId 777 - - Get all users subscriptions. - - - - - - - - - - - - - - -------------------------- Example 4 -------------------------- - - PS C:\> - - Get-AzureApiManagementSubscription –Context $apimContext –ProductId 999 - - Get all subscriptions for the product. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementUser - - Gets all or specific user. - - - - - Get - AzureApiManagementUser - - - - Gets all or specific user. - - - - Get-AzureApiManagementUser - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementUser - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - UserId - - Identifier of a user. If specified will try to find user by the identifier. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Get-AzureApiManagementUser - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - FirstName - - User first name. If specified will try to find users by the first name. This parameter is optional. - - String - - - LastName - - User last name. If specified will try to find users by the last name. This parameter is optional. - - String - - - State - - User state. If specified will try to find all users in the state. This parameter is optional. - - Nullable`1[PsApiManagementUserState] - - - Email - - User email. If specified will try to find user by email. This parameter is optional. - - String - - - GroupId - - Identifier of existing group. If specified will try to find all users within the group. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - UserId - - Identifier of a user. If specified will try to find user by the identifier. This parameter is optional. - - String - - String - - - - - - FirstName - - User first name. If specified will try to find users by the first name. This parameter is optional. - - String - - String - - - - - - LastName - - User last name. If specified will try to find users by the last name. This parameter is optional. - - String - - String - - - - - - State - - User state. If specified will try to find all users in the state. This parameter is optional. - - Nullable`1[PsApiManagementUserState] - - Nullable`1[PsApiManagementUserState] - - - - - - Email - - User email. If specified will try to find user by email. This parameter is optional. - - String - - String - - - - - - GroupId - - Identifier of existing group. If specified will try to find all users within the group. This parameter is optional. - - String - - String - - - - - - - - - - - - - - - - - - - - - - IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser> - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementUser –Context $apimContext - - Get all users. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Get-AzureApiManagementUser –Context $apimContext –UserId 0123456789 - - Get user by Id. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureApiManagementUser –Context $apimContext –LastName 'Ivanov' - - Get users by last name. - - - - - - - - - - - - - - -------------------------- Example 4 -------------------------- - - PS C:\> - - Get-AzureApiManagementUser –Context $apimContext –Email 'user@contoso.com' - - Get user by email. - - - - - - - - - - - - - - -------------------------- Example 5 -------------------------- - - PS C:\> - - Get-AzureApiManagementUser –Context $apimContext –GroupId 0001 - - Get all users within the group. - - - - - - - - - - - - - - - - - - - - Get-AzureApiManagementUserSsoUrl - - Generates SSO URL for the user. - - - - - Get - AzureApiManagementUserSsoUrl - - - - Generates SSO URL for the user. - - - - Get-AzureApiManagementUserSsoUrl - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - UserId - - Identifier of existing user. This parameter is required. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - UserId - - Identifier of existing user. This parameter is required. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - string - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Get-AzureApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789 - - Get user SSO URL. - - - - - - - - - - - - - - - - - - - - Import-AzureApiManagementApi - - Imports API from file or URL in one of the supported formats. - - - - - Import - AzureApiManagementApi - - - - Imports API from file or URL in one of the supported formats (Wadl, Swagger). - - - - Import-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier for importing API. This parameter is optional. If not specified the identifier will be generated. - - String - - - SpecificationFormat - - Specification format (Wadl, Swagger). This parameter is required. - - PsApiManagementApiFormat - - - SpecificationPath - - Specification file path. This parameter is required. - - String - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - Import-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier for importing API. This parameter is optional. If not specified the identifier will be generated. - - String - - - SpecificationFormat - - Specification format (Wadl, Swagger). This parameter is required. - - PsApiManagementApiFormat - - - SpecificationUrl - - Specification URL. This parameter is required. - - String - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier for importing API. This parameter is optional. If not specified the identifier will be generated. - - String - - String - - - - - - SpecificationFormat - - Specification format (Wadl, Swagger). This parameter is required. - - PsApiManagementApiFormat - - PsApiManagementApiFormat - - - - - - SpecificationPath - - Specification file path. This parameter is required. - - String - - String - - - - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - SpecificationUrl - - Specification URL. This parameter is required. - - String - - String - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - -Imported API - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis' - - Import API from WADL file. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis' - - Import API from Swagger file. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Import-AzureApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis' - - Import API from WADL link. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementApi - - Creates new API. - - - - - New - AzureApiManagementApi - - - - Creates new API. - - - - New-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier for new API. This parameter is optional. If not specified the identifier will be generated. - - String - - - Name - - Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required. - - String - - - Description - - Web API description. This parameter is optional. - - String - - - ServiceUrl - - A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required. - - String - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - - Protocols - - Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null. - - PsApiManagementSchema[] - - - AuthorizationServerId - - OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified. - - String - - - AuthorizationScope - - OAuth operations scope. This parameter is optional. Default value is $null. - - String - - - SubscriptionKeyHeaderName - - Subscription key header name. This parameter is optional. Default value is $null. - - String - - - SubscriptionKeyQueryParamName - - Subscription key query string parameter name. This parameter is optional. Default value is $null. - - String - - - ProductIds - - Array of products IDs to add the new API to. This parameter is optional. - - String[] - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier for new API. This parameter is optional. If not specified the identifier will be generated. - - String - - String - - - - - - Name - - Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required. - - String - - String - - - - - - Description - - Web API description. This parameter is optional. - - String - - String - - - - - - ServiceUrl - - A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required. - - String - - String - - - - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - String - - - $null - - - Protocols - - Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null. - - PsApiManagementSchema[] - - PsApiManagementSchema[] - - - $null - - - AuthorizationServerId - - OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified. - - String - - String - - - $null - - - AuthorizationScope - - OAuth operations scope. This parameter is optional. Default value is $null. - - String - - String - - - $null - - - SubscriptionKeyHeaderName - - Subscription key header name. This parameter is optional. Default value is $null. - - String - - String - - - $null - - - SubscriptionKeyQueryParamName - - Subscription key query string parameter name. This parameter is optional. Default value is $null. - - String - - String - - - $null - - - ProductIds - - Array of products IDs to add the new API to. This parameter is optional. - - String[] - - String[] - - - $null - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https') - - Create new API. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementAuthorizationServer - - Creates new authorization server. - - - - - New - AzureApiManagementAuthorizationServer - - - - Creates new authorization server. - - - - New-AzureApiManagementAuthorizationServer - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ServerId - - Identifier of existing authorization server. This parameter is optional. - - String - - - Name - - Name of new authorization server. This parameter is required. - - String - - - Description - - Description of new authorization server. This parameter is optional. - - String - - - ClientRegistrationPageUrl - - Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required. - - String - - - AuthorizationEndpointUrl - - Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required. - - String - - - TokenEndpointUrl - - Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required. - - String - - - ClientId - - Client ID of developer console which is the client application. This parameter is required. - - String - - - ClientSecret - - Client secret of developer console which is the client application. This parameter is optional. - - String - - - AuthorizationRequestMethods - - Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET. - - PsApiManagementAuthorizationRequestMethod[] - - - GrantTypes - - Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required. - - PsApiManagementGrantType[] - - - ClientAuthenticationMethods - - Supported client authentication methods (Basic, Body). This parameter is required. - - PsApiManagementClientAuthenticationMethod[] - - - TokenBodyParameters - - Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional. - - Hashtable - - - SupportState - - Whether to support state parameter. This parameter is optional. - - Nullable`1[Boolean] - - - DefaultScope - - Authorization server default scope. This parameter is optional. - - String - - - AccessTokenSendingMethods - - Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required. - - PsApiManagementAccessTokenSendingMethod[] - - - ResourceOwnerUsername - - Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - - ResourceOwnerPassword - - Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ServerId - - Identifier of existing authorization server. This parameter is optional. - - String - - String - - - - - - Name - - Name of new authorization server. This parameter is required. - - String - - String - - - - - - Description - - Description of new authorization server. This parameter is optional. - - String - - String - - - - - - ClientRegistrationPageUrl - - Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required. - - String - - String - - - - - - AuthorizationEndpointUrl - - Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required. - - String - - String - - - - - - TokenEndpointUrl - - Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required. - - String - - String - - - - - - ClientId - - Client ID of developer console which is the client application. This parameter is required. - - String - - String - - - - - - ClientSecret - - Client secret of developer console which is the client application. This parameter is optional. - - String - - String - - - - - - AuthorizationRequestMethods - - Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET. - - PsApiManagementAuthorizationRequestMethod[] - - PsApiManagementAuthorizationRequestMethod[] - - - - - - GrantTypes - - Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required. - - PsApiManagementGrantType[] - - PsApiManagementGrantType[] - - - - - - ClientAuthenticationMethods - - Supported client authentication methods (Basic, Body). This parameter is required. - - PsApiManagementClientAuthenticationMethod[] - - PsApiManagementClientAuthenticationMethod[] - - - - - - TokenBodyParameters - - Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional. - - Hashtable - - Hashtable - - - - - - SupportState - - Whether to support state parameter. This parameter is optional. - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - DefaultScope - - Authorization server default scope. This parameter is optional. - - String - - String - - - - - - AccessTokenSendingMethods - - Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required. - - PsApiManagementAccessTokenSendingMethod[] - - PsApiManagementAccessTokenSendingMethod[] - - - - - - ResourceOwnerUsername - - Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - String - - - - - - ResourceOwnerPassword - - Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty' - - Create new authorization server. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementCertificate - - Creates new certificate. - - - - - New - AzureApiManagementCertificate - - - - Creates new certificate. - - - - New-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - CertificateId - - Identifier of new certificate. This parameter is optional. If not specified will be generated. - - String - - - PfxFilePath - - Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified. - - String - - - PfxPassword - - Password for the certificate. This parameter is required. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - New-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - CertificateId - - Identifier of new certificate. This parameter is optional. If not specified will be generated. - - String - - - PfxBytes - - Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified. - - Byte[] - - - PfxPassword - - Password for the certificate. This parameter is required. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - CertificateId - - Identifier of new certificate. This parameter is optional. If not specified will be generated. - - String - - String - - - - - - PfxFilePath - - Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified. - - String - - String - - - - - - PfxPassword - - Password for the certificate. This parameter is required. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - PfxBytes - - Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified. - - Byte[] - - Byte[] - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111 - - Create/upload new certificate. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementContext - - Create PsAzureApiManagementContext. - - - - - New - AzureApiManagementContext - - - - Create an instance of PsAzureApiManagementContext. The context is to be used for all the API Management Service Management cmdlets. - - - - New-AzureApiManagementContext - - ResourceGroupName - - Name of resource group under which an API Management service is deployed. - - String - - - ServiceName - - Name of deployed API Management service. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - ResourceGroupName - - Name of resource group under which an API Management service is deployed. - - String - - String - - - - - - ServiceName - - Name of deployed API Management service. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsAzureApiManagementContext - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - $apimContext = New-AzureApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso - - Create an instance of PsApiManagementContext - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementGroup - - Creates new group. - - - - - New - AzureApiManagementGroup - - - - Creates new group. - - - - New-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of new group. This parameter is optional. If not specified will be generated. - - String - - - Name - - Group name. This parameter is required. - - String - - - Description - - Group description. This parameter is optional. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of new group. This parameter is optional. If not specified will be generated. - - String - - String - - - - - - Name - - Group name. This parameter is required. - - String - - String - - - - - - Description - - Group description. This parameter is optional. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementGroup –Context $apimContext –Name 'Best devs' - - Create new group. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementOperation - - Create new API Operation. - - - - - New - AzureApiManagementOperation - - - - Create new API Operation. - - - - New-AzureApiManagementOperation - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of API. This parameter is required. - - String - - - OperationId - - Identifier of new operation. This parameter is optional. If not specified will be generated. - - String - - - Name - - Display name of new operation. This parameter is required. - - String - - - Method - - HTTP method of new operation. This parameter is required. - - String - - - UrlTemplate - - URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required. - - String - - - Description - - Description of new operation. This parameter is optional. - - String - - - TemplateParameters - - Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values. - - PsApiManagementParameter[] - - - Request - - Operation request details. This parameter is optional. - - PsApiManagementRequest - - - Responses - - Array of possible operation responses. This parameter is optional. - - PsApiManagementResponse[] - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of API. This parameter is required. - - String - - String - - - - - - OperationId - - Identifier of new operation. This parameter is optional. If not specified will be generated. - - String - - String - - - - - - Name - - Display name of new operation. This parameter is required. - - String - - String - - - - - - Method - - HTTP method of new operation. This parameter is required. - - String - - String - - - - - - UrlTemplate - - URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required. - - String - - String - - - - - - Description - - Description of new operation. This parameter is optional. - - String - - String - - - - - - TemplateParameters - - Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values. - - PsApiManagementParameter[] - - PsApiManagementParameter[] - - - - - - Request - - Operation request details. This parameter is optional. - - PsApiManagementRequest - - PsApiManagementRequest - - - - - - Responses - - Array of possible operation responses. This parameter is optional. - - PsApiManagementResponse[] - - PsApiManagementResponse[] - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource' - - Create new operation. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - #create parameters declared in UrlTemplate -$rid = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$rid.Name = 'rid' -$rid.Description = 'Resource identifier' -$rid.Type = 'string' -$query = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$query.Name = 'query' -$query.Description = 'Query string' -$query.Type = 'string' -#create request -$request = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRequest -$request.Description = 'Create/update resource request' -#create query parameters for the request -$dummyQp = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$dummyQp.Name = 'dummy' -$dummyQp.Type = 'string' -$dummyQp.Required = $FALSE -$request.QueryParameters = @($dummyQp) -#create headers for the request -$header = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter -$header.Name = 'x-custom-header' -$header.Type = 'string' -$request.Headers = @($header) -#create request representation -$requestRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation -$requestRepresentation.ContentType = 'application/json' -$requestRepresentation.Sample = '{ "propName": "propValue" }' -$request.Representations = @($requestRepresentation) -#create response -$response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse -$response.StatusCode = 204 -New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response) - - Script to create new operation with request and response details. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementProduct - - Creates new product. - - - - - New - AzureApiManagementProduct - - - - Creates new product. - - - - New-AzureApiManagementProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of new Product. This parameter is optional. If not specified will be generated. - - String - - - Title - - Product title. This parameter is required. - - String - - - Description - - Product description. This parameter is optional. - - String - - - LegalTerms - - Legal terms of use of the product. This parameter is optional. - - String - - - SubscriptionRequired - - Whether the product requires subscription or not. This parameter is optional. Default value is $true. - - Nullable`1[Boolean] - - - ApprovalRequired - - Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false. - - Nullable`1[Boolean] - - - SubscriptionsLimit - - Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1. - - Nullable`1[Int32] - - - SubscriptionPeriod - - The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - - NotificationPeriod - - Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - - State - - Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished. - - Nullable`1[PsApiManagementProductState] - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ProductId - - Identifier of new Product. This parameter is optional. If not specified will be generated. - - String - - String - - - - - - Title - - Product title. This parameter is required. - - String - - String - - - - - - Description - - Product description. This parameter is optional. - - String - - String - - - - - - LegalTerms - - Legal terms of use of the product. This parameter is optional. - - String - - String - - - - - - SubscriptionRequired - - Whether the product requires subscription or not. This parameter is optional. Default value is $true. - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - ApprovalRequired - - Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false. - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - SubscriptionsLimit - - Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1. - - Nullable`1[Int32] - - Nullable`1[Int32] - - - - - - SubscriptionPeriod - - The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - String - - - - - - NotificationPeriod - - Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - String - - - - - - State - - Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished. - - Nullable`1[PsApiManagementProductState] - - Nullable`1[PsApiManagementProductState] - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published' - - Crete new product. No subscription required. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - New-AzureApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1' - - Crete new product. Subscription and approval required. Notification period – 10 days. Subscription period – 1 year. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementSubscription - - Creates new subscription. - - - - - New - AzureApiManagementSubscription - - - - Creates new subscription. - - - - New-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - SubscriptionId - - Identifier of new subscription. This parameter is optional. If not specified will be generated. - - String - - - Name - - Subscription name. This parameter is required. - - String - - - UserId - - Identifier of existing user - the subscriber. This parameter is required. - - String - - - ProductId - - Identifier of existing product to subscribe to. This parameter is required. - - String - - - PrimaryKey - - Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - - SecondaryKey - - Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - - State - - Subscription state. This parameter is optional. Default value is $null. - - Nullable`1[PsApiManagementSubscriptionState] - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - SubscriptionId - - Identifier of new subscription. This parameter is optional. If not specified will be generated. - - String - - String - - - - - - Name - - Subscription name. This parameter is required. - - String - - String - - - - - - UserId - - Identifier of existing user - the subscriber. This parameter is required. - - String - - String - - - - - - ProductId - - Identifier of existing product to subscribe to. This parameter is required. - - String - - String - - - - - - PrimaryKey - - Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - String - - - - - - SecondaryKey - - Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - String - - - - - - State - - Subscription state. This parameter is optional. Default value is $null. - - Nullable`1[PsApiManagementSubscriptionState] - - Nullable`1[PsApiManagementSubscriptionState] - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscription - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999 - - Subscribe existing user to existing product. - - - - - - - - - - - - - - - - - - - - New-AzureApiManagementUser - - Register new user. - - - - - New - AzureApiManagementUser - - - - Register new user. - - - - New-AzureApiManagementUser - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - UserId - - Identifier of new user. This parameter is optional. If not specified will be genetated. - - String - - - FirstName - - User first name. This parameter is required. Must be 1 to 100 characters long. - - String - - - LastName - - User last name. This parameter is required. Must be 1 to 100 characters long. - - String - - - Email - - User email. This parameter is required. - - String - - - Password - - User password. This parameter is required. - - String - - - State - - User state. This parameter is optional. Default value is $null. - - Nullable`1[PsApiManagementUserState] - - - Note - - Note on the user. This parameter is optional. Default value is $null. - - String - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - UserId - - Identifier of new user. This parameter is optional. If not specified will be genetated. - - String - - String - - - - - - FirstName - - User first name. This parameter is required. Must be 1 to 100 characters long. - - String - - String - - - - - - LastName - - User last name. This parameter is required. Must be 1 to 100 characters long. - - String - - String - - - - - - Email - - User email. This parameter is required. - - String - - String - - - - - - Password - - User password. This parameter is required. - - String - - String - - - - - - State - - User state. This parameter is optional. Default value is $null. - - Nullable`1[PsApiManagementUserState] - - Nullable`1[PsApiManagementUserState] - - - - - - Note - - Note on the user. This parameter is optional. Default value is $null. - - String - - String - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty' - - Register new user. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementApi - - Remove existing API. - - - - - Remove - AzureApiManagementApi - - - - Remove existing API. - - - - Remove-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of the API. This parameter is required. - - String - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - SwitchParameter - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of the API. This parameter is required. - - String - - String - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementApi –Context $apimContext –ApiId 0123456789 - - Remove existing API. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementApiFromProduct - - Removes existing API from existing Product. - - - - - Remove - AzureApiManagementApiFromProduct - - - - Removes existing API from existing Product. - - - - Remove-AzureApiManagementApiFromProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of existing Product to remove API from. This parameter is required. - - String - - - ApiId - - Identifier of existing APIs to remove from the product. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ProductId - - Identifier of existing Product to remove API from. This parameter is required. - - String - - String - - - - - - ApiId - - Identifier of existing APIs to remove from the product. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru - - Remove existing API from an existing Product. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementAuthorizationServer - - Deletes existing authorization server. - - - - - Remove - AzureApiManagementAuthorizationServer - - - - Deletes existing authorization server. - - - - Remove-AzureApiManagementAuthorizationServer - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ServerId - - Identifier of existing authorization server. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ServerId - - Identifier of existing authorization server. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - - - Delete existing authorization server. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementCertificate - - Deletes existing certificate. - - - - - Remove - AzureApiManagementCertificate - - - - Deletes existing certificate. - - - - Remove-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - CertificateId - - Identifier of existing certificate. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - CertificateId - - Identifier of existing certificate. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force - - Delete existing certificate. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementGroup - - Deletes existing group. - - - - - Remove - AzureApiManagementGroup - - - - Deletes existing group. - - - - Remove-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force - - Delete existing group. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementOperation - - Remove existing operation. - - - - - Remove - AzureApiManagementOperation - - - - Remove existing operation. - - - - Remove-AzureApiManagementOperation - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of API. This parameter is required. - - String - - - OperationId - - Identifier of API operation. This parameter is required. - - String - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - SwitchParameter - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of API. This parameter is required. - - String - - String - - - - - - OperationId - - Identifier of API operation. This parameter is required. - - String - - String - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force - - Remove existing API Operation. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementPolicy - - Removes policy from specified scope. - - - - - Remove - AzureApiManagementPolicy - - - - Removes policy from specified scope. - - - - Remove-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Remove-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of existing product. If specified will remove product-scope policy. This parameters is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Remove-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of existing API. If specified will remove API-scope policy. This parameters is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Remove-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of existing API. If specified will remove API-scope policy. This parameters is required. - - String - - - OperationId - - Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - ProductId - - Identifier of existing product. If specified will remove product-scope policy. This parameters is required. - - String - - String - - - - - - ApiId - - Identifier of existing API. If specified will remove API-scope policy. This parameters is required. - - String - - String - - - - - - OperationId - - Identifier of existing operation. If specified with ApiId will remove operation-scope policy. This parameters is required. - - String - - String - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementPolicy –Context $apimContext - - Remove tenant level policy. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Remove-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 - - Remove product-scope policy. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Remove-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 - - Remove API-scope policy. - - - - - - - - - - - - - - -------------------------- Example 4 -------------------------- - - PS C:\> - - Remove-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 - - Remove operation-scope policy. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementProduct - - Remove existing product. - - - - - Remove - AzureApiManagementProduct - - - - Remove existing product. - - - - Remove-AzureApiManagementProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of existing Product. This parameter is required. - - String - - - DeleteSubscriptions - - Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - SwitchParameter - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ProductId - - Identifier of existing Product. This parameter is required. - - String - - String - - - - - - DeleteSubscriptions - - Whether to delete subscriptions to the product or not. If not set and subscriptions exists exception will be thrown. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force - - Remove existing Product with all subscriptions. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementProductFromGroup - - Removes existing product from existing group. - - - - - Remove - AzureApiManagementProductFromGroup - - - - Removes existing product from existing group. In other words removes group assignment from product. - - - - Remove-AzureApiManagementProductFromGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - - ProductId - - Identifier of existing product. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - String - - - - - - ProductId - - Identifier of existing product. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 - - Remove existing product from an existing group. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementSubscription - - Deletes existing subscription. - - - - - Remove - AzureApiManagementSubscription - - - - Deletes existing subscription. - - - - Remove-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - SubscriptionId - - Identifier of existing subscription. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - SubscriptionId - - Identifier of existing subscription. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force - - Delete existing subscription. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementUser - - Deletes existing user. - - - - - Remove - AzureApiManagementUser - - - - Deletes existing user. - - - - Remove-AzureApiManagementUser - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - UserId - - Identifier of existing user. This parameter is required. - - String - - - DeleteSubscriptions - - Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional. - - SwitchParameter - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - UserId - - Identifier of existing user. This parameter is required. - - String - - String - - - - - - DeleteSubscriptions - - Whether to delete subscriptions to the product or not. If not set and subscription exists exception will be thrown. This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Force - - Forces delete operation (prevents confirmation dialog). This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementUser –Context $apimContext –UserId 0123456789 –Force - - Delete existing user. - - - - - - - - - - - - - - - - - - - - Remove-AzureApiManagementUserFromGroup - - Removes existing user from existing group. - - - - - Remove - AzureApiManagementUserFromGroup - - - - Removes existing user from existing group. - - - - Remove-AzureApiManagementUserFromGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - - UserId - - Identifier of existing user. This parameter is required. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - String - - - - - - UserId - - Identifier of existing user. This parameter is required. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Remove-AzureApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 - - Remove existing user from an existing group. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementApi - - Set API details. - - - - - Set - AzureApiManagementApi - - - - Set API details. - - - - Set-AzureApiManagementApi - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of existing API. This parameter is required. - - String - - - Name - - Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required. - - String - - - Description - - Web API description. This parameter is optional. - - String - - - ServiceUrl - - A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required. - - String - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - - Protocols - - Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null. - - PsApiManagementSchema[] - - - AuthorizationServerId - - OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified. - - String - - - AuthorizationScope - - OAuth operations scope. This parameter is optional. Default value is $null. - - String - - - SubscriptionKeyHeaderName - - Subscription key header name. This parameter is optional. Default value is $null. - - String - - - SubscriptionKeyQueryParamName - - Subscription key query string parameter name. This parameter is optional. Default value is $null. - - String - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of existing API. This parameter is required. - - String - - String - - - - - - Name - - Web API name. Public name of the API as it would appear on the developer and admin portals. This parameter is required. - - String - - String - - - - - - Description - - Web API description. This parameter is optional. - - String - - String - - - - - - ServiceUrl - - A URL of the web service exposing the API. This URL will be used by Azure API Management only, and will not be made public. Must be 1 to 2000 characters long. This parameter is required. - - String - - String - - - - - - Path - - Web API Path. Last part of the API's public URL. This URL will be used by API consumers for sending requests to the web service. Must be 1 to 400 characters long. This parameter is optional. Default value is $null. - - String - - String - - - - - - Protocols - - Web API protocols (http, https). Protocols over which API is made available. This parameter is required. Default value is $null. - - PsApiManagementSchema[] - - PsApiManagementSchema[] - - - - - - AuthorizationServerId - - OAuth authorization server identifier. This parameter is optional. Default value is $null. Must be specified if AuthorizationScope specified. - - String - - String - - - - - - AuthorizationScope - - OAuth operations scope. This parameter is optional. Default value is $null. - - String - - String - - - - - - SubscriptionKeyHeaderName - - Subscription key header name. This parameter is optional. Default value is $null. - - String - - String - - - - - - SubscriptionKeyQueryParamName - - Subscription key query string parameter name. This parameter is optional. Default value is $null. - - String - - String - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi type representing the set API. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo' - - - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementAuthorizationServer - - Sets authorization server details. - - - - - Set - AzureApiManagementAuthorizationServer - - - - Sets authorization server details. - - - - Set-AzureApiManagementAuthorizationServer - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ServerId - - Identifier of existing authorization server. This parameter is required. - - String - - - Name - - Name of new authorization server. This parameter is required. - - String - - - Description - - Description of new authorization server. This parameter is optional. - - String - - - ClientRegistrationPageUrl - - Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required. - - String - - - AuthorizationEndpointUrl - - Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required. - - String - - - TokenEndpointUrl - - Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required. - - String - - - ClientId - - Client ID of developer console which is the client application. This parameter is required. - - String - - - ClientSecret - - Client secret of developer console which is the client application. This parameter is optional. - - String - - - AuthorizationRequestMethods - - Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET. - - PsApiManagementAuthorizationRequestMethod[] - - - GrantTypes - - Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required. - - PsApiManagementGrantType[] - - - ClientAuthenticationMethods - - Supported client authentication methods (Basic, Body). This parameter is required. - - PsApiManagementClientAuthenticationMethod[] - - - TokenBodyParameters - - Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional. - - Hashtable - - - SupportState - - Whether to support state parameter. This parameter is optional. - - Nullable`1[Boolean] - - - DefaultScope - - Authorization server default scope. This parameter is optional. - - String - - - AccessTokenSendingMethods - - Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required. - - PsApiManagementAccessTokenSendingMethod[] - - - ResourceOwnerUsername - - Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - - ResourceOwnerPassword - - Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - - PassThru - - If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ServerId - - Identifier of existing authorization server. This parameter is required. - - String - - String - - - - - - Name - - Name of new authorization server. This parameter is required. - - String - - String - - - - - - Description - - Description of new authorization server. This parameter is optional. - - String - - String - - - - - - ClientRegistrationPageUrl - - Client registration endpoint is used for registering clients with the authorization server and obtaining client credentials. This parameter is required. - - String - - String - - - - - - AuthorizationEndpointUrl - - Authorization endpoint is used to authenticate resource owners and obtain authorization grants. This parameter is required. - - String - - String - - - - - - TokenEndpointUrl - - Token endpoint is used by clients to obtain access tokens in exchange for presenting authorization grants or refresh tokens. This parameter is required. - - String - - String - - - - - - ClientId - - Client ID of developer console which is the client application. This parameter is required. - - String - - String - - - - - - ClientSecret - - Client secret of developer console which is the client application. This parameter is optional. - - String - - String - - - - - - AuthorizationRequestMethods - - Supported authorization request methods (GET, POST). This parameter is optional. Default value is GET. - - PsApiManagementAuthorizationRequestMethod[] - - PsApiManagementAuthorizationRequestMethod[] - - - - - - GrantTypes - - Supported grant types (AuthorizationCode, Implicit, ResourceOwnerPassword, ClientCredentials). This parameter is required. - - PsApiManagementGrantType[] - - PsApiManagementGrantType[] - - - - - - ClientAuthenticationMethods - - Supported client authentication methods (Basic, Body). This parameter is required. - - PsApiManagementClientAuthenticationMethod[] - - PsApiManagementClientAuthenticationMethod[] - - - - - - TokenBodyParameters - - Additional body parameters using application/x-www-form-urlencoded format. This parameter is optional. - - Hashtable - - Hashtable - - - - - - SupportState - - Whether to support state parameter. This parameter is optional. - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - DefaultScope - - Authorization server default scope. This parameter is optional. - - String - - String - - - - - - AccessTokenSendingMethods - - Supported methods of sending access token (AuthorizationHeader, Query). This parameter is required. - - PsApiManagementAccessTokenSendingMethod[] - - PsApiManagementAccessTokenSendingMethod[] - - - - - - ResourceOwnerUsername - - Resource owner user name. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - String - - - - - - ResourceOwnerPassword - - Resource owner password. This parameter is required if ‘ResourceOwnerPassword’ is present in -GrantTypes. - - String - - String - - - - - - PassThru - - If specified will write Instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer type . This parameter is optional. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader') - - Set authorization server details. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementCertificate - - Sets certificate data. - - - - - Set - AzureApiManagementCertificate - - - - Sets certificate data. - - - - Set-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - CertificateId - - Identifier of certificate. This parameter is required. - - String - - - PfxFilePath - - Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified. - - String - - - PfxPassword - - Password for the certificate. This parameter is required. - - String - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Set-AzureApiManagementCertificate - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - CertificateId - - Identifier of certificate. This parameter is required. - - String - - - PfxBytes - - Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified. - - Byte[] - - - PfxPassword - - Password for the certificate. This parameter is required. - - String - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - CertificateId - - Identifier of certificate. This parameter is required. - - String - - String - - - - - - PfxFilePath - - Path to the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxBytes not specified. - - String - - String - - - - - - PfxPassword - - Password for the certificate. This parameter is required. - - String - - String - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate type representing the modified group. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - PfxBytes - - Bytes of the certificate file in .pfx format to be created/uploaded. This parameter is required if -PfxFilePath not specified. - - Byte[] - - Byte[] - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222 - - Set certificate. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementGroup - - Sets existing group details. - - - - - Set - AzureApiManagementGroup - - - - Sets existing group details. - - - - Set-AzureApiManagementGroup - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - - Name - - Group name. This parameter is optional. - - String - - - Description - - Group description. This parameter is optional. - - String - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - GroupId - - Identifier of existing group. This parameter is required. - - String - - String - - - - - - Name - - Group name. This parameter is optional. - - String - - String - - - - - - Description - - Group description. This parameter is optional. - - String - - String - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup type representing the modified group. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementGroup –Context $apimContext –Name 'Best devs' - - Create new group. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementOperation - - Set API Operation details. - - - - - Set - AzureApiManagementOperation - - - - Set API Operation details. - - - - Set-AzureApiManagementOperation - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ApiId - - Identifier of API. This parameter is required. - - String - - - OperationId - - Identifier of existing operation. This parameter is required. - - String - - - Name - - Display name of new operation. This parameter is required. - - String - - - Method - - HTTP method of new operation. This parameter is required. - - String - - - UrlTemplate - - URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required. - - String - - - Description - - Description of new operation. This parameter is optional. - - String - - - TemplateParameters - - Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values. - - PsApiManagementParameter[] - - - Request - - Operation request details. This parameter is optional. - - PsApiManagementRequest - - - Responses - - Array of possible operation responses. This parameter is optional. - - PsApiManagementResponse[] - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ApiId - - Identifier of API. This parameter is required. - - String - - String - - - - - - OperationId - - Identifier of existing operation. This parameter is required. - - String - - String - - - - - - Name - - Display name of new operation. This parameter is required. - - String - - String - - - - - - Method - - HTTP method of new operation. This parameter is required. - - String - - String - - - - - - UrlTemplate - - URL template. Example: customers/{cid}/orders/{oid}/?date={date}. This parameter is required. - - String - - String - - - - - - Description - - Description of new operation. This parameter is optional. - - String - - String - - - - - - TemplateParameters - - Array or parameters defined in UrlTemplate. This parameter is optional. If not specified default value will be generated based on the UrlTemplate. Use the parameter to give more details on parameters like description, type, possible values. - - PsApiManagementParameter[] - - PsApiManagementParameter[] - - - - - - Request - - Operation request details. This parameter is optional. - - PsApiManagementRequest - - PsApiManagementRequest - - - - - - Responses - - Array of possible operation responses. This parameter is optional. - - PsApiManagementResponse[] - - PsApiManagementResponse[] - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation type representing the modified operation. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperation - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - New-AzureApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource' - - Set operation details. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementPolicy - - Set specified scope policy. - - - - - Set - AzureApiManagementPolicy - - - - Set specified scope policy. - - - - Set-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - Policy - - Policy document as a string. This parameter is required if -PolicyFilePath not specified. - - String - - - PolicyFilePath - - Policy document file path. This parameter is required if -Policy not specified. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Set-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - ProductId - - Identifier of existing product. If specified will set product-scope policy. This parameters is required. - - String - - - Policy - - Policy document as a string. This parameter is required if -PolicyFilePath not specified. - - String - - - PolicyFilePath - - Policy document file path. This parameter is required if -Policy not specified. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Set-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - ApiId - - Identifier of existing API. If specified will set API-scope policy. This parameters is required. - - String - - - Policy - - Policy document as a string. This parameter is required if -PolicyFilePath not specified. - - String - - - PolicyFilePath - - Policy document file path. This parameter is required if -Policy not specified. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - Set-AzureApiManagementPolicy - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - - ApiId - - Identifier of existing API. If specified will set API-scope policy. This parameters is required. - - String - - - OperationId - - Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required. - - String - - - Policy - - Policy document as a string. This parameter is required if -PolicyFilePath not specified. - - String - - - PolicyFilePath - - Policy document file path. This parameter is required if -Policy not specified. - - String - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - Format - - Format of the policy. This parameter is optional. Default value is ‘application/vnd.ms-azure-apim.policy+xml’. - - String - - String - - - - - - Policy - - Policy document as a string. This parameter is required if -PolicyFilePath not specified. - - String - - String - - - - - - PolicyFilePath - - Policy document file path. This parameter is required if -Policy not specified. - - String - - String - - - - - - PassThru - - If specified will write true in case operation succeeds. This parameter is optional. Default value is false. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - ProductId - - Identifier of existing product. If specified will set product-scope policy. This parameters is required. - - String - - String - - - - - - ApiId - - Identifier of existing API. If specified will set API-scope policy. This parameters is required. - - String - - String - - - - - - OperationId - - Identifier of existing operation. If specified with ApiId will set operation-scope policy. This parameters is required. - - String - - String - - - - - - - - - - - - - - - - - - - - - - bool - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml' - - Set tenant level policy from file named tenantpolicy.xml. - - - - - - - - - - - - - - -------------------------- Example 2 -------------------------- - - PS C:\> - - Set-AzureApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring - - Set product-scope policy. - - - - - - - - - - - - - - -------------------------- Example 3 -------------------------- - - PS C:\> - - Get-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring - - Set API-scope policy. - - - - - - - - - - - - - - -------------------------- Example 4 -------------------------- - - PS C:\> - - Set-AzureApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring - - Set operation-scope policy. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementProduct - - Sets Product details. - - - - - Set - AzureApiManagementProduct - - - - Sets Product details. - - - - Set-AzureApiManagementProduct - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - ProductId - - Identifier of existing Product. This parameter is required. - - String - - - Title - - Product title. This parameter is required. - - String - - - Description - - Product description. This parameter is optional. - - String - - - LegalTerms - - Legal terms of use of the product. This parameter is optional. - - String - - - SubscriptionRequired - - Whether the product requires subscription or not. This parameter is optional. Default value is $true. - - Nullable`1[Boolean] - - - ApprovalRequired - - Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false. - - Nullable`1[Boolean] - - - SubscriptionsLimit - - Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1. - - Nullable`1[Int32] - - - SubscriptionPeriod - - The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - - NotificationPeriod - - Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - - State - - Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished. - - Nullable`1[PsApiManagementProductState] - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - ProductId - - Identifier of existing Product. This parameter is required. - - String - - String - - - - - - Title - - Product title. This parameter is required. - - String - - String - - - - - - Description - - Product description. This parameter is optional. - - String - - String - - - - - - LegalTerms - - Legal terms of use of the product. This parameter is optional. - - String - - String - - - - - - SubscriptionRequired - - Whether the product requires subscription or not. This parameter is optional. Default value is $true. - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - ApprovalRequired - - Whether subscription to the product requires approval or not. This parameter is optional. Default value is $false. - - Nullable`1[Boolean] - - Nullable`1[Boolean] - - - - - - SubscriptionsLimit - - Maximum number of simultaneous subscriptions. This parameter is optional. Default value is 1. - - Nullable`1[Int32] - - Nullable`1[Int32] - - - - - - SubscriptionPeriod - - The period user subscriptions stays active once approved. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - String - - - - - - NotificationPeriod - - Specifies upcoming subscription expiration notification period. This parameter is optional. Default value is $null. The format is: {period}{value}. Examples: D2 (two days), M6 (six months), Y1(one year). - - String - - String - - - - - - State - - Product state. One of: NotPublished, Published. This parameter is optional. Default value is NotPublished. - - Nullable`1[PsApiManagementProductState] - - Nullable`1[PsApiManagementProductState] - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct type representing the modified product. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProduct - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished' - - Update product details: require subscription, unpublish. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementSubscription - - Sets existing subscription details. - - - - - Set - AzureApiManagementSubscription - - - - Sets existing subscription details. - - - - Set-AzureApiManagementSubscription - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - SubscriptionId - - Identifier of existing subscription. This parameter is required. - - String - - - Name - - Subscription name. This parameter is optional. - - String - - - PrimaryKey - - Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - - SecondaryKey - - Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - - State - - Subscription state. This parameter is optional. Default value is $null. - - Nullable`1[PsApiManagementSubscriptionState] - - - ExpiresOn - - Subscription expiration date. This parameter is optional. Default value is $null. - - Nullable`1[DateTime] - - - StateComment - - Subscription state comment. This parameter is optional. Default value is $null. - - String - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - SubscriptionId - - Identifier of existing subscription. This parameter is required. - - String - - String - - - - - - Name - - Subscription name. This parameter is optional. - - String - - String - - - - - - PrimaryKey - - Subscription primary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - String - - - - - - SecondaryKey - - Subscription secondary key. This parameter is optional. If not specified will be generated automatically. Must be 1 to 300 characters long. - - String - - String - - - - - - State - - Subscription state. This parameter is optional. Default value is $null. - - Nullable`1[PsApiManagementSubscriptionState] - - Nullable`1[PsApiManagementSubscriptionState] - - - - - - ExpiresOn - - Subscription expiration date. This parameter is optional. Default value is $null. - - Nullable`1[DateTime] - - Nullable`1[DateTime] - - - - - - StateComment - - Subscription state comment. This parameter is optional. Default value is $null. - - String - - String - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition type representing the modified subscription. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementSubscripition - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active' - - Set subscription primary, secondary key and activate. - - - - - - - - - - - - - - - - - - - - Set-AzureApiManagementUser - - Sets user details. - - - - - Set - AzureApiManagementUser - - - - Sets user details. - - - - Set-AzureApiManagementUser - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - - UserId - - Identifier of existing user. This parameter is required. - - String - - - FirstName - - User first name. This parameter is optional. Must be 1 to 100 characters long. - - String - - - LastName - - User last name. This parameter is optional. Must be 1 to 100 characters long. - - String - - - Email - - User email. This parameter is optional. - - String - - - Password - - User password. This parameter is optional. - - String - - - State - - User state. This parameter is optional. Default value is Active. - - PsApiManagementUserState - - - Note - - Note on the user. This parameter is optional. Default value is $null. - - String - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user. - - SwitchParameter - - - Profile - - In-memory profile. - - AzureProfile - - - - - - Context - - Instance of PsApiManagementContext. This parameter is required. - - PsApiManagementContext - - PsApiManagementContext - - - - - - UserId - - Identifier of existing user. This parameter is required. - - String - - String - - - - - - FirstName - - User first name. This parameter is optional. Must be 1 to 100 characters long. - - String - - String - - - - - - LastName - - User last name. This parameter is optional. Must be 1 to 100 characters long. - - String - - String - - - - - - Email - - User email. This parameter is optional. - - String - - String - - - - - - Password - - User password. This parameter is optional. - - String - - String - - - - - - State - - User state. This parameter is optional. Default value is Active. - - PsApiManagementUserState - - PsApiManagementUserState - - - - - - Note - - Note on the user. This parameter is optional. Default value is $null. - - String - - String - - - - - - PassThru - - If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser type representing the modified user. - - SwitchParameter - - SwitchParameter - - - - - - Profile - - In-memory profile. - - AzureProfile - - AzureProfile - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementUser - - - - - - - - - - - - - - - - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - Set-AzureApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked' - - Set new user password and email and block the user. - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAccessTokenSendingMethod.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAccessTokenSendingMethod.cs deleted file mode 100644 index 290668aae661..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAccessTokenSendingMethod.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementAccessTokenSendingMethod - { - AuthorizationHeader = 1, - Query = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementApi.cs deleted file mode 100644 index eede261d4a0b..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementApi.cs +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementApi - { - public string ApiId { get; set; } - - public string Name { get; set; } - - public string Description { get; set; } - - public string ServiceUrl { get; set; } - - public string Path { get; set; } - - public PsApiManagementSchema[] Protocols { get; set; } - - // map from AuthenticationSettings.OAuth2.AuthorizationServerId - public string AuthorizationServerId { get; set; } - - // map from AuthenticationSettings.OAuth2.Scope - public string AuthorizationScope { get; set; } - - // map from SubscriptionKeyParameterNames.Header - public string SubscriptionKeyHeaderName { get; set; } - - // map from SubscriptionKeyParameterNames.Query - public string SubscriptionKeyQueryParamName { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementApiFormat.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementApiFormat.cs deleted file mode 100644 index 68bdecc4ec8e..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementApiFormat.cs +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementApiFormat - { - Wadl = 1, - Swagger = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAuthorizationRequestMethod.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAuthorizationRequestMethod.cs deleted file mode 100644 index 80df41c74596..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementAuthorizationRequestMethod.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementAuthorizationRequestMethod - { - Get = 1, - Post = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs deleted file mode 100644 index 6317997cae06..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementCertificate.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - using System; - - public class PsApiManagementCertificate - { - public string CertificateId { get; set; } - - public string Subject { get; set; } - - public string Thumbprint { get; set; } - - public DateTime ExpirationDate { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementClientAuthenticationMethod.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementClientAuthenticationMethod.cs deleted file mode 100644 index f9f7bdb82144..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementClientAuthenticationMethod.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementClientAuthenticationMethod - { - Basic = 1, - Body = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs deleted file mode 100644 index 70c8ea15bfc8..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementContext.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementContext - { - public string ResourceGroupName { get; set; } - - public string ServiceName { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGrantType.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGrantType.cs deleted file mode 100644 index 414666a27791..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGrantType.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementGrantType - { - AuthorizationCode = 1, - Implicit = 2, - ResourceOwnerPassword = 3, - ClientCredentials = 4 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGroup.cs deleted file mode 100644 index cf4223bd9aee..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGroup.cs +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementGroup - { - public string GroupId { get; set; } - - public string Name { get; set; } - - public string Description { get; set; } - - public bool System { get; internal set; } - - public PsApiManagementGroupType Type { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGroupType.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGroupType.cs deleted file mode 100644 index c97f495dd3b9..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementGroupType.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementGroupType - { - Custom = 0, - System = 1, - External = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs deleted file mode 100644 index c8a18000c134..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - using System.Collections; - - public class PsApiManagementOAuth2AuthrozationServer - { - public string ServerId { get; internal set; } - - public string Name { get; set; } - - public string Description { get; set; } - - public string ClientRegistrationPageUrl { get; set; } - - public string AuthorizationEndpointUrl { get; set; } - - public string TokenEndpointUrl { get; set; } - - public PsApiManagementAuthorizationRequestMethod[] AuthorizationRequestMethods { get; set; } - - public PsApiManagementClientAuthenticationMethod[] ClientAuthenticationMethods { get; set; } - - public Hashtable TokenBodyParameters { get; set; } - - public bool SupportState { get; set; } - - public string DefaultScope { get; set; } - - public PsApiManagementGrantType[] GrantTypes { get; set; } - - // map from BearerTokenSendingMethods - public PsApiManagementAccessTokenSendingMethod[] AccessTokenSendingMethods { get; set; } - - public string ClientId { get; set; } - - public string ClientSecret { get; set; } - - public string ResourceOwnerUsername { get; set; } - - public string ResourceOwnerPassword { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOperation.cs deleted file mode 100644 index 81a93508b898..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementOperation.cs +++ /dev/null @@ -1,37 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementOperation - { - public string ApiId { get; set; } - - public string OperationId { get; set; } - - public string Name { get; set; } - - public string Method { get; set; } - - public string UrlTemplate { get; set; } - - public string Description { get; set; } - - public PsApiManagementParameter[] TemplateParameters { get; set; } - - public PsApiManagementRequest Request { get; set; } - - public PsApiManagementResponse[] Responses { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementParameter.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementParameter.cs deleted file mode 100644 index bbda4fb65884..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementParameter.cs +++ /dev/null @@ -1,31 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementParameter - { - public string Name { get; set; } - - public string Description { get; set; } - - public string Type { get; set; } - - public string DefaultValue { get; set; } - - public bool Required { get; set; } - - public string[] Values { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProduct.cs deleted file mode 100644 index 682546d62ff9..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProduct.cs +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - using System; - - public class PsApiManagementProduct - { - public string ProductId { get; set; } - - // maps from Name - public string Title { get; set; } - - public string Description { get; set; } - - // maps from Terms - public string LegalTerms { get; set; } - - public bool? SubscriptionRequired { get; set; } - - public bool? ApprovalRequired { get; set; } - - public int? SubscriptionsLimit { get; set; } - - // maps from period contract - public string SubscriptionPeriod { get; set; } - - // maps from period contract - public string NotificationPeriod { get; set; } - - public PsApiManagementProductState State { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProductState.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProductState.cs deleted file mode 100644 index 9f2f741d05e6..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementProductState.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementProductState - { - NotPublished = 0, - Published = 1 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementRepresentation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementRepresentation.cs deleted file mode 100644 index 2d701c893988..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementRepresentation.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementRepresentation - { - public string ContentType { get; set; } - - public string Sample { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementRequest.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementRequest.cs deleted file mode 100644 index 80b4a1995f65..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementRequest.cs +++ /dev/null @@ -1,27 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementRequest - { - public string Description { get; set; } - - public PsApiManagementParameter[] QueryParameters { get; set; } - - public PsApiManagementParameter[] Headers { get; set; } - - public PsApiManagementRepresentation[] Representations { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementResponse.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementResponse.cs deleted file mode 100644 index 94f2648d4d14..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementResponse.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public class PsApiManagementResponse - { - public int StatusCode { get; set; } - - public string Description { get; set; } - - public PsApiManagementRepresentation[] Representations { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSchema.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSchema.cs deleted file mode 100644 index c6641b7dc027..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSchema.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementSchema - { - Http = 1, - Https = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs deleted file mode 100644 index 88ead0e1bf42..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscription.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - using System; - - public class PsApiManagementSubscription - { - public string SubscriptionId { get; set; } - - public string UserId { get; set; } - - public string ProductId { get; set; } - - public string Name { get; set; } - - public PsApiManagementSubscriptionState State { get; set; } - - public DateTime CreatedDate { get; set; } - - public DateTime? StartDate { get; set; } - - public DateTime? ExpirationDate { get; set; } - - public DateTime? EndDate { get; set; } - - public DateTime? NotificationDate { get; set; } - - public string PrimaryKey { get; set; } - - public string SecondaryKey { get; set; } - - public string StateComment { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscriptionState.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscriptionState.cs deleted file mode 100644 index 85cd69a6ecc0..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementSubscriptionState.cs +++ /dev/null @@ -1,26 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementSubscriptionState - { - Suspended = 0, - Active = 1, - Expired = 2, - Submitted = 3, - Rejected = 4, - Cancelled = 5 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs deleted file mode 100644 index 6235146d451f..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUser.cs +++ /dev/null @@ -1,37 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - using System; - using System.Collections.Generic; - - public class PsApiManagementUser - { - public string UserId { get; set; } - - public string FirstName { get; set; } - - public string LastName { get; set; } - - public string Email { get; set; } - - public PsApiManagementUserState State { get; set; } - - public DateTime RegistrationDate { get; set; } - - public string Note { get; set; } - - public IDictionary Identities { get; set; } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUserState.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUserState.cs deleted file mode 100644 index c1f9a922c50b..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Models/PsApiManagementUserState.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models -{ - public enum PsApiManagementUserState - { - Active = 1, - Blocked = 2 - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/AssemblyInfo.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/AssemblyInfo.cs deleted file mode 100644 index 4bba9465fe07..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Commands.ApiManagement")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hewlett-Packard Company")] -[assembly: AssemblyProduct("Commands.ApiManagement")] -[assembly: AssemblyCopyright("Copyright © Hewlett-Packard Company 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("c9831971-8612-47fb-bdd9-91c151d01415")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs deleted file mode 100644 index 642278f77583..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.Designer.cs +++ /dev/null @@ -1,270 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34014 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Exporting API "{0}" to file "{1}".. - /// - internal static string ApiExportDescription { - get { - return ResourceManager.GetString("ApiExportDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File "{0}" already exists. Override?. - /// - internal static string ApiExportWarning { - get { - return ResourceManager.GetString("ApiExportWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing API "{0}".. - /// - internal static string ApiRemoveDescription { - get { - return ResourceManager.GetString("ApiRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove API "{0}"?. - /// - internal static string ApiRemoveWarning { - get { - return ResourceManager.GetString("ApiRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Authorization Server "{0}".. - /// - internal static string AuthorizationServerRemoveDescription { - get { - return ResourceManager.GetString("AuthorizationServerRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove Authorization Server "{0}"?. - /// - internal static string AuthorizationServerRemoveWarning { - get { - return ResourceManager.GetString("AuthorizationServerRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Certificate "{0}".. - /// - internal static string CertificateRemoveDescription { - get { - return ResourceManager.GetString("CertificateRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove Certificate "{0}"?. - /// - internal static string CertificateRemoveWarning { - get { - return ResourceManager.GetString("CertificateRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Group "{0}".. - /// - internal static string GroupRemoveDescription { - get { - return ResourceManager.GetString("GroupRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove Group "{0}"?. - /// - internal static string GroupRemoveWarning { - get { - return ResourceManager.GetString("GroupRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Operation "{0}" of API "{1}".. - /// - internal static string OperationRemoveDescription { - get { - return ResourceManager.GetString("OperationRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove Operation "{0}" of API "{1}"?. - /// - internal static string OperationRemoveWarning { - get { - return ResourceManager.GetString("OperationRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing "{0}" policy.. - /// - internal static string PolicyRemoveDescription { - get { - return ResourceManager.GetString("PolicyRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove "{0}" policy?. - /// - internal static string PolicyRemoveWarning { - get { - return ResourceManager.GetString("PolicyRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Product "{0}".. - /// - internal static string ProductRemoveDescription { - get { - return ResourceManager.GetString("ProductRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove Product "{0}"?. - /// - internal static string ProductRemoveWarning { - get { - return ResourceManager.GetString("ProductRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Saving "{0}" policy to file "{1}".. - /// - internal static string SavePolicyDescription { - get { - return ResourceManager.GetString("SavePolicyDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File "{0}" already exists. Override?. - /// - internal static string SavePolicyWarning { - get { - return ResourceManager.GetString("SavePolicyWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Confirm. - /// - internal static string ShouldProcessCaption { - get { - return ResourceManager.GetString("ShouldProcessCaption", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Subscription "{0}".. - /// - internal static string SubscriptionRemoveDescription { - get { - return ResourceManager.GetString("SubscriptionRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove Subscription "{0}"?. - /// - internal static string SubscriptionRemoveWarning { - get { - return ResourceManager.GetString("SubscriptionRemoveWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing User "{0}".. - /// - internal static string UserRemoveDescription { - get { - return ResourceManager.GetString("UserRemoveDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove User "{0}"?. - /// - internal static string UserRemoveWarning { - get { - return ResourceManager.GetString("UserRemoveWarning", resourceCulture); - } - } - } -} diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx deleted file mode 100644 index 74c1cb46727f..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Properties/Resources.resx +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Exporting API "{0}" to file "{1}". - Process workflow - - - File "{0}" already exists. Override? - Process workflow - - - Removing API "{0}". - Process workflow - - - Are you sure you want to remove API "{0}"? - Process workflow - - - Removing Authorization Server "{0}". - Process workflow - - - Are you sure you want to remove Authorization Server "{0}"? - Process workflow - - - Removing Certificate "{0}". - Process workflow - - - Are you sure you want to remove Certificate "{0}"? - Process workflow - - - Removing Group "{0}". - Process workflow - - - Are you sure you want to remove Group "{0}"? - Process workflow - - - Removing Operation "{0}" of API "{1}". - Process workflow - - - Are you sure you want to remove Operation "{0}" of API "{1}"? - Process workflow - - - Removing "{0}" policy. - Process workflow - - - Are you sure you want to remove "{0}" policy? - Process workflow - - - Removing Product "{0}". - Process workflow - - - Are you sure you want to remove Product "{0}"? - Process workflow - - - Saving "{0}" policy to file "{1}". - Process workflow - - - File "{0}" already exists. Override? - Process workflow - - - Confirm - Process workflow - - - Removing Subscription "{0}". - Process workflow - - - Are you sure you want to remove Subscription "{0}"? - Process workflow - - - Removing User "{0}". - Process workflow - - - Are you sure you want to remove User "{0}"? - Process workflow - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Properties/AssemblyInfo.cs index 4662010421ca..06d05656b499 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("Microsoft.Azure.Commands.ApiManagement.Test")] +[assembly: AssemblyTitle("Commands.ApiManagement.Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Mcrosoft")] -[assembly: AssemblyProduct("Microsoft.Azure.Commands.ApiManagement.Test")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2015")] +[assembly: AssemblyCompany("Hewlett-Packard Company")] +[assembly: AssemblyProduct("Commands.ApiManagement.Test")] +[assembly: AssemblyCopyright("Copyright © Hewlett-Packard Company 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs index 63b9445f2027..ac5c429a51fd 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs @@ -59,13 +59,13 @@ private IApiManagementClient Client public PsApiManagement GetApiManagement(string resourceGroupName, string serviceName) { - ApiServiceGetResponse response = Client.ResourceProvider.Get(resourceGroupName, serviceName); + ApiServiceGetResponse response = Client.ApiManagement.Get(resourceGroupName, serviceName); return new PsApiManagement(response.Value); } public IEnumerable ListApiManagements(string resourceGroupName) { - var response = Client.ResourceProvider.List(resourceGroupName); + var response = Client.ApiManagement.List(resourceGroupName); return response.Value.Select(resource => new PsApiManagement(resource)); } @@ -95,7 +95,7 @@ public ApiManagementLongRunningOperation BeginCreateApiManagementService( Tags = tags }; - var longrunningResponse = Client.ResourceProvider.BeginCreatingOrUpdating(resourceGroupName, serviceName, parameters); + var longrunningResponse = Client.ApiManagement.BeginCreatingOrUpdating(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); return ApiManagementLongRunningOperation.CreateLongRunningOperation("New-AzureApiManagement", longrunningResponse); } @@ -121,14 +121,14 @@ public ApiManagementLongRunningOperation BeginBackupApiManagement( BackupName = backupBlob }; - var longrunningResponse = Client.ResourceProvider.BeginBackup(resourceGroupName, serviceName, parameters); + var longrunningResponse = Client.ApiManagement.BeginBackup(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); return ApiManagementLongRunningOperation.CreateLongRunningOperation("Backup-AzureApiManagement", longrunningResponse); } public bool DeleteApiManagement(string resourceGroupName, string serviceName) { - Client.ResourceProvider.Delete(resourceGroupName, serviceName); + Client.ApiManagement.Delete(resourceGroupName, serviceName); return true; } @@ -149,7 +149,7 @@ public ApiManagementLongRunningOperation BeginRestoreApiManagement( BackupName = backupBlob }; - var longrunningResponse = Client.ResourceProvider.BeginRestoring(resourceGroupName, serviceName, parameters); + var longrunningResponse = Client.ApiManagement.BeginRestoring(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); return ApiManagementLongRunningOperation.CreateLongRunningOperation("Restore-AzureApiManagement", longrunningResponse); } @@ -200,7 +200,7 @@ public ApiManagementLongRunningOperation BeginUpdateDeployments( .ToList(); } - var longrunningResponse = Client.ResourceProvider.BeginManagingDeployments(resourceGroupName, serviceName, parameters); + var longrunningResponse = Client.ApiManagement.BeginManagingDeployments(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); return ApiManagementLongRunningOperation.CreateLongRunningOperation("Update-AzureApiManagementDeployment", longrunningResponse); } @@ -221,7 +221,7 @@ public PsApiManagementHostnameCertificate UploadCertificate( var encodedCertificate = Convert.ToBase64String(certificate); var parameters = new ApiServiceUploadCertificateParameters(MapHostnameType(hostnameType), encodedCertificate, pfxPassword); - var result = Client.ResourceProvider.UploadCertificate(resourceGroupName, serviceName, parameters); + var result = Client.ApiManagement.UploadCertificate(resourceGroupName, serviceName, parameters); return new PsApiManagementHostnameCertificate(result.Value); } @@ -232,7 +232,7 @@ public ApiManagementLongRunningOperation BeginSetHostnames( PsApiManagementHostnameConfiguration portalHostnameConfiguration, PsApiManagementHostnameConfiguration proxyHostnameConfiguration) { - var currentStateResource = Client.ResourceProvider.Get(resourceGroupName, serviceName); + var currentStateResource = Client.ApiManagement.Get(resourceGroupName, serviceName); var currentState = new PsApiManagement(currentStateResource.Value); var parameters = new ApiServiceUpdateHostnameParameters @@ -241,14 +241,14 @@ public ApiManagementLongRunningOperation BeginSetHostnames( HostnamesToCreateOrUpdate = GetHostnamesToCreateOrUpdate(portalHostnameConfiguration, proxyHostnameConfiguration, currentState).ToList() }; - var longrunningResponse = Client.ResourceProvider.BeginUpdatingHostname(resourceGroupName, serviceName, parameters); + var longrunningResponse = Client.ApiManagement.BeginUpdatingHostname(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureApiManagementHostnames", longrunningResponse); } public string GetSsoToken(string resourceGroupName, string serviceName) { - return Client.ResourceProvider.GetSsoToken(resourceGroupName, serviceName).RedirectUrl; + return Client.ApiManagement.GetSsoToken(resourceGroupName, serviceName).RedirectUrl; } public ApiManagementLongRunningOperation BeginManageVirtualNetworks( @@ -269,7 +269,7 @@ public ApiManagementLongRunningOperation BeginManageVirtualNetworks( }).ToList() }; - var longrunningResponse = Client.ResourceProvider.BeginManagingVirtualNetworks(resourceGroupName, serviceName, parameters); + var longrunningResponse = Client.ApiManagement.BeginManagingVirtualNetworks(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureApiManagementVirtualNetworks", longrunningResponse); } @@ -277,7 +277,7 @@ public ApiManagementLongRunningOperation BeginManageVirtualNetworks( internal ApiManagementLongRunningOperation GetLongRunningOperationStatus(ApiManagementLongRunningOperation longRunningOperation) { var response = - Client.ResourceProvider + Client.ApiManagement .GetApiServiceLongRunningOperationStatusAsync(longRunningOperation.OperationLink) .ConfigureAwait(false) .GetAwaiter() diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs index 58255047a90b..7f429557b73b 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs @@ -47,12 +47,12 @@ public class RemoveAzureApiManagement : AzureApiManagementCmdletBase public override void ExecuteCmdlet() { var actionDescription = string.Format( - CultureInfo.CurrentCulture, + CultureInfo.InvariantCulture, Resources.RemoveAzureApiManagementDescription, Name); var actionWarning = string.Format( - CultureInfo.CurrentCulture, + CultureInfo.InvariantCulture, Resources.RemoveAzureApiManagementWarning, Name); diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Properties/AssemblyInfo.cs deleted file mode 100644 index a6b3920728fe..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Mcrosoft")] -[assembly: AssemblyProduct("Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("fb6497f0-0471-45de-ad21-3f2788832b23")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/ApiValidPolicy.xml b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/ApiValidPolicy.xml deleted file mode 100644 index 6bd96a9ea6d8..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/ApiValidPolicy.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - version - Accept - Accept-Charset - - - - - - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/OperationValidPolicy.xml b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/OperationValidPolicy.xml deleted file mode 100644 index 9520cbd2c5c5..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/OperationValidPolicy.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/ProductValidPolicy.xml b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/ProductValidPolicy.xml deleted file mode 100644 index 642a0800f780..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/ProductValidPolicy.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/TenantValidPolicy.xml b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/TenantValidPolicy.xml deleted file mode 100644 index 64533de524c4..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/TenantValidPolicy.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - bbyby - - - - xxbbcczc - - - - - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/WADLYahoo.xml b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/WADLYahoo.xml deleted file mode 100644 index f844ee0dfd77..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/WADLYahoo.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - Yahoo News Search API - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/testcertificate.pfx b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/testcertificate.pfx deleted file mode 100644 index bbe69675f727..000000000000 Binary files a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Resources/testcertificate.pfx and /dev/null differ diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs deleted file mode 100644 index 1089327ec89c..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.cs +++ /dev/null @@ -1,189 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests -{ - using System; - using System.Management.Automation; - using Microsoft.Azure.Common.Authentication; - using Microsoft.Azure.Gallery; - using Microsoft.Azure.Management.ApiManagement; - using Microsoft.Azure.Management.Authorization; - using Microsoft.Azure.Management.Resources; - using Microsoft.Azure.Test; - using Microsoft.WindowsAzure.Commands.ScenarioTest; - using Microsoft.WindowsAzure.Management; - using Microsoft.WindowsAzure.Management.Storage; - using Xunit; - - public class ApiManagementTests : IUseFixture - { - private readonly EnvironmentSetupHelper _helper; - private ApiManagementTestsFixture _fixture; - - public ApiManagementTests() - { - _helper = new EnvironmentSetupHelper(); - } - - protected void SetupManagementClients() - { - var apiManagementManagementClient = GetApiManagementManagementClient(); - var resourceManagementClient = GetResourceManagementClient(); - var galaryClient = GetGalleryClient(); - var authorizationManagementClient = GetAuthorizationManagementClient(); - var managementClient = GetManagementClient(); - var armStorageManagementClient = GetArmStorageManagementClient(); - - _helper.SetupManagementClients( - apiManagementManagementClient, - resourceManagementClient, - galaryClient, - authorizationManagementClient, - managementClient, - armStorageManagementClient); - } - - protected StorageManagementClient GetStorageManagementClient() - { - return TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); - } - - protected Management.Storage.StorageManagementClient GetArmStorageManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - private ManagementClient GetManagementClient() - { - return TestBase.GetServiceClient(new RDFETestEnvironmentFactory()); - } - - private AuthorizationManagementClient GetAuthorizationManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - private GalleryClient GetGalleryClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - private ResourceManagementClient GetResourceManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - private ApiManagementClient GetApiManagementManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ApiCrudTest() - { - RunPowerShellTest("Api-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ApiImportExportTest() - { - RunPowerShellTest("Api-ImportExportTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void OperationsCrudTest() - { - RunPowerShellTest("Operations-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void ProductCrudTest() - { - RunPowerShellTest("Product-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void SubscriptionCrudTest() - { - RunPowerShellTest("Subscription-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void UserCrudTest() - { - RunPowerShellTest("User-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void GroupCrudTest() - { - RunPowerShellTest("Group-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void PolicyCrudTest() - { - RunPowerShellTest("Policy-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void CertificateCrudTest() - { - RunPowerShellTest("Certificate-CrudTest"); - } - - [Fact] - [Trait(Category.AcceptanceType, Category.CheckIn)] - public void AuthorizationServerCrudTest() - { - RunPowerShellTest("AuthorizationServer-CrudTest"); - } - - private void RunPowerShellTest(params string[] scripts) - { - for (int i = 0; i < scripts.Length; i++) - { - scripts[i] = scripts[i] + string.Format(" {0} {1}", _fixture.ResourceGroupName, _fixture.ApiManagementServiceName); - } - - using (var context = UndoContext.Current) - { - context.Start(TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName(2)); - - SetupManagementClients(); - - _helper.SetupEnvironment(AzureModule.AzureProfile); - _helper.SetupModules(AzureModule.AzureProfile, "ScenarioTests\\Common.ps1", "ScenarioTests\\" + GetType().Name + ".ps1"); - - _helper.RunPowerShellTest(scripts); - } - } - - public void SetFixture(ApiManagementTestsFixture fixture) - { - _fixture = fixture; - } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 deleted file mode 100644 index ba52f04d9fd1..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 +++ /dev/null @@ -1,1369 +0,0 @@ -<# -.SYNOPSIS -Tests CRUD operations of API. -#> -function Api-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all apis - $apis = Get-AzureApiManagementApi -Context $context - - # there should be one API - Assert-AreEqual 1 $apis.Count - Assert-NotNull $apis[0].ApiId - Assert-AreEqual "Echo API" $apis[0].Name - Assert-Null $apis[0].Description - Assert-AreEqual "http://echoapi.cloudapp.net/api" $apis[0].ServiceUrl - Assert-AreEqual echo $apis[0].Path - Assert-AreEqual 1 $apis[0].Protocols.Length - Assert-AreEqual https $apis[0].Protocols[0] - Assert-Null $apis[0].AuthorizationServerId - Assert-Null $apis[0].AuthorizationScope - Assert-Null $apis[0].SubscriptionKeyHeaderName - Assert-Null $apis[0].SubscriptionKeyQueryParamName - - # get by ID - $apiId = $apis[0].ApiId - - $api = Get-AzureApiManagementApi -Context $context -ApiId $apiId - - Assert-AreEqual $apiId $api.ApiId - Assert-AreEqual "Echo API" $api.Name - Assert-Null $api.Description - Assert-AreEqual "http://echoapi.cloudapp.net/api" $api.ServiceUrl - Assert-AreEqual echo $api.Path - Assert-AreEqual 1 $api.Protocols.Length - Assert-AreEqual https $api.Protocols[0] - Assert-Null $api.AuthorizationServerId - Assert-Null $api.AuthorizationScope - Assert-NotNull $api.SubscriptionKeyHeaderName #TODO: this is odd - Assert-NotNull $api.SubscriptionKeyQueryParamName #TODO: this is odd - - # get by Name - $apiName = $apis[0].Name - - $apis = Get-AzureApiManagementApi -Context $context -Name $apiName - - Assert-AreEqual 1 $apis.Count - Assert-NotNull $apis[0].ApiId - Assert-AreEqual $apiName $apis[0].Name - Assert-Null $apis[0].Description - Assert-AreEqual "http://echoapi.cloudapp.net/api" $apis[0].ServiceUrl - Assert-AreEqual echo $apis[0].Path - Assert-AreEqual 1 $apis[0].Protocols.Length - Assert-AreEqual https $apis[0].Protocols[0] - Assert-Null $apis[0].AuthorizationServerId - Assert-Null $apis[0].AuthorizationScope - Assert-Null $apis[0].SubscriptionKeyHeaderName - Assert-Null $apis[0].SubscriptionKeyQueryParamName - - # create new api - $newApiId = getAssetName - try - { - $newApiName = getAssetName - $newApiDescription = getAssetName - $newApiPath = getAssetName - $newApiServiceUrl = "http://newechoapi.cloudapp.net/newapi" - $subscriptionKeyParametersHeader = getAssetName - $subscriptionKeyQueryStringParamName = getAssetName - - $newApi = New-AzureApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription ` - -Protocols @("http", "https") -Path $newApiPath -ServiceUrl $newApiServiceUrl ` - -SubscriptionKeyHeaderName $subscriptionKeyParametersHeader -SubscriptionKeyQueryParamName $subscriptionKeyQueryStringParamName - - Assert-AreEqual $newApiId $newApi.ApiId - Assert-AreEqual $newApiName $newApi.Name - Assert-AreEqual $newApiDescription.Description - Assert-AreEqual $newApiServiceUrl $newApi.ServiceUrl - Assert-AreEqual $newApiPath $newApi.Path - Assert-AreEqual 2 $newApi.Protocols.Length - Assert-AreEqual http $newApi.Protocols[0] - Assert-AreEqual https $newApi.Protocols[1] - Assert-Null $newApi.AuthorizationServerId - Assert-Null $newApi.AuthorizationScope - Assert-AreEqual $subscriptionKeyParametersHeader $newApi.SubscriptionKeyHeaderName - Assert-AreEqual $subscriptionKeyQueryStringParamName $newApi.SubscriptionKeyQueryParamName - - # set api - $newApiName = getAssetName - $newApiDescription = getAssetName - $newApiPath = getAssetName - $newApiServiceUrl = "http://newechoapi.cloudapp.net/newapinew" - $subscriptionKeyParametersHeader = getAssetName - $subscriptionKeyQueryStringParamName = getAssetName - - $newApi = Set-AzureApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription ` - -Protocols @("https") -Path $newApiPath -ServiceUrl $newApiServiceUrl ` - -SubscriptionKeyHeaderName $subscriptionKeyParametersHeader -SubscriptionKeyQueryParamName $subscriptionKeyQueryStringParamName ` - -PassThru - - Assert-AreEqual $newApiId $newApi.ApiId - Assert-AreEqual $newApiName $newApi.Name - Assert-AreEqual $newApiDescription.Description - Assert-AreEqual $newApiServiceUrl $newApi.ServiceUrl - Assert-AreEqual $newApiPath $newApi.Path - Assert-AreEqual 1 $newApi.Protocols.Length - Assert-AreEqual https $newApi.Protocols[0] - Assert-Null $newApi.AuthorizationServerId - Assert-Null $newApi.AuthorizationScope - Assert-AreEqual $subscriptionKeyParametersHeader $newApi.SubscriptionKeyHeaderName - Assert-AreEqual $subscriptionKeyQueryStringParamName $newApi.SubscriptionKeyQueryParamName - - $product = Get-AzureApiManagementProduct -Context $context | Select -First 1 - Add-AzureApiManagementApiToProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId - - #get by product id - $found = 0 - $apis = Get-AzureApiManagementApi -Context $context -ProductId $product.ProductId - for ($i = 0; $i -lt $apis.Count; $i++) - { - if($apis[$i].ApiId -eq $newApiId) - { - $found = 1 - } - } - Assert-AreEqual 1 $found - - Remove-AzureApiManagementApiFromProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId - $found = 0 - $apis = Get-AzureApiManagementApi -Context $context -ProductId $product.ProductId - for ($i = 0; $i -lt $apis.Count; $i++) - { - if($apis[$i].ApiId -eq $newApiId) - { - $found = 1 - } - } - Assert-AreEqual 0 $found - } - finally - { - # remove created api - $removed = Remove-AzureApiManagementApi -Context $context -ApiId $newApiId -PassThru -Force - Assert-True {$removed} - } -} - -<# -.SYNOPSIS -Tests API import/export. -#> -function Api-ImportExportTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - $wadlPath = "./Resources/WADLYahoo.xml" - $path = "wadlapi" - $wadlApiId = getAssetName - - try - { - # import api from file - $api = Import-AzureApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationPath $wadlPath -SpecificationFormat Wadl -Path $path - - Assert-AreEqual $wadlApiId $api.ApiId - Assert-AreEqual $path $api.Path - - # export api to pipline - $result = Export-AzureApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationFormat Wadl - - Assert-True {$result -like '*Yahoo News Search API*'} - } - finally - { - # remove created api - $removed = Remove-AzureApiManagementApi -Context $context -ApiId $wadlApiId -PassThru -Force - Assert-True {$removed} - } -} - -<# -.SYNOPSIS -Tests CRUD operations of Operations. -#> -function Operations-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get api - $api = Get-AzureApiManagementApi -Context $context -Name 'Echo API'| Select -First 1 - - # get all api operations - $operations = Get-AzureApiManagementOperation -Context $context -ApiId $api.ApiId - - Assert-AreEqual 6 $operations.Count - for ($i = 0; $i -lt $operations.Count; $i++) - { - Assert-AreEqual $api.ApiId $operations[$i].ApiId - - $operation = Get-AzureApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $operations[$i].OperationId - - Assert-AreEqual $api.ApiId $operation.ApiId - Assert-AreEqual $operations[$i].OperationId $operation.OperationId - Assert-AreEqual $operations[$i].Name $operation.Name - Assert-AreEqual $operations[$i].Description $operation.Description - Assert-AreEqual $operations[$i].Method $operation.Method - Assert-AreEqual $operations[$i].UrlTemplate $operation.UrlTemplate - } - - #add new operation - $newOperationId = getAssetName - try - { - $newOperationName = getAssetName - $newOperationMethod = "PATCH" - $newperationUrlTemplate = "/resource/{rid}?q={query}" - $newOperationDescription = getAssetName - $newOperationRequestDescription = getAssetName - - $newOperationRequestHeaderParamName = getAssetName - $newOperationRequestHeaderParamDescr = getAssetName - $newOperationRequestHeaderParamIsRequired = $TRUE - $newOperationRequestHeaderParamDefaultValue = getAssetName - $newOperationRequestHeaderParamType = "string" - - $newOperationRequestParmName = getAssetName - $newOperationRequestParamDescr = getAssetName - $newOperationRequestParamIsRequired = $TRUE - $newOperationRequestParamDefaultValue = getAssetName - $newOperationRequestParamType = "string" - - $newOperationRequestRepresentationContentType = "application/json" - $newOperationRequestRepresentationSample = getAssetName - - $newOperationResponseDescription = getAssetName - $newOperationResponseStatusCode = 1980785443; - $newOperationResponseRepresentationContentType = getAssetName - $newOperationResponseRepresentationSample = getAssetName - - #create parameters declared in UrlTemplate - $rid = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $rid.Name = "rid" - $rid.Description = "Resource identifier" - $rid.Type = "string" - - $query = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $query.Name = "query" - $query.Description = "Query string" - $query.Type = "string" - - #create request - $request = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRequest - $request.Description = "Create/update resource request" - - #create query parameters for the request - $dummyQp = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $dummyQp.Name = $newOperationRequestParmName - $dummyQp.Description = $newOperationRequestParamDescr - $dummyQp.Type = $newOperationRequestParamType - $dummyQp.Required = $newOperationRequestParamIsRequired - $dummyQp.DefaultValue = $newOperationRequestParamDefaultValue - $dummyQp.Values = @($newOperationRequestParamDefaultValue) - $request.QueryParameters = @($dummyQp) - - #create headers for the request - $header = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $header.Name = $newOperationRequestHeaderParamName - $header.Description = $newOperationRequestHeaderParamDescr - $header.DefaultValue = $newOperationRequestHeaderParamDefaultValue - $header.Values = @($newOperationRequestHeaderParamDefaultValue) - $header.Type = $newOperationRequestHeaderParamType - $header.Required = $newOperationRequestHeaderParamIsRequired - $request.Headers = @($header) - - #create request representation - $requestRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation - $requestRepresentation.ContentType = $newOperationRequestRepresentationContentType - $requestRepresentation.Sample = $newOperationRequestRepresentationSample - $request.Representations = @($requestRepresentation) - - #create response - $response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse - $response.StatusCode = $newOperationResponseStatusCode - $response.Description = $newOperationResponseDescription - - #create response representation - $responseRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation - $responseRepresentation.ContentType = $newOperationResponseRepresentationContentType - $responseRepresentation.Sample = $newOperationResponseRepresentationSample - $response.Representations = @($responseRepresentation) - - $newOperation = New-AzureApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName ` - –Method $newOperationMethod –UrlTemplate $newperationUrlTemplate –Description $newOperationDescription –TemplateParameters @($rid, $query) –Request $request –Responses @($response) - - Assert-AreEqual $api.ApiId $newOperation.ApiId - Assert-AreEqual $newOperationId $newOperation.OperationId - Assert-AreEqual $newOperationName $newOperation.Name - Assert-AreEqual $newOperationMethod $newOperation.Method - Assert-AreEqual $newperationUrlTemplate $newOperation.UrlTemplate - Assert-AreEqual $newOperationDescription $newOperation.Description - - Assert-NotNull $newOperation.TemplateParameters - Assert-AreEqual 2 $newOperation.TemplateParameters.Count - Assert-AreEqual $rid.Name $newOperation.TemplateParameters[0].Name - Assert-AreEqual $rid.Description $newOperation.TemplateParameters[0].Description - Assert-AreEqual $rid.Type $newOperation.TemplateParameters[0].Type - Assert-AreEqual $query.Name $newOperation.TemplateParameters[1].Name - Assert-AreEqual $query.Description $newOperation.TemplateParameters[1].Description - Assert-AreEqual $query.Type $newOperation.TemplateParameters[1].Type - - Assert-NotNull $newOperation.Request - Assert-AreEqual $request.Description $newOperation.Request.Description - Assert-NotNull $newOperation.Request.QueryParameters - Assert-AreEqual 1 $newOperation.Request.QueryParameters.Count - Assert-AreEqual $dummyQp.Name $newOperation.Request.QueryParameters[0].Name - Assert-AreEqual $dummyQp.Description $newOperation.Request.QueryParameters[0].Description - Assert-AreEqual $dummyQp.Type $newOperation.Request.QueryParameters[0].Type - Assert-AreEqual $dummyQp.Required $newOperation.Request.QueryParameters[0].Required - Assert-AreEqual $dummyQp.DefaultValue $newOperation.Request.QueryParameters[0].DefaultValue - - Assert-AreEqual 1 $newOperation.Request.Headers.Count - Assert-AreEqual $header.Name $newOperation.Request.Headers[0].Name - Assert-AreEqual $header.Description $newOperation.Request.Headers[0].Description - Assert-AreEqual $header.Type $newOperation.Request.Headers[0].Type - Assert-AreEqual $header.Required $newOperation.Request.Headers[0].Required - Assert-AreEqual $header.DefaultValue $newOperation.Request.Headers[0].DefaultValue - - Assert-NotNull $newOperation.Responses - Assert-AreEqual 1 $newOperation.Responses.Count - Assert-AreEqual $newOperationResponseStatusCode $newOperation.Responses[0].StatusCode - Assert-AreEqual $newOperationResponseDescription $newOperation.Responses[0].Description - Assert-NotNull $newOperation.Responses[0].Representations - Assert-AreEqual 1 $newOperation.Responses[0].Representations.Count - Assert-AreEqual $newOperationResponseRepresentationContentType $newOperation.Responses[0].Representations[0].ContentType - Assert-AreEqual $newOperationResponseRepresentationSample $newOperation.Responses[0].Representations[0].Sample - - #change operation - - $newOperationName = getAssetName - $newOperationMethod = "PUT" - $newperationUrlTemplate = "/resource/{xrid}?q={xquery}" - $newOperationDescription = getAssetName - $newOperationRequestDescription = getAssetName - - $newOperationRequestHeaderParamName = getAssetName - $newOperationRequestHeaderParamDescr = getAssetName - $newOperationRequestHeaderParamIsRequired = $TRUE - $newOperationRequestHeaderParamDefaultValue = getAssetName - $newOperationRequestHeaderParamType = "string" - - $newOperationRequestParmName = getAssetName - $newOperationRequestParamDescr = getAssetName - $newOperationRequestParamIsRequired = $TRUE - $newOperationRequestParamDefaultValue = getAssetName - $newOperationRequestParamType = "string" - - $newOperationRequestRepresentationContentType = "application/json" - $newOperationRequestRepresentationSample = getAssetName - - $newOperationResponseDescription = getAssetName - $newOperationResponseStatusCode = 1980785443; - $newOperationResponseRepresentationContentType = getAssetName - $newOperationResponseRepresentationSample = getAssetName - - #create parameters declared in UrlTemplate - $rid = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $rid.Name = "xrid" - $rid.Description = "Resource identifier modified" - $rid.Type = "string" - - $query = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $query.Name = "xquery" - $query.Description = "Query string modified" - $query.Type = "string" - - #create request - $request = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRequest - $request.Description = "Create/update resource request modified" - - #create query parameters for the request - $dummyQp = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $dummyQp.Name = $newOperationRequestParmName - $dummyQp.Description = $newOperationRequestParamDescr - $dummyQp.Type = $newOperationRequestParamType - $dummyQp.Required = $newOperationRequestParamIsRequired - $dummyQp.DefaultValue = $newOperationRequestParamDefaultValue - $dummyQp.Values = @($newOperationRequestParamDefaultValue) - $request.QueryParameters = @($dummyQp) - - #create headers for the request - $header = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementParameter - $header.Name = $newOperationRequestHeaderParamName - $header.Description = $newOperationRequestHeaderParamDescr - $header.DefaultValue = $newOperationRequestHeaderParamDefaultValue - $header.Values = @($newOperationRequestHeaderParamDefaultValue) - $header.Type = $newOperationRequestHeaderParamType - $header.Required = $newOperationRequestHeaderParamIsRequired - $request.Headers = @($header) - - #create request representation - $requestRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation - $requestRepresentation.ContentType = $newOperationRequestRepresentationContentType - $requestRepresentation.Sample = $newOperationRequestRepresentationSample - $request.Representations = @($requestRepresentation) - - #create response - $response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse - $response.StatusCode = $newOperationResponseStatusCode - $response.Description = $newOperationResponseDescription - - #create response representation - $responseRepresentation = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementRepresentation - $responseRepresentation.ContentType = $newOperationResponseRepresentationContentType - $responseRepresentation.Sample = $newOperationResponseRepresentationSample - $response.Representations = @($responseRepresentation) - - $newOperation = Set-AzureApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName ` - –Method $newOperationMethod –UrlTemplate $newperationUrlTemplate –Description $newOperationDescription –TemplateParameters @($rid, $query) –Request $request –Responses @($response) -PassThru - - Assert-AreEqual $api.ApiId $newOperation.ApiId - Assert-AreEqual $newOperationId $newOperation.OperationId - Assert-AreEqual $newOperationName $newOperation.Name - Assert-AreEqual $newOperationMethod $newOperation.Method - Assert-AreEqual $newperationUrlTemplate $newOperation.UrlTemplate - Assert-AreEqual $newOperationDescription $newOperation.Description - - Assert-NotNull $newOperation.TemplateParameters - Assert-AreEqual 2 $newOperation.TemplateParameters.Count - Assert-AreEqual $rid.Name $newOperation.TemplateParameters[0].Name - Assert-AreEqual $rid.Description $newOperation.TemplateParameters[0].Description - Assert-AreEqual $rid.Type $newOperation.TemplateParameters[0].Type - Assert-AreEqual $query.Name $newOperation.TemplateParameters[1].Name - Assert-AreEqual $query.Description $newOperation.TemplateParameters[1].Description - Assert-AreEqual $query.Type $newOperation.TemplateParameters[1].Type - - Assert-NotNull $newOperation.Request - Assert-AreEqual $request.Description $newOperation.Request.Description - Assert-NotNull $newOperation.Request.QueryParameters - Assert-AreEqual 1 $newOperation.Request.QueryParameters.Count - Assert-AreEqual $dummyQp.Name $newOperation.Request.QueryParameters[0].Name - Assert-AreEqual $dummyQp.Description $newOperation.Request.QueryParameters[0].Description - Assert-AreEqual $dummyQp.Type $newOperation.Request.QueryParameters[0].Type - Assert-AreEqual $dummyQp.Required $newOperation.Request.QueryParameters[0].Required - Assert-AreEqual $dummyQp.DefaultValue $newOperation.Request.QueryParameters[0].DefaultValue - - Assert-AreEqual 1 $newOperation.Request.Headers.Count - Assert-AreEqual $header.Name $newOperation.Request.Headers[0].Name - Assert-AreEqual $header.Description $newOperation.Request.Headers[0].Description - Assert-AreEqual $header.Type $newOperation.Request.Headers[0].Type - Assert-AreEqual $header.Required $newOperation.Request.Headers[0].Required - Assert-AreEqual $header.DefaultValue $newOperation.Request.Headers[0].DefaultValue - - Assert-NotNull $newOperation.Responses - Assert-AreEqual 1 $newOperation.Responses.Count - Assert-AreEqual $newOperationResponseStatusCode $newOperation.Responses[0].StatusCode - Assert-AreEqual $newOperationResponseDescription $newOperation.Responses[0].Description - Assert-NotNull $newOperation.Responses[0].Representations - Assert-AreEqual 1 $newOperation.Responses[0].Representations.Count - Assert-AreEqual $newOperationResponseRepresentationContentType $newOperation.Responses[0].Representations[0].ContentType - Assert-AreEqual $newOperationResponseRepresentationSample $newOperation.Responses[0].Representations[0].Sample - } - finally - { - #remove created operation - $removed = Remove-AzureApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId -Force -PassThru - Assert-True {$removed} - - $operation = $null - try - { - # check it was removed - $operation = Get-AzureApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId - } - catch - { - } - - Assert-Null $operation - } -} - -<# -.SYNOPSIS -Tests CRUD operations of Product. -#> -function Product-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all products - $products = Get-AzureApiManagementProduct -Context $context - - # there should be 2 products - Assert-AreEqual 2 $products.Count - - $found = 0 - for ($i = 0; $i -lt $products.Count; $i++) - { - Assert-NotNull $products[$i].ProductId - Assert-NotNull $products[$i].Description - Assert-AreEqual Published $products[$i].State - - if($products[$i].Title -eq 'Starter') - { - $found += 1; - } - - if($products[$i].Title -eq 'Unlimited') - { - $found += 1; - } - } - Assert-AreEqual 2 $found - - #create new product - $productId = getAssetName - try - { - $productName = getAssetName - $productApprovalRequired = $TRUE - $productDescription = getAssetName - $notificationPeriod = "M2" - $productState = "Published" - $subscriptionPeriod = "Y1" - $productSubscriptionRequired = $TRUE - $productSubscriptionsLimit = 10 - $productTerms = getAssetName - - $newProduct = New-AzureApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription ` - –LegalTerms $productTerms –NotificationPeriod $notificationPeriod –SubscriptionPeriod $subscriptionPeriod –SubscriptionRequired $productSubscriptionRequired ` - –ApprovalRequired $productApprovalRequired –State $productState -SubscriptionsLimit $productSubscriptionsLimit - - Assert-AreEqual $productId $newProduct.ProductId - Assert-AreEqual $productName $newProduct.Title - Assert-AreEqual $productApprovalRequired $newProduct.ApprovalRequired - Assert-AreEqual $productDescription $newProduct.Description - Assert-AreEqual $notificationPeriod $newProduct.NotificationPeriod - Assert-AreEqual "NotPublished" $newProduct.State #product must contain at least one api to be published - Assert-AreEqual $subscriptionPeriod $newProduct.SubscriptionPeriod - Assert-AreEqual $productSubscriptionRequired $newProduct.SubscriptionRequired - Assert-AreEqual $productSubscriptionsLimit $newProduct.SubscriptionsLimit - Assert-AreEqual $productTerms $newProduct.LegalTerms - - #add api to product - $apis = Get-AzureApiManagementApi -Context $context -ProductId $productId - Assert-AreEqual 0 $apis.Count - - Get-AzureApiManagementApi -Context $context | Add-AzureApiManagementApiToProduct -Context $context -ProductId $productId - - $apis = Get-AzureApiManagementApi -Context $context -ProductId $productId - Assert-AreEqual 1 $apis.Count - - #modify product - $productName = getAssetName - $productApprovalRequired = $FALSE - $productDescription = getAssetName - $notificationPeriod = "M5" - $productState = "Published" - $subscriptionPeriod = "Y2" - $productSubscriptionRequired = $TRUE - $productSubscriptionsLimit = 20 - $productTerms = getAssetName - - $newProduct = Set-AzureApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription ` - –LegalTerms $productTerms –NotificationPeriod $notificationPeriod –SubscriptionPeriod $subscriptionPeriod -ApprovalRequired $productApprovalRequired ` - –SubscriptionRequired $TRUE –State $productState -SubscriptionsLimit $productSubscriptionsLimit -PassThru - - Assert-AreEqual $productId $newProduct.ProductId - Assert-AreEqual $productName $newProduct.Title - Assert-AreEqual $productApprovalRequired $newProduct.ApprovalRequired - Assert-AreEqual $productDescription $newProduct.Description - Assert-AreEqual $notificationPeriod $newProduct.NotificationPeriod - Assert-AreEqual $productState $newProduct.State - Assert-AreEqual $subscriptionPeriod $newProduct.SubscriptionPeriod - Assert-AreEqual $productSubscriptionRequired $newProduct.SubscriptionRequired - Assert-AreEqual $productSubscriptionsLimit $newProduct.SubscriptionsLimit - Assert-AreEqual $productTerms $newProduct.LegalTerms - - #remove api from product - Get-AzureApiManagementApi -Context $context | Remove-AzureApiManagementApiFromProduct -Context $context -ProductId $productId - - $apis = Get-AzureApiManagementApi -Context $context -ProductId $productId - Assert-AreEqual 0 $apis.Count - } - finally - { - # remove created product - $removed = Remove-AzureApiManagementProduct -Context $context -ProductId $productId -DeleteSubscriptions -PassThru -Force - Assert-True {$removed} - } -} - -<# -.SYNOPSIS -Tests CRUD operations of Subscription. -#> -function Subscription-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all subscriptions - $subs = Get-AzureApiManagementSubscription -Context $context - - Assert-AreEqual 2 $subs.Count - for($i = 0; $i -lt $subs.Count; $i++) - { - Assert-NotNull $subs[$i] - Assert-NotNull $subs[$i].UserId - Assert-NotNull $subs[$i].SubscriptionId - Assert-NotNull $subs[$i].ProductId - Assert-NotNull $subs[$i].State - Assert-NotNull $subs[$i].CreatedDate - Assert-NotNull $subs[$i].PrimaryKey - Assert-NotNull $subs[$i].SecondaryKey - - # get by id - $sub = Get-AzureApiManagementSubscription -Context $context -SubscriptionId $subs[$i].SubscriptionId - - Assert-AreEqual $subs[$i].SubscriptionId $sub.SubscriptionId - Assert-AreEqual $subs[$i].UserId $sub.UserId - Assert-AreEqual $subs[$i].ProductId $sub.ProductId - Assert-AreEqual $subs[$i].State $sub.State - Assert-AreEqual $subs[$i].CreatedDate $sub.CreatedDate - Assert-AreEqual $subs[$i].PrimaryKey $sub.PrimaryKey - Assert-AreEqual $subs[$i].SecondaryKey $sub.SecondaryKey - } - - # update product to accept unlimited number or subscriptions - Set-AzureApiManagementProduct -Context $context -ProductId $subs[0].ProductId -SubscriptionsLimit 100 - - # add new subscription - $newSubscriptionId = getAssetName - try - { - $newSubscriptionName = getAssetName - $newSubscriptionPk = getAssetName - $newSubscriptionSk = getAssetName - $newSubscriptionState = "Active" - - $sub = New-AzureApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -UserId $subs[0].UserId ` - -ProductId $subs[0].ProductId -Name $newSubscriptionName -PrimaryKey $newSubscriptionPk -SecondaryKey $newSubscriptionSk ` - -State $newSubscriptionState - - Assert-AreEqual $newSubscriptionId $sub.SubscriptionId - Assert-AreEqual $newSubscriptionName $sub.Name - Assert-AreEqual $newSubscriptionPk $sub.PrimaryKey - Assert-AreEqual $newSubscriptionSk $sub.SecondaryKey - Assert-AreEqual $newSubscriptionState $sub.State - - # update subscription - $patchedName = getAssetName - $patchedPk = getAssetName - $patchedSk = getAssetName - $patchedExpirationDate = [DateTime]::Parse('2025-7-20') - - $sub = Set-AzureApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Name $patchedName ` - -PrimaryKey $patchedPk -SecondaryKey $patchedSk -ExpiresOn $patchedExpirationDate -PassThru - - Assert-AreEqual $newSubscriptionId $sub.SubscriptionId - Assert-AreEqual $patchedName $sub.Name - Assert-AreEqual $patchedPk $sub.PrimaryKey - Assert-AreEqual $patchedSk $sub.SecondaryKey - Assert-AreEqual $newSubscriptionState $sub.State - Assert-AreEqual $patchedExpirationDate $sub.ExpirationDate - } - finally - { - # remove created subscription - $removed = Remove-AzureApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Force -PassThru - Assert-True {$removed} - - $sub = $null - try - { - # check it was removed - $sub = Get-AzureApiManagementSubscripiton -Context $context -SubscriptionId $newSubscriptionId - } - catch - { - } - - Assert-Null $sub - } -} - -<# -.SYNOPSIS -Tests CRUD operations of User. -#> -function User-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all users - $users = Get-AzureApiManagementUser -Context $context - - Assert-AreEqual 1 $users.Count - Assert-NotNull $users[0].UserId - Assert-NotNull $users[0].FirstName - Assert-NotNull $users[0].LastName - Assert-NotNull $users[0].Email - Assert-NotNull $users[0].State - Assert-NotNull $users[0].RegistrationDate - - # get by id - $user = Get-AzureApiManagementUser -Context $context -UserId $users[0].UserId - - Assert-AreEqual $users[0].UserId $user.UserId - Assert-AreEqual $users[0].FirstName $user.FirstName - Assert-AreEqual $users[0].LastName $user.LastName - Assert-AreEqual $users[0].Email $user.Email - Assert-AreEqual $users[0].State $user.State - Assert-AreEqual $users[0].RegistrationDate $user.RegistrationDate - - # create user - $userId = getAssetName - try - { - $userEmail = "contoso@microsoft.com" - $userFirstName = getAssetName - $userLastName = getAssetName - $userPassword = getAssetName - $userNote = getAssetName - $userSate = "Active" - - $user = New-AzureApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName ` - -Password $userPassword -State $userSate -Note $userNote -Email $userEmail - - Assert-AreEqual $userId $user.UserId - Assert-AreEqual $userEmail $user.Email - Assert-AreEqual $userFirstName $user.FirstName - Assert-AreEqual $userLastName $user.LastName - Assert-AreEqual $userNote $user.Note - Assert-AreEqual $userSate $user.State - - #update user - $userEmail = "changed.contoso@microsoft.com" - $userFirstName = getAssetName - $userLastName = getAssetName - $userPassword = getAssetName - $userNote = getAssetName - $userSate = "Active" - - $user = Set-AzureApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName ` - -Password $userPassword -State $userSate -Note $userNote -PassThru -Email $userEmail - - Assert-AreEqual $userId $user.UserId - Assert-AreEqual $userEmail $user.Email - Assert-AreEqual $userFirstName $user.FirstName - Assert-AreEqual $userLastName $user.LastName - Assert-AreEqual $userNote $user.Note - Assert-AreEqual $userSate $user.State - - #generate SSO URL for the user - $ssoUrl = Get-AzureApiManagementUserSsoUrl -Context $context -UserId $userId - - Assert-NotNull $ssoUrl - Assert-AreEqual $true [System.Uri]::IsWellFormedUriString($ssoUrl, 'Absolute') - } - finally - { - # remove created user - $removed = Remove-AzureApiManagementUser -Context $context -UserId $userId -DeleteSubscriptions -Force -PassThru - Assert-True {$removed} - - $user = $null - try - { - # check it was removed - $user = Get-AzureApiManagementUser -Context $context -UserId $userId - } - catch - { - } - - Assert-Null $user - } -} - -<# -.SYNOPSIS -Tests CRUD operations of Group. -#> -function Group-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all groups - $groups = Get-AzureApiManagementGroup -Context $context - - Assert-AreEqual 3 $groups.Count - for($i = 0; $i -lt 3; $i++) - { - Assert-NotNull $groups[$i].GroupId - Assert-NotNull $groups[$i].Name - Assert-NotNull $groups[$i].Description - Assert-NotNull $groups[$i].System - Assert-NotNull $groups[$i].Type - - # get by id - $group = Get-AzureApiManagementGroup -Context $context -GroupId $groups[$i].GroupId - - Assert-AreEqual $group.GroupId $groups[$i].GroupId - Assert-AreEqual $group.Name $groups[$i].Name - Assert-AreEqual $group.Description $groups[$i].Description - Assert-AreEqual $group.System $groups[$i].System - Assert-AreEqual $group.Type $groups[$i].Type - } - - # create group with default parameters - $groupId = getAssetName - try - { - $newGroupName = getAssetName - $newGroupDescription = getAssetName - - $group = New-AzureApiManagementGroup -GroupId $groupId -Context $context -Name $newGroupName -Description $newGroupDescription - - Assert-AreEqual $groupId $group.GroupId - Assert-AreEqual $newGroupName $group.Name - Assert-AreEqual $newGroupDescription $group.Description - Assert-AreEqual $false $group.System - Assert-AreEqual 'Custom' $group.Type - - # update group - $newGroupName = getAssetName - $newGroupDescription = getAssetName - - $group = Set-AzureApiManagementGroup -Context $context -GroupId $groupId -Name $newGroupName -Description $newGroupDescription -PassThru - - Assert-AreEqual $groupId $group.GroupId - Assert-AreEqual $newGroupName $group.Name - Assert-AreEqual $newGroupDescription $group.Description - Assert-AreEqual $false $group.System - Assert-AreEqual 'Custom' $group.Type - - # add Product to Group - $product = Get-AzureApiManagementProduct -Context $context | Select -First 1 - Add-AzureApiManagementProductToGroup -Context $context -GroupId $groupId -ProductId $product.ProductId - - #check group products - $groups = Get-AzureApiManagementGroup -Context $context -ProductId $product.ProductId - Assert-AreEqual 4 $groups.Count - - # remove Product to Group - Remove-AzureApiManagementProductFromGroup -Context $context -GroupId $groupId -ProductId $product.ProductId - - #check group products - $groups = Get-AzureApiManagementGroup -Context $context -ProductId $product.ProductId - Assert-AreEqual 3 $groups.Count - - # add User to Group - $user = Get-AzureApiManagementUser -Context $context | Select -First 1 - Add-AzureApiManagementUserToGroup -Context $context -GroupId $groupId -UserId $user.UserId - - $groups = Get-AzureApiManagementGroup -Context $context -UserId $user.UserId - Assert-AreEqual 3 $groups.Count - - #remove user from group - Remove-AzureApiManagementUserFromGroup -Context $context -GroupId $groupId -UserId $user.UserId - $groups = Get-AzureApiManagementGroup -Context $context -UserId $user.UserId - Assert-AreEqual 2 $groups.Count - } - finally - { - # remove created group - $removed = Remove-AzureApiManagementGroup -Context $context -GroupId $groupId -Force -PassThru - Assert-True {$removed} - - $group = $null - try - { - # check it was removed - $group = Get-AzureApiManagementGroup -Context $context -GroupId $groupId - } - catch - { - } - - Assert-Null $group - } -} - -<# -.SYNOPSIS -Tests CRUD operations of Policy. -#> -function Policy-CrudTest -{ -Param($resourceGroupName, $serviceName) - - # load from file get to pipeline scenarios - - $tenantValidPath = "./Resources/TenantValidPolicy.xml" - $productValidPath = "./Resources/ProductValidPolicy.xml" - $apiValidPath = "./Resources/ApiValidPolicy.xml" - $operationValidPath = "./Resources/OperationValidPolicy.xml" - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # test tenant policy - try - { - $set = Set-AzureApiManagementPolicy -Context $context -PolicyFilePath $tenantValidPath -PassThru - Assert-AreEqual $true $set - - $policy = Get-AzureApiManagementPolicy -Context $context - Assert-NotNull $policy - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context - Assert-Null $policy - } - - # test product policy - $product = Get-AzureApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1 - try - { - $set = Set-AzureApiManagementPolicy -Context $context -PolicyFilePath $productValidPath -ProductId $product.ProductId -PassThru - Assert-AreEqual $true $set - - $policy = Get-AzureApiManagementPolicy -Context $context -ProductId $product.ProductId - Assert-NotNull $policy - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context -ProductId $product.ProductId - Assert-Null $policy - } - - # test api policy - $api = Get-AzureApiManagementApi -Context $context | Select -First 1 - try - { - $set = Set-AzureApiManagementPolicy -Context $context -PolicyFilePath $apiValidPath -ApiId $api.ApiId -PassThru - Assert-AreEqual $true $set - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId - Assert-NotNull $policy - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId - Assert-Null $policy - } - - # test operation policy - $api = Get-AzureApiManagementApi -Context $context | Select -First 1 - $operation = Get-AzureApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1 - try - { - $set = Set-AzureApiManagementPolicy -Context $context -PolicyFilePath $operationValidPath -ApiId $api.ApiId ` - -OperationId $operation.OperationId -PassThru - Assert-AreEqual $true $set - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId - Assert-NotNull $policy - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId - Assert-Null $policy - } - - # load from string save to file scenarios - - # test tenant policy - $tenantValid = 'bbybyxxbbcczc' - try - { - $set = Set-AzureApiManagementPolicy -Context $context -Policy $tenantValid -PassThru - Assert-AreEqual $true $set - - Get-AzureApiManagementPolicy -Context $context -SaveAs 'TenantPolicy.xml' -Force - $exists = [System.IO.File]::Exists('TenantPolicy.xml') - $policy = gc 'TenantPolicy.xml' - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context - Assert-Null $policy - } - - # test product policy - $productValid = '' - $product = Get-AzureApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1 - try - { - $set = Set-AzureApiManagementPolicy -Context $context -Policy $productValid -ProductId $product.ProductId -PassThru - Assert-AreEqual $true $set - - Get-AzureApiManagementPolicy -Context $context -ProductId $product.ProductId -SaveAs 'ProductPolicy.xml' -Force - $exists = [System.IO.File]::Exists('ProductPolicy.xml') - $policy = gc 'ProductPolicy.xml' - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context -ProductId $product.ProductId - Assert-Null $policy - - try - { - rm 'ProductPolicy.xml' - } - catch{} - } - - # test api policy - $apiValid = 'versionAcceptAccept-Charset' - $api = Get-AzureApiManagementApi -Context $context | Select -First 1 - try - { - $set = Set-AzureApiManagementPolicy -Context $context -Policy $apiValid -ApiId $api.ApiId -PassThru - Assert-AreEqual $true $set - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -SaveAs 'ApiPolicy.xml' - $exists = [System.IO.File]::Exists('ApiPolicy.xml') - $policy = gc 'ApiPolicy.xml' - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId - Assert-Null $policy - - try - { - rm 'ApiPolicy.xml' - } - catch{} - } - - # test operation policy - $operationValid = '' - $api = Get-AzureApiManagementApi -Context $context | Select -First 1 - $operation = Get-AzureApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1 - try - { - $set = Set-AzureApiManagementPolicy -Context $context -Policy $operationValid -ApiId $api.ApiId ` - -OperationId $operation.OperationId -PassThru - Assert-AreEqual $true $set - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId ` - -SaveAs 'OperationPolicy.xml' - $exists = [System.IO.File]::Exists('OperationPolicy.xml') - $policy = gc 'OperationPolicy.xml' - Assert-True {$policy -like '**'} - } - finally - { - $removed = Remove-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force - Assert-AreEqual $true $removed - - $policy = Get-AzureApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId - Assert-Null $policy - - try - { - rm 'OperationPolicy.xml' - } - catch{} - } -} - -<# -.SYNOPSIS -Tests CRUD operations of Certificate. -#> -function Certificate-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all certificates - $certificates = Get-AzureApiManagementCertificate -Context $context - - Assert-AreEqual 0 $certificates.Count - - $certPath = './Resources/testcertificate.pfx' - $certPassword = 'powershelltest' - $certThumbprint = '51A702569BADEDB90A75141B070F2D4B5DDFA447' - $certSubject = 'CN=ailn.redmond.corp.microsoft.com' - - $certId = getAssetName - try - { - # upload certificate - $cert = New-AzureApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword - - Assert-AreEqual $certId $cert.CertificateId - Assert-AreEqual $certThumbprint $cert.Thumbprint - Assert-AreEqual $certSubject $cert.Subject - - # get certificate - $cert = Get-AzureApiManagementCertificate -Context $context -CertificateId $certId - - Assert-AreEqual $certId $cert.CertificateId - Assert-AreEqual $certThumbprint $cert.Thumbprint - Assert-AreEqual $certSubject $cert.Subject - - # update certificate - $cert = Set-AzureApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword -PassThru - - Assert-AreEqual $certId $cert.CertificateId - Assert-AreEqual $certThumbprint $cert.Thumbprint - Assert-AreEqual $certSubject $cert.Subject - - # list certificates - $certificates = Get-AzureApiManagementCertificate -Context $context - Assert-AreEqual 1 $certificates.Count - - Assert-AreEqual $certId $certificates[0].CertificateId - Assert-AreEqual $certThumbprint $certificates[0].Thumbprint - Assert-AreEqual $certSubject $certificates[0].Subject - } - finally - { - # remove uploaded certificate - $removed = Remove-AzureApiManagementCertificate -Context $context -CertificateId $certId -Force -PassThru - Assert-True {$removed} - - $cert = $null - try - { - # check it was removed - $cert = Get-AzureApiManagementCertificate -Context $context -CertificateId $certId - } - catch - { - } - - Assert-Null $cert - } -} - -<# -.SYNOPSIS -Tests CRUD operations of AuthorizationServer. -#> -function AuthorizationServer-CrudTest -{ -Param($resourceGroupName, $serviceName) - - $context = New-AzureApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName - - # get all authoriaztion servers - $servers = Get-AzureApiManagementAuthorizationServer -Context $context - - Assert-AreEqual 0 $servers.Count - - # create server - $serverId = getAssetName - try - { - $name = getAssetName - $defaultScope = getAssetName - $authorizationEndpoint = 'https://contoso.com/auth' - $tokenEndpoint = 'https://contoso.com/token' - $clientRegistrationEndpoint = 'https://contoso.com/clients/reg' - $grantTypes = @('AuthorizationCode', 'Implicit', 'ResourceOwnerPassword') - $authorizationMethods = @('Post', 'Get') - $bearerTokenSendingMethods = @('AuthorizationHeader', 'Query') - $clientId = getAssetName - $description = getAssetName - $clientAuthenticationMethods = @('Basic') - $clientSecret = getAssetName - $resourceOwnerPassword = getAssetName - $resourceOwnerUsername = getAssetName - $supportState = $true - $tokenBodyParameters = @{'tokenname'='tokenvalue'} - - $server = New-AzureApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description ` - -ClientRegistrationPageUrl $clientRegistrationEndpoint -AuthorizationEndpointUrl $authorizationEndpoint ` - -TokenEndpointUrl $tokenEndpoint -ClientId $clientId -ClientSecret $clientSecret -AuthorizationRequestMethods $authorizationMethods ` - -GrantTypes $grantTypes -ClientAuthenticationMethods $clientAuthenticationMethods -TokenBodyParameters $tokenBodyParameters ` - -SupportState $supportState -DefaultScope $defaultScope -AccessTokenSendingMethods $bearerTokenSendingMethods ` - -ResourceOwnerUsername $resourceOwnerUsername -ResourceOwnerPassword $resourceOwnerPassword - - Assert-AreEqual $serverId $server.ServerId - Assert-AreEqual $name $server.Name - Assert-AreEqual $defaultScope $server.DefaultScope - Assert-AreEqual $authorizationEndpoint $server.AuthorizationEndpointUrl - Assert-AreEqual $tokenEndpoint $server.TokenEndpointUrl - Assert-AreEqual $clientRegistrationEndpoint $server.ClientRegistrationPageUrl - Assert-AreEqual $grantTypes.Count $server.GrantTypes.Count - Assert-AreEqual $grantTypes[0] $server.GrantTypes[0] - Assert-AreEqual $grantTypes[1] $server.GrantTypes[1] - Assert-AreEqual $grantTypes[2] $server.GrantTypes[2] - Assert-AreEqual $authorizationMethods.Count $server.AuthorizationRequestMethods.Count - Assert-AreEqual $authorizationMethods[0] $server.AuthorizationRequestMethods[0] - Assert-AreEqual $authorizationMethods[1] $server.AuthorizationRequestMethods[1] - Assert-AreEqual $bearerTokenSendingMethods.Count $server.AccessTokenSendingMethods.Count - Assert-AreEqual $bearerTokenSendingMethods[0] $server.AccessTokenSendingMethods[0] - Assert-AreEqual $bearerTokenSendingMethods[1] $server.AccessTokenSendingMethods[1] - Assert-AreEqual $clientId $server.ClientId - Assert-AreEqual $description $server.Description - Assert-AreEqual $clientAuthenticationMethods.Count $server.ClientAuthenticationMethods.Count - Assert-AreEqual $clientAuthenticationMethods[0] $server.ClientAuthenticationMethods[0] - Assert-AreEqual $clientSecret $server.ClientSecret - Assert-AreEqual $resourceOwnerPassword $server.ResourceOwnerPassword - Assert-AreEqual $resourceOwnerUsername $server.ResourceOwnerUsername - Assert-AreEqual $supportState $server.SupportState - Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count - - $server = Get-AzureApiManagementAuthorizationServer -Context $context -ServerId $serverId - - Assert-AreEqual $serverId $server.ServerId - Assert-AreEqual $name $server.Name - Assert-AreEqual $defaultScope $server.DefaultScope - Assert-AreEqual $authorizationEndpoint $server.AuthorizationEndpointUrl - Assert-AreEqual $tokenEndpoint $server.TokenEndpointUrl - Assert-AreEqual $clientRegistrationEndpoint $server.ClientRegistrationPageUrl - Assert-AreEqual $grantTypes.Count $server.GrantTypes.Count - Assert-AreEqual $grantTypes[0] $server.GrantTypes[0] - Assert-AreEqual $grantTypes[1] $server.GrantTypes[1] - Assert-AreEqual $grantTypes[2] $server.GrantTypes[2] - Assert-AreEqual $authorizationMethods.Count $server.AuthorizationRequestMethods.Count - Assert-AreEqual $authorizationMethods[0] $server.AuthorizationRequestMethods[0] - Assert-AreEqual $authorizationMethods[1] $server.AuthorizationRequestMethods[1] - Assert-AreEqual $bearerTokenSendingMethods.Count $server.AccessTokenSendingMethods.Count - Assert-AreEqual $bearerTokenSendingMethods[0] $server.AccessTokenSendingMethods[0] - Assert-AreEqual $bearerTokenSendingMethods[1] $server.AccessTokenSendingMethods[1] - Assert-AreEqual $clientId $server.ClientId - Assert-AreEqual $description $server.Description - Assert-AreEqual $clientAuthenticationMethods.Count $server.ClientAuthenticationMethods.Count - Assert-AreEqual $clientAuthenticationMethods[0] $server.ClientAuthenticationMethods[0] - Assert-AreEqual $clientSecret $server.ClientSecret - Assert-AreEqual $resourceOwnerPassword $server.ResourceOwnerPassword - Assert-AreEqual $resourceOwnerUsername $server.ResourceOwnerUsername - Assert-AreEqual $supportState $server.SupportState - Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count - - # update server - $name = getAssetName - $defaultScope = getAssetName - $authorizationEndpoint = 'https://contoso.com/authv2' - $tokenEndpoint = 'https://contoso.com/tokenv2' - $clientRegistrationEndpoint = 'https://contoso.com/clients/regv2' - $grantTypes = @('AuthorizationCode', 'Implicit', 'ClientCredentials') - $authorizationMethods = @('Get') - $bearerTokenSendingMethods = @('AuthorizationHeader') - $clientId = getAssetName - $description = getAssetName - $clientAuthenticationMethods = @('Basic') - $clientSecret = getAssetName - $supportState = $false - $tokenBodyParameters = @{'tokenname1'='tokenvalue1'} - - $server = Set-AzureApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description ` - -ClientRegistrationPageUrl $clientRegistrationEndpoint -AuthorizationEndpointUrl $authorizationEndpoint ` - -TokenEndpointUrl $tokenEndpoint -ClientId $clientId -ClientSecret $clientSecret -AuthorizationRequestMethods $authorizationMethods ` - -GrantTypes $grantTypes -ClientAuthenticationMethods $clientAuthenticationMethods -TokenBodyParameters $tokenBodyParameters ` - -SupportState $supportState -DefaultScope $defaultScope -AccessTokenSendingMethods $bearerTokenSendingMethods -PassThru - - Assert-AreEqual $serverId $server.ServerId - Assert-AreEqual $name $server.Name - Assert-AreEqual $defaultScope $server.DefaultScope - Assert-AreEqual $authorizationEndpoint $server.AuthorizationEndpointUrl - Assert-AreEqual $tokenEndpoint $server.TokenEndpointUrl - Assert-AreEqual $clientRegistrationEndpoint $server.ClientRegistrationPageUrl - Assert-AreEqual $grantTypes.Count $server.GrantTypes.Count - Assert-AreEqual $grantTypes[0] $server.GrantTypes[0] - Assert-AreEqual $grantTypes[1] $server.GrantTypes[1] - Assert-AreEqual $grantTypes[2] $server.GrantTypes[2] - Assert-AreEqual $authorizationMethods.Count $server.AuthorizationRequestMethods.Count - Assert-AreEqual $authorizationMethods[0] $server.AuthorizationRequestMethods[0] - Assert-AreEqual $bearerTokenSendingMethods.Count $server.AccessTokenSendingMethods.Count - Assert-AreEqual $bearerTokenSendingMethods[0] $server.AccessTokenSendingMethods[0] - Assert-AreEqual $clientId $server.ClientId - Assert-AreEqual $description $server.Description - Assert-AreEqual $clientAuthenticationMethods.Count $server.ClientAuthenticationMethods.Count - Assert-AreEqual $clientAuthenticationMethods[0] $server.ClientAuthenticationMethods[0] - Assert-AreEqual $clientSecret $server.ClientSecret - #Assert-AreEqual $resourceOwnerPassword $server.ResourceOwnerPassword - #Assert-AreEqual $resourceOwnerUsername $server.ResourceOwnerUsername - Assert-AreEqual $supportState $server.SupportState - Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count - - $server = Get-AzureApiManagementAuthorizationServer -Context $context -ServerId $serverId - - Assert-AreEqual $serverId $server.ServerId - Assert-AreEqual $name $server.Name - Assert-AreEqual $defaultScope $server.DefaultScope - Assert-AreEqual $authorizationEndpoint $server.AuthorizationEndpointUrl - Assert-AreEqual $tokenEndpoint $server.TokenEndpointUrl - Assert-AreEqual $clientRegistrationEndpoint $server.ClientRegistrationPageUrl - Assert-AreEqual $grantTypes.Count $server.GrantTypes.Count - Assert-AreEqual $grantTypes[0] $server.GrantTypes[0] - Assert-AreEqual $grantTypes[1] $server.GrantTypes[1] - Assert-AreEqual $grantTypes[2] $server.GrantTypes[2] - Assert-AreEqual $authorizationMethods.Count $server.AuthorizationRequestMethods.Count - Assert-AreEqual $authorizationMethods[0] $server.AuthorizationRequestMethods[0] - Assert-AreEqual $authorizationMethods[1] $server.AuthorizationRequestMethods[1] - Assert-AreEqual $bearerTokenSendingMethods.Count $server.AccessTokenSendingMethods.Count - Assert-AreEqual $bearerTokenSendingMethods[0] $server.AccessTokenSendingMethods[0] - Assert-AreEqual $bearerTokenSendingMethods[1] $server.AccessTokenSendingMethods[1] - Assert-AreEqual $clientId $server.ClientId - Assert-AreEqual $description $server.Description - Assert-AreEqual $clientAuthenticationMethods.Count $server.ClientAuthenticationMethods.Count - Assert-AreEqual $clientAuthenticationMethods[0] $server.ClientAuthenticationMethods[0] - Assert-AreEqual $clientSecret $server.ClientSecret - #Assert-AreEqual $resourceOwnerPassword $server.ResourceOwnerPassword - #Assert-AreEqual $resourceOwnerUsername $server.ResourceOwnerUsername - Assert-AreEqual $supportState $server.SupportState - Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count - } - finally - { - # remove created server - $removed = Remove-AzureApiManagementAuthorizationServer -Context $context -ServerId $serverId -Force -PassThru - Assert-True {$removed} - - $server = $null - try - { - # check it was removed - $server = Get-AzureApiManagementAuthorizationServer -Context $context -ServerId $serverId - } - catch - { - } - - Assert-Null $server - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTestsFixture.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTestsFixture.cs deleted file mode 100644 index 8489762fa9d9..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTestsFixture.cs +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests -{ - using System; - using Microsoft.Azure.Management.ApiManagement; - using Microsoft.Azure.Management.Resources; - using Microsoft.Azure.Test; - using Microsoft.WindowsAzure.Management; - - public class ApiManagementTestsFixture : TestsFixture - { - private ManagementClient _managmentClient; - private ResourceManagementClient _resourceManagementClient; - - public string Location { get; set; } - public string ResourceGroupName { get; set; } - public string ApiManagementServiceName { get; set; } - - public ManagementClient ManagmentClient - { - get { return _managmentClient ?? (_managmentClient = ApiManagementHelper.GetManagementClient()); } - } - - public ResourceManagementClient ResourceManagementClient - { - get { return _resourceManagementClient ?? (_resourceManagementClient = ApiManagementHelper.GetResourceManagementClient()); } - } - - public ApiManagementClient ApiManagementClient - { - get { return ApiManagementHelper.GetApiManagementClient(); } - } - - public ApiManagementTestsFixture() - { - try - { - TestUtilities.StartTest("ApiManagementTests", "CreateApiManagementService"); - - this.ResourceGroupName = this.ResourceManagementClient.TryGetResourceGroup(Location); - this.Location = "West US"; //this.ManagmentClient.TryGetLocation("West US"); - - if (string.IsNullOrWhiteSpace(ResourceGroupName)) - { - ResourceGroupName = TestUtilities.GenerateName("Api-Default"); - this.ResourceManagementClient.TryRegisterResourceGroup(Location, ResourceGroupName); - } - - ApiManagementServiceName = TestUtilities.GenerateName("hydraapimservice"); - this.ApiManagementClient.TryCreateApiService(ResourceGroupName, ApiManagementServiceName, Location); - } - catch (Exception) - { - Cleanup(); - throw; - } - finally - { - TestUtilities.EndTest(); - } - } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 deleted file mode 100644 index eb8f458bf182..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 +++ /dev/null @@ -1,55 +0,0 @@ -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -<# -.SYNOPSIS -Gets valid resource group name -#> -function Get-ResourceGroupName -{ - return getAssetName -} - -<# -.SYNOPSIS -Gets valid Api Management service name -#> -function Get-ApiManagementServiceName -{ - return getAssetName -} - -<# -.SYNOPSIS -Gets the default location for a provider -#> -function Get-ProviderLocation($provider) -{ - $locations = Get-ProviderLocations $provider - if ($locations -eq $null) { - "West US" - } else { - $locations[0] - } -} - -<# -.SYNOPSIS -Gets all locations for a provider -#> -function Get-ProviderLocations($provider) -{ - $location = Get-AzureLocation | where {$_.Name -eq $provider} - $location.Locations -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs deleted file mode 100644 index 7cc98ac7a590..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/TestsFixture.cs +++ /dev/null @@ -1,194 +0,0 @@ -namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Xml.Linq; - using Microsoft.Azure.Management.ApiManagement.Models; - using Microsoft.Azure.Management.Resources; - using Microsoft.Azure.Management.Resources.Models; - using Microsoft.Azure.Test; - using Microsoft.WindowsAzure.Management; - using Azure.Management.ApiManagement; - - public class TestsFixture : TestBase - { - public TestsFixture() - { - // place any initialization like environment settings here -#if DEBUG - //Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Record"); - - //Environment.SetEnvironmentVariable( - // "TEST_CSM_ORGID_AUTHENTICATION", - // "SubscriptionId=;Environment=;AADTenant="); - - //Environment.SetEnvironmentVariable( - // "TEST_ORGID_AUTHENTICATION", - // "SubscriptionId=;Environment="); -#endif - - TestUtilities.StartTest(); - try - { - UndoContext.Current.Start(); - - var resourceManagementClient = ApiManagementHelper.GetResourceManagementClient(); - resourceManagementClient.TryRegisterSubscriptionForResource(); - } - catch (Exception) - { - Cleanup(); - throw; - } - finally - { - TestUtilities.EndTest(); - } - } - - public void Dispose() - { - Cleanup(); - } - - protected void Cleanup() - { - UndoContext.Current.UndoAll(); - } - } - - public static class ApiManagementHelper - { - public static ApiManagementClient GetApiManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - public static ResourceManagementClient GetResourceManagementClient() - { - return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); - } - - public static ManagementClient GetManagementClient() - { - return TestBase.GetServiceClient(); - } - - private static void ThrowIfTrue(bool condition, string message) - { - if (condition) - { - throw new Exception(message); - } - } - - public static void TryRegisterSubscriptionForResource(this ResourceManagementClient resourceManagementClient, string providerName = "Microsoft.ApiManagement") - { - var reg = resourceManagementClient.Providers.Register(providerName); - ThrowIfTrue(reg == null, "_client.Providers.Register returned null."); - ThrowIfTrue(reg.StatusCode != HttpStatusCode.OK, string.Format("_client.Providers.Register returned with status code {0}", reg.StatusCode)); - - var resultAfterRegister = resourceManagementClient.Providers.Get(providerName); - ThrowIfTrue(resultAfterRegister == null, "_client.Providers.Get returned null."); - ThrowIfTrue(string.IsNullOrEmpty(resultAfterRegister.Provider.Id), "Provider.Id is null or empty."); - ThrowIfTrue(!providerName.Equals(resultAfterRegister.Provider.Namespace), string.Format("Provider name is not equal to {0}.", providerName)); - ThrowIfTrue(ProviderRegistrationState.Registered != resultAfterRegister.Provider.RegistrationState && - ProviderRegistrationState.Registering != resultAfterRegister.Provider.RegistrationState, - string.Format("Provider registration state was not 'Registered' or 'Registering', instead it was '{0}'", resultAfterRegister.Provider.RegistrationState)); - ThrowIfTrue(resultAfterRegister.Provider.ResourceTypes == null || resultAfterRegister.Provider.ResourceTypes.Count == 0, "Provider.ResourceTypes is empty."); - ThrowIfTrue(resultAfterRegister.Provider.ResourceTypes[0].Locations == null || resultAfterRegister.Provider.ResourceTypes[0].Locations.Count == 0, "Provider.ResourceTypes[0].Locations is empty."); - } - - public static string TryGetResourceGroup(this ResourceManagementClient resourceManagementClient, string location) - { - var resourceGroup = - resourceManagementClient.ResourceGroups - .List(new ResourceGroupListParameters()).ResourceGroups - .Where(group => string.IsNullOrWhiteSpace(location) || group.Location.Equals(location, StringComparison.OrdinalIgnoreCase)) - .FirstOrDefault(group => group.Name.Contains("Api-Default")); - - return resourceGroup != null - ? resourceGroup.Name - : string.Empty; - } - - public static IEnumerable GetResourceGroups(this ResourceManagementClient resourceManagementClient) - { - return resourceManagementClient.ResourceGroups.List(new ResourceGroupListParameters()).ResourceGroups; - } - - public static void TryRegisterResourceGroup(this ResourceManagementClient resourceManagementClient, string location, string resourceGroupName) - { - resourceManagementClient.ResourceGroups.CreateOrUpdate(resourceGroupName, new ResourceGroup(location)); - } - - public static string TryGetLocation(this ManagementClient managementClient, string preferedLocationName = null) - { - var locations = managementClient.Locations.List().Locations; - if (!locations.Any()) - { - return string.Empty; - } - - var foundLocation = locations.First(); - if (preferedLocationName == null) - { - return foundLocation.Name; - } - - var preferedLocation = locations.FirstOrDefault(location => location.Name.Contains(preferedLocationName)); - if (preferedLocation != null) - { - return preferedLocation.Name; - } - - return foundLocation.Name; - } - - public static IEnumerable GetLocations(this ManagementClient managementClient) - { - return managementClient.Locations.List().Locations.Select(location => location.Name); - } - - public static void TryCreateApiService( - this ApiManagementClient client, - string resourceGroupName, - string apiServiceName, - string location, - SkuType skuType = SkuType.Developer) - { - client.ResourceProvider.CreateOrUpdate( - resourceGroupName, - apiServiceName, - new ApiServiceCreateOrUpdateParameters - { - Location = location, - Properties = new ApiServiceProperties - { - SkuProperties = new ApiServiceSkuProperties - { - Capacity = 1, - SkuType = skuType - }, - AddresserEmail = "foo@live.com", - PublisherEmail = "foo@live.com", - PublisherName = "apimgmt" - } - }); - - var response = client.ResourceProvider.Get(resourceGroupName, apiServiceName); - ThrowIfTrue(!response.Value.Name.Equals(apiServiceName), string.Format("ApiService name is not equal to {0}", apiServiceName)); - } - - public static Stream ToStream(this XDocument doc) - { - var stream = new MemoryStream(); - doc.Save(stream); - stream.Position = 0; - return stream; - } - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json deleted file mode 100644 index d7982498248e..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/ApiManagementTests/CreateApiManagementService.json +++ /dev/null @@ -1,1600 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourcegroups?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", - "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/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US\",\r\n \"name\": \"Api-Default-Central-US\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-North-Central-US\",\r\n \"name\": \"Api-Default-North-Central-US\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US\",\r\n \"name\": \"Api-Default-West-US\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/CisService-JCRMZ5UHIWAWHZV4GKZ4HEF4XTAFN7XEB6RQMORITMPP5AUNMZZA-west-us\",\r\n \"name\": \"CisService-JCRMZ5UHIWAWHZV4GKZ4HEF4XTAFN7XEB6RQMORITMPP5AUNMZZA-west-us\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/CS-SouthCentralUS-scheduler\",\r\n \"name\": \"CS-SouthCentralUS-scheduler\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Default-SQL-NorthwestUS\",\r\n \"name\": \"Default-SQL-NorthwestUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Default-Storage-NorthCentralUS\",\r\n \"name\": \"Default-Storage-NorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group\",\r\n \"name\": \"Group\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-1\",\r\n \"name\": \"Group-1\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-2\",\r\n \"name\": \"Group-2\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-3\",\r\n \"name\": \"Group-3\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-4\",\r\n \"name\": \"Group-4\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-5\",\r\n \"name\": \"Group-5\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-6\",\r\n \"name\": \"Group-6\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-7\",\r\n \"name\": \"Group-7\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Group-8\",\r\n \"name\": \"Group-8\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/hostnamesxs\",\r\n \"name\": \"hostnamesxs\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/newcvcm\",\r\n \"name\": \"newcvcm\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/newvcvm\",\r\n \"name\": \"newvcvm\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/newvcvm1\",\r\n \"name\": \"newvcvm1\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/rgnew\",\r\n \"name\": \"rgnew\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/vc-wind-tue\",\r\n \"name\": \"vc-wind-tue\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "4782" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" - ], - "x-ms-request-id": [ - "f4606d0b-fabc-4e9d-9fbc-4a7d4def7cde" - ], - "x-ms-correlation-request-id": [ - "f4606d0b-fabc-4e9d-9fbc-4a7d4def7cde" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T183812Z:f4606d0b-fabc-4e9d-9fbc-4a7d4def7cde" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:38:12 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"createdAtUtc\": \"0001-01-01T00:00:00\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": []\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "314" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operations/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl" - ], - "x-ms-request-id": [ - "260a7aaf-935f-4a7e-bd43-edf9cea51283", - "6737290a-2860-4925-89bc-18d595f8d426" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "98e77a66-3036-4b67-b3ff-eb940897d61b" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T183814Z:98e77a66-3036-4b67-b3ff-eb940897d61b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:38:13 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "be77c631-6e80-43b1-9073-6d2ee12033ca" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" - ], - "x-ms-correlation-request-id": [ - "5b67f0f6-b845-4f2b-9af6-155ca3b3c38f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T183814Z:5b67f0f6-b845-4f2b-9af6-155ca3b3c38f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:38:13 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "712a08bc-55df-420c-8dc6-4712a2a81adc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" - ], - "x-ms-correlation-request-id": [ - "cf863ab5-0237-4227-93c0-2f1f6e71deb6" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T183914Z:cf863ab5-0237-4227-93c0-2f1f6e71deb6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:39:14 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "c2392399-ff23-4045-9fc2-7621db7264ee" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" - ], - "x-ms-correlation-request-id": [ - "438e34a0-8db8-4cdb-85a3-50fbaeb6a404" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184014Z:438e34a0-8db8-4cdb-85a3-50fbaeb6a404" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:40:14 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "03b49b1c-0edb-423f-adcd-d5aa4e8b6982" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" - ], - "x-ms-correlation-request-id": [ - "31785a70-d3dd-4761-8138-1e11ce9f369d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184115Z:31785a70-d3dd-4761-8138-1e11ce9f369d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:41:14 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "9ec81287-841c-44eb-b834-d70718e8c180" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" - ], - "x-ms-correlation-request-id": [ - "9ff9257a-c2bb-4cfa-b362-e4f321c0ca71" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184215Z:9ff9257a-c2bb-4cfa-b362-e4f321c0ca71" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:42:15 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "1bb0568c-26dd-4b4b-9459-a7734cb782c6" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" - ], - "x-ms-correlation-request-id": [ - "094ab80c-34da-45da-9103-48d0036ed710" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184315Z:094ab80c-34da-45da-9103-48d0036ed710" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:43:15 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "c6bcc2cd-6511-4df8-ac31-8815bc405e1c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "435b9333-83d8-4665-9ea3-91cb74bc7c42" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184415Z:435b9333-83d8-4665-9ea3-91cb74bc7c42" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:44:15 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "3e40e86c-194c-4ccf-a5b1-b30e69b53ac8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" - ], - "x-ms-correlation-request-id": [ - "1dc5bb19-ea1e-443e-8795-cd1ef45aca1d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184516Z:1dc5bb19-ea1e-443e-8795-cd1ef45aca1d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:45:15 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "4887c9b2-baa5-4d27-a77e-1af0a5de056a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "50f0fb68-f5f5-40d2-9a8c-d85b84d1ab30" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184616Z:50f0fb68-f5f5-40d2-9a8c-d85b84d1ab30" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:46:16 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "3a2ab7f6-51a5-4bac-a8f5-3d8e1bd9738c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-correlation-request-id": [ - "b0ccc134-8684-45e9-94e1-831429d3996f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184716Z:b0ccc134-8684-45e9-94e1-831429d3996f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:47:15 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "6b196557-2135-4861-822f-a22f7feaafb5" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" - ], - "x-ms-correlation-request-id": [ - "f30ba2c6-8c7d-47f2-8a0d-530020ecdfc4" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184816Z:f30ba2c6-8c7d-47f2-8a0d-530020ecdfc4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:48:16 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "6aae7a64-8b25-42ee-a0e0-7000e1915fef" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" - ], - "x-ms-correlation-request-id": [ - "284fdd8f-ee31-4829-9ae8-459c1f98045d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T184917Z:284fdd8f-ee31-4829-9ae8-459c1f98045d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:49:16 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "000ecebc-9e54-4915-afa6-f2693503f100" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" - ], - "x-ms-correlation-request-id": [ - "b9a2b753-6656-436e-9da7-9c72114ad8ef" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185017Z:b9a2b753-6656-436e-9da7-9c72114ad8ef" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:50:16 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "04f0cc63-3003-4ee5-8cd4-17c7842b652c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-correlation-request-id": [ - "eb78c002-4567-4071-83a9-1c9f63198917" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185117Z:eb78c002-4567-4071-83a9-1c9f63198917" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:51:17 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "caf9c15b-276f-4344-9c6c-13e1309d6b57" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" - ], - "x-ms-correlation-request-id": [ - "97f8aae3-3384-46d1-89eb-fcafd73dcf4f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185217Z:97f8aae3-3384-46d1-89eb-fcafd73dcf4f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:52:16 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "66d6a54e-c164-4474-be58-9e0991bd9260" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" - ], - "x-ms-correlation-request-id": [ - "c7dc2139-55b2-4f7e-8cf9-f533bf5804b7" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185318Z:c7dc2139-55b2-4f7e-8cf9-f533bf5804b7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:53:18 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "045ae1c3-0f11-44d3-a56d-6ca0d2f18727" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" - ], - "x-ms-correlation-request-id": [ - "6002ab88-76c3-439b-9376-f7edb81793af" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185418Z:6002ab88-76c3-439b-9376-f7edb81793af" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:54:17 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "f3ea22a8-3e5b-4952-814a-76f2ea75a888" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" - ], - "x-ms-correlation-request-id": [ - "17be8735-ef0c-4688-af4e-0a9a62ea3b65" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185518Z:17be8735-ef0c-4688-af4e-0a9a62ea3b65" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:55:18 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "c5277320-4b1a-4723-945f-a089f2a32744" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], - "x-ms-correlation-request-id": [ - "8843cda1-5aa8-46c3-b47b-e4f05542b596" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185618Z:8843cda1-5aa8-46c3-b47b-e4f05542b596" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:56:18 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "28e0939c-01b3-43c2-8499-9849efeccbc7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" - ], - "x-ms-correlation-request-id": [ - "4b18af4b-e817-4fe6-95b6-9401a0e35c00" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185719Z:4b18af4b-e817-4fe6-95b6-9401a0e35c00" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:57:19 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "8e97b1c8-2df7-4914-a00e-d1b25f0850ec" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" - ], - "x-ms-correlation-request-id": [ - "a84d3ae0-bb54-493b-9362-e7b44487b914" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185819Z:a84d3ae0-bb54-493b-9362-e7b44487b914" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:58:19 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "abd77caf-b9bc-4a66-9253-7a3505187b3c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" - ], - "x-ms-correlation-request-id": [ - "6cede858-b8c3-4780-9d62-98cc65bb13e9" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T185921Z:6cede858-b8c3-4780-9d62-98cc65bb13e9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:59:21 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "ee85b36f-d9a5-454f-97c1-1af8e983b602" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" - ], - "x-ms-correlation-request-id": [ - "3a47d1f3-d63d-4cde-b092-f34ef3d3d9fe" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190021Z:3a47d1f3-d63d-4cde-b092-f34ef3d3d9fe" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:00:20 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "60" - ], - "x-ms-request-id": [ - "1d5ee0b8-71c7-488a-9f48-1983b4f67b92" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" - ], - "x-ms-correlation-request-id": [ - "db501a5f-4955-4ba3-986d-e0a1c743b0c4" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190121Z:db501a5f-4955-4ba3-986d-e0a1c743b0c4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:01:21 GMT" - ], - "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/operationresults/aHlkcmFhcGltc2VydmljZTgwNzNfQWN0Xzk0OWNkMTBl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvb3BlcmF0aW9ucmVzdWx0cy9hSGxrY21GaGNHbHRjMlZ5ZG1salpUZ3dOek5mUVdOMFh6azBPV05rTVRCbD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-02-14" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073\",\r\n \"name\": \"hydraapimservice8073\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {},\r\n \"location\": \"West US\",\r\n \"etag\": \"AAAAAAAFRoM=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2015-06-24T18:38:13.7934801Z\",\r\n \"runtimeUrl\": \"https://hydraapimservice8073.preview.int-azure-api.net\",\r\n \"portalUrl\": \"https://hydraapimservice8073.portal.preview.int-azure-api.net\",\r\n \"kuduUrl\": \"https://hydraapimservice8073.scm.preview.int-azure-api.net\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"191.236.116.242\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "889" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "42051a89-9117-41c3-bf99-b6cb19444850" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" - ], - "x-ms-correlation-request-id": [ - "b55f928d-b2c7-4e21-b33b-4087cae68864" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190222Z:b55f928d-b2c7-4e21-b33b-4087cae68864" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:22 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073\",\r\n \"name\": \"hydraapimservice8073\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {},\r\n \"location\": \"West US\",\r\n \"etag\": \"AAAAAAAFRoM=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"foo@live.com\",\r\n \"publisherName\": \"apimgmt\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2015-06-24T18:38:13.7934801Z\",\r\n \"runtimeUrl\": \"https://hydraapimservice8073.preview.int-azure-api.net\",\r\n \"portalUrl\": \"https://hydraapimservice8073.portal.preview.int-azure-api.net\",\r\n \"kuduUrl\": \"https://hydraapimservice8073.scm.preview.int-azure-api.net\",\r\n \"addresserEmail\": \"foo@live.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"191.236.116.242\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "889" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "e63864db-df87-4885-921a-1dffa8e6228c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" - ], - "x-ms-correlation-request-id": [ - "7ead12b5-d7d8-4a74-b037-6281ef484f32" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190222Z:7ead12b5-d7d8-4a74-b037-6281ef484f32" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:22 GMT" - ], - "ETag": [ - "\"AAAAAAAFRoM=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - } - ], - "Names": { - ".ctor": [ - "hydraapimservice8073" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json deleted file mode 100644 index b3d4552442fa..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiCrudTest.json +++ /dev/null @@ -1,706 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "c2cf7bae-1a34-4ce3-be3d-ad2b3470a9a5" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" - ], - "x-ms-correlation-request-id": [ - "d2a60ed6-e265-4d79-96f7-de919f0f1597" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190426Z:d2a60ed6-e265-4d79-96f7-de919f0f1597" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:25 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/json" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "298" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f775082f-cb97-41e1-947d-6ea0af279191" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" - ], - "x-ms-correlation-request-id": [ - "7f89c543-37f7-4a70-a1bb-1b10951f493f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190427Z:7f89c543-37f7-4a70-a1bb-1b10951f493f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:27 GMT" - ], - "ETag": [ - "\"AAAAAAAACAc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3RWNobyUyMEFQSSUyNw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "bd8baf90-2c25-4348-9bf4-13b4d1c9e040" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" - ], - "x-ms-correlation-request-id": [ - "1ac013a8-7a1f-4592-9f01-3d4e851b7106" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190428Z:1ac013a8-7a1f-4592-9f01-3d4e851b7106" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:27 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk1890\",\r\n \"description\": \"onesdk7067\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk1140\",\r\n \"protocols\": [\r\n \"Http\",\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk1306\",\r\n \"query\": \"onesdk3918\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "293" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "5218f0b9-b9f6-4945-9a38-fb9f35ca52b6" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "6efa5e88-0057-4e4e-8b8a-a355cfba6178" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190429Z:6efa5e88-0057-4e4e-8b8a-a355cfba6178" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:29 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk8341\",\r\n \"description\": \"onesdk7253\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk3657\",\r\n \"protocols\": [\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk3070\",\r\n \"query\": \"onesdk2784\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "283" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ed6fee29-82c1-4929-96e4-e3f0647c79ff" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "4ac6714c-12ea-4a8a-b700-f95c151d36b0" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190433Z:4ac6714c-12ea-4a8a-b700-f95c151d36b0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:32 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/json" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/onesdk7370\",\r\n \"name\": \"onesdk1890\",\r\n \"description\": \"onesdk7067\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk1140\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk1306\",\r\n \"query\": \"onesdk3918\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "292" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f324eb0f-fbc4-4590-a435-a4d5249de4fa" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" - ], - "x-ms-correlation-request-id": [ - "92af0cde-f9b7-4164-9915-001313690b76" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190429Z:92af0cde-f9b7-4164-9915-001313690b76" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:29 GMT" - ], - "ETag": [ - "\"AAAAAAAACCs=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/json" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/onesdk7370\",\r\n \"name\": \"onesdk8341\",\r\n \"description\": \"onesdk7253\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk3657\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk3070\",\r\n \"query\": \"onesdk2784\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "288" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "7cafb052-3915-4bf3-9d58-f52fbb81d0e7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" - ], - "x-ms-correlation-request-id": [ - "72446aaf-eed5-4b86-8be1-5e90abfcaeb7" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190433Z:72446aaf-eed5-4b86-8be1-5e90abfcaeb7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:32 GMT" - ], - "ETag": [ - "\"AAAAAAAACC0=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 100,\r\n \"subscriptionPeriod\": {\r\n \"value\": 15,\r\n \"interval\": \"day\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 12,\r\n \"interval\": \"day\"\r\n },\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "687" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "6871cc30-1510-4cb1-aad7-2e37628fb04d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" - ], - "x-ms-correlation-request-id": [ - "c1be97b9-1708-4c92-970f-8aca5f516255" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190434Z:c1be97b9-1708-4c92-970f-8aca5f516255" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:34 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2FwaXMvb25lc2RrNzM3MD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "c95cf7e2-cc43-44de-86f3-7bb550adcad1" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "6a37d4f3-44a1-48c2-b993-f021461cbc63" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190435Z:6a37d4f3-44a1-48c2-b993-f021461cbc63" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:34 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n },\r\n {\r\n \"id\": \"/apis/onesdk7370\",\r\n \"name\": \"onesdk8341\",\r\n \"description\": \"onesdk7253\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapinew\",\r\n \"path\": \"onesdk3657\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "502" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f466e2de-d11c-4ef3-ae4c-47bfc63981b2" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" - ], - "x-ms-correlation-request-id": [ - "905ba041-3ebc-450d-becf-2d242018441a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190435Z:905ba041-3ebc-450d-becf-2d242018441a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:35 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2FwaXM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "e3634fe3-4a58-4353-9095-41810ef1fdf0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "87ee2868-428e-41a8-a049-1d9764ad704d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190437Z:87ee2868-428e-41a8-a049-1d9764ad704d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:37 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2FwaXMvb25lc2RrNzM3MD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "8dad8f2c-ee7b-434b-bd98-42c209087299" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "209e0679-0fd1-4943-9684-684169b48b19" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190437Z:209e0679-0fd1-4943-9684-684169b48b19" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:36 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7370?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3MzcwP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "6f9cbb79-b41d-44bc-a4aa-279057b3f2a9" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "eb6c2158-6726-44d1-9afe-14727169c87b" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190438Z:eb6c2158-6726-44d1-9afe-14727169c87b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:37 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk7370", - "onesdk1890", - "onesdk7067", - "onesdk1140", - "onesdk1306", - "onesdk3918", - "onesdk8341", - "onesdk7253", - "onesdk3657", - "onesdk3070", - "onesdk2784" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json deleted file mode 100644 index 72660e167075..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiImportExportTest.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7791?api-version=2014-02-14&path=wadlapi", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3NzkxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQmcGF0aD13YWRsYXBp", - "RequestMethod": "PUT", - "RequestBody": "\r\n Yahoo News Search API\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.sun.wadl+xml" - ], - "Content-Length": [ - "3872" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "df09b69d-a0e7-4514-b1a4-738a16227a3f" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "02027128-2021-4a90-bbef-2491b3db6b9c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190324Z:02027128-2021-4a90-bbef-2491b3db6b9c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:24 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7791?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3NzkxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/json" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/onesdk7791\",\r\n \"name\": \"Yahoo News Search\",\r\n \"description\": \"Yahoo News Search API\",\r\n \"serviceUrl\": \"http://api.search.yahoo.com/NewsSearchService/V1/\",\r\n \"path\": \"wadlapi\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "333" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "dabb63bc-61fc-48ee-82da-f4e6ccbbc040" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" - ], - "x-ms-correlation-request-id": [ - "0e3df383-1f7e-48f4-976d-e16192b37636" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190325Z:0e3df383-1f7e-48f4-976d-e16192b37636" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:24 GMT" - ], - "ETag": [ - "\"AAAAAAAACCM=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7791?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3NzkxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.sun.wadl+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n Yahoo News Search API\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "1800" - ], - "Content-Type": [ - "application/vnd.sun.wadl+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "d89f1e51-a268-4a35-811b-bf70b0ab83fc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" - ], - "x-ms-correlation-request-id": [ - "d2b1c448-af07-4506-b8eb-cdc145bd7a6e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190325Z:d2b1c448-af07-4506-b8eb-cdc145bd7a6e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:25 GMT" - ], - "ETag": [ - "\"AAAAAAAACCM=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/onesdk7791?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy9vbmVzZGs3NzkxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "b2321816-4d85-42bb-9770-4b97eac261cd" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "7eb979dc-12c6-481a-ae96-3357eb7fdcf9" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190331Z:7eb979dc-12c6-481a-ae96-3357eb7fdcf9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:30 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk7791" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json deleted file mode 100644 index d974fa8ba346..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json +++ /dev/null @@ -1,504 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"count\": 0,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "38" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ad54b9eb-87e8-4926-a7dd-6a1f3829ea71" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], - "x-ms-correlation-request-id": [ - "83dc93a6-45f6-417d-8fed-46b77931cb70" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190355Z:83dc93a6-45f6-417d-8fed-46b77931cb70" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk459\",\r\n \"description\": \"onesdk7207\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk4523\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk5873\",\r\n \"clientSecret\": \"onesdk2712\",\r\n \"resourceOwnerUsername\": \"onesdk8112\",\r\n \"resourceOwnerPassword\": \"onesdk9102\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "832" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "19aedce2-1ba6-4314-a6b4-676f6f1e1bb3" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "7e10c715-90f9-41f0-a8c5-baa1533d5483" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190356Z:7e10c715-90f9-41f0-a8c5-baa1533d5483" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:55 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk6247\",\r\n \"name\": \"onesdk459\",\r\n \"description\": \"onesdk7207\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk4523\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk5873\",\r\n \"clientSecret\": \"onesdk2712\",\r\n \"resourceOwnerUsername\": \"onesdk8112\",\r\n \"resourceOwnerPassword\": \"onesdk9102\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "692" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "af0943e0-2c0b-412f-b92e-0482c652c51e" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" - ], - "x-ms-correlation-request-id": [ - "f3abab39-36b6-4afa-8a41-40b685f768a5" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190356Z:f3abab39-36b6-4afa-8a41-40b685f768a5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:55 GMT" - ], - "ETag": [ - "\"AAAAAAAACCc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk6247\",\r\n \"name\": \"onesdk459\",\r\n \"description\": \"onesdk7207\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"onesdk4523\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"onesdk5873\",\r\n \"clientSecret\": \"onesdk2712\",\r\n \"resourceOwnerUsername\": \"onesdk8112\",\r\n \"resourceOwnerPassword\": \"onesdk9102\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "692" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f44c4f0d-0479-4423-a54b-4175248c6755" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-correlation-request-id": [ - "bb746c1e-0eda-4801-8fa2-09d1faa0f2c9" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190356Z:bb746c1e-0eda-4801-8fa2-09d1faa0f2c9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:56 GMT" - ], - "ETag": [ - "\"AAAAAAAACCc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk6247\",\r\n \"name\": \"onesdk4390\",\r\n \"description\": \"onesdk2135\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk5523\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk4549\",\r\n \"clientSecret\": \"onesdk635\",\r\n \"resourceOwnerUsername\": \"onesdk8112\",\r\n \"resourceOwnerPassword\": \"onesdk9102\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "682" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f86f4d01-1a6e-4bc0-9290-a83ceccb7738" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" - ], - "x-ms-correlation-request-id": [ - "ea4604f2-2db2-4510-93ad-10d16437a299" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190357Z:ea4604f2-2db2-4510-93ad-10d16437a299" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:56 GMT" - ], - "ETag": [ - "\"AAAAAAAACCg=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/authorizationServers/onesdk6247\",\r\n \"name\": \"onesdk4390\",\r\n \"description\": \"onesdk2135\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk5523\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk4549\",\r\n \"clientSecret\": \"onesdk635\",\r\n \"resourceOwnerUsername\": \"onesdk8112\",\r\n \"resourceOwnerPassword\": \"onesdk9102\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "682" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "88a2b88f-4cfa-4aa7-9952-d157be9805b7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" - ], - "x-ms-correlation-request-id": [ - "8acf36a4-2fc9-4440-9b04-55f04b3a86d8" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190357Z:8acf36a4-2fc9-4440-9b04-55f04b3a86d8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:56 GMT" - ], - "ETag": [ - "\"AAAAAAAACCg=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"OAuth2AuthorizationServer not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "101" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "3181eb1a-a0d9-44ec-befc-ba00230fb43c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" - ], - "x-ms-correlation-request-id": [ - "54629900-4d1a-427b-bf7a-c9a97cee5c5a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190358Z:54629900-4d1a-427b-bf7a-c9a97cee5c5a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:58 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"name\": \"onesdk4390\",\r\n \"description\": \"onesdk2135\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"onesdk5523\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"onesdk4549\",\r\n \"clientSecret\": \"onesdk635\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "726" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2208ef81-8c58-4378-bfd9-00cab276d6d1" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "7efc8f34-f68b-4c9b-988c-02f6cb6c672f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190357Z:7efc8f34-f68b-4c9b-988c-02f6cb6c672f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:56 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/authorizationServers/onesdk6247?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXV0aG9yaXphdGlvblNlcnZlcnMvb25lc2RrNjI0Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "41cd6037-6f76-43c9-9c8e-91429764e19e" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" - ], - "x-ms-correlation-request-id": [ - "bdcb642b-2a8b-4ce0-9614-c0c1f9ba4288" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190358Z:bdcb642b-2a8b-4ce0-9614-c0c1f9ba4288" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:58 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk6247", - "onesdk459", - "onesdk4523", - "onesdk5873", - "onesdk7207", - "onesdk2712", - "onesdk9102", - "onesdk8112", - "onesdk4390", - "onesdk5523", - "onesdk4549", - "onesdk2135", - "onesdk635" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json deleted file mode 100644 index 36211ce92d70..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/CertificateCrudTest.json +++ /dev/null @@ -1,489 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"count\": 0,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "38" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "3d95136c-5d64-4020-9f06-08d48b339221" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" - ], - "x-ms-correlation-request-id": [ - "fbdb206e-ed24-4fe4-9995-add00d92b05a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190341Z:fbdb206e-ed24-4fe4-9995-add00d92b05a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:40 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/certificates/onesdk7705\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "213" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "b161bf96-0fca-4d3d-9d66-c0a38533e1e4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" - ], - "x-ms-correlation-request-id": [ - "f9c90386-3efe-4f48-a3ae-a1f1aba1ac5e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190343Z:f9c90386-3efe-4f48-a3ae-a1f1aba1ac5e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"data\": \"MIIKPwIBAzCCCfsGCSqGSIb3DQEHAaCCCewEggnoMIIJ5DCCBg0GCSqGSIb3DQEHAaCCBf4EggX6MIIF9jCCBfIGCyqGSIb3DQEMCgECoIIE9jCCBPIwHAYKKoZIhvcNAQwBAzAOBAh8tMrWWNG0qgICB9AEggTQPNY9J/eCePYdalr1arTcenKpUWZoT0pnYjcG7VG2C+Sxh+uCr4ugSx3l5tQy1XHWgsOheqPNILvSeS6WZJbyorDJIdD6vDueWSz7Qxge/WdwIoHkFq2w7GP6a1AnuSYDjt6u4gcfQHL9zHckHQvOYaJbKKgJcHEyUPmPSX7pmP6HOxGorklkcJQ6dTnMkQLzkd8ZhT9Mo1s5ClnmPOTfwQzsrYIhTcGHQQ5t0WV27dqrg5uuE5+NZGcv02e0xR+i24Ix/rEjjds6A6spt0FCdYznbSyoUCd6xWMRU+mDXy/xe38UY4GYFySDhkNxUwA2/dCybu+84OinuaJScjhK7XPqA9JsujdB9zOMNdnArQuYjlKrjOaWvYPijQojOu+j9zAdaZUgcpuR4/hjUcPAh0WyDiIl3rX3WigSnpzZXa3+QUnnEHHsoLMKllO2J9mBQCW4X3osEdC+twjl9uGnMNt83iq6BdXrFXqwLI1LGDprPAzQij8LlmkAHH41gzKFp5d1GkHwwcuQWTAvPymSOK60ETgIH+56TOXXyDF4L+w56a8c7IM7EBeOJrpKBKUDypBUMg4StG17xwdvCEb5nEi92EkhNZzN+q/sve2JeWS7t+80nJctVkANrHbyEwXXAy8VozpxRFT7PZpobnA/zuzi5lwzec8mSr2mbKl4MzDEqPiOx71N2LGFlH/JQyxM8whtKz+i0W9wvuGsWJtSn6SMjIiH9gY+RNIQdFEtkZ3ULWjbmrJxeriBEL1dpsgMSgUykL9nruwP7fYlV1a5CIS1K2FlEI9lKw5tjhXLpbEbS59HrfpQhWMLmslozKI0oyN+jHQn3QA4bo6A8vtOoI2jRFtkymnomquqLl4a71FenXJ7uP5Eg9ecgAWdHaUynW3a2G56ZHkYOw0Lqq58A7JAPTmdQWlmfpQue56LtbrP0bzVAmDjltCHe3sto4+atCm4VaHrCig4MjqStvy0UX0KoKTyl+H5oAcqxgh2bjHLX0ydamuci8nNj1vrULla8aHKZJT+IArjyPJxpMvpWdFYYJCwwXuzIXUoNMIUhwSkvA3X0e9RZ9HQUjFNXIOGyEWb3kJZGdlV23GzacuZT7bHskRSAGM185SV6IvC0onKdf5HqRYNpmoSCEu04A80mlSIsD7n981273NrW2DG1OuRtuL3BVFO3ltXlaFPNLytd7LmXUBwgjVu3Ie69O4Rf81SN+zV1YgDp3W8PpSRFISfvXckBnzfEmJk6QrVtpcom8ilvic3Eocahm3ut0TRFMGvy9lvxr+stt6TdiXMHqaRvXjSw8jNYhcdxdQfMw3hWrsGW+DSLhHl7EKpDHxWJsT8qaxuV1rp8n9kEIL7ObI2maWtN8kBnkQXpY/Y7rOS9gXSFUjDXVabWLQuWE1FV0b5n+SjeeC1gXXU06KW/QvhKXqKv9O/Li4HGJKH2QvLMF3uU9FpF7zfMQxPSe4rDIn77/SF41DcL9Vq8oro62wzcP66dU5irqGHj3JiFayD62nnbYHwIKXNWYFNUUEYsaFMnyYhQHAWkBxWGUqpB7AJNJCHgUcS22enbJyXwwx/m1Oht9Zu1Bqwtr/V4/8leuaLe5IlEt9G/8BJIJxXSYZ6NI8K08Q335WjBEUeyswxgegwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwVwYJKoZIhvcNAQkUMUoeSABhADkAYQBhADcAZQBiADIALQA5AGQANAA1AC0ANAAzADgAZQAtAGIAOAAxADMALQAxADIAMwAzADcANQA0AGYAYwBkAGIANTBpBgkrBgEEAYI3EQExXB5aAE0AaQBjAHIAbwBzAG8AZgB0ACAAUgBTAEEAIABTAEMAaABhAG4AbgBlAGwAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIDzwYJKoZIhvcNAQcGoIIDwDCCA7wCAQAwggO1BgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAiNxfT2nlChFwICB9CAggOIfXLvh2I2PwA5h2mDwz9hMby2vDuhonXgj+UtWFf33Pd2ZAq/+JWf3j0W1ldJzzFg2L8s6PGabAFCkIHnaYcGuHcbf4uSZZ/Q3JZGxszZqi0+tqg/qHBljPthJK0izZ1esoaIeYLT6AYXZ4UqQiPbjSJkdMHONSE6sv5g8OvIxy+pNsdy2pDg2pl6/xE779tzxGgX+P+86p1p36EzmfDqq7zCUDF4uKVUCmTqjrMHKyqQIEcvw6clIxPFng0PPrr9ZjWYcmsHEvfzfTlGgQ5oLNQ2zPheGzU0RMzSFL0CHy9v9ppxXqhDLpnnpaJiHQgTtU1a1aLE/P9Z2K9DPNEAGlR2+TPojtLN8cnk+jgKiZRwxGCXWTU7MnkBxedwak1ygMS4sODhkKVsmXgNXHqYQK10aTLA3BAaXq3QmDEUZBWLudEaoT5hZLSTcaT/dDShoxezeQhx+6IMLtgpfURWX+rcZTt1kvXCSOE0tC57OD5AFbnu54qvegxLtdL7lN12Wq8mVXoeP51G7kpsSqc0xNhONl4snS4lqVV2PZAKyQx312CeFkabs9aducWGoNRaRS4EalsNg2UBgpcms16tsHznGa6KX7nZmRDIdSf70xQuC0ifol5hnNfml814LmtwfTufq6VWCod3wcfEbQa32QA4witO9o/UxOwtu1Wsm/+R4fBsEfkiJbgSYNBto/MvpfQqrWUOElQAkqlTVbp1c4Vz4q1jJv5TlaK5YQonsUvGDaYA+1mHlBE6jsiM9TVlLYW3ehVdQWUDslj+M67vETgGZDTJtZPdlK1Je2x1GQcUwfDYv4+GK+M/0Clur4JVO6wHq7RA5PG9IZVrcUq7XTw2GK+uRL0eNHV5fxlAcljymqpSvuH3wDY1fxFxw+n24O154tReemGi5a8WsHmY8xP8IUqDtt9frbZALetsiz1UTPjydGFciy/z/n9mU72XJae347bS3Iy1k7PjsUH0EbL9i07+gmUImShNoO/5BjFJhrULSPMd/x34jLIog1VU1t1rYe2EZI94ussb8Mvr/ma/nul/u5bIab+pCUshcbumrRP6/uZ3i2CobHdE+r6kbQ/FrLbbiNQY5vorhLjE81I7MVXhZCiNaW2Ze/PEO7PjQ5FZ6uvZ4O5E8pj37RGZWe5SxNURdyTHuHQ7dWRtOOBTD7K3xkfNOBoYbTybua/D1vC/rI78gzA7MB8wBwYFKw4DAhoEFBfuUWxdGOn/eKJwUaUSAkWzPL8SBBQMQ2N/ac3j2YRQXIiAskcAj0J58AICB9A=\",\r\n \"password\": \"powershelltest\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "3555" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2df5f54d-d3f7-46a7-9c6f-131187e3fb34" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "edfa6575-7e4e-4ee3-b393-5882dc031e5e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190342Z:edfa6575-7e4e-4ee3-b393-5882dc031e5e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:42 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"data\": \"MIIKPwIBAzCCCfsGCSqGSIb3DQEHAaCCCewEggnoMIIJ5DCCBg0GCSqGSIb3DQEHAaCCBf4EggX6MIIF9jCCBfIGCyqGSIb3DQEMCgECoIIE9jCCBPIwHAYKKoZIhvcNAQwBAzAOBAh8tMrWWNG0qgICB9AEggTQPNY9J/eCePYdalr1arTcenKpUWZoT0pnYjcG7VG2C+Sxh+uCr4ugSx3l5tQy1XHWgsOheqPNILvSeS6WZJbyorDJIdD6vDueWSz7Qxge/WdwIoHkFq2w7GP6a1AnuSYDjt6u4gcfQHL9zHckHQvOYaJbKKgJcHEyUPmPSX7pmP6HOxGorklkcJQ6dTnMkQLzkd8ZhT9Mo1s5ClnmPOTfwQzsrYIhTcGHQQ5t0WV27dqrg5uuE5+NZGcv02e0xR+i24Ix/rEjjds6A6spt0FCdYznbSyoUCd6xWMRU+mDXy/xe38UY4GYFySDhkNxUwA2/dCybu+84OinuaJScjhK7XPqA9JsujdB9zOMNdnArQuYjlKrjOaWvYPijQojOu+j9zAdaZUgcpuR4/hjUcPAh0WyDiIl3rX3WigSnpzZXa3+QUnnEHHsoLMKllO2J9mBQCW4X3osEdC+twjl9uGnMNt83iq6BdXrFXqwLI1LGDprPAzQij8LlmkAHH41gzKFp5d1GkHwwcuQWTAvPymSOK60ETgIH+56TOXXyDF4L+w56a8c7IM7EBeOJrpKBKUDypBUMg4StG17xwdvCEb5nEi92EkhNZzN+q/sve2JeWS7t+80nJctVkANrHbyEwXXAy8VozpxRFT7PZpobnA/zuzi5lwzec8mSr2mbKl4MzDEqPiOx71N2LGFlH/JQyxM8whtKz+i0W9wvuGsWJtSn6SMjIiH9gY+RNIQdFEtkZ3ULWjbmrJxeriBEL1dpsgMSgUykL9nruwP7fYlV1a5CIS1K2FlEI9lKw5tjhXLpbEbS59HrfpQhWMLmslozKI0oyN+jHQn3QA4bo6A8vtOoI2jRFtkymnomquqLl4a71FenXJ7uP5Eg9ecgAWdHaUynW3a2G56ZHkYOw0Lqq58A7JAPTmdQWlmfpQue56LtbrP0bzVAmDjltCHe3sto4+atCm4VaHrCig4MjqStvy0UX0KoKTyl+H5oAcqxgh2bjHLX0ydamuci8nNj1vrULla8aHKZJT+IArjyPJxpMvpWdFYYJCwwXuzIXUoNMIUhwSkvA3X0e9RZ9HQUjFNXIOGyEWb3kJZGdlV23GzacuZT7bHskRSAGM185SV6IvC0onKdf5HqRYNpmoSCEu04A80mlSIsD7n981273NrW2DG1OuRtuL3BVFO3ltXlaFPNLytd7LmXUBwgjVu3Ie69O4Rf81SN+zV1YgDp3W8PpSRFISfvXckBnzfEmJk6QrVtpcom8ilvic3Eocahm3ut0TRFMGvy9lvxr+stt6TdiXMHqaRvXjSw8jNYhcdxdQfMw3hWrsGW+DSLhHl7EKpDHxWJsT8qaxuV1rp8n9kEIL7ObI2maWtN8kBnkQXpY/Y7rOS9gXSFUjDXVabWLQuWE1FV0b5n+SjeeC1gXXU06KW/QvhKXqKv9O/Li4HGJKH2QvLMF3uU9FpF7zfMQxPSe4rDIn77/SF41DcL9Vq8oro62wzcP66dU5irqGHj3JiFayD62nnbYHwIKXNWYFNUUEYsaFMnyYhQHAWkBxWGUqpB7AJNJCHgUcS22enbJyXwwx/m1Oht9Zu1Bqwtr/V4/8leuaLe5IlEt9G/8BJIJxXSYZ6NI8K08Q335WjBEUeyswxgegwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwVwYJKoZIhvcNAQkUMUoeSABhADkAYQBhADcAZQBiADIALQA5AGQANAA1AC0ANAAzADgAZQAtAGIAOAAxADMALQAxADIAMwAzADcANQA0AGYAYwBkAGIANTBpBgkrBgEEAYI3EQExXB5aAE0AaQBjAHIAbwBzAG8AZgB0ACAAUgBTAEEAIABTAEMAaABhAG4AbgBlAGwAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIDzwYJKoZIhvcNAQcGoIIDwDCCA7wCAQAwggO1BgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAiNxfT2nlChFwICB9CAggOIfXLvh2I2PwA5h2mDwz9hMby2vDuhonXgj+UtWFf33Pd2ZAq/+JWf3j0W1ldJzzFg2L8s6PGabAFCkIHnaYcGuHcbf4uSZZ/Q3JZGxszZqi0+tqg/qHBljPthJK0izZ1esoaIeYLT6AYXZ4UqQiPbjSJkdMHONSE6sv5g8OvIxy+pNsdy2pDg2pl6/xE779tzxGgX+P+86p1p36EzmfDqq7zCUDF4uKVUCmTqjrMHKyqQIEcvw6clIxPFng0PPrr9ZjWYcmsHEvfzfTlGgQ5oLNQ2zPheGzU0RMzSFL0CHy9v9ppxXqhDLpnnpaJiHQgTtU1a1aLE/P9Z2K9DPNEAGlR2+TPojtLN8cnk+jgKiZRwxGCXWTU7MnkBxedwak1ygMS4sODhkKVsmXgNXHqYQK10aTLA3BAaXq3QmDEUZBWLudEaoT5hZLSTcaT/dDShoxezeQhx+6IMLtgpfURWX+rcZTt1kvXCSOE0tC57OD5AFbnu54qvegxLtdL7lN12Wq8mVXoeP51G7kpsSqc0xNhONl4snS4lqVV2PZAKyQx312CeFkabs9aducWGoNRaRS4EalsNg2UBgpcms16tsHznGa6KX7nZmRDIdSf70xQuC0ifol5hnNfml814LmtwfTufq6VWCod3wcfEbQa32QA4witO9o/UxOwtu1Wsm/+R4fBsEfkiJbgSYNBto/MvpfQqrWUOElQAkqlTVbp1c4Vz4q1jJv5TlaK5YQonsUvGDaYA+1mHlBE6jsiM9TVlLYW3ehVdQWUDslj+M67vETgGZDTJtZPdlK1Je2x1GQcUwfDYv4+GK+M/0Clur4JVO6wHq7RA5PG9IZVrcUq7XTw2GK+uRL0eNHV5fxlAcljymqpSvuH3wDY1fxFxw+n24O154tReemGi5a8WsHmY8xP8IUqDtt9frbZALetsiz1UTPjydGFciy/z/n9mU72XJae347bS3Iy1k7PjsUH0EbL9i07+gmUImShNoO/5BjFJhrULSPMd/x34jLIog1VU1t1rYe2EZI94ussb8Mvr/ma/nul/u5bIab+pCUshcbumrRP6/uZ3i2CobHdE+r6kbQ/FrLbbiNQY5vorhLjE81I7MVXhZCiNaW2Ze/PEO7PjQ5FZ6uvZ4O5E8pj37RGZWe5SxNURdyTHuHQ7dWRtOOBTD7K3xkfNOBoYbTybua/D1vC/rI78gzA7MB8wBwYFKw4DAhoEFBfuUWxdGOn/eKJwUaUSAkWzPL8SBBQMQ2N/ac3j2YRQXIiAskcAj0J58AICB9A=\",\r\n \"password\": \"powershelltest\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "3555" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "00deaad4-7d27-4587-8542-3c365cfb7ef5" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "ef48d72e-9a05-40f8-a275-aae21b1ba5d0" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190343Z:ef48d72e-9a05-40f8-a275-aae21b1ba5d0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk7705\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "175" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "6d9fc82e-76b0-4ae4-b0f5-0696a4b29343" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" - ], - "x-ms-correlation-request-id": [ - "81e2df46-5fc0-46ea-a7fc-f4c7dd224648" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190342Z:81e2df46-5fc0-46ea-a7fc-f4c7dd224648" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:42 GMT" - ], - "ETag": [ - "\"AAAAAAAACCY=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk7705\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "175" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "97d91d59-703e-4f67-84c9-6640f39a7c7c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" - ], - "x-ms-correlation-request-id": [ - "864b4442-2329-479f-8e50-07f040210d12" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190342Z:864b4442-2329-479f-8e50-07f040210d12" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:42 GMT" - ], - "ETag": [ - "\"AAAAAAAACCY=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/certificates/onesdk7705\",\r\n \"subject\": \"CN=ailn.redmond.corp.microsoft.com\",\r\n \"thumbprint\": \"51A702569BADEDB90A75141B070F2D4B5DDFA447\",\r\n \"expirationDate\": \"2016-04-24T00:00:00\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "175" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "03382e8b-e254-400d-9888-7c70f1dab051" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" - ], - "x-ms-correlation-request-id": [ - "f8c41c26-73a1-4b0b-abee-33dffb8a5897" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190343Z:f8c41c26-73a1-4b0b-abee-33dffb8a5897" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:43 GMT" - ], - "ETag": [ - "\"AAAAAAAACCY=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Certificate not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "87" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "534ee5b9-08f6-4a49-962f-ee8abcf0a652" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" - ], - "x-ms-correlation-request-id": [ - "7ffebcb8-e1d2-4788-b900-34b07399a57d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190344Z:7ffebcb8-e1d2-4788-b900-34b07399a57d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:44 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/certificates/onesdk7705?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvY2VydGlmaWNhdGVzL29uZXNkazc3MDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "62e76f7e-095e-41b0-b1d1-43c523f60d5b" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "7cf9f7a6-7883-47ef-a254-41ff3aa39d2d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190344Z:7cf9f7a6-7883-47ef-a254-41ff3aa39d2d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:44 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk7705" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json deleted file mode 100644 index adac6e2194a0..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/GroupCrudTest.json +++ /dev/null @@ -1,1048 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "815" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "960ef348-9c6e-4a0c-8bd1-0f099b2d588e" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], - "x-ms-correlation-request-id": [ - "d1294966-8d81-448a-ae4e-834d0f2a161e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190234Z:d1294966-8d81-448a-ae4e-834d0f2a161e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:33 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/558af9d57e888003f1020001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzLzU1OGFmOWQ1N2U4ODgwMDNmMTAyMDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/groups/558af9d57e888003f1020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "273" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "71bfa4f8-88c8-41b5-884a-13f755269bb7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" - ], - "x-ms-correlation-request-id": [ - "eeb780ac-9c46-4df1-a924-4c2b77cd4878" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190234Z:eeb780ac-9c46-4df1-a924-4c2b77cd4878" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:34 GMT" - ], - "ETag": [ - "\"AAAAAAAAB+A=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/558af9d57e888003f1020002?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzLzU1OGFmOWQ1N2U4ODgwMDNmMTAyMDAwMj9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/groups/558af9d57e888003f1020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "c8c39de9-f2ff-4a8b-bd8f-924e15fd1c35" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], - "x-ms-correlation-request-id": [ - "5a3c9ede-1ce9-4a11-9137-545741e075ea" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190235Z:5a3c9ede-1ce9-4a11-9137-545741e075ea" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:34 GMT" - ], - "ETag": [ - "\"AAAAAAAAB+E=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/558af9d57e888003f1020003?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzLzU1OGFmOWQ1N2U4ODgwMDNmMTAyMDAwMz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/groups/558af9d57e888003f1020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "265" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "5a496628-b9eb-456c-93ad-a7848858e52a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" - ], - "x-ms-correlation-request-id": [ - "3327e8fe-9e78-4389-af79-6c25a627a4f7" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190235Z:3327e8fe-9e78-4389-af79-6c25a627a4f7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:34 GMT" - ], - "ETag": [ - "\"AAAAAAAAB+I=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk3217\",\r\n \"description\": \"onesdk2794\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "60" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "d94ba21d-22b6-4cee-afb9-fcfa327d90e5" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "250d3ad7-9274-4167-bbac-8467972d9285" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190236Z:250d3ad7-9274-4167-bbac-8467972d9285" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:35 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/groups/onesdk877\",\r\n \"name\": \"onesdk3217\",\r\n \"description\": \"onesdk2794\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "123" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "130238f2-e91d-4061-bfba-1f0ffadad95f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" - ], - "x-ms-correlation-request-id": [ - "87338b32-ec72-4673-88df-cbc3470b4c81" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190237Z:87338b32-ec72-4673-88df-cbc3470b4c81" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:37 GMT" - ], - "ETag": [ - "\"AAAAAAAACBc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/groups/onesdk877\",\r\n \"name\": \"onesdk1858\",\r\n \"description\": \"onesdk9563\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "123" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2903ae98-17f1-498a-8abc-ccde7b0db2dc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" - ], - "x-ms-correlation-request-id": [ - "65082f5d-7a6f-4619-9356-0ecc3e0e90cc" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190238Z:65082f5d-7a6f-4619-9356-0ecc3e0e90cc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:37 GMT" - ], - "ETag": [ - "\"AAAAAAAACBg=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Group not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "81" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "090e7754-6560-49ef-9ca2-c793c898819c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" - ], - "x-ms-correlation-request-id": [ - "46645dab-15c3-4f33-83c8-3b327c6511c3" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190244Z:46645dab-15c3-4f33-83c8-3b327c6511c3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:44 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"name\": \"onesdk1858\",\r\n \"description\": \"onesdk9563\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "60" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "152cae0b-f6cd-4c72-b78a-cf0388146e8a" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "6b202bc2-c6bd-4ea4-a9b8-e77c2f8548b3" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190237Z:6b202bc2-c6bd-4ea4-a9b8-e77c2f8548b3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:37 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 1,\r\n \"subscriptionPeriod\": {\r\n \"value\": 15,\r\n \"interval\": \"day\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 12,\r\n \"interval\": \"day\"\r\n },\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "685" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "58fb8856-5d43-4090-ba6f-eda1845ebe15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" - ], - "x-ms-correlation-request-id": [ - "7ed10aaa-fec3-4bcb-8d01-8d0c1d5062a2" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190238Z:7ed10aaa-fec3-4bcb-8d01-8d0c1d5062a2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:38 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2dyb3Vwcy9vbmVzZGs4Nzc/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "PUT", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "586aa84f-6a7a-4fd6-a6e7-c039fed33751" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "83c0b462-42e4-4a4c-9109-d975814d7c43" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190238Z:83c0b462-42e4-4a4c-9109-d975814d7c43" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:38 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/groups?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/onesdk877\",\r\n \"name\": \"onesdk1858\",\r\n \"description\": \"onesdk9563\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 4,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "939" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "c334de0a-ef99-4576-879d-801a6602e825" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" - ], - "x-ms-correlation-request-id": [ - "b24dd689-e6c4-4b9e-b40c-4d20da1b1f12" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190239Z:b24dd689-e6c4-4b9e-b40c-4d20da1b1f12" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:39 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/groups?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020003\",\r\n \"name\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "815" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f0c271bb-ef88-4041-900a-5b67767c89c6" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" - ], - "x-ms-correlation-request-id": [ - "272d0534-75f0-42d3-8398-c422578927c7" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190240Z:272d0534-75f0-42d3-8398-c422578927c7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:39 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxL2dyb3Vwcy9vbmVzZGs4Nzc/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "b4d59f90-038e-488b-a5d5-60b8176c1666" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "053126da-b811-4f86-a021-61d15dfc834a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190239Z:053126da-b811-4f86-a021-61d15dfc834a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:39 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-06-24T18:41:25.687\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "268" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "11cb4c5b-f089-40fc-aa56-879642e6814f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" - ], - "x-ms-correlation-request-id": [ - "15f5c925-22ca-4a3b-839b-0d4e98a24798" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190241Z:15f5c925-22ca-4a3b-839b-0d4e98a24798" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:40 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877/users/1?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Ny91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "b4d4845b-5bf0-41f4-a0d9-81175341d4c1" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "ea092641-f561-40bd-831c-21d81a04de6f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190241Z:ea092641-f561-40bd-831c-21d81a04de6f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:41 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/1/groups?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvMS9ncm91cHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/onesdk877\",\r\n \"name\": \"onesdk1858\",\r\n \"description\": \"onesdk9563\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 3,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "673" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "b3159d06-835f-4f8b-bf65-380a337e7a7f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" - ], - "x-ms-correlation-request-id": [ - "57b53ac6-21b0-412d-8f29-53a74c88f726" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190242Z:57b53ac6-21b0-412d-8f29-53a74c88f726" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:41 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/1/groups?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvMS9ncm91cHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020001\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n },\r\n {\r\n \"id\": \"/groups/558af9d57e888003f1020002\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "549" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2c4aa568-0a90-43e1-a584-c5a19aa74f21" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" - ], - "x-ms-correlation-request-id": [ - "b7bc0492-638a-4b39-975c-8221f94b27b0" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190243Z:b7bc0492-638a-4b39-975c-8221f94b27b0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877/users/1?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Ny91c2Vycy8xP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "152ab513-f96f-4916-a764-f73459690b06" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" - ], - "x-ms-correlation-request-id": [ - "a846165c-b21d-4abb-a5bd-a4f5f5f47273" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190243Z:a846165c-b21d-4abb-a5bd-a4f5f5f47273" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/groups/onesdk877?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvZ3JvdXBzL29uZXNkazg3Nz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "7fd9756a-3e7c-4fe9-9582-1e6f6f479a72" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" - ], - "x-ms-correlation-request-id": [ - "eea33f45-3e73-48e6-a34e-94c7f7270c7e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190244Z:eea33f45-3e73-48e6-a34e-94c7f7270c7e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:44 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk877", - "onesdk3217", - "onesdk2794", - "onesdk1858", - "onesdk9563" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json deleted file mode 100644 index 4c7ea632f56f..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/OperationsCrudTest.json +++ /dev/null @@ -1,785 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3RWNobyUyMEFQSSUyNw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ac764ab3-897f-49d9-8389-6c0cd2fda186" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" - ], - "x-ms-correlation-request-id": [ - "af14f190-10b6-4ae4-a4ac-a0bf96110737" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190409Z:af14f190-10b6-4ae4-a4ac-a0bf96110737" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:09 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "2340" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2ff1b9a6-be66-4d84-8861-8721634dd5fc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" - ], - "x-ms-correlation-request-id": [ - "ccfa7503-dfb7-42d3-a6bc-ee909182968c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190409Z:ccfa7503-dfb7-42d3-a6bc-ee909182968c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:09 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQ/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "850" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "441f6e3f-80cd-4989-baf9-40a39ea6e492" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" - ], - "x-ms-correlation-request-id": [ - "6de924c1-df7c-429b-b891-e7f74ec50313" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190410Z:6de924c1-df7c-429b-b891-e7f74ec50313" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:09 GMT" - ], - "ETag": [ - "\"AAAAAAAACBM=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080003?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "523" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "3f48ff07-b7f6-49b7-9b57-f07a428d1fe9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" - ], - "x-ms-correlation-request-id": [ - "d0463d54-e8d1-4fa6-a128-bd86658528b4" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190410Z:d0463d54-e8d1-4fa6-a128-bd86658528b4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:09 GMT" - ], - "ETag": [ - "\"AAAAAAAACBE=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080005?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDU/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "533" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "13243f9d-f8ff-4f41-9b17-dc61089c3960" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" - ], - "x-ms-correlation-request-id": [ - "04e64377-94da-42a4-8e8b-3961f0e0eccd" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190410Z:04e64377-94da-42a4-8e8b-3961f0e0eccd" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:10 GMT" - ], - "ETag": [ - "\"AAAAAAAACBQ=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080006?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDY/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "518" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "1b0b1ba6-176d-4e0a-b76e-1808efb4064d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" - ], - "x-ms-correlation-request-id": [ - "ea6edf65-17b4-44c5-8917-4673f036ff06" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190410Z:ea6edf65-17b4-44c5-8917-4673f036ff06" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:10 GMT" - ], - "ETag": [ - "\"AAAAAAAACBY=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"number\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"Returned in all cases.\",\r\n \"representations\": [],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "906" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "683b9f15-384e-4dcd-b078-35e2829fc91f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" - ], - "x-ms-correlation-request-id": [ - "ba5d007b-36fc-4b3b-b3a3-328362a9aadf" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190411Z:ba5d007b-36fc-4b3b-b3a3-328362a9aadf" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:10 GMT" - ], - "ETag": [ - "\"AAAAAAAACA4=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080002?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "999" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "48e0302d-0e04-4b55-a9a0-9c137ec3d77d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" - ], - "x-ms-correlation-request-id": [ - "6877762f-49bf-43dd-bfe6-d2d68bcf5fc3" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190411Z:6877762f-49bf-43dd-bfe6-d2d68bcf5fc3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:10 GMT" - ], - "ETag": [ - "\"AAAAAAAACBA=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/onesdk6272?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy9vbmVzZGs2MjcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk5329\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/resource/{rid}?q={query}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"rid\",\r\n \"description\": \"Resource identifier\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"query\",\r\n \"description\": \"Query string\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk7501\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk9333\",\r\n \"description\": \"onesdk8401\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk18\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk18\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk5924\",\r\n \"description\": \"onesdk1104\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk9283\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk9283\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk4397\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk8779\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk4721\",\r\n \"sample\": \"onesdk5920\"\r\n }\r\n ]\r\n }\r\n ]\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "1433" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "faadbd8c-77b6-4265-93bb-086d93795357" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" - ], - "x-ms-correlation-request-id": [ - "f57d7815-a23c-42dd-b1ab-97a3c21be6a0" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190412Z:f57d7815-a23c-42dd-b1ab-97a3c21be6a0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:11 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/onesdk6272?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy9vbmVzZGs2MjcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/onesdk6272\",\r\n \"name\": \"onesdk5329\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/resource/{rid}?q={query}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"rid\",\r\n \"description\": \"Resource identifier\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"query\",\r\n \"description\": \"Query string\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk7501\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk9333\",\r\n \"description\": \"onesdk8401\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk18\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk18\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk5924\",\r\n \"description\": \"onesdk1104\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk9283\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk9283\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk4397\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk8779\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk4721\",\r\n \"sample\": \"onesdk5920\"\r\n }\r\n ],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "998" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "def5ecee-d96f-43f7-8f0f-1741001150f4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" - ], - "x-ms-correlation-request-id": [ - "cb66d5c2-fab8-4c5d-ad97-3cc429181877" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190412Z:cb66d5c2-fab8-4c5d-ad97-3cc429181877" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:12 GMT" - ], - "ETag": [ - "\"AAAAAAAACCk=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/onesdk6272?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy9vbmVzZGs2MjcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/onesdk6272\",\r\n \"name\": \"onesdk2234\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource/{xrid}?q={xquery}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"xrid\",\r\n \"description\": \"Resource identifier modified\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"xquery\",\r\n \"description\": \"Query string modified\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk2126\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request modified\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk5510\",\r\n \"description\": \"onesdk6545\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk1399\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk1399\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk4347\",\r\n \"description\": \"onesdk4458\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk3085\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk3085\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk5039\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk38\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk4705\",\r\n \"sample\": \"onesdk7110\"\r\n }\r\n ],\r\n \"headers\": null\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "1029" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "dffa1af0-4a5a-4ebd-97b3-c1c6f4868422" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" - ], - "x-ms-correlation-request-id": [ - "7d294f27-53e1-4319-a0fc-abc72949ad83" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190413Z:7d294f27-53e1-4319-a0fc-abc72949ad83" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:12 GMT" - ], - "ETag": [ - "\"AAAAAAAACCo=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/onesdk6272?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy9vbmVzZGs2MjcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Operation not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "85" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "47dd45ac-ce3f-4488-a64d-9deacab86c61" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14926" - ], - "x-ms-correlation-request-id": [ - "15c05936-e7a5-4124-aaf5-bd50c1453129" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190415Z:15c05936-e7a5-4124-aaf5-bd50c1453129" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:14 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/onesdk6272?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy9vbmVzZGs2MjcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"name\": \"onesdk2234\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource/{xrid}?q={xquery}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"xrid\",\r\n \"description\": \"Resource identifier modified\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"xquery\",\r\n \"description\": \"Query string modified\",\r\n \"type\": \"string\",\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"onesdk2126\",\r\n \"request\": {\r\n \"description\": \"Create/update resource request modified\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"onesdk5510\",\r\n \"description\": \"onesdk6545\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk1399\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk1399\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"onesdk4347\",\r\n \"description\": \"onesdk4458\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"onesdk3085\",\r\n \"required\": true,\r\n \"values\": [\r\n \"onesdk3085\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"onesdk5039\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"onesdk38\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"onesdk4705\",\r\n \"sample\": \"onesdk7110\"\r\n }\r\n ]\r\n }\r\n ]\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "1464" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "41c5a3df-b5d7-49d3-8b5c-5c4219239362" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "e566f159-3fab-47c8-9ec0-fa60e5b35a8c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190413Z:e566f159-3fab-47c8-9ec0-fa60e5b35a8c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:12 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/onesdk6272?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy9vbmVzZGs2MjcyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "69936a38-c7f0-4d6e-9c1a-a91928a190d2" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "5dc9ea0c-ab0c-4279-a5aa-9547b660e395" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190415Z:5dc9ea0c-ab0c-4279-a5aa-9547b660e395" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:14 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk6272", - "onesdk5329", - "onesdk7501", - "onesdk9540", - "onesdk5924", - "onesdk1104", - "onesdk9283", - "onesdk9333", - "onesdk8401", - "onesdk18", - "onesdk4397", - "onesdk8779", - "onesdk4721", - "onesdk5920", - "onesdk2234", - "onesdk2126", - "onesdk9068", - "onesdk4347", - "onesdk4458", - "onesdk3085", - "onesdk5510", - "onesdk6545", - "onesdk1399", - "onesdk5039", - "onesdk38", - "onesdk4705", - "onesdk7110" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json deleted file mode 100644 index af1c9fa3d455..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/PolicyCrudTest.json +++ /dev/null @@ -1,2156 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n bbyby\r\n \r\n \r\n \r\n xxbbcczc\r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "632" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "7ba1bce3-8c34-443a-8a64-88a05da5d084" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" - ], - "x-ms-correlation-request-id": [ - "3a1862b2-4025-4a35-aea8-fe8cbf5639f5" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190540Z:3a1862b2-4025-4a35-aea8-fe8cbf5639f5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:40 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n bbyby\r\n \r\n \r\n \r\n xxbbcczc\r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "452" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "a8c523b4-9191-4105-9fc2-3e26f3f18b51" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" - ], - "x-ms-correlation-request-id": [ - "8947fc44-8a6a-4407-b046-2b26202b8f82" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190552Z:8947fc44-8a6a-4407-b046-2b26202b8f82" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:51 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n bbyby\r\n \r\n \r\n \r\n xxbbcczc\r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "510" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "53a9d8ea-9bfc-4ccf-9cba-5a8e267d4f5f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" - ], - "x-ms-correlation-request-id": [ - "834786e2-e9a7-449c-9e98-ec97bc70965f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190541Z:834786e2-e9a7-449c-9e98-ec97bc70965f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:40 GMT" - ], - "ETag": [ - "\"AAAAAAAACDM=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "038b5687-b12e-42c4-a73a-deb70a01a20c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" - ], - "x-ms-correlation-request-id": [ - "fc7cc87e-d2ca-4184-a761-a0edb6be1e30" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190541Z:fc7cc87e-d2ca-4184-a761-a0edb6be1e30" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:41 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n bbyby\r\n \r\n \r\n \r\n xxbbcczc\r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "510" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "93d8b0aa-3522-44a4-aecc-5b676a8fa8d8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], - "x-ms-correlation-request-id": [ - "8679ae4e-ba7a-48b7-adc3-fc5a78549458" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190552Z:8679ae4e-ba7a-48b7-adc3-fc5a78549458" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:52 GMT" - ], - "ETag": [ - "\"AAAAAAAACDw=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "079a67b6-4aa2-42f9-ba8d-58ff96df7f51" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" - ], - "x-ms-correlation-request-id": [ - "5a060a6b-15bd-4335-88db-484cf29bd51c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190553Z:5a060a6b-15bd-4335-88db-484cf29bd51c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:52 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "cc7792ad-b20f-47df-8d14-2196023c01d7" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" - ], - "x-ms-correlation-request-id": [ - "c47f217b-5352-4784-a950-07bbcb0a3418" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190541Z:c47f217b-5352-4784-a950-07bbcb0a3418" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:40 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/tenant/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdGVuYW50L3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "dbfcccc1-85dd-43bd-b2cf-1e10589be406" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" - ], - "x-ms-correlation-request-id": [ - "3b41e61c-35fa-4961-91da-50d1c434c8bd" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190552Z:3b41e61c-35fa-4961-91da-50d1c434c8bd" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:52 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products?api-version=2014-02-14&$filter=name%20eq%20'Unlimited'", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNCYkZmlsdGVyPW5hbWUlMjBlcSUyMCUyN1VubGltaXRlZCUyNw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "317" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "97620349-628a-41f5-8012-10aab892ef4f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "8474f750-e514-4fa6-bd45-a239c0f7e83c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190542Z:8474f750-e514-4fa6-bd45-a239c0f7e83c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:41 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products?api-version=2014-02-14&$filter=name%20eq%20'Unlimited'", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNCYkZmlsdGVyPW5hbWUlMjBlcSUyMCUyN1VubGltaXRlZCUyNw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "317" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ec5b7ee9-3e4d-48b1-a14f-c14171d12daa" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], - "x-ms-correlation-request-id": [ - "52d5eae7-fe3e-4843-8708-8e97bf6a49b7" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190554Z:52d5eae7-fe3e-4843-8708-8e97bf6a49b7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "276" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "27c23749-ddcb-4dc0-aaf0-52a6f8567c32" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" - ], - "x-ms-correlation-request-id": [ - "cbbe47ee-0798-482e-ac91-509959d2113b" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190542Z:cbbe47ee-0798-482e-ac91-509959d2113b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:41 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "166" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "34ddda37-cf84-41a6-a4d5-981545b92a06" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" - ], - "x-ms-correlation-request-id": [ - "93698c96-bdac-49cc-b8f7-9e8aa6d78474" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190554Z:93698c96-bdac-49cc-b8f7-9e8aa6d78474" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "199" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "09a17dd3-04fb-49c7-9f8c-793cc1f5f1a8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], - "x-ms-correlation-request-id": [ - "94630dea-5246-4b21-8e29-aad153a0890f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190543Z:94630dea-5246-4b21-8e29-aad153a0890f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:42 GMT" - ], - "ETag": [ - "\"AAAAAAAACDQ=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "9413893b-f1c8-4ba0-be3b-23f48b7ad065" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" - ], - "x-ms-correlation-request-id": [ - "23c5b747-89f2-4fe1-87b0-c9367a4fe320" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190543Z:23c5b747-89f2-4fe1-87b0-c9367a4fe320" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "199" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "bb66494b-3af6-47a7-8131-c03190b9a6a1" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" - ], - "x-ms-correlation-request-id": [ - "e455080b-f8a1-449b-8481-a61683ecbdab" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190554Z:e455080b-f8a1-449b-8481-a61683ecbdab" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:54 GMT" - ], - "ETag": [ - "\"AAAAAAAACD0=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "bc0fbfc8-e4db-4c68-a38c-cf8d6dd2225f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" - ], - "x-ms-correlation-request-id": [ - "4bcc759f-bb17-49ee-9c0c-4f4b00d65477" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190555Z:4bcc759f-bb17-49ee-9c0c-4f4b00d65477" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:55 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "82daa665-e076-4d6f-829f-908da6c99855" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" - ], - "x-ms-correlation-request-id": [ - "1dd69af6-6276-4747-b35a-e22755c35f19" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190543Z:1dd69af6-6276-4747-b35a-e22755c35f19" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:42 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060002/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAyL3BvbGljeT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2061a8a3-d337-473a-8e8f-1dfe21b2c646" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" - ], - "x-ms-correlation-request-id": [ - "d2a897b1-3913-4d9a-8edd-047e92b58964" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190555Z:d2a897b1-3913-4d9a-8edd-047e92b58964" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:55 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "54b15d2f-0de9-4712-b99d-18870e5088bb" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-correlation-request-id": [ - "5a538d85-1901-408b-b338-9cdbe5912909" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190544Z:5a538d85-1901-408b-b338-9cdbe5912909" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "14db725a-69a3-477c-b812-2a3edeacadb9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" - ], - "x-ms-correlation-request-id": [ - "2ab2ce41-0847-4ee6-bd81-c0bab85ba500" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190547Z:2ab2ce41-0847-4ee6-bd81-c0bab85ba500" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:47 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "7b4da1e6-fca0-460c-acde-552ac0b4e5b3" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" - ], - "x-ms-correlation-request-id": [ - "9c91b58c-7f66-464f-b691-d4383b184342" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190555Z:9c91b58c-7f66-464f-b691-d4383b184342" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:55 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2a4ca016-7f3e-4487-9440-ff297c1c4f27" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" - ], - "x-ms-correlation-request-id": [ - "10b09111-17e8-4a19-b86a-b3a048b95866" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190557Z:10b09111-17e8-4a19-b86a-b3a048b95866" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n version\r\n Accept\r\n Accept-Charset\r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "531" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "030ee3c4-2655-481e-a1c6-68ec53e7137d" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" - ], - "x-ms-correlation-request-id": [ - "48fb2c04-2686-4d5b-909f-f7e48a0313b9" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190545Z:48fb2c04-2686-4d5b-909f-f7e48a0313b9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:45 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n version\r\n Accept\r\n Accept-Charset\r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "369" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f7d18697-c798-45ff-94fb-81a9bb7859a0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" - ], - "x-ms-correlation-request-id": [ - "55ad6e35-c913-4708-ac3a-d8bbb867564e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190556Z:55ad6e35-c913-4708-ac3a-d8bbb867564e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:56 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n version\r\n Accept\r\n Accept-Charset\r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "421" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "3487ffdf-dacd-48c3-b734-048ba8f1dae3" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" - ], - "x-ms-correlation-request-id": [ - "06c500f5-96c8-40f2-a678-460a6328197d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190546Z:06c500f5-96c8-40f2-a678-460a6328197d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:46 GMT" - ], - "ETag": [ - "\"AAAAAAAACDc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "4dee0874-5ba4-4279-b049-b3a069a79043" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" - ], - "x-ms-correlation-request-id": [ - "f28c154d-2032-480f-9720-b254b5a4b38d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190547Z:f28c154d-2032-480f-9720-b254b5a4b38d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:46 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n version\r\n Accept\r\n Accept-Charset\r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "421" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "28e52443-b1b1-41f8-9c5d-a14fe900ff69" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" - ], - "x-ms-correlation-request-id": [ - "3711b346-dd1e-44d4-8a45-5d23fbf57a29" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190556Z:3711b346-dd1e-44d4-8a45-5d23fbf57a29" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:56 GMT" - ], - "ETag": [ - "\"AAAAAAAACEA=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "b82d17ea-660f-48f4-8082-41e7a4230c6d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" - ], - "x-ms-correlation-request-id": [ - "76fc0f1f-28b4-491c-b034-f98825a2d58a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190557Z:76fc0f1f-28b4-491c-b034-f98825a2d58a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "45ba36a7-1e1f-4c73-a046-cef4254485d0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" - ], - "x-ms-correlation-request-id": [ - "ef8b17f3-ded3-446d-9d2a-454aa42ec5ad" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190546Z:ef8b17f3-ded3-446d-9d2a-454aa42ec5ad" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:46 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "c6989984-a37d-448b-ac41-80b3d367f468" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1178" - ], - "x-ms-correlation-request-id": [ - "5213ba67-201a-44ba-9752-75fcfd3503d3" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190557Z:5213ba67-201a-44ba-9752-75fcfd3503d3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:56 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "2340" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "98004783-9c6f-42d0-a85c-b8e3fc123e42" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" - ], - "x-ms-correlation-request-id": [ - "32024360-263f-49c1-9560-aac81647d332" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190547Z:32024360-263f-49c1-9560-aac81647d332" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:47 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004\",\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080003\",\r\n \"name\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080005\",\r\n \"name\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080006\",\r\n \"name\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080001\",\r\n \"name\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\"\r\n },\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080002\",\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\"\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "2340" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "5d7e57fd-abac-4dbd-a6a2-96642d1f3e5d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" - ], - "x-ms-correlation-request-id": [ - "8cb10318-116d-46e4-9fb2-b947be614c52" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190558Z:8cb10318-116d-46e4-9fb2-b947be614c52" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "213" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "bacd2e7b-0f19-4df1-9f65-f74151752005" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" - ], - "x-ms-correlation-request-id": [ - "70c818d8-a485-4296-89fe-3e034d625a3d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190549Z:70c818d8-a485-4296-89fe-3e034d625a3d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:49 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "RequestHeaders": { - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "Content-Length": [ - "113" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "11ed459a-2636-42b9-9866-e8d7ca4d034f" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1177" - ], - "x-ms-correlation-request-id": [ - "c9bbb7b9-3e8b-4e7f-a289-365eea963bd4" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190558Z:c9bbb7b9-3e8b-4e7f-a289-365eea963bd4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "142" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "d80fce0c-6cb2-4128-8f67-5c7919e9e7cf" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" - ], - "x-ms-correlation-request-id": [ - "764e7bdb-d50f-4e63-a65b-1873ed9c7b38" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190551Z:764e7bdb-d50f-4e63-a65b-1873ed9c7b38" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:50 GMT" - ], - "ETag": [ - "\"AAAAAAAACDo=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "8c9e0e30-611f-4431-bee3-e6bffb54fd07" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" - ], - "x-ms-correlation-request-id": [ - "dc05d68a-d059-4e8e-9283-f47fb5920094" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190551Z:dc05d68a-d059-4e8e-9283-f47fb5920094" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:51 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "142" - ], - "Content-Type": [ - "application/vnd.ms-azure-apim.policy+xml; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "76989160-3771-4341-9c09-60c0a064e893" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" - ], - "x-ms-correlation-request-id": [ - "fd58e9ab-6c27-4749-aba5-7d0415a083c8" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190558Z:fd58e9ab-6c27-4749-aba5-7d0415a083c8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:58 GMT" - ], - "ETag": [ - "\"AAAAAAAACEM=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/vnd.ms-azure-apim.policy+xml" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "97" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "78ba4895-eab4-4dd3-8b7d-deb20a41ff2a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" - ], - "x-ms-correlation-request-id": [ - "105ade4e-3fa6-40a3-ac56-397ea18c6398" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190559Z:105ade4e-3fa6-40a3-ac56-397ea18c6398" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:58 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "e34dc659-3b98-4e59-96e3-04daa204aea7" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" - ], - "x-ms-correlation-request-id": [ - "54d3242f-3132-4219-beb6-55e2632a0352" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190551Z:54d3242f-3132-4219-beb6-55e2632a0352" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:51 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis/558af9d67e888003f1040001/operations/558af9d67e888003f1080004/policy?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcy81NThhZjlkNjdlODg4MDAzZjEwNDAwMDEvb3BlcmF0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwODAwMDQvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "66f76a0c-83dd-4a29-b13b-ec95f6af1edb" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1176" - ], - "x-ms-correlation-request-id": [ - "8418e66e-5f4f-41d0-9ff0-5caaf1544233" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190559Z:8418e66e-5f4f-41d0-9ff0-5caaf1544233" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:58 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json deleted file mode 100644 index aba7fb1977e8..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ProductCrudTest.json +++ /dev/null @@ -1,690 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 100,\r\n \"subscriptionPeriod\": {\r\n \"value\": 15,\r\n \"interval\": \"day\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 12,\r\n \"interval\": \"day\"\r\n },\r\n \"state\": \"published\"\r\n },\r\n {\r\n \"id\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "687" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "bd8c1a4c-0166-4497-8134-a681f8ff72e4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" - ], - "x-ms-correlation-request-id": [ - "8c8661c5-0327-4714-a81d-014fe8e15959" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190450Z:8c8661c5-0327-4714-a81d-014fe8e15959" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:50 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1Mz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk2510\",\r\n \"description\": \"onesdk8507\",\r\n \"terms\": \"onesdk8371\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"subscriptionPeriod\": {\r\n \"value\": 1,\r\n \"interval\": \"Year\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 2,\r\n \"interval\": \"Month\"\r\n },\r\n \"state\": \"Published\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "351" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "8779a623-3dd4-4c1c-84ef-fec1b079d930" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1162" - ], - "x-ms-correlation-request-id": [ - "e601fc21-7655-468a-8907-a095cd8f955f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190455Z:e601fc21-7655-468a-8907-a095cd8f955f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1Mz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/products/onesdk3153\",\r\n \"name\": \"onesdk2510\",\r\n \"description\": \"onesdk8507\",\r\n \"terms\": \"onesdk8371\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"subscriptionPeriod\": {\r\n \"value\": 1,\r\n \"interval\": \"year\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 2,\r\n \"interval\": \"month\"\r\n },\r\n \"state\": \"notPublished\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "299" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "3e1b520a-9fcc-42ea-939a-2e6b9cef8ac4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" - ], - "x-ms-correlation-request-id": [ - "5b6cdcde-d5ed-49f6-b3be-dec23bc87ce5" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190456Z:5b6cdcde-d5ed-49f6-b3be-dec23bc87ce5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:56 GMT" - ], - "ETag": [ - "\"AAAAAAAACC8=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1Mz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/products/onesdk3153\",\r\n \"name\": \"onesdk7844\",\r\n \"description\": \"onesdk440\",\r\n \"terms\": \"onesdk126\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 20,\r\n \"subscriptionPeriod\": {\r\n \"value\": 2,\r\n \"interval\": \"year\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 5,\r\n \"interval\": \"month\"\r\n },\r\n \"state\": \"published\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "295" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "784b4605-6ec7-4bc8-a0c3-9bcf9430e804" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" - ], - "x-ms-correlation-request-id": [ - "649a68bb-2bd2-47a0-b0bf-1066a4308eb6" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190519Z:649a68bb-2bd2-47a0-b0bf-1066a4308eb6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:19 GMT" - ], - "ETag": [ - "\"AAAAAAAACDE=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1My9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"count\": 0,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "38" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "f3f185de-8983-49f7-b2df-cfa4353bd667" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" - ], - "x-ms-correlation-request-id": [ - "6ba84781-05c6-4aac-af9c-679a25bdfa4c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190457Z:6ba84781-05c6-4aac-af9c-679a25bdfa4c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1My9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "15e285ff-43e3-499c-8521-13970f2f5f83" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" - ], - "x-ms-correlation-request-id": [ - "41af4319-ae9b-4582-9c23-65aae81c791e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190511Z:41af4319-ae9b-4582-9c23-65aae81c791e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:10 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1My9hcGlzP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"count\": 0,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "38" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "95f3a174-6aa8-46ca-acb3-5b13a43b0b98" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14926" - ], - "x-ms-correlation-request-id": [ - "4c949d72-0eb5-4fdc-ad12-c5a9dd39feba" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190528Z:4c949d72-0eb5-4fdc-ad12-c5a9dd39feba" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:28 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "72914712-2bab-4165-9cb0-5aa568587d21" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" - ], - "x-ms-correlation-request-id": [ - "9143ede6-b3dd-4317-ae67-2c8a14f7bd4e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190458Z:9143ede6-b3dd-4317-ae67-2c8a14f7bd4e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:04:59 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/558af9d67e888003f1040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "cc946b0e-32e2-47ae-895d-8ef27a50844d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" - ], - "x-ms-correlation-request-id": [ - "080ac6bb-d7d3-4046-9816-ae1ae7dd4a1a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190522Z:080ac6bb-d7d3-4046-9816-ae1ae7dd4a1a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:21 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153/apis/558af9d67e888003f1040001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1My9hcGlzLzU1OGFmOWQ2N2U4ODgwMDNmMTA0MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "57a757c5-6595-4488-8d21-2f76038dcce6" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1161" - ], - "x-ms-correlation-request-id": [ - "99272e54-9d92-49f9-92d5-08c1dbd59e7e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190509Z:99272e54-9d92-49f9-92d5-08c1dbd59e7e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:08 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1Mz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"name\": \"onesdk7844\",\r\n \"description\": \"onesdk440\",\r\n \"terms\": \"onesdk126\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 20,\r\n \"subscriptionPeriod\": {\r\n \"value\": 2,\r\n \"interval\": \"Year\"\r\n },\r\n \"notificationPeriod\": {\r\n \"value\": 5,\r\n \"interval\": \"Month\"\r\n },\r\n \"state\": \"Published\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "350" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "404c6c1e-310f-4d3a-b92a-4339f5eb89f5" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1160" - ], - "x-ms-correlation-request-id": [ - "7e547f02-2d7b-4823-9224-4e397426b929" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190516Z:7e547f02-2d7b-4823-9224-4e397426b929" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:16 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153/apis/558af9d67e888003f1040001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1My9hcGlzLzU1OGFmOWQ2N2U4ODgwMDNmMTA0MDAwMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ca66369c-8529-4a91-8165-d2b726db2cf4" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1159" - ], - "x-ms-correlation-request-id": [ - "302af555-627a-4555-a1d2-4a071263bfd6" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190528Z:302af555-627a-4555-a1d2-4a071263bfd6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:28 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/onesdk3153?api-version=2014-02-14&deleteSubscriptions=true", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvb25lc2RrMzE1Mz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JmRlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "5792d262-7b5c-4188-a244-40d4e42674c5" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1158" - ], - "x-ms-correlation-request-id": [ - "c9c7dd1e-cc40-48d7-aac5-72acc67e019d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190530Z:c9c7dd1e-cc40-48d7-aac5-72acc67e019d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:05:29 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk3153", - "onesdk2510", - "onesdk8507", - "onesdk8371", - "onesdk7844", - "onesdk440", - "onesdk126" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json deleted file mode 100644 index d76e29b1f262..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/SubscriptionCrudTest.json +++ /dev/null @@ -1,504 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/558af9d67e888003f1070001\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-06-24T18:41:26.413\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"bee111753a2042a08e232b8567315c93\",\r\n \"secondaryKey\": \"35c24711aae744f69724ff56b975ffc1\",\r\n \"stateComment\": null\r\n },\r\n {\r\n \"id\": \"/subscriptions/558af9d67e888003f1070002\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-06-24T18:41:26.493\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"a6df3d1404d84ffc8a988804bd049c5a\",\r\n \"secondaryKey\": \"bf2f61bf1948456fb003ff67f94206f1\",\r\n \"stateComment\": null\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "803" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "398f4c30-5f25-41ce-8bcd-9303f5c33237" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" - ], - "x-ms-correlation-request-id": [ - "4bd6ca2d-5962-4dab-9037-37fa996c48e3" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190254Z:4bd6ca2d-5962-4dab-9037-37fa996c48e3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:53 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/558af9d67e888003f1070001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwNzAwMDE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/558af9d67e888003f1070001\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-06-24T18:41:26.413\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"bee111753a2042a08e232b8567315c93\",\r\n \"secondaryKey\": \"35c24711aae744f69724ff56b975ffc1\",\r\n \"stateComment\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "382" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "d663825b-0e5f-40f7-8ebd-1a4dc4c0858b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" - ], - "x-ms-correlation-request-id": [ - "cecdc7ed-d177-4f0e-82ac-4b5168950cdc" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190254Z:cecdc7ed-d177-4f0e-82ac-4b5168950cdc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:53 GMT" - ], - "ETag": [ - "\"AAAAAAAACAs=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/558af9d67e888003f1070002?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy81NThhZjlkNjdlODg4MDAzZjEwNzAwMDI/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/558af9d67e888003f1070002\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060002\",\r\n \"name\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-06-24T18:41:26.493\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"a6df3d1404d84ffc8a988804bd049c5a\",\r\n \"secondaryKey\": \"bf2f61bf1948456fb003ff67f94206f1\",\r\n \"stateComment\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "382" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "6e32db9d-4a0a-41d2-b1cc-b3f915d47f0b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" - ], - "x-ms-correlation-request-id": [ - "009f1191-7b20-42a8-a2db-1c7cc735316c" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190254Z:009f1191-7b20-42a8-a2db-1c7cc735316c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:53 GMT" - ], - "ETag": [ - "\"AAAAAAAACA0=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/products/558af9d67e888003f1060001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvcHJvZHVjdHMvNTU4YWY5ZDY3ZTg4ODAwM2YxMDYwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"subscriptionsLimit\": 100\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "33" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "7e155169-a59b-4495-9645-9958b1482bf6" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-correlation-request-id": [ - "1ea372f1-157a-4a17-b0aa-03c30406fd45" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190255Z:1ea372f1-157a-4a17-b0aa-03c30406fd45" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/onesdk5912?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy9vbmVzZGs1OTEyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": \"onesdk1913\",\r\n \"primaryKey\": \"onesdk9822\",\r\n \"secondaryKey\": \"onesdk6474\",\r\n \"state\": \"Active\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "193" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "eed1f077-c5e4-42c6-ad92-77f9eb8de6e7" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" - ], - "x-ms-correlation-request-id": [ - "3db1dc73-bf6b-42fb-b449-095dc8d82337" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190255Z:3db1dc73-bf6b-42fb-b449-095dc8d82337" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:55 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/onesdk5912?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy9vbmVzZGs1OTEyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/onesdk5912\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": \"onesdk1913\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-06-24T19:02:55.97\",\r\n \"startDate\": \"2015-06-24T00:00:00\",\r\n \"expirationDate\": \"2015-07-09T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2015-06-27T00:00:00\",\r\n \"primaryKey\": \"onesdk9822\",\r\n \"secondaryKey\": \"onesdk6474\",\r\n \"stateComment\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "382" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "431c778f-eb56-4c71-a5f5-affe7d070f11" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" - ], - "x-ms-correlation-request-id": [ - "c6fd0baa-1ff5-4bb2-b24f-e4cdf307326a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190256Z:c6fd0baa-1ff5-4bb2-b24f-e4cdf307326a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:55 GMT" - ], - "ETag": [ - "\"AAAAAAAACBs=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/onesdk5912?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy9vbmVzZGs1OTEyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/onesdk5912\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/558af9d67e888003f1060001\",\r\n \"name\": \"onesdk4\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2015-06-24T19:02:55.97\",\r\n \"startDate\": \"2015-06-24T00:00:00\",\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00\",\r\n \"primaryKey\": \"onesdk1459\",\r\n \"secondaryKey\": \"onesdk6664\",\r\n \"stateComment\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "379" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "0e3f5ecb-5edd-4a91-9643-45633e8b3f76" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" - ], - "x-ms-correlation-request-id": [ - "0c1c0a2a-b872-408b-accd-17782d1f9208" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190257Z:0c1c0a2a-b872-408b-accd-17782d1f9208" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:57 GMT" - ], - "ETag": [ - "\"AAAAAAAACB0=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/onesdk5912?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy9vbmVzZGs1OTEyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"name\": \"onesdk4\",\r\n \"primaryKey\": \"onesdk1459\",\r\n \"secondaryKey\": \"onesdk6664\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "133" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "699dc7a1-bf61-46c7-9009-efdb9e6b199b" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "35063cee-71e7-4d95-9aea-1367b63117ef" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190257Z:35063cee-71e7-4d95-9aea-1367b63117ef" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/subscriptions/onesdk5912?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvc3Vic2NyaXB0aW9ucy9vbmVzZGs1OTEyP2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "500de2db-3854-460a-aa79-57ba8155e56e" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "fbe699f9-0cb3-4e62-ae26-a8266bc10a54" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190257Z:fbe699f9-0cb3-4e62-ae26-a8266bc10a54" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:02:57 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk5912", - "onesdk1913", - "onesdk9822", - "onesdk6474", - "onesdk4", - "onesdk1459", - "onesdk6664" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/TestCrudApi.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/TestCrudApi.json deleted file mode 100644 index abf8be4bf55f..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/TestCrudApi.json +++ /dev/null @@ -1,338 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/ailntest/apis?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvYWlsbnRlc3QvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/5570acdd7e8880056a040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "1a0c8e27-5ee8-4033-ab1d-1c78a8850d8f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" - ], - "x-ms-correlation-request-id": [ - "ef533023-e771-457e-a5ca-d4c640d02e3f" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150606T003722Z:ef533023-e771-457e-a5ca-d4c640d02e3f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 06 Jun 2015 00:37:22 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/ailntest/apis/5570acdd7e8880056a040001?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvYWlsbnRlc3QvYXBpcy81NTcwYWNkZDdlODg4MDA1NmEwNDAwMDE/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/json" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/5570acdd7e8880056a040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "298" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "1de90911-c0b3-40b6-b58c-b5e935533aef" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" - ], - "x-ms-correlation-request-id": [ - "7cd873f9-0b61-445b-90cf-e17e73d640f3" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150606T003722Z:7cd873f9-0b61-445b-90cf-e17e73d640f3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 06 Jun 2015 00:37:22 GMT" - ], - "ETag": [ - "\"AAAAAAAACAc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/ailntest/apis?api-version=2014-02-14&$filter=name%20eq%20'Echo%20API'", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvYWlsbnRlc3QvYXBpcz9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3RWNobyUyMEFQSSUyNw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/apis/5570acdd7e8880056a040001\",\r\n \"name\": \"Echo API\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "264" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "49023c5b-06ca-4310-999c-f6278f4d44e7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "f5e18dd1-8d4c-41d6-9326-7016059ac3cf" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150606T003723Z:f5e18dd1-8d4c-41d6-9326-7016059ac3cf" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 06 Jun 2015 00:37:23 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/ailntest/apis/onesdk4336?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvYWlsbnRlc3QvYXBpcy9vbmVzZGs0MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"name\": \"onesdk8754\",\r\n \"description\": \"onesdk1103\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk9458\",\r\n \"protocols\": [\r\n \"Http\",\r\n \"Https\"\r\n ],\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk8886\",\r\n \"query\": \"onesdk1364\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "293" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "56512be7-3de7-430d-975b-c0de45ff07dd" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-correlation-request-id": [ - "23b2f3f5-b53a-4543-aec9-c64e884f1b21" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150606T003726Z:23b2f3f5-b53a-4543-aec9-c64e884f1b21" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 06 Jun 2015 00:37:26 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/ailntest/apis/onesdk4336?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvYWlsbnRlc3QvYXBpcy9vbmVzZGs0MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/json" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/apis/onesdk4336\",\r\n \"name\": \"onesdk8754\",\r\n \"description\": \"onesdk1103\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/newapi\",\r\n \"path\": \"onesdk9458\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"onesdk8886\",\r\n \"query\": \"onesdk1364\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "292" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "6bebeba5-4b92-46e4-85d1-fe497e977fc4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], - "x-ms-correlation-request-id": [ - "9ac9e04d-3ef7-43a1-9e5b-4258cc0efdc0" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150606T003727Z:9ac9e04d-3ef7-43a1-9e5b-4258cc0efdc0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 06 Jun 2015 00:37:26 GMT" - ], - "ETag": [ - "\"AAAAAAAACCc=\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/ailntest/apis/onesdk4336?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvYWlsbnRlc3QvYXBpcy9vbmVzZGs0MzM2P2FwaS12ZXJzaW9uPTIwMTQtMDItMTQ=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "d36e8ba2-7e49-4899-adae-7c76478a7064" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" - ], - "x-ms-correlation-request-id": [ - "09c19bfd-a2d3-453a-bc38-833aae9995d9" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150606T003754Z:09c19bfd-a2d3-453a-bc38-833aae9995d9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Sat, 06 Jun 2015 00:37:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "Test-CrudApi": [ - "onesdk4336", - "onesdk8754", - "onesdk1103", - "onesdk9458", - "onesdk8886", - "onesdk1364" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json deleted file mode 100644 index b64a1e09c857..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/UserCrudTest.json +++ /dev/null @@ -1,497 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnM/YXBpLXZlcnNpb249MjAxNC0wMi0xNA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-06-24T18:41:25.687\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "268" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "03058330-5dad-4240-96a3-8ffdc71d027b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" - ], - "x-ms-correlation-request-id": [ - "488220e2-3767-43b0-a289-b74e03ebd15d" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190307Z:488220e2-3767-43b0-a289-b74e03ebd15d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:07 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/1?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvMT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"foo@live.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-06-24T18:41:25.687\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"foo@live.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "230" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "a57a6e4e-7ec0-433b-87ec-64e5d3f00631" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" - ], - "x-ms-correlation-request-id": [ - "5be67d38-9163-4124-8d79-1f279aa20ca4" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190308Z:5be67d38-9163-4124-8d79-1f279aa20ca4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:07 GMT" - ], - "ETag": [ - "\"AAAAAAAAB9IAAAAAAAAH1A==\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"email\": \"contoso@microsoft.com\",\r\n \"password\": \"onesdk3526\",\r\n \"firstName\": \"onesdk6054\",\r\n \"lastName\": \"onesdk8977\",\r\n \"state\": \"Active\",\r\n \"note\": \"onesdk8987\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "175" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "2f571022-9731-4969-beeb-09e950ecd2f7" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1166" - ], - "x-ms-correlation-request-id": [ - "a8cc63a5-0716-4db8-a4b6-5aaa399fdabd" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190308Z:a8cc63a5-0716-4db8-a4b6-5aaa399fdabd" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:08 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/users/onesdk5855\",\r\n \"firstName\": \"onesdk6054\",\r\n \"lastName\": \"onesdk8977\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-06-24T19:03:08.947\",\r\n \"note\": \"onesdk8987\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "272" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "28026883-52cb-4588-a045-8893f8a99d0d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" - ], - "x-ms-correlation-request-id": [ - "f6bf75e8-adb3-4480-9c63-87483831afbe" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190309Z:f6bf75e8-adb3-4480-9c63-87483831afbe" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:08 GMT" - ], - "ETag": [ - "\"AAAAAAAACB4AAAAAAAAIIA==\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/users/onesdk5855\",\r\n \"firstName\": \"onesdk573\",\r\n \"lastName\": \"onesdk2325\",\r\n \"email\": \"changed.contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2015-06-24T19:03:08.947\",\r\n \"note\": \"onesdk3615\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"changed.contoso@microsoft.com\"\r\n }\r\n ],\r\n \"applications\": []\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "287" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "73352b4f-1f97-4eb3-98db-d5f1d063346f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" - ], - "x-ms-correlation-request-id": [ - "b68d30bb-02b2-47c2-8c0a-aabcfb8b6052" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190310Z:b68d30bb-02b2-47c2-8c0a-aabcfb8b6052" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:10 GMT" - ], - "ETag": [ - "\"AAAAAAAACCEAAAAAAAAIIg==\"" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"User not found.\",\r\n \"details\": null\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "80" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "161d414e-be13-489f-b303-fe82d6805497" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" - ], - "x-ms-correlation-request-id": [ - "e18e2f41-c290-4bc1-b5c5-55d2d8cccd5a" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190312Z:e18e2f41-c290-4bc1-b5c5-55d2d8cccd5a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:12 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"email\": \"changed.contoso@microsoft.com\",\r\n \"password\": \"onesdk9078\",\r\n \"firstName\": \"onesdk573\",\r\n \"lastName\": \"onesdk2325\",\r\n \"state\": \"Active\",\r\n \"note\": \"onesdk3615\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json" - ], - "Content-Length": [ - "182" - ], - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ee6231f6-60f3-4166-b2a5-e570c3d18f9d" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1165" - ], - "x-ms-correlation-request-id": [ - "7ccb1a2c-8a68-48fa-ba1c-1a7f0ad162ea" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190310Z:7ccb1a2c-8a68-48fa-ba1c-1a7f0ad162ea" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:09 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855/generateSsoUrl?api-version=2014-02-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NS9nZW5lcmF0ZVNzb1VybD9hcGktdmVyc2lvbj0yMDE0LTAyLTE0", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": \"https://hydraapimservice8073.portal.preview.int-azure-api.net/signin-sso?token=uid%3donesdk5855%26ex%3d2015-06-24T19%3a08%3a11.0326608Z%26sn%3dldtwrAK4zu6ShVzQSgN2kKdzdJGpNbZXq%2bDQAaeXFV4uwxKmqb4t8ULpWjGNZg4Plsfo66M2leN6mp%2f%2bDSh8Yw%3d%3d\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "253" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "991d0298-3c8d-4882-969f-daf629e6d0fb" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1164" - ], - "x-ms-correlation-request-id": [ - "ac30be15-90fc-4815-8bb2-33de7cb92205" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190310Z:ac30be15-90fc-4815-8bb2-33de7cb92205" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:10 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/resourceGroups/Api-Default-Central-US/providers/Microsoft.ApiManagement/service/hydraapimservice8073/users/onesdk5855?api-version=2014-02-14&deleteSubscriptions=true", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWwtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2UvaHlkcmFhcGltc2VydmljZTgwNzMvdXNlcnMvb25lc2RrNTg1NT9hcGktdmVyc2lvbj0yMDE0LTAyLTE0JmRlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "If-Match": [ - "*" - ], - "User-Agent": [ - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "6d4567e5-2312-42ac-ae55-c884cf147084" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1163" - ], - "x-ms-correlation-request-id": [ - "0c8c6324-7439-470c-8aee-6f0b3569eb4e" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T190312Z:0c8c6324-7439-470c-8aee-6f0b3569eb4e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 19:03:11 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 204 - } - ], - "Names": { - "": [ - "onesdk5855", - "onesdk6054", - "onesdk8977", - "onesdk3526", - "onesdk8987", - "onesdk573", - "onesdk2325", - "onesdk9078", - "onesdk3615" - ] - }, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json deleted file mode 100644 index 1aaaed8178b1..000000000000 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.TestsFixture/.ctor.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/providers/Microsoft.ApiManagement/register?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9yZWdpc3Rlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"Registered\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "610" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" - ], - "x-ms-request-id": [ - "f47a830c-0487-480f-9251-5c0f90cc8101" - ], - "x-ms-correlation-request-id": [ - "f47a830c-0487-480f-9251-5c0f90cc8101" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T183811Z:f47a830c-0487-480f-9251-5c0f90cc8101" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:38:10 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/providers/Microsoft.ApiManagement?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTRmMjk0NmQtNTU4YS00MjEyLTllOTctMjE3ZWUzZTU1Zjk0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/e4f2946d-558a-4212-9e97-217ee3e55f94/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"Registered\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "610" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" - ], - "x-ms-request-id": [ - "d38ef230-a25a-40b0-95f4-cd3b7a953afc" - ], - "x-ms-correlation-request-id": [ - "d38ef230-a25a-40b0-95f4-cd3b7a953afc" - ], - "x-ms-routing-request-id": [ - "CENTRALUS:20150624T183811Z:d38ef230-a25a-40b0-95f4-cd3b7a953afc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 24 Jun 2015 18:38:10 GMT" - ] - }, - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "e4f2946d-558a-4212-9e97-217ee3e55f94" - } -} \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj index 367cce1034ff..58c52ccb6b15 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj +++ b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj @@ -6,10 +6,10 @@ 2.0 - {127D0D51-FDEA-4E1A-8CD8-34DEB5C2F7F6} + {59D1B5DC-9175-43EC-90C6-CBA601B3565F} Library Properties - Microsoft.Azure.Commands.ResourceManager.Automation.Test + Microsoft.Azure.Commands.Automation.Test Microsoft.Azure.Commands.ResourceManager.Automation.Test v4.5 512 @@ -55,7 +55,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll @@ -111,43 +111,13 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationAccountTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationAccountTest.cs index 7bd1759cdb7e..8bd40cb37b6b 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationAccountTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationAccountTest.cs @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class GetAzureAutomationAccountTest : TestBase @@ -55,7 +55,6 @@ public void GetAzureAutomationAllAccountsSuccessfull() this.mockAutomationClient.Setup(f => f.ListAutomationAccounts(resourceGroupName, ref nextLink)).Returns((string a, string b) => new List()); // Test - this.cmdlet.ResourceGroupName = resourceGroupName; this.cmdlet.ExecuteCmdlet(); // Assert diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCertificateTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCertificateTest.cs deleted file mode 100644 index 3566c2867068..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCertificateTest.cs +++ /dev/null @@ -1,89 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationCertificateTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationCertificate cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationCertificate - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationCertificateByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string certificateName = "certificate"; - - this.mockAutomationClient.Setup(f => f.GetCertificate(resourceGroupName, accountName, certificateName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = certificateName; - this.cmdlet.SetParameterSet("ByCertificateName"); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetCertificate(resourceGroupName, accountName, certificateName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationCertificateByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListCertificates(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListCertificates(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationConnectionTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationConnectionTest.cs deleted file mode 100644 index 83254184efe1..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationConnectionTest.cs +++ /dev/null @@ -1,110 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationConnectionTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationConnection cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationConnection - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationConnectionByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string connectionName = "connection"; - - this.mockAutomationClient.Setup(f => f.GetConnection(resourceGroupName, accountName, connectionName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = connectionName; - this.cmdlet.SetParameterSet("ByConnectionName"); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetConnection(resourceGroupName, accountName, connectionName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationConnectionByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListConnections(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListConnections(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationConnectionByTypeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string connectionTypeName = "connectionType"; - - this.mockAutomationClient.Setup(f => f.ListConnectionsByType(resourceGroupName, accountName, connectionTypeName)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ConnectionTypeName = connectionTypeName; - this.cmdlet.SetParameterSet("ByConnectionTypeName"); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListConnectionsByType(resourceGroupName, accountName, connectionTypeName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCredentialTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCredentialTest.cs deleted file mode 100644 index 39f14d584cf3..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCredentialTest.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationCredentialTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationCredential cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationCredential - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationCredentialByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string credentialName = "credential"; - - this.mockAutomationClient.Setup(f => f.GetCredential(resourceGroupName, accountName, credentialName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = credentialName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetCredential(resourceGroupName, accountName, credentialName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationCredentialByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListCredentials(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListCredentials(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs deleted file mode 100644 index 4e330a040a13..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs +++ /dev/null @@ -1,209 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationJobTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationJob cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationJob - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationJobByRunbookNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListJobsByRunbookName(resourceGroupName, accountName, runbookName, null, null, null, ref nextLink)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(resourceGroupName, accountName, runbookName, null, null, null, ref nextLink), Times.Once()); - } - - public void GetAzureAutomationJobByRunbookNamAndStartTimeEndTimeeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string nextLink = string.Empty; - - DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); - DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); - - this.mockAutomationClient.Setup(f => f.ListJobsByRunbookName(resourceGroupName, accountName, runbookName, startTime, endTime, null, ref nextLink)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(resourceGroupName, accountName, runbookName, startTime, endTime, null, ref nextLink), Times.Once()); - } - - public void GetAzureAutomationCompletedJobByRunbookNamAndStartTimeEndTimeeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string nextLink = string.Empty; - - DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); - DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); - string status = "Completed"; - - this.mockAutomationClient.Setup(f => f.ListJobsByRunbookName(resourceGroupName, accountName, runbookName, startTime, endTime, status, ref nextLink)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.Status = status; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(resourceGroupName, accountName, runbookName, startTime, endTime, status, ref nextLink), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationAllJobsSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListJobs(resourceGroupName, accountName, null, null, null, ref nextLink)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobs(resourceGroupName, accountName, null, null, null, ref nextLink), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationAllJobsBetweenStartAndEndTimeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); - DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); - - // look for jobs between 5pm to 6pm on 30th december 2014 - this.mockAutomationClient.Setup(f => f.ListJobs(resourceGroupName, accountName, startTime, endTime, null, ref nextLink)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.StartTime = startTime; - this.cmdlet.EndTime = endTime; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobs(resourceGroupName, accountName, startTime, endTime, null, ref nextLink), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationAllCompletedJobsBetweenStartAndEndTimeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); - DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); - string status = "Completed"; - - // look for jobs between 5pm to 6pm on 30th december 2014 - this.mockAutomationClient.Setup(f => f.ListJobs(resourceGroupName, accountName, startTime, endTime, status, ref nextLink)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.StartTime = startTime; - this.cmdlet.EndTime = endTime; - this.cmdlet.Status = status; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobs(resourceGroupName, accountName, startTime, endTime, status, ref nextLink), Times.Once()); - } - - public void GetAzureAutomationJobByIdSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - Guid jobId = Guid.NewGuid(); - - // look for jobs between 5pm to 6pm on 30th december 2014 - this.mockAutomationClient.Setup(f => f.GetJob(resourceGroupName, accountName, jobId)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetJob(resourceGroupName, accountName, jobId), Times.Once()); - } - - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs deleted file mode 100644 index 8e99877007b1..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs +++ /dev/null @@ -1,90 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationRunbookByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - - this.mockAutomationClient.Setup(f => f.GetRunbook(resourceGroupName, accountName, runbookName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.SetParameterSet("ByRunbookName"); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetRunbook(resourceGroupName, accountName, runbookName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationRunbookByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListRunbooks(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); ; - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.SetParameterSet("ByAll"); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListRunbooks(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs deleted file mode 100644 index 86422586d72c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs +++ /dev/null @@ -1,90 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationScheduleTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationSchedule cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationSchedule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationScheduleByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup(f => f.GetSchedule(resourceGroupName, accountName, scheduleName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByName); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetSchedule(resourceGroupName, accountName, scheduleName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationScheduleByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListSchedules(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByAll); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListSchedules(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduledRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduledRunbookTest.cs deleted file mode 100644 index 965bddf28504..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduledRunbookTest.cs +++ /dev/null @@ -1,157 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationScheduledRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationScheduledRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationScheduledRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationScheduledRunbookByIdSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - var jobScheduleId = new Guid(); - - this.mockAutomationClient.Setup(f => f.GetJobSchedule(resourceGroupName, accountName, jobScheduleId)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.JobScheduleId = jobScheduleId; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByJobScheduleId); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetJobSchedule(resourceGroupName, accountName, jobScheduleId), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationScheduledRunbookByrunbookNameAndScheduleNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup(f => f.GetJobSchedule(resourceGroupName, accountName, runbookName, scheduleName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.ScheduleName = scheduleName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByRunbookNameAndScheduleName); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetJobSchedule(resourceGroupName, accountName, runbookName, scheduleName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationScheduledRunbookByRunbookNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListJobSchedules(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByRunbookName); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobSchedules(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationScheduledRunbookByScheduleNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListJobSchedules(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ScheduleName = scheduleName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByScheduleName); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobSchedules(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationScheduledRunbookByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListJobSchedules(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByAll); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListJobSchedules(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationVariableTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationVariableTest.cs deleted file mode 100644 index 3e4592ca0060..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationVariableTest.cs +++ /dev/null @@ -1,90 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class GetAzureAutomationVariableTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private GetAzureAutomationVariable cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationVariable - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void GetAzureAutomationVariableByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string variableName = "variable"; - - this.mockAutomationClient.Setup(f => f.GetVariable(resourceGroupName, accountName, variableName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = variableName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByName); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetVariable(resourceGroupName, accountName, variableName), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationVariableByAllSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string nextLink = string.Empty; - - this.mockAutomationClient.Setup(f => f.ListVariables(resourceGroupName, accountName, ref nextLink)).Returns((string a, string b, string c) => new List()); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByAll); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListVariables(resourceGroupName, accountName, ref nextLink), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationWebhookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationWebhookTest.cs index 183687f7b057..d0d3c6011b4c 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationWebhookTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationWebhookTest.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class GetAzureAutomationWebhookTest : TestBase diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs index bfbb3e3e9ed9..deb2f3062141 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Moq; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class NewAzureAutomationAccountTest : TestBase diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCertificateTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCertificateTest.cs deleted file mode 100644 index 6c87ee501b43..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCertificateTest.cs +++ /dev/null @@ -1,80 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; -using System.Management.Automation; -using System.Security; -using System; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class NewAzureAutomationCertificateTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private NewAzureAutomationCertificate cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new NewAzureAutomationCertificate - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void NewAzureAutomationCertificateByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string certificateName = "certificate"; - string path = "testCert.pfx"; - string password = "password"; - string description = "desc"; - - var secureString = new SecureString(); - Array.ForEach(password.ToCharArray(), secureString.AppendChar); - secureString.MakeReadOnly(); - - this.mockAutomationClient.Setup( - f => f.CreateCertificate(resourceGroupName, accountName, certificateName, path, secureString, description, false)); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = certificateName; - this.cmdlet.Description = description; - this.cmdlet.Path = path; - this.cmdlet.Password = secureString; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.CreateCertificate(resourceGroupName, accountName, certificateName, path, secureString, description, false), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs deleted file mode 100644 index 2b4058a9017e..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs +++ /dev/null @@ -1,76 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; -using System.Management.Automation; -using System.Security; -using System; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class NewAzureAutomationConnectionTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private NewAzureAutomationConnection cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new NewAzureAutomationConnection - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void NewAzureAutomationConnectionByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string connectionName = "connection"; - string connectionTypeName = "connectiontype"; - string password = "password"; - string description = "desc"; - - this.mockAutomationClient.Setup( - f => f.CreateConnection(resourceGroupName, accountName, connectionName, connectionTypeName, null, description)); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = connectionName; - this.cmdlet.Description = description; - this.cmdlet.ConnectionTypeName = connectionTypeName; - this.cmdlet.ConnectionFieldValues = null; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.CreateConnection(resourceGroupName, accountName, connectionName, connectionTypeName, null, description), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCredentialTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCredentialTest.cs deleted file mode 100644 index 8e075f278b24..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCredentialTest.cs +++ /dev/null @@ -1,81 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; -using System.Management.Automation; -using System.Security; -using System; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class NewAzureAutomationCredentialTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private NewAzureAutomationCredential cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new NewAzureAutomationCredential - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void NewAzureAutomationCredentialByPathSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string credentialName = "credential"; - string username = "testUser"; - string password = "password"; - string description = "desc"; - - var secureString = new SecureString(); - Array.ForEach(password.ToCharArray(), secureString.AppendChar); - secureString.MakeReadOnly(); - - var value = new PSCredential(username, secureString); - - this.mockAutomationClient.Setup( - f => f.CreateCredential(resourceGroupName, accountName, credentialName, username, password, description)); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = credentialName; - this.cmdlet.Description = description; - this.cmdlet.Value = value; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.CreateCredential(resourceGroupName, accountName, credentialName, username, password, description), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs deleted file mode 100644 index 64dd9f283e94..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs +++ /dev/null @@ -1,73 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class NewAzureAutomationRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private NewAzureAutomationRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new NewAzureAutomationRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void NewAzureAutomationRunbookByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string description = "desc"; - var tags = new Dictionary(); - tags.Add("tag1", "tags2"); - - this.mockAutomationClient.Setup( - f => f.CreateRunbookByName(resourceGroupName, accountName, runbookName, description, tags, null, null, null, false)); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.Description = description; - this.cmdlet.Tags = tags; - this.cmdlet.SetParameterSet("ByRunbookName"); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.CreateRunbookByName(resourceGroupName, accountName, runbookName, description, tags, null, null, null, false), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs deleted file mode 100644 index 37c93fc901f1..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs +++ /dev/null @@ -1,325 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Linq; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class NewAzureAutomationScheduleTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private NewAzureAutomationSchedule cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new NewAzureAutomationSchedule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void NewAzureAutomationScheduleByOneTimeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTimeOffset.Now; - this.cmdlet.OneTime = true; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByOneTime); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - } - - [TestMethod] - public void NewAzureAutomationScheduleByDailySuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - byte dayInterval = 1; - - this.mockAutomationClient.Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTimeOffset.Now; - this.cmdlet.DayInterval = dayInterval; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByDaily); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - } - - [TestMethod] - public void NewAzureAutomationScheduleByHourlySuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - byte hourInterval = 1; - - this.mockAutomationClient.Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTimeOffset.Now; - this.cmdlet.HourInterval = hourInterval; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByHourly); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - } - - [TestMethod] - public void NewAzureAutomationScheduleByDailyWithDefaultExpiryTimeDayIntervalSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - byte dayInterval = 1; - - this.mockAutomationClient - .Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())) - .Returns((string a, string b, Schedule s) => s); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTimeOffset.Now; - this.cmdlet.DayInterval = dayInterval; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByDaily); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - - Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) - .OutputPipeline - .FirstOrDefault(); - Assert.IsNotNull(schedule); - Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); - - // Test for default values - Assert.AreEqual( - Constants.DefaultScheduleExpiryTime, - schedule.ExpiryTime, - "Expiry time is unexpectedly {0}", - schedule.ExpiryTime); - Assert.AreEqual( - dayInterval, - schedule.Interval, - "Day Interval is unexpectedly {0}", - schedule.Interval); - Assert.AreEqual( - ScheduleFrequency.Day, - schedule.Frequency, - "Day Frequency is unexpectedly {0}", - schedule.Frequency); - } - - [TestMethod] - public void NewAzureAutomationScheduleByHourlyWithDefaultExpiryTimeDayIntervalSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - byte hourInterval = 1; - - this.mockAutomationClient - .Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())) - .Returns((string a, string b, Schedule s) => s); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTimeOffset.Now; - this.cmdlet.HourInterval = hourInterval; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByHourly); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - - Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) - .OutputPipeline - .FirstOrDefault(); - Assert.IsNotNull(schedule); - Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); - - // Test for default values - Assert.AreEqual( - Constants.DefaultScheduleExpiryTime, - schedule.ExpiryTime, - "Expiry time is unexpectedly {0}", - schedule.ExpiryTime); - Assert.AreEqual( - hourInterval, - schedule.Interval, - "Hour Interval is unexpectedly {0}", - schedule.Interval); - Assert.AreEqual( - ScheduleFrequency.Hour, - schedule.Frequency, - "Hour Frequency is unexpectedly {0}", - schedule.Frequency); - } - - [TestMethod] - public void NewAzureAutomationScheduleByDailyWithExpiryTimeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - byte dayInterval = 1; - var startTime = DateTimeOffset.Now; - var expiryTime = startTime.AddDays(10); - - this.mockAutomationClient - .Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())) - .Returns((string a, string b, Schedule s) => s); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = startTime; - this.cmdlet.ExpiryTime = expiryTime; - this.cmdlet.DayInterval = dayInterval; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByDaily); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - - Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) - .OutputPipeline - .FirstOrDefault(); - Assert.IsNotNull(schedule); - Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); - - Assert.AreEqual( - expiryTime, - schedule.ExpiryTime, - "Expiry time is unexpectedly {0}", - schedule.ExpiryTime); - Assert.AreEqual( - dayInterval, - schedule.Interval, - "Day Interval is unexpectedly {0}", - schedule.Interval); - Assert.AreEqual( - ScheduleFrequency.Day, - schedule.Frequency, - "Day Frequency is unexpectedly {0}", - schedule.Frequency); - } - - [TestMethod] - public void NewAzureAutomationScheduleByHourlyWithExpiryTimeSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - byte hourInterval = 2; - var startTime = DateTimeOffset.Now; - var expiryTime = startTime.AddDays(10); - - this.mockAutomationClient - .Setup(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny())) - .Returns((string a, string b, Schedule s) => s); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = startTime; - this.cmdlet.ExpiryTime = expiryTime; - this.cmdlet.HourInterval = hourInterval; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByHourly); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient - .Verify(f => f.CreateSchedule(resourceGroupName, accountName, It.IsAny()), Times.Once()); - - Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) - .OutputPipeline - .FirstOrDefault(); - Assert.IsNotNull(schedule); - Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); - - // Test for default values - Assert.AreEqual( - expiryTime, - schedule.ExpiryTime, - "Expiry time is unexpectedly {0}", - schedule.ExpiryTime); - Assert.AreEqual( - hourInterval, - schedule.Interval, - "Hour Interval is unexpectedly {0}", - schedule.Interval); - Assert.AreEqual( - ScheduleFrequency.Hour, - schedule.Frequency, - "Hour Frequency is unexpectedly {0}", - schedule.Frequency); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationVariableTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationVariableTest.cs deleted file mode 100644 index 9f0da9adeae7..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationVariableTest.cs +++ /dev/null @@ -1,84 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Linq; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class NewAzureAutomationVariableTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private NewAzureAutomationVariable cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new NewAzureAutomationVariable - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - [Ignore] - public void NewAzureAutomationVariableByPathSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string variableName = "variable"; - string value = "value"; - string description = "desc"; - - var variable = new Variable(); - variable.ResourceGroupName = resourceGroupName; - variable.Name = variableName; - variable.Value = value; - variable.Description = description; - variable.Encrypted = true; - variable.AutomationAccountName = accountName; - - this.mockAutomationClient.Setup( - f => f.CreateVariable(variable)); - - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = variableName; - this.cmdlet.Description = description; - this.cmdlet.Value = value; - this.cmdlet.Encrypted = true; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByName); - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.CreateVariable(variable), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationWebhookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationWebhookTest.cs index 17372d0b10fa..de06407b96d2 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationWebhookTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationWebhookTest.cs @@ -20,7 +20,7 @@ using Moq; using System; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class NewAzureAutomationWebhookTest : TestBase diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs deleted file mode 100644 index 8e173632c0a8..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs +++ /dev/null @@ -1,66 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class PublishAzureAutomationRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private PublishAzureAutomationRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new PublishAzureAutomationRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void PublishAzureAutomationRunbookByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - - this.mockAutomationClient.Setup(f => f.PublishRunbook(resourceGroupName, accountName, runbookName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.PublishRunbook(resourceGroupName, accountName, runbookName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledRunbookTest.cs deleted file mode 100644 index a9316c283f1c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledRunbookTest.cs +++ /dev/null @@ -1,69 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RegisterAzureAutomationScheduledJobTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RegisterAzureAutomationScheduledRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RegisterAzureAutomationScheduledRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RegisterAzureAutomationScheduledRunbookSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup( - f => f.RegisterScheduledRunbook(resourceGroupName, accountName, runbookName, scheduleName, null)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.ScheduleName = scheduleName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.RegisterScheduledRunbook(resourceGroupName, accountName, runbookName, scheduleName, null), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs index 612777efbe05..be031020e1f4 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Moq; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class RemoveAzureAutomationAccountTest : TestBase diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCertificateTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCertificateTest.cs deleted file mode 100644 index c62c2860628a..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCertificateTest.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RemoveAzureAutomationCertificateTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RemoveAzureAutomationCertificate cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RemoveAzureAutomationCertificate - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RemoveAzureAutomationCertificateByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string certificateName = "cert"; - - this.mockAutomationClient.Setup(f => f.DeleteCertificate(resourceGroupName, accountName, certificateName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = certificateName; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteCertificate(resourceGroupName, accountName, certificateName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTest.cs deleted file mode 100644 index 80bfeda8b083..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTest.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RemoveAzureAutomationConnectionTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RemoveAzureAutomationConnection cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RemoveAzureAutomationConnection - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RemoveAzureAutomationConnectionByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string connectionName = "connection"; - - this.mockAutomationClient.Setup(f => f.DeleteConnection(resourceGroupName, accountName, connectionName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = connectionName; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteConnection(resourceGroupName, accountName, connectionName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationModuleTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationModuleTest.cs deleted file mode 100644 index f3d2b19e035a..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationModuleTest.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RemoveAzureAutomationModuleTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RemoveAzureAutomationModule cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RemoveAzureAutomationModule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RemoveAzureAutomationModuleByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string moduleName = "module"; - - this.mockAutomationClient.Setup(f => f.DeleteModule(resourceGroupName, accountName, moduleName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = moduleName; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteModule(resourceGroupName, accountName, moduleName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs deleted file mode 100644 index 24cce73bf8f4..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RemoveAzureAutomationRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RemoveAzureAutomationRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RemoveAzureAutomationRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RemoveAzureAutomationRunbookByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - - this.mockAutomationClient.Setup(f => f.DeleteRunbook(resourceGroupName, accountName, runbookName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteRunbook(resourceGroupName, accountName, runbookName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs deleted file mode 100644 index 277769340aa1..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RemoveAzureAutomationScheduleTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RemoveAzureAutomationSchedule cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RemoveAzureAutomationSchedule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RemoveAzureAutomationScheduleByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup(f => f.DeleteSchedule(resourceGroupName, accountName, scheduleName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteSchedule(resourceGroupName, accountName, scheduleName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationVariableTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationVariableTest.cs deleted file mode 100644 index 1e21e689e4fd..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationVariableTest.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class RemoveAzureAutomationVariableTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private RemoveAzureAutomationVariable cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new RemoveAzureAutomationVariable - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void RemoveAzureAutomationVariableByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string variableName = "variable"; - - this.mockAutomationClient.Setup(f => f.DeleteVariable(resourceGroupName, accountName, variableName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = variableName; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteVariable(resourceGroupName, accountName, variableName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationWebhookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationWebhookTest.cs index df4c7c4ded81..469d514ca486 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationWebhookTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationWebhookTest.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class RemoveAzureAutomationWebhookTest : TestBase diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs deleted file mode 100644 index 7b1c73f1e37a..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class ResumeAzureAutomationJobTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private ResumeAzureAutomationJob cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new ResumeAzureAutomationJob - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void ResumeAzureAutomationJobSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - Guid jobId = Guid.NewGuid(); - - this.mockAutomationClient.Setup(f => f.ResumeJob(resourceGroupName, accountName, jobId)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ResumeJob(resourceGroupName, accountName, jobId), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationCredentialTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationCredentialTest.cs deleted file mode 100644 index ef6a834f7332..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationCredentialTest.cs +++ /dev/null @@ -1,100 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; -using System.Security; -using System.Management.Automation; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class SetAzureAutomationCredentialTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private SetAzureAutomationCredential cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new SetAzureAutomationCredential - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void SetAzureAutomationCredentialByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string credentialName = "credential"; - - this.mockAutomationClient.Setup(f => f.UpdateCredential(resourceGroupName, accountName, credentialName, null, null, null)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = credentialName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateCredential(resourceGroupName, accountName, credentialName, null, null, null), Times.Once()); - } - - [TestMethod] - public void SetAzureAutomationCredentialByNameWithParametersSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string credentialName = "credential"; - string username = "testUser"; - string password = "password"; - string description = "desc"; - - var secureString = new SecureString(); - Array.ForEach(password.ToCharArray(), secureString.AppendChar); - secureString.MakeReadOnly(); - - var value = new PSCredential(username, secureString); - - this.mockAutomationClient.Setup(f => f.UpdateCredential(resourceGroupName, accountName, credentialName, username, password, description)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = credentialName; - this.cmdlet.Description = description; - this.cmdlet.Value = value; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateCredential(resourceGroupName, accountName, credentialName, username, password, description), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs deleted file mode 100644 index eebcc93a0084..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs +++ /dev/null @@ -1,92 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class SetAzureAutomationRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private SetAzureAutomationRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new SetAzureAutomationRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void SetAzureAutomationRunbookByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - - this.mockAutomationClient.Setup(f => f.UpdateRunbook(resourceGroupName, accountName, runbookName, null, null, null, null)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateRunbook(resourceGroupName, accountName, runbookName, null, null, null, null), Times.Once()); - } - - [TestMethod] - public void SetAzureAutomationRunbookByNameWithParametersSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - bool? logProgress = false; - var tags = new Dictionary(); - tags.Add("tag1", "tags2"); - - this.mockAutomationClient.Setup(f => f.UpdateRunbook(resourceGroupName, accountName, runbookName, null, tags, logProgress, null)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.Tags = tags; - this.cmdlet.LogProgress = logProgress; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateRunbook(resourceGroupName, accountName, runbookName, null, tags, logProgress, null), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs deleted file mode 100644 index d6cb509ab80c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class SetAzureAutomationScheduleTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private SetAzureAutomationSchedule cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new SetAzureAutomationSchedule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void SetAzureAutomationScheduleByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string scheduleName = "schedule"; - string description = "desc"; - - this.mockAutomationClient.Setup(f => f.UpdateSchedule(resourceGroupName, accountName, scheduleName, null, description)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = scheduleName; - this.cmdlet.Description = description; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateSchedule(resourceGroupName, accountName, scheduleName, null, description), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationWebhookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationWebhookTest.cs index 0ef67fe995c2..bb837670fe6b 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationWebhookTest.cs +++ b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationWebhookTest.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Moq; -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] public class SetAzureAutomationWebhookTest : TestBase diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs deleted file mode 100644 index 3e9a75ef16e1..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs +++ /dev/null @@ -1,66 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class StartAzureAutomationRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private StartAzureAutomationRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new StartAzureAutomationRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void StartAzureAutomationRunbookByNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - - this.mockAutomationClient.Setup(f => f.StartRunbook(resourceGroupName, accountName, runbookName, null, null)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.StartRunbook(resourceGroupName, accountName, runbookName, null, null), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs deleted file mode 100644 index d3d992390378..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class StopAzureAutomationJobTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private StopAzureAutomationJob cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new StopAzureAutomationJob - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void StopAzureAutomationJobSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - Guid jobId = Guid.NewGuid(); - - this.mockAutomationClient.Setup(f => f.StopJob(resourceGroupName, accountName, jobId)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.StopJob(resourceGroupName, accountName, jobId), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs deleted file mode 100644 index c566ac6b7d6a..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class SuspendAzureAutomationJobTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private SuspendAzureAutomationJob cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new SuspendAzureAutomationJob - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void SuspendAzureAutomationJobSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - Guid jobId = Guid.NewGuid(); - - this.mockAutomationClient.Setup(f => f.SuspendJob(resourceGroupName, accountName, jobId)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.SuspendJob(resourceGroupName, accountName, jobId), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/UnregisterAzureAutomationScheduledRunbookTest.cs b/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/UnregisterAzureAutomationScheduledRunbookTest.cs deleted file mode 100644 index e91e179d282c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/UnregisterAzureAutomationScheduledRunbookTest.cs +++ /dev/null @@ -1,93 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Cmdlet; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Moq; - -namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests -{ - [TestClass] - public class UnregisterAzureAutomationScheduledRunbookTest : TestBase - { - private Mock mockAutomationClient; - - private MockCommandRuntime mockCommandRuntime; - - private UnregisterAzureAutomationScheduledRunbook cmdlet; - - [TestInitialize] - public void SetupTest() - { - this.mockAutomationClient = new Mock(); - this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new UnregisterAzureAutomationScheduledRunbook - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void UnregisterAzureAutomationScheduledRunbookByIdSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - var jobScheduleId = new Guid(); - - this.mockAutomationClient.Setup(f => f.UnregisterScheduledRunbook(resourceGroupName, accountName, jobScheduleId)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.JobScheduleId = jobScheduleId; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByJobScheduleId); - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UnregisterScheduledRunbook(resourceGroupName, accountName, jobScheduleId), Times.Once()); - } - - [TestMethod] - public void UnregisterAzureAutomationScheduledRunbookByRunbookNameAndScheduleNameSuccessfull() - { - // Setup - string resourceGroupName = "resourceGroup"; - string accountName = "automation"; - string runbookName = "runbook"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup(f => f.UnregisterScheduledRunbook(resourceGroupName, accountName, runbookName, scheduleName)); - - // Test - this.cmdlet.ResourceGroupName = resourceGroupName; - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; - this.cmdlet.ScheduleName = scheduleName; - this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByRunbookNameAndScheduleName); - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UnregisterScheduledRunbook(resourceGroupName, accountName, runbookName, scheduleName), Times.Once()); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config index 36836019e828..1d2582b26a35 100644 --- a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config +++ b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs deleted file mode 100644 index bac672c16d2e..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs +++ /dev/null @@ -1,92 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.IO; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using System.Globalization; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation runbook definitions for a given account. - /// - [Cmdlet(VerbsData.Export, "AzureAutomationRunbook")] - [OutputType(typeof(DirectoryInfo))] - public class ExportAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [Alias("RunbookName")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the runbook version type - /// - [Parameter(Mandatory = false, HelpMessage = "Specifies what version of the runbook, draft or published, should be returned.")] - [ValidateSet(Constants.Published, Constants.Draft, IgnoreCase = true)] - public string Slot { get; set; } - - /// - /// Gets or sets the output folder for the configuration script. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The folder where the runbook should be placed.")] - public string OutputFolder { get; set; } - - /// - /// Gets or sets switch parameter to confirm overwriting of existing local runbook file. - /// - [Parameter(Mandatory = false, HelpMessage = "Forces an overwrite of an existing local file with the same name.")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - bool? isDraft = this.IsDraft(); - - var outputFolder = this.AutomationClient.ExportRunbook(this.ResourceGroupName, this.AutomationAccountName, this.Name, isDraft, this.OutputFolder, this.Force.IsPresent); - - this.WriteObject(outputFolder, true); - } - - /// - /// Returns null if Slot is not provided; otherwise returns true if Slot is Draft. - /// - /// - /// The . - /// - private bool? IsDraft() - { - bool? isDraft = null; - - if (this.Slot != null) - { - isDraft = (0 == String.Compare(this.Slot, Constants.Draft, CultureInfo.InvariantCulture, - CompareOptions.OrdinalIgnoreCase)); - } - - return isDraft; - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs deleted file mode 100644 index 582b4472712c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs +++ /dev/null @@ -1,66 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a certificate for automation. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(CertificateInfo))] - public class GetAzureAutomationCertificate : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the certificate name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The certificate name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable ret = null; - if (this.ParameterSetName == AutomationCmdletParameterSets.ByCertificateName) - { - ret = new List - { - this.AutomationClient.GetCertificate(this.ResourceGroupName, this.AutomationAccountName, this.Name) - }; - this.GenerateCmdletOutput(ret); - } - else - { - var nextLink = string.Empty; - - do - { - ret = this.AutomationClient.ListCertificates(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(ret); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs deleted file mode 100644 index 2740179b40cd..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs +++ /dev/null @@ -1,78 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a connection for automation. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(Connection))] - public class GetAzureAutomationConnection : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the connection name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the connection name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionTypeName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection name.")] - [ValidateNotNullOrEmpty] - public string ConnectionTypeName { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable ret = null; - if (this.ParameterSetName == AutomationCmdletParameterSets.ByConnectionName) - { - ret = new List - { - this.AutomationClient.GetConnection(this.ResourceGroupName, this.AutomationAccountName, this.Name) - }; - this.GenerateCmdletOutput(ret); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByConnectionTypeName) - { - ret = this.AutomationClient.ListConnectionsByType(this.ResourceGroupName, this.AutomationAccountName, this.ConnectionTypeName); - this.GenerateCmdletOutput(ret); - } - else - { - var nextLink = string.Empty; - - do - { - ret = this.AutomationClient.ListConnections(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(ret); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs deleted file mode 100644 index 6c333089232d..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a Credential for automation. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(CredentialInfo))] - public class GetAzureAutomationCredential : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the credential name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The credential name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable ret = null; - if (!string.IsNullOrEmpty(this.Name)) - { - ret = new List - { - this.AutomationClient.GetCredential(this.ResourceGroupName, this.AutomationAccountName, this.Name) - }; - - this.GenerateCmdletOutput(ret); - } - else - { - var nextLink = string.Empty; - - do - { - ret = this.AutomationClient.ListCredentials(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(ret); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs deleted file mode 100644 index 4b99d750b55d..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs +++ /dev/null @@ -1,107 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a Job object for automation. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(Microsoft.Azure.Commands.Automation.Model.Job))] - public class GetAzureAutomationJob : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the job id. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByJobId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Gets or sets the runbook name of the job. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = true, HelpMessage = "The runbook name of the job.")] - [Alias("Name")] - public string RunbookName { get; set; } - - /// - /// Gets or sets the status of a job. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = false, HelpMessage = "The runbook name of the job.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByAll, Mandatory = false, HelpMessage = "Filter jobs based on their status.")] - [ValidateSet("Completed", "Failed", "Queued", "Starting", "Resuming", "Running", "Stopped", "Stopping", "Suspended", "Suspending", "Activating")] - public string Status { get; set; } - - /// - /// Gets or sets the start time filter. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByAll, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] - public DateTimeOffset? StartTime { get; set; } - - /// - /// Gets or sets the end time filter. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByAll, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] - public DateTimeOffset? EndTime { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable jobs = null; - - if (this.Id != null && !Guid.Empty.Equals(this.Id)) - { - // ByJobId - jobs = new List { this.AutomationClient.GetJob(this.ResourceGroupName, this.AutomationAccountName, this.Id) }; - this.WriteObject(jobs, true); - } - else if (this.RunbookName != null) - { - // ByRunbookName - var nextLink = string.Empty; - - do - { - jobs = this.AutomationClient.ListJobsByRunbookName(this.ResourceGroupName, this.AutomationAccountName, this.RunbookName, this.StartTime, this.EndTime, this.Status, ref nextLink); - this.WriteObject(jobs, true); - - } while (!string.IsNullOrEmpty(nextLink)); - } - else - { - // ByAll - var nextLink = string.Empty; - - do - { - jobs = this.AutomationClient.ListJobs(this.ResourceGroupName, this.AutomationAccountName, this.StartTime, this.EndTime, this.Status, ref nextLink); - this.WriteObject(jobs, true); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs deleted file mode 100644 index 663230d05b2e..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation variables for a given account. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationJobOutput")] - [OutputType(typeof(JobStream))] - public class GetAzureAutomationJobOutput : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the job id - /// - [Alias("JobId")] - [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, HelpMessage = "The job name or Id")] - public Guid Id { get; set; } - - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream type. Defaults to Any.")] - public StreamType Stream { get; set; } - - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Retrieves output created after this time")] - public DateTimeOffset? StartTime { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - var nextLink = string.Empty; - - do - { - var ret = this.AutomationClient.GetJobStream(this.ResourceGroupName, this.AutomationAccountName, this.Id, this.StartTime, this.Stream.ToString(), ref nextLink); - this.GenerateCmdletOutput(ret); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs deleted file mode 100644 index c6fdbe62df4c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation runbooks for a given account. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(Runbook))] - public class GetAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [Alias("RunbookName")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable ret = null; - if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookName) - { - ret = new List - { - this.AutomationClient.GetRunbook(this.ResourceGroupName, this.AutomationAccountName, this.Name) - }; - - this.GenerateCmdletOutput(ret); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) - { - var nextLink = string.Empty; - - do - { - ret = this.AutomationClient.ListRunbooks(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(ret); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs deleted file mode 100644 index 51d229e23882..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs +++ /dev/null @@ -1,69 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation schedules for a given account. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(Schedule))] - public class GetAzureAutomationSchedule : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the schedule name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule name.")] - [Alias("ScheduleName")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable schedules = null; - if (this.ParameterSetName == AutomationCmdletParameterSets.ByName) - { - schedules = new List - { - this.AutomationClient.GetSchedule( - this.ResourceGroupName, this.AutomationAccountName, this.Name) - }; - this.GenerateCmdletOutput(schedules); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) - { - var nextLink = string.Empty; - - do - { - schedules = this.AutomationClient.ListSchedules(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(schedules); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs deleted file mode 100644 index 50443fff4bcd..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs +++ /dev/null @@ -1,121 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation job schedules for a given account. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(JobSchedule))] - public class GetAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the job id. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The job schedule id.")] - public Guid? JobScheduleId { get; set; } - - /// - /// Gets or sets the runbook name of the job. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name of the job schedule.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name of the job schedule.")] - [Alias("Name")] - public string RunbookName { get; set; } - - /// - /// Gets or sets the runbook name of the job. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name of the job schedule.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name of the job schedule.")] - public string ScheduleName { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable jobSchedules = null; - - if (this.ParameterSetName == AutomationCmdletParameterSets.ByJobScheduleId) - { - jobSchedules = new List - { - this.AutomationClient.GetJobSchedule( - this.ResourceGroupName, this.AutomationAccountName, this.JobScheduleId .Value) - }; - this.GenerateCmdletOutput(jobSchedules); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookNameAndScheduleName) - { - jobSchedules = new List - { - this.AutomationClient.GetJobSchedule( - this.ResourceGroupName, this.AutomationAccountName, this.RunbookName, this.ScheduleName) - }; - this.GenerateCmdletOutput(jobSchedules); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookName) - { - var nextLink = string.Empty; - - do - { - var schedules = this.AutomationClient.ListJobSchedules(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - if (schedules != null) - { - this.GenerateCmdletOutput(schedules.ToList().Where(js => String.Equals(js.RunbookName, this.RunbookName, StringComparison.OrdinalIgnoreCase))); - } - - } while (!string.IsNullOrEmpty(nextLink)); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByScheduleName) - { - var nextLink = string.Empty; - - do - { - var schedules = this.AutomationClient.ListJobSchedules(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - if (schedules != null) - { - this.GenerateCmdletOutput(schedules.ToList().Where(js => String.Equals(js.ScheduleName, this.ScheduleName, StringComparison.OrdinalIgnoreCase))); - } - - } while (!string.IsNullOrEmpty(nextLink)); - - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) - { - var nextLink = string.Empty; - - do - { - jobSchedules = this.AutomationClient.ListJobSchedules(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(jobSchedules); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs deleted file mode 100644 index 6f15206e08c3..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs +++ /dev/null @@ -1,66 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation variables for a given account. - /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationVariable", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] - [OutputType(typeof(Variable))] - public class GetAzureAutomationVariable : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the variable name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - IEnumerable ret = null; - if (this.ParameterSetName == AutomationCmdletParameterSets.ByName) - { - ret = new List - { - this.AutomationClient.GetVariable(this.ResourceGroupName, this.AutomationAccountName, this.Name) - }; - this.GenerateCmdletOutput(ret); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) - { - var nextLink = string.Empty; - - do - { - ret = this.AutomationClient.ListVariables(this.ResourceGroupName, this.AutomationAccountName, ref nextLink); - this.GenerateCmdletOutput(ret); - - } while (!string.IsNullOrEmpty(nextLink)); - } - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs deleted file mode 100644 index dd56a875d372..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs +++ /dev/null @@ -1,106 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Sets an azure automation runbook definition. - /// - [Cmdlet(VerbsData.Import, "AzureAutomationRunbook")] - [OutputType(typeof(Runbook))] - public class ImportAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - - /// - /// Gets or sets the path of the runbook script - /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook file path.")] - [Alias("SourcePath")] - [ValidateNotNullOrEmpty] - public string Path { get; set; } - - /// - /// Gets or sets the runbook description - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook description.")] - public string Description { get; set; } - - /// - /// Gets or sets the runbook tags. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook tags.")] - [Alias("Tag")] - public IDictionary Tags { get; set; } - - /// - /// Gets or sets the runbook version type - /// - [Parameter(Mandatory = true, HelpMessage = "Runbook definition type.")] - [ValidateSet(Constants.RunbookType.Graph, Constants.RunbookType.PowerShell, Constants.RunbookType.PowerShellWorkflow, IgnoreCase = true)] - [ValidateNotNullOrEmpty] - public string Type { get; set; } - - /// - /// Gets or sets a value indicating whether progress logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether progress logging should be turned on or off.")] - public bool? LogProgress { get; set; } - - /// - /// Gets or sets a value indicating whether verbose logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether verbose logging should be turned on or off.")] - public bool? LogVerbose { get; set; } - - /// - /// Gets or sets the switch parameter to publish the configuration - /// - [Parameter(Mandatory = false, HelpMessage = "Import the runbook in published state.")] - public SwitchParameter Published { get; set; } - - /// - /// Gets or sets switch parameter to confirm overwriting of existing runbook definition. - /// - [Parameter(Mandatory = false, HelpMessage = "Forces the command to overwrite an existing runbook definition.")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - var runbook = this.AutomationClient.ImportRunbook( - this.ResourceGroupName, - this.AutomationAccountName, - this.ResolvePath(this.Path), - this.Description, - this.Tags, - this.Type, - this.LogProgress, - this.LogVerbose, - this.Published.IsPresent, - this.Force.IsPresent); - - this.WriteObject(runbook); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs deleted file mode 100644 index cc5e38b91fa6..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs +++ /dev/null @@ -1,80 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Create a new Certificate for automation. - /// - [Cmdlet(VerbsCommon.New, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] - [OutputType(typeof(CertificateInfo))] - public class NewAzureAutomationCertificate : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the certificate name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the certificate description. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate description.")] - public string Description { get; set; } - - /// - /// Gets or sets the certificate password. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate password.")] - public SecureString Password { get; set; } - - /// - /// Gets or sets the certificate path. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate file path.")] - public string Path { get; set; } - - /// - /// Gets or sets the certificate exportable Property. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The exportable property of the certificate.")] - public SwitchParameter Exportable { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - - var createdCertificate = this.AutomationClient.CreateCertificate(this.ResourceGroupName, this.AutomationAccountName, this.Name, this.ResolvePath(this.Path), this.Password, this.Description, this.Exportable.IsPresent); - - this.WriteObject(createdCertificate); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs deleted file mode 100644 index 030d40904e2b..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs +++ /dev/null @@ -1,76 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Create a new Connection for automation. - /// - [Cmdlet(VerbsCommon.New, "AzureAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] - [OutputType(typeof(Connection))] - public class NewAzureAutomationConnection : AzureAutomationBaseCmdlet - { - - /// - /// Gets or sets the connection name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the connection type name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection type name.")] - [ValidateNotNullOrEmpty] - public string ConnectionTypeName { get; set; } - - /// - /// Gets or sets the connection field values. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 4, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection field values.")] - public IDictionary ConnectionFieldValues { get; set; } - - /// - /// Gets or sets the connection description. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection description.")] - public string Description { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - - var createdConnection = this.AutomationClient.CreateConnection(this.ResourceGroupName, this.AutomationAccountName, this.Name, this.ConnectionTypeName, this.ConnectionFieldValues, this.Description); - - this.WriteObject(createdConnection); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs deleted file mode 100644 index 2dc3f6c0def7..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Create a new Credential for automation. - /// - [Cmdlet(VerbsCommon.New, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] - [OutputType(typeof(CredentialInfo))] - public class NewAzureAutomationCredential : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the credential name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The credential name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the credential name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, ValueFromPipelineByPropertyName = true, - HelpMessage = "The credential description.")] - public string Description { get; set; } - - /// - /// Gets or sets the credential UserName. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The credential value.")] - public PSCredential Value { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - string userName = null, password = null; - - if (Value != null) - { - userName = Value.UserName; - password = Value.GetNetworkCredential().Password; - } - - var createdCredential = this.AutomationClient.CreateCredential(this.ResourceGroupName, this.AutomationAccountName, Name, userName, password, Description); - - this.WriteObject(createdCredential); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs deleted file mode 100644 index 2706673161b8..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation schedules for a given account. - /// - [Cmdlet(VerbsCommon.New, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] - [OutputType(typeof (Runbook))] - public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [Alias("RunbookName")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the runbook description - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook description.")] - public string Description { get; set; } - - /// - /// Gets or sets the runbook tags. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook tags.")] - [Alias("Tag")] - public IDictionary Tags { get; set; } - - /// - /// Gets or sets the runbook version type - /// - [Parameter(Mandatory = true, HelpMessage = "Runbook definition type.")] - [ValidateSet(Constants.RunbookType.Graph, Constants.RunbookType.PowerShell, Constants.RunbookType.PowerShellWorkflow, IgnoreCase = true)] - [ValidateNotNullOrEmpty] - public string Type { get; set; } - - /// - /// Gets or sets a value indicating whether progress logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether progress logging should be turned on or off.")] - public bool? LogProgress { get; set; } - - /// - /// Gets or sets a value indicating whether verbose logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether verbose logging should be turned on or off.")] - public bool? LogVerbose { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - Runbook runbook = null; - - // ByRunbookName - runbook = this.AutomationClient.CreateRunbookByName( - this.ResourceGroupName, this.AutomationAccountName, this.Name, this.Description, this.Tags, this.Type, this.LogProgress, this.LogVerbose, false); - - this.WriteObject(runbook); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs deleted file mode 100644 index 2bf672b68a45..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs +++ /dev/null @@ -1,120 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Creates an azure automation Schedule. - /// - [Cmdlet(VerbsCommon.New, "AzureAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByDaily)] - [OutputType(typeof(Schedule))] - public class NewAzureAutomationSchedule : AzureAutomationBaseCmdlet - { - /// - /// Initializes a new instance of the class. - /// - public NewAzureAutomationSchedule() - { - this.ExpiryTime = Constants.DefaultScheduleExpiryTime; - } - - /// - /// Gets or sets the schedule name. - /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the schedule start time. - /// - [Parameter(Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule start time.")] - [ValidateNotNull] - public DateTimeOffset StartTime { get; set; } - - /// - /// Gets or sets the schedule description. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule description.")] - public string Description { get; set; } - - /// - /// Gets or sets the switch parameter to create a one time schedule. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByOneTime, Mandatory = true, HelpMessage = "To create a one time schedule.")] - public SwitchParameter OneTime { get; set; } - - /// - /// Gets or sets the schedule expiry time. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByDaily, Mandatory = false, HelpMessage = "The schedule expiry time.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByHourly, Mandatory = false, HelpMessage = "The schedule expiry time.")] - public DateTimeOffset ExpiryTime { get; set; } - - /// - /// Gets or sets the daily schedule day interval. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByDaily, Mandatory = true, HelpMessage = "The daily schedule day interval.")] - [ValidateRange(1, byte.MaxValue)] - public byte DayInterval { get; set; } - - /// - /// Gets or sets the hourly schedule hour interval. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByHourly, Mandatory = true, HelpMessage = "The hourly schedule hour interval.")] - [ValidateRange(1, byte.MaxValue)] - public byte HourInterval { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - var schedule = new Schedule - { - Name = this.Name, - StartTime = this.StartTime, - Description = this.Description, - ExpiryTime = this.ExpiryTime - }; - - if (this.ParameterSetName == AutomationCmdletParameterSets.ByOneTime) - { - schedule.Frequency = ScheduleFrequency.Onetime; - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByDaily) - { - schedule.Frequency = ScheduleFrequency.Day; - schedule.Interval = this.DayInterval; - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByHourly) - { - schedule.Frequency = ScheduleFrequency.Hour; - schedule.Interval = this.HourInterval; - } - - Schedule createdSchedule = this.AutomationClient.CreateSchedule(this.ResourceGroupName, this.AutomationAccountName, schedule); - this.WriteObject(createdSchedule); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs deleted file mode 100644 index 79fcb1e9edde..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs +++ /dev/null @@ -1,76 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation variables for a given account. - /// - [Cmdlet(VerbsCommon.New, "AzureAutomationVariable")] - [OutputType(typeof(Variable))] - public class NewAzureAutomationVariable : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the variable name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the variable encrypted Property. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The encrypted property of the variable.")] - [ValidateNotNull] - public bool Encrypted { get; set; } - - /// - /// Gets or sets the variable description. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The description of the variable.")] - public string Description { get; set; } - - /// - /// Gets or sets the variable value. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The value of the variable.")] - public object Value { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - Variable variable = new Variable() - { - Name = this.Name, - Encrypted = this.Encrypted, - Description = this.Description, - Value = this.Value, - AutomationAccountName = this.AutomationAccountName, - ResourceGroupName = this.ResourceGroupName - }; - - var ret = this.AutomationClient.CreateVariable(variable); - - this.GenerateCmdletOutput(ret); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs deleted file mode 100644 index dbb7aad3861d..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs +++ /dev/null @@ -1,49 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Publishes an azure automation runbook. - /// - [Cmdlet(VerbsData.Publish, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] - [OutputType(typeof(Runbook))] - public class PublishAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [ValidateNotNullOrEmpty] - [Alias("RunbookName")] - public string Name { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - var runbook = this.AutomationClient.PublishRunbook(this.ResourceGroupName, this.AutomationAccountName, this.Name); - - this.WriteObject(runbook); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs deleted file mode 100644 index 264e28196394..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Registers an azure automation scheduled runbook. - /// - [Cmdlet(VerbsLifecycle.Register, "AzureAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] - [OutputType(typeof(JobSchedule))] - public class RegisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook name.")] - [ValidateNotNullOrEmpty] - [Alias("Name")] - public string RunbookName { get; set; } - - /// - /// Gets or sets the schedule that will be used to start the runbook. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the schedule on which the runbook will be started.")] - [ValidateNotNullOrEmpty] - public string ScheduleName { get; set; } - - /// - /// Gets or sets the runbook parameters. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook parameters.")] - public IDictionary Parameters { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - JobSchedule jobSchedule; - - jobSchedule = this.AutomationClient.RegisterScheduledRunbook( - this.ResourceGroupName, this.AutomationAccountName, this.RunbookName, this.ScheduleName, this.Parameters); - - this.WriteObject(jobSchedule); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs deleted file mode 100644 index c9a7a9efb8d3..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs +++ /dev/null @@ -1,58 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Removes a Certificate for automation. - /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] - public class RemoveAzureAutomationCertificate : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the certificate name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The certificate name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 3, HelpMessage = "Confirm the removal of the certificate")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - ConfirmAction( - Force.IsPresent, - string.Format(Resources.RemovingAzureAutomationResourceWarning, "Certificate"), - string.Format(Resources.RemoveAzureAutomationResourceDescription, "Certificate"), - Name, - () => - { - this.AutomationClient.DeleteCertificate(this.ResourceGroupName, this.AutomationAccountName, Name); - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs deleted file mode 100644 index 3600af5bae45..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs +++ /dev/null @@ -1,58 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Removes a Connection for automation. - /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] - public class RemoveAzureAutomationConnection : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the connection name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 3, HelpMessage = "Confirm the removal of the connection")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - ConfirmAction( - Force.IsPresent, - string.Format(Resources.RemovingAzureAutomationResourceWarning, "Connection"), - string.Format(Resources.RemoveAzureAutomationResourceDescription, "Connection"), - Name, - () => - { - this.AutomationClient.DeleteConnection(this.ResourceGroupName, this.AutomationAccountName, Name); - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs deleted file mode 100644 index 75dd3a17b833..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs +++ /dev/null @@ -1,58 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Removes a Credential for automation. - /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] - public class RemoveAzureAutomationCredential : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the credential name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The credential name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 3, HelpMessage = "Confirm the removal of the credential")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - ConfirmAction( - Force.IsPresent, - string.Format(Resources.RemovingAzureAutomationResourceWarning, "Credential"), - string.Format(Resources.RemoveAzureAutomationResourceDescription, "Credential"), - Name, - () => - { - this.AutomationClient.DeleteCredential(this.ResourceGroupName, this.AutomationAccountName, Name); - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs deleted file mode 100644 index 8c9f2e0512f7..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs +++ /dev/null @@ -1,61 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Globalization; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Removes an azure automation runbook. - /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] - public class RemoveAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [Alias("RunbookName")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the switch parameter not to confirm on removing the runbook. - /// - [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.ConfirmAction( - this.Force.IsPresent, - string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationRunbookWarning), - string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationRunbookDescription), - this.Name, - () => - { - AutomationClient.DeleteRunbook(this.ResourceGroupName, this.AutomationAccountName, this.Name); - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs deleted file mode 100644 index 88e61fcdd3ee..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Globalization; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Removes an azure automation Schedule. - /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] - public class RemoveAzureAutomationSchedule : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the schedule name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule name.")] - public string Name { get; set; } - - /// - /// Gets or sets the switch parameter not to confirm on removing the schedule. - /// - [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.ConfirmAction( - this.Force.IsPresent, - string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationScheduleWarning), - string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationScheduleDescription), - this.Name, - () => - { - this.AutomationClient.DeleteSchedule(this.ResourceGroupName, this.AutomationAccountName, this.Name); - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs deleted file mode 100644 index 8bbc5d60bf40..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs +++ /dev/null @@ -1,59 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation variables for a given account. - /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationVariable")] - [OutputType(typeof(Variable))] - public class RemoveAzureAutomationVariable : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the variable name. - /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - [Parameter(Position = 3, HelpMessage = "Confirm the removal of the variable")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - ConfirmAction( - Force.IsPresent, - string.Format(Resources.RemovingAzureAutomationResourceWarning, "Variable"), - string.Format(Resources.RemoveAzureAutomationResourceDescription, "Variable"), - Name, - () => - { - this.AutomationClient.DeleteVariable(this.ResourceGroupName, this.AutomationAccountName, this.Name); - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs deleted file mode 100644 index f26215265fa6..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a Credential for automation. - /// - [Cmdlet(VerbsLifecycle.Resume, "AzureAutomationJob")] - public class ResumeAzureAutomationJob : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the job id. - /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.AutomationClient.ResumeJob(this.ResourceGroupName, this.AutomationAccountName, this.Id); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs deleted file mode 100644 index dd2406e78bfc..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs +++ /dev/null @@ -1,80 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Create a new Certificate for automation. - /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] - [OutputType(typeof(CertificateInfo))] - public class SetAzureAutomationCertificate : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the certificate name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the certificate description. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate description.")] - public string Description { get; set; } - - /// - /// Gets or sets the certificate password. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate password.")] - public SecureString Password { get; set; } - - /// - /// Gets or sets the certificate path. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The certificate file path.")] - public string Path { get; set; } - - /// - /// Gets or sets the certificate exportable Property. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The exportable property of the certificate.")] - public bool? Exportable { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - - var updateddCertificate = this.AutomationClient.UpdateCertificate(this.ResourceGroupName, this.AutomationAccountName, this.Name, this.ResolvePath(this.Path), this.Password, this.Description, this.Exportable); - - this.WriteObject(updateddCertificate); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs deleted file mode 100644 index 9c0b5d03762e..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs +++ /dev/null @@ -1,66 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Create a new Connection for automation. - /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationConnectionFieldValue", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] - [OutputType(typeof(Connection))] - public class SetAzureAutomationConnectionFieldValue : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the connection name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the connection field name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection field name.")] - public string ConnectionFieldName { get; set; } - - /// - /// Gets or sets the connection field value. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The connection field value.")] - public object Value { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - - var updatedConnection = this.AutomationClient.UpdateConnectionFieldValue(this.ResourceGroupName, this.AutomationAccountName, this.Name, this.ConnectionFieldName, this.Value); - - this.WriteObject(updatedConnection); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs deleted file mode 100644 index 779c27efaad6..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Sets a Credential for automation. - /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] - [OutputType(typeof(CredentialInfo))] - public class SetAzureAutomationCredential : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the credential name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The credential name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the credential description. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, ValueFromPipelineByPropertyName = true, - HelpMessage = "The credential description.")] - public string Description { get; set; } - - /// - /// Gets or sets the credential Value. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, ValueFromPipelineByPropertyName = true, - HelpMessage = "The credential value.")] - public PSCredential Value { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - string userName = null, password = null; - - if(Value != null) - { - userName = Value.UserName; - password = Value.GetNetworkCredential().Password; - } - - var updatedCredential = this.AutomationClient.UpdateCredential(this.ResourceGroupName, this.AutomationAccountName, Name, userName, password, Description); - - this.WriteObject(updatedCredential); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs deleted file mode 100644 index 393d929f10a2..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs +++ /dev/null @@ -1,81 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Sets an azure automation runbook's configuration values. - /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] - [OutputType(typeof(Runbook))] - public class SetAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [Alias("RunbookName")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the runbook description. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook description.")] - public string Description { get; set; } - - /// - /// Gets or sets the runbook tags. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook tags.")] - public IDictionary Tags { get; set; } - - /// - /// Gets or sets a value indicating whether progress logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether progress logging should be turned on or off.")] - public bool? LogProgress { get; set; } - - /// - /// Gets or sets a value indicating whether verbose logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether verbose logging should be turned on or off.")] - public bool? LogVerbose { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - // ByRunbookName - var runbook = this.AutomationClient.UpdateRunbook( - this.ResourceGroupName, - this.AutomationAccountName, - this.Name, - this.Description, - this.Tags, - this.LogProgress, - this.LogVerbose); - - this.WriteObject(runbook); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs deleted file mode 100644 index acc3f678d848..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs +++ /dev/null @@ -1,63 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Sets an azure automation schedule. - /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] - [OutputType(typeof(Schedule))] - public class SetAzureAutomationSchedule : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the schedule name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the indicator whether the schedule is enabled. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "Specifies whether the schedule is enabled. If a schedule is disabled, any runbooks using it will not run on the schedule until it is enabled.")] - public bool? IsEnabled { get; set; } - - /// - /// Gets or sets the schedule description. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule description.")] - public string Description { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - Schedule schedule = this.AutomationClient.UpdateSchedule( - this.ResourceGroupName, this.AutomationAccountName, this.Name, this.IsEnabled, this.Description); - this.WriteObject(schedule); - } - } -} \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs deleted file mode 100644 index d68c674b6c4b..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Newtonsoft.Json; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets azure automation variables for a given account. - /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationVariable")] - [OutputType(typeof(Variable))] - public class SetAzureAutomationVariable : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the variable name. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableValue, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] - [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableDescription, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// Gets or sets the variable encrypted Property. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableValue, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The encrypted property of the variable.")] - [ValidateNotNull] - public bool Encrypted { get; set; } - - /// - /// Gets or sets the variable description. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableDescription, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The description of the variable.")] - public string Description { get; set; } - - /// - /// Gets or sets the variable value. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableValue, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The value of the variable.")] - public object Value { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - Variable variable = new Variable() - { - Name = this.Name, - Description = this.Description, - Encrypted = this.Encrypted, - Value = this.Value, - AutomationAccountName = this.AutomationAccountName, - ResourceGroupName = this.ResourceGroupName - }; - - Variable ret; - if (ParameterSetName == AutomationCmdletParameterSets.UpdateVariableValue) - { - ret = this.AutomationClient.UpdateVariable(variable, VariableUpdateFields.OnlyValue); - } - else - { - ret = this.AutomationClient.UpdateVariable(variable, VariableUpdateFields.OnlyDescription); - } - this.GenerateCmdletOutput(ret); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs deleted file mode 100644 index ebab2f6cc140..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs +++ /dev/null @@ -1,66 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Job = Microsoft.Azure.Commands.Automation.Model.Job; - - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Starts an Azure automation runbook. - /// - [Cmdlet(VerbsLifecycle.Start, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] - [OutputType(typeof(Job))] - public class StartAzureAutomationRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] - [ValidateNotNullOrEmpty] - [Alias("RunbookName")] - public string Name { get; set; } - - /// - /// Gets or sets the runbook parameters. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook parameters.")] - public IDictionary Parameters { get; set; } - - /// - /// Gets or sets the optional hybrid agent friendly name upon which the runbook should be executed. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Optional name of the hybrid agent which should execute the runbook")] - [Alias("HybridWorker")] - public string RunOn { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - Job job = null; - - job = this.AutomationClient.StartRunbook(this.ResourceGroupName, this.AutomationAccountName, this.Name, this.Parameters, this.RunOn); - - this.WriteObject(job); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs deleted file mode 100644 index bda261ee9b89..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a Credential for automation. - /// - [Cmdlet(VerbsLifecycle.Stop, "AzureAutomationJob")] - public class StopAzureAutomationJob : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the job id. - /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.AutomationClient.StopJob(this.ResourceGroupName, this.AutomationAccountName, this.Id); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs deleted file mode 100644 index 4936840aa44f..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Gets a Credential for automation. - /// - [Cmdlet(VerbsLifecycle.Suspend, "AzureAutomationJob")] - public class SuspendAzureAutomationJob : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the job id. - /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.AutomationClient.SuspendJob(this.ResourceGroupName, this.AutomationAccountName, this.Id); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs deleted file mode 100644 index 25b1ca692800..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Globalization; -using System.Management.Automation; -using System.Security.Permissions; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - /// - /// Unregisters an azure automation scheduled runbook. - /// - [Cmdlet(VerbsLifecycle.Unregister, "AzureAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId)] - public class UnregisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet - { - /// - /// Gets or sets the runbook Id - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job schedule id.")] - public Guid? JobScheduleId { get; set; } - - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook name.")] - [ValidateNotNullOrEmpty] - [Alias("Name")] - public string RunbookName { get; set; } - - /// - /// Gets or sets the schedule that will be used to start the runbook. - /// - [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the schedule on which the runbook will be started.")] - [ValidateNotNullOrEmpty] - public string ScheduleName { get; set; } - - /// - /// Gets or sets the switch parameter not to confirm on removing the runbook. - /// - [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] - public SwitchParameter Force { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.ConfirmAction( - this.Force.IsPresent, - string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationJobScheduleWarning), - string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationJobScheduleDescription), - this.JobScheduleId.HasValue ? this.JobScheduleId.Value.ToString() : this.RunbookName, - () => - { - if (this.ParameterSetName == AutomationCmdletParameterSets.ByJobScheduleId) - { - this.AutomationClient.UnregisterScheduledRunbook( - this.ResourceGroupName, this.AutomationAccountName, this.JobScheduleId.Value); - } - else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookNameAndScheduleName) - { - this.AutomationClient.UnregisterScheduledRunbook( - this.ResourceGroupName, this.AutomationAccountName, this.RunbookName, this.ScheduleName); - } - }); - } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj b/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj index fc63c227b462..1e9a97d7eaee 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj +++ b/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj @@ -61,7 +61,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False @@ -119,52 +119,20 @@ - - - - - - - - - - Code - - - - - - - - - - - - - - - - - - - - - - @@ -173,16 +141,12 @@ - - - - @@ -197,32 +161,21 @@ - - - - - - - - - - - diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs index fc11e4a165fd..c888728baf8e 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClient.cs @@ -21,25 +21,17 @@ using System.Net; using System.Security; using System.Security.Cryptography.X509Certificates; -using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Model; using Microsoft.Azure.Commands.Automation.Properties; using Microsoft.Azure.Management.Automation; using Microsoft.Azure.Management.Automation.Models; +using Microsoft.WindowsAzure.Commands.Common; using Microsoft.Azure.Common.Authentication.Models; using Newtonsoft.Json; using AutomationAccount = Microsoft.Azure.Commands.Automation.Model.AutomationAccount; using Module = Microsoft.Azure.Commands.Automation.Model.Module; -using Runbook = Microsoft.Azure.Commands.Automation.Model.Runbook; -using Schedule = Microsoft.Azure.Commands.Automation.Model.Schedule; -using Job = Microsoft.Azure.Commands.Automation.Model.Job; -using Variable = Microsoft.Azure.Commands.Automation.Model.Variable; -using JobStream = Microsoft.Azure.Commands.Automation.Model.JobStream; -using Credential = Microsoft.Azure.Commands.Automation.Model.CredentialInfo; -using JobSchedule = Microsoft.Azure.Commands.Automation.Model.JobSchedule; -using Certificate = Microsoft.Azure.Commands.Automation.Model.CertificateInfo; -using Connection = Microsoft.Azure.Commands.Automation.Model.Connection; + namespace Microsoft.Azure.Commands.Automation.Common { @@ -59,8 +51,7 @@ public AutomationClient() public AutomationClient(AzureProfile profile, AzureSubscription subscription) : this(subscription, - AzureSession.ClientFactory.CreateClient(profile, - subscription, AzureEnvironment.Endpoint.ResourceManager)) + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ResourceManager)) { } @@ -73,11 +64,11 @@ public AutomationClient(AzureSubscription subscription, this.automationManagementClient = automationManagementClient; } - private void SetClientIdHeader(string clientRequestId) + void SetClientIdHeader(string clientRequestId) { var client = ((AutomationManagementClient) this.automationManagementClient); client.HttpClient.DefaultRequestHeaders.Remove(Constants.ClientRequestIdHeaderName); - client.HttpClient.DefaultRequestHeaders.Add(Constants.ClientRequestIdHeaderName, clientRequestId); + client.HttpClient.DefaultRequestHeaders.Add(Constants.ClientRequestIdHeaderName, clientRequestId); } public AzureSubscription Subscription { get; private set; } @@ -106,26 +97,21 @@ public AutomationAccount GetAutomationAccount(string resourceGroupName, string a Requires.Argument("ResourceGroupName", resourceGroupName).NotNull(); Requires.Argument("AutomationAccountName", automationAccountName).NotNull(); - var account = - this.automationManagementClient.AutomationAccounts.Get(resourceGroupName, automationAccountName) - .AutomationAccount; + var account = this.automationManagementClient.AutomationAccounts.Get(resourceGroupName, automationAccountName).AutomationAccount; return new Model.AutomationAccount(resourceGroupName, account); } - public AutomationAccount CreateAutomationAccount(string resourceGroupName, string automationAccountName, - string location, string plan, IDictionary tags) + public AutomationAccount CreateAutomationAccount(string resourceGroupName, string automationAccountName, string location, string plan, IDictionary tags) { Requires.Argument("ResourceGroupName", resourceGroupName).NotNull(); Requires.Argument("Location", location).NotNull(); - Requires.Argument("AutomationAccountName", automationAccountName).NotNull(); + Requires.Argument("AutomationAccountName", automationAccountName).ValidAutomationAccountName(); IDictionary accountTags = null; - if (tags != null) - accountTags = tags.Cast() - .ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); + if (tags != null) accountTags = tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); - var accountCreateOrUpdateParameters = new AutomationAccountCreateOrUpdateParameters() + var accountCreateParameters = new AutomationAccountCreateOrUpdateParameters() { Location = location, Name = automationAccountName, @@ -141,14 +127,13 @@ public AutomationAccount CreateAutomationAccount(string resourceGroupName, strin var account = this.automationManagementClient.AutomationAccounts.CreateOrUpdate(resourceGroupName, - accountCreateOrUpdateParameters).AutomationAccount; + accountCreateParameters).AutomationAccount; return new AutomationAccount(resourceGroupName, account); } - public AutomationAccount UpdateAutomationAccount(string resourceGroupName, string automationAccountName, - string plan, IDictionary tags) + public AutomationAccount UpdateAutomationAccount(string resourceGroupName, string automationAccountName, string plan, IDictionary tags) { Requires.Argument("ResourceGroupName", resourceGroupName).NotNull(); Requires.Argument("AutomationAccountName", automationAccountName).NotNull(); @@ -163,9 +148,7 @@ public AutomationAccount UpdateAutomationAccount(string resourceGroupName, strin } else { - accountTags = automationAccount.Tags.Cast() - .ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); - ; + accountTags = automationAccount.Tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); ; } var accountUpdateParameters = new AutomationAccountPatchParameters() @@ -201,9 +184,8 @@ public void DeleteAutomationAccount(string resourceGroupName, string automationA { if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) { - throw new ResourceNotFoundException(typeof (AutomationAccount), - string.Format(CultureInfo.CurrentCulture, Resources.AutomationAccountNotFound, - automationAccountName)); + throw new ResourceNotFoundException(typeof(AutomationAccount), + string.Format(CultureInfo.CurrentCulture, Resources.AutomationAccountNotFound, automationAccountName)); } throw; @@ -213,12 +195,9 @@ public void DeleteAutomationAccount(string resourceGroupName, string automationA #endregion #region Modules - - public Module CreateModule(string resourceGroupName, string automationAccountName, Uri contentLink, - string moduleName) + public Module CreateModule(string resourceGroupName, string automationAccountName, Uri contentLink, string moduleName) { - var createdModule = this.automationManagementClient.Modules.CreateOrUpdate(resourceGroupName, - automationAccountName, + var createdModule = this.automationManagementClient.Modules.CreateOrUpdate(resourceGroupName, automationAccountName, new AutomationManagement.Models.ModuleCreateOrUpdateParameters() { Name = moduleName, @@ -240,24 +219,21 @@ public Module GetModule(string resourceGroupName, string automationAccountName, { try { - var module = - this.automationManagementClient.Modules.Get(resourceGroupName, automationAccountName, name).Module; + var module = this.automationManagementClient.Modules.Get(resourceGroupName, automationAccountName, name).Module; return new Module(resourceGroupName, automationAccountName, module); } catch (CloudException cloudException) { if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) { - throw new ResourceNotFoundException(typeof (Module), - string.Format(CultureInfo.CurrentCulture, Resources.ModuleNotFound, name)); + throw new ResourceNotFoundException(typeof(Module), string.Format(CultureInfo.CurrentCulture, Resources.ModuleNotFound, name)); } throw; } } - public IEnumerable ListModules(string resourceGroupName, string automationAccountName, - ref string nextLink) + public IEnumerable ListModules(string resourceGroupName, string automationAccountName, ref string nextLink) { ModuleListResponse response; @@ -275,11 +251,9 @@ public IEnumerable ListModules(string resourceGroupName, string automati return response.Modules.Select(c => new Module(resourceGroupName, automationAccountName, c)); } - public Module UpdateModule(string resourceGroupName, string automationAccountName, string name, - Uri contentLinkUri, string contentLinkVersion) + public Module UpdateModule(string resourceGroupName, string automationAccountName, string name, Uri contentLinkUri, string contentLinkVersion) { - var moduleModel = - this.automationManagementClient.Modules.Get(resourceGroupName, automationAccountName, name).Module; + var moduleModel = this.automationManagementClient.Modules.Get(resourceGroupName, automationAccountName, name).Module; if (contentLinkUri != null) { var modulePatchParameters = new AutomationManagement.Models.ModulePatchParameters(); @@ -295,11 +269,9 @@ public Module UpdateModule(string resourceGroupName, string automationAccountNam modulePatchParameters.Tags = moduleModel.Tags; - this.automationManagementClient.Modules.Patch(resourceGroupName, automationAccountName, - modulePatchParameters); + this.automationManagementClient.Modules.Patch(resourceGroupName, automationAccountName, modulePatchParameters); } - var updatedModule = - this.automationManagementClient.Modules.Get(resourceGroupName, automationAccountName, name).Module; + var updatedModule = this.automationManagementClient.Modules.Get(resourceGroupName, automationAccountName, name).Module; return new Module(resourceGroupName, automationAccountName, updatedModule); } @@ -307,1429 +279,20 @@ public void DeleteModule(string resourceGroupName, string automationAccountName, { try { - var module = this.automationManagementClient.Modules.Delete(resourceGroupName, automationAccountName, - name); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) - { - throw new ResourceNotFoundException(typeof (Module), - string.Format(CultureInfo.CurrentCulture, Resources.ModuleNotFound, name)); - } - - throw; - } - } - - #endregion - - #region Schedule Operations - - public Schedule CreateSchedule(string resourceGroupName, string automationAccountName, Schedule schedule) - { - var scheduleCreateOrUpdateParameters = new AutomationManagement.Models.ScheduleCreateOrUpdateParameters - { - Name = schedule.Name, - Properties = new AutomationManagement.Models.ScheduleCreateOrUpdateProperties - { - StartTime = schedule.StartTime, - ExpiryTime = schedule.ExpiryTime, - Description = schedule.Description, - Interval = schedule.Interval, - Frequency = schedule.Frequency.ToString() - } - }; - - var scheduleCreateResponse = this.automationManagementClient.Schedules.CreateOrUpdate( - resourceGroupName, - automationAccountName, - scheduleCreateOrUpdateParameters); - - return this.GetSchedule(resourceGroupName, automationAccountName, schedule.Name); - } - - public void DeleteSchedule(string resourceGroupName, string automationAccountName, string scheduleName) - { - try - { - this.automationManagementClient.Schedules.Delete( - resourceGroupName, - automationAccountName, - scheduleName); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) - { - throw new ResourceNotFoundException(typeof (Schedule), - string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNotFound, scheduleName)); - } - - throw; - } - } - - public Schedule GetSchedule(string resourceGroupName, string automationAccountName, string scheduleName) - { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(resourceGroupName, automationAccountName, - scheduleName); - return this.CreateScheduleFromScheduleModel(resourceGroupName, automationAccountName, scheduleModel); - } - - public IEnumerable ListSchedules(string resourceGroupName, string automationAccountName, ref string nextLink) - { - ScheduleListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Schedules.List(resourceGroupName, automationAccountName); - } - else - { - response = this.automationManagementClient.Schedules.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Schedules.Select(c => new Schedule(resourceGroupName, automationAccountName, c)); - } - - public Schedule UpdateSchedule(string resourceGroupName, string automationAccountName, string scheduleName, bool? isEnabled, - string description) - { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(resourceGroupName, automationAccountName, - scheduleName); - isEnabled = (isEnabled.HasValue) ? isEnabled : scheduleModel.Properties.IsEnabled; - description = description ?? scheduleModel.Properties.Description; - return this.UpdateScheduleHelper(resourceGroupName, automationAccountName, scheduleName, isEnabled, description); - } - - #endregion - - #region Runbook Operations - - public Runbook GetRunbook(string resourceGroupName, string automationAccountName, string runbookName) - { - var runbookModel = this.TryGetRunbookModel(resourceGroupName, automationAccountName, runbookName); - if (runbookModel == null) - { - throw new ResourceCommonException(typeof (Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); - } - - return new Runbook(resourceGroupName, automationAccountName, runbookModel); - } - - public IEnumerable ListRunbooks(string resourceGroupName, string automationAccountName, ref string nextLink) - { - RunbookListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Runbooks.List(resourceGroupName, automationAccountName); - } - else - { - response = this.automationManagementClient.Runbooks.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Runbooks.Select(c => new Runbook(resourceGroupName, automationAccountName, c)); - } - - public Runbook CreateRunbookByName(string resourceGroupName, string automationAccountName, string runbookName, string description, - IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool overwrite) - { - using (var request = new RequestSettings(this.automationManagementClient)) - { - var runbookModel = this.TryGetRunbookModel(resourceGroupName, automationAccountName, runbookName); - if (runbookModel != null && overwrite == false) - { - throw new ResourceCommonException(typeof (Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookAlreadyExists, runbookName)); - } - - IDictionary runbooksTags = null; - if (tags != null) runbooksTags = tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); - - var rdcprop = new RunbookCreateOrUpdateDraftProperties() - { - Description = description, - RunbookType = String.IsNullOrWhiteSpace(type) ? RunbookTypeEnum.Script : (0 == string.Compare(type, Constants.RunbookType.PowerShellWorkflow, StringComparison.OrdinalIgnoreCase)) ? RunbookTypeEnum.Script : type, - LogProgress = logProgress.HasValue && logProgress.Value, - LogVerbose = logVerbose.HasValue && logVerbose.Value, - Draft = new RunbookDraft(), - }; - - var rdcparam = new RunbookCreateOrUpdateDraftParameters() - { - Name = runbookName, - Properties = rdcprop, - Tags = runbooksTags, - Location = GetAutomationAccount(resourceGroupName, automationAccountName).Location - }; - - this.automationManagementClient.Runbooks.CreateOrUpdateWithDraft(resourceGroupName, automationAccountName, rdcparam); - - return this.GetRunbook(resourceGroupName, automationAccountName, runbookName); - } - } - - public Runbook ImportRunbook(string resourceGroupName, string automationAccountName, string runbookPath, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool published, bool overwrite) - { - - var fileExtension = Path.GetExtension(runbookPath); - - if (0 != - string.Compare(fileExtension, Constants.SupportedFileExtensions.PowerShellScript, - StringComparison.OrdinalIgnoreCase) && - 0 != - string.Compare(fileExtension, Constants.SupportedFileExtensions.Graph, - StringComparison.OrdinalIgnoreCase)) - { - throw new ResourceCommonException(typeof(Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.InvalidImportFile, runbookPath)); - } - - // if graph runbook make sure type is not null and has right value - if (0 == string.Compare(fileExtension, Constants.SupportedFileExtensions.Graph, StringComparison.OrdinalIgnoreCase) - && string.IsNullOrWhiteSpace(type) - && (0 != string.Compare(type, Constants.RunbookType.Graph,StringComparison.OrdinalIgnoreCase))) - { - throw new ResourceCommonException(typeof(Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookTypeForExtension, fileExtension)); - } - - - var runbookName = Path.GetFileNameWithoutExtension(runbookPath); - - using (var request = new RequestSettings(this.automationManagementClient)) - { - var runbook = this.CreateRunbookByName(resourceGroupName, automationAccountName, runbookName, description, tags, type, logProgress, logVerbose, overwrite); - - var rduprop = new RunbookDraftUpdateParameters() - { - Name = runbookName, - Stream = File.ReadAllText(runbookPath) - }; - - this.automationManagementClient.RunbookDraft.Update(resourceGroupName, automationAccountName, rduprop); - - if (published) - { - runbook = this.PublishRunbook(resourceGroupName, automationAccountName, runbookName); - } - - return runbook; - } - } - - public void DeleteRunbook(string resourceGroupName, string automationAccountName, string runbookName) - { - try - { - using (var request = new RequestSettings(this.automationManagementClient)) - { - this.automationManagementClient.Runbooks.Delete(resourceGroupName, automationAccountName, runbookName); - } + var module = this.automationManagementClient.Modules.Delete(resourceGroupName, automationAccountName, name); } catch (CloudException cloudException) { if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) { - throw new ResourceNotFoundException(typeof (Connection), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); + throw new ResourceNotFoundException(typeof(Module), string.Format(CultureInfo.CurrentCulture, Resources.ModuleNotFound, name)); } throw; } - - } - - public Runbook UpdateRunbook(string resourceGroupName, string automationAccountName, string runbookName, string description, - IDictionary tags, bool? logProgress, bool? logVerbose) - { - using (var request = new RequestSettings(this.automationManagementClient)) - { - var runbookModel = this.TryGetRunbookModel(resourceGroupName, automationAccountName, runbookName); - if (runbookModel == null) - { - throw new ResourceCommonException(typeof (Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); - } - - var runbookUpdateParameters = new RunbookPatchParameters(); - runbookUpdateParameters.Name = runbookName; - runbookUpdateParameters.Tags = null; - - IDictionary runbooksTags = null; - if (tags != null) runbooksTags = tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); - - runbookUpdateParameters.Properties = new RunbookPatchProperties(); - runbookUpdateParameters.Properties.Description = description ?? runbookModel.Properties.Description; - runbookUpdateParameters.Properties.LogProgress = (logProgress.HasValue) - ? logProgress.Value - : runbookModel.Properties.LogProgress; - runbookUpdateParameters.Properties.LogVerbose = (logVerbose.HasValue) - ? logVerbose.Value - : runbookModel.Properties.LogVerbose; - runbookUpdateParameters.Tags = runbooksTags ?? runbookModel.Tags; - - var runbook = - this.automationManagementClient.Runbooks.Patch(resourceGroupName, automationAccountName, runbookUpdateParameters) - .Runbook; - - return new Runbook(resourceGroupName, automationAccountName, runbook); - } - } - - public DirectoryInfo ExportRunbook(string resourceGroupName, string automationAccountName, - string runbookName, bool? isDraft, string outputFolder, bool overwrite) - { - DirectoryInfo ret = null; - using (var request = new RequestSettings(this.automationManagementClient)) - { - var runbook = this.TryGetRunbookModel(resourceGroupName, automationAccountName, runbookName); - if (runbook == null) - { - throw new ResourceNotFoundException(typeof (Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); - } - - var draftContent = String.Empty; - var publishedContent = String.Empty; - - if (0 != - String.Compare(runbook.Properties.State, RunbookState.Published, CultureInfo.InvariantCulture, - CompareOptions.IgnoreCase) && (!isDraft.HasValue || isDraft.Value)) - { - draftContent = - this.automationManagementClient.RunbookDraft.Content(resourceGroupName, automationAccountName, runbookName).Stream; - } - if (0 != - String.Compare(runbook.Properties.State, RunbookState.New, CultureInfo.InvariantCulture, - CompareOptions.IgnoreCase) && (!isDraft.HasValue || !isDraft.Value)) - { - publishedContent = - this.automationManagementClient.Runbooks.Content(resourceGroupName, automationAccountName, runbookName).Stream; - } - - // if no slot specified return both draft and publish content - if (false == isDraft.HasValue) - { - if (false == String.IsNullOrEmpty(publishedContent)) - { - ret = WriteRunbookToFile(outputFolder, runbook.Name, publishedContent, runbook.Properties.RunbookType, - overwrite); - } - else if (false == String.IsNullOrEmpty(draftContent)) - { - ret = WriteRunbookToFile(outputFolder, runbook.Name, draftContent, runbook.Properties.RunbookType, - overwrite); - } - } - else - { - if (true == isDraft.Value) - { - - if (String.IsNullOrEmpty(draftContent)) - throw new ResourceCommonException(typeof (Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoDraftVersion, - runbookName)); - if (false == String.IsNullOrEmpty(draftContent)) - ret = WriteRunbookToFile(outputFolder, runbook.Name, draftContent, runbook.Properties.RunbookType, - overwrite); - } - else - { - if (String.IsNullOrEmpty(publishedContent)) - throw new ResourceCommonException(typeof (Runbook), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoPublishedVersion, - runbookName)); - - if (false == String.IsNullOrEmpty(publishedContent)) - ret = WriteRunbookToFile(outputFolder, runbook.Name, publishedContent, runbook.Properties.RunbookType, - overwrite); - } - } - } - - return ret; - } - - public Runbook PublishRunbook(string resourceGroupName, string automationAccountName, string runbookName) - { - using (var request = new RequestSettings(this.automationManagementClient)) - { - this.automationManagementClient.RunbookDraft.Publish( - resourceGroupName, - automationAccountName, - new RunbookDraftPublishParameters - { - Name = runbookName, - PublishedBy = Constants.ClientIdentity - }); - - return this.GetRunbook(resourceGroupName, automationAccountName, runbookName); - } - - } - - public Job StartRunbook(string resourceGroupName, string automationAccountName, string runbookName, IDictionary parameters, string runOn) - { - IDictionary processedParameters = this.ProcessRunbookParameters(resourceGroupName, automationAccountName, - runbookName, parameters); - var job = this.automationManagementClient.Jobs.Create( - resourceGroupName, - automationAccountName, - new JobCreateParameters - { - Properties = new JobCreateProperties - { - Runbook = new RunbookAssociationProperty - { - Name = runbookName - }, - RunOn = String.IsNullOrWhiteSpace(runOn) ? null : runOn, - Parameters = processedParameters ?? null - } - }).Job; - - return new Job(resourceGroupName, automationAccountName, job); } #endregion - - #region Variables - - public Variable CreateVariable(Variable variable) - { - bool variableExists = true; - - try - { - this.GetVariable(variable.ResourceGroupName, variable.AutomationAccountName, variable.Name); - } - catch (ResourceNotFoundException) - { - variableExists = false; - } - - if (variableExists) - { - throw new AzureAutomationOperationException(string.Format(CultureInfo.CurrentCulture, - Resources.VariableAlreadyExists, variable.Name)); - } - - var createParams = new AutomationManagement.Models.VariableCreateOrUpdateParameters() - { - Name = variable.Name, - Properties = new AutomationManagement.Models.VariableCreateOrUpdateProperties() - { - Value = PowerShellJsonConverter.Serialize(variable.Value), - Description = variable.Description, - IsEncrypted = variable.Encrypted - } - }; - - var sdkCreatedVariable = - this.automationManagementClient.Variables.CreateOrUpdate(variable.ResourceGroupName, variable.AutomationAccountName, createParams).Variable; - - return new Variable(sdkCreatedVariable, variable.AutomationAccountName, variable.ResourceGroupName); - } - - public void DeleteVariable(string resourceGroupName, string automationAccountName, string variableName) - { - try - { - this.automationManagementClient.Variables.Delete(resourceGroupName, automationAccountName, variableName); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) - { - throw new ResourceNotFoundException(typeof (Variable), - string.Format(CultureInfo.CurrentCulture, Resources.VariableNotFound, variableName)); - } - - throw; - } - } - - public Variable UpdateVariable(Variable variable, VariableUpdateFields updateFields) - { - var existingVariable = this.GetVariable(variable.ResourceGroupName, variable.AutomationAccountName, variable.Name); - - if (existingVariable.Encrypted != variable.Encrypted && updateFields == VariableUpdateFields.OnlyValue) - { - throw new ResourceNotFoundException(typeof (Variable), - string.Format(CultureInfo.CurrentCulture, Resources.VariableEncryptionCannotBeChanged, variable.Name, - existingVariable.Encrypted)); - } - - var updateParams = new AutomationManagement.Models.VariablePatchParameters() - { - Name = variable.Name, - }; - - if (updateFields == VariableUpdateFields.OnlyDescription) - { - updateParams.Properties = new AutomationManagement.Models.VariablePatchProperties() - { - Description = variable.Description - }; - } - else - { - updateParams.Properties = new AutomationManagement.Models.VariablePatchProperties() - { - Value = PowerShellJsonConverter.Serialize(variable.Value) - }; - } - - this.automationManagementClient.Variables.Patch(variable.ResourceGroupName, variable.AutomationAccountName, updateParams); - - return this.GetVariable(variable.ResourceGroupName, variable.AutomationAccountName, variable.Name); - } - - public Variable GetVariable(string resourceGroupName, string automationAccountName, string name) - { - try - { - var sdkVarible = this.automationManagementClient.Variables.Get(resourceGroupName, automationAccountName, name).Variable; - - if (sdkVarible != null) - { - return new Variable(sdkVarible, automationAccountName, resourceGroupName); - } - - throw new ResourceNotFoundException(typeof (Variable), - string.Format(CultureInfo.CurrentCulture, Resources.VariableNotFound, name)); - } - catch (CloudException) - { - throw new ResourceNotFoundException(typeof (Variable), - string.Format(CultureInfo.CurrentCulture, Resources.VariableNotFound, name)); - } - } - - public IEnumerable ListVariables(string resourceGroupName, string automationAccountName, ref string nextLink) - { - VariableListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Variables.List( - resourceGroupName, - automationAccountName); - } - else - { - response = this.automationManagementClient.Variables.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Variables.Select(c => new Variable(c, automationAccountName, resourceGroupName)); - } - - #endregion - - #region Credentials - - public CredentialInfo CreateCredential(string resourceGroupName, string automationAccountName, string name, string userName, - string password, - string description) - { - var credentialCreateParams = new AutomationManagement.Models.CredentialCreateOrUpdateParameters(); - credentialCreateParams.Name = name; - credentialCreateParams.Properties = new AutomationManagement.Models.CredentialCreateOrUpdateProperties(); - if (description != null) credentialCreateParams.Properties.Description = description; - - Requires.Argument("userName", userName).NotNull(); - Requires.Argument("password", password).NotNull(); - - credentialCreateParams.Properties.UserName = userName; - credentialCreateParams.Properties.Password = password; - - var createdCredential = this.automationManagementClient.PsCredentials.CreateOrUpdate(resourceGroupName, automationAccountName, - credentialCreateParams); - - if (createdCredential == null || createdCredential.StatusCode != HttpStatusCode.Created) - { - new AzureAutomationOperationException(string.Format(Resources.AutomationOperationFailed, "Create", - "credential", name, automationAccountName)); - } - return new CredentialInfo(resourceGroupName, automationAccountName, createdCredential.Credential); - } - - public CredentialInfo UpdateCredential(string resourceGroupName, string automationAccountName, string name, string userName, - string password, - string description) - { - var exisitngCredential = this.GetCredential(resourceGroupName, automationAccountName, name); - var credentialUpdateParams = new CredentialPatchParameters(); - credentialUpdateParams.Name = name; - credentialUpdateParams.Properties = new CredentialPatchProperties(); - credentialUpdateParams.Properties.Description = description ?? exisitngCredential.Description; - - credentialUpdateParams.Properties.UserName = userName; - credentialUpdateParams.Properties.Password = password; - - var credential = this.automationManagementClient.PsCredentials.Patch(resourceGroupName, automationAccountName, - credentialUpdateParams); - - if (credential == null || credential.StatusCode != HttpStatusCode.OK) - { - new AzureAutomationOperationException(string.Format(Resources.AutomationOperationFailed, "Update", - "credential", name, automationAccountName)); - } - - var updatedCredential = this.GetCredential(resourceGroupName, automationAccountName, name); - - return updatedCredential; - } - - public CredentialInfo GetCredential(string resourceGroupName, string automationAccountName, string name) - { - var credential = this.automationManagementClient.PsCredentials.Get(resourceGroupName, automationAccountName, name).Credential; - if (credential == null) - { - throw new ResourceNotFoundException(typeof (Credential), - string.Format(CultureInfo.CurrentCulture, Resources.CredentialNotFound, name)); - } - - return new CredentialInfo(resourceGroupName, automationAccountName, credential); - } - - public IEnumerable ListCredentials(string resourceGroupName, string automationAccountName, ref string nextLink) - { - CredentialListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.PsCredentials.List( - resourceGroupName, - automationAccountName); - } - else - { - response = this.automationManagementClient.PsCredentials.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Credentials.Select(c => new Credential(resourceGroupName, automationAccountName, c)); - } - - public void DeleteCredential(string resourceGroupName, string automationAccountName, string name) - { - try - { - var credential = this.automationManagementClient.PsCredentials.Delete(resourceGroupName, automationAccountName, name); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) - { - throw new ResourceNotFoundException(typeof (Credential), - string.Format(CultureInfo.CurrentCulture, Resources.CredentialNotFound, name)); - } - - throw; - } - } - - #endregion - - #region Jobs - - public IEnumerable GetJobStream(string resourceGroupName, string automationAccountName, Guid jobId, DateTimeOffset? time, - string streamType, ref string nextLink) - { - var listParams = new AutomationManagement.Models.JobStreamListParameters(); - - if (time.HasValue) - { - listParams.Time = this.FormatDateTime(time.Value); - } - - if (streamType != null) - { - listParams.StreamType = streamType; - } - - JobStreamListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.JobStreams.List(resourceGroupName, automationAccountName, jobId, listParams); - } - else - { - response = this.automationManagementClient.JobStreams.ListNext(nextLink); - } - - nextLink = response.NextLink; - return - response.JobStreams.Select( - stream => this.CreateJobStreamFromJobStreamModel(stream, resourceGroupName, automationAccountName, jobId)); - } - - public Job GetJob(string resourceGroupName, string automationAccountName, Guid Id) - { - var job = this.automationManagementClient.Jobs.Get(resourceGroupName, automationAccountName, Id).Job; - if (job == null) - { - throw new ResourceNotFoundException(typeof (Job), - string.Format(CultureInfo.CurrentCulture, Resources.JobNotFound, Id)); - } - - return new Job(resourceGroupName, automationAccountName, job); - } - - public IEnumerable ListJobsByRunbookName(string resourceGroupName, string automationAccountName, string runbookName, - DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus, ref string nextLink) - { - JobListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Jobs.List( - resourceGroupName, - automationAccountName, - new JobListParameters - { - StartTime = (startTime.HasValue) ? FormatDateTime(startTime.Value) : null, - EndTime = (endTime.HasValue) ? FormatDateTime(endTime.Value) : null, - RunbookName = runbookName, - Status = jobStatus, - }); - } - else - { - response = this.automationManagementClient.Jobs.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Jobs.Select(c => new Job(resourceGroupName, automationAccountName, c)); - } - - public IEnumerable ListJobs(string resourceGroupName, string automationAccountName, DateTimeOffset? startTime, - DateTimeOffset? endTime, string jobStatus, ref string nextLink) - { - JobListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Jobs.List( - resourceGroupName, - automationAccountName, - new JobListParameters - { - StartTime = (startTime.HasValue) ? FormatDateTime(startTime.Value) : null, - EndTime = (endTime.HasValue) ? FormatDateTime(endTime.Value) : null, - Status = jobStatus, - }); - } - else - { - response = this.automationManagementClient.Jobs.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Jobs.Select(c => new Job(resourceGroupName, automationAccountName, c)); - } - - public void ResumeJob(string resourceGroupName, string automationAccountName, Guid id) - { - this.automationManagementClient.Jobs.Resume(resourceGroupName, automationAccountName, id); - } - - public void StopJob(string resourceGroupName, string automationAccountName, Guid id) - { - this.automationManagementClient.Jobs.Stop(resourceGroupName, automationAccountName, id); - } - - public void SuspendJob(string resourceGroupName, string automationAccountName, Guid id) - { - this.automationManagementClient.Jobs.Suspend(resourceGroupName, automationAccountName, id); - } - - #endregion - - #region Certificate Operations - - public CertificateInfo CreateCertificate(string resourceGroupName, string automationAccountName, string name, string path, - SecureString password, - string description, bool exportable) - { - var certificateModel = this.TryGetCertificateModel(resourceGroupName, automationAccountName, name); - if (certificateModel != null) - { - throw new ResourceCommonException(typeof (CertificateInfo), - string.Format(CultureInfo.CurrentCulture, Resources.CertificateAlreadyExists, name)); - } - - return CreateCertificateInternal(resourceGroupName, automationAccountName, name, path, password, description, exportable); - } - - - public CertificateInfo UpdateCertificate(string resourceGroupName, string automationAccountName, string name, string path, - SecureString password, - string description, bool? exportable) - { - if (String.IsNullOrWhiteSpace(path) && (password != null || exportable.HasValue)) - { - throw new ResourceCommonException(typeof (CertificateInfo), - string.Format(CultureInfo.CurrentCulture, Resources.SetCertificateInvalidArgs, name)); - } - - var certificateModel = this.TryGetCertificateModel(resourceGroupName, automationAccountName, name); - if (certificateModel == null) - { - throw new ResourceCommonException(typeof (CertificateInfo), - string.Format(CultureInfo.CurrentCulture, Resources.CertificateNotFound, name)); - } - - var createOrUpdateDescription = description ?? certificateModel.Properties.Description; - var createOrUpdateIsExportable = (exportable.HasValue) - ? exportable.Value - : certificateModel.Properties.IsExportable; - - if (path != null) - { - return this.CreateCertificateInternal(resourceGroupName, automationAccountName, name, path, password, - createOrUpdateDescription, - createOrUpdateIsExportable); - } - - var cuparam = new CertificatePatchParameters() - { - Name = name, - Properties = new CertificatePatchProperties() - { - Description = createOrUpdateDescription - } - }; - - this.automationManagementClient.Certificates.Patch(resourceGroupName, automationAccountName, cuparam); - - return new CertificateInfo(resourceGroupName, automationAccountName, - this.automationManagementClient.Certificates.Get(resourceGroupName, automationAccountName, name).Certificate); - } - - public CertificateInfo GetCertificate(string resourceGroupName, string automationAccountName, string name) - { - var certificateModel = this.TryGetCertificateModel(resourceGroupName, automationAccountName, name); - if (certificateModel == null) - { - throw new ResourceCommonException(typeof (CertificateInfo), - string.Format(CultureInfo.CurrentCulture, Resources.CertificateNotFound, name)); - } - - return new Certificate(resourceGroupName, automationAccountName, certificateModel); - } - - public IEnumerable ListCertificates(string resourceGroupName, string automationAccountName, ref string nextLink) - { - CertificateListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Certificates.List(resourceGroupName, automationAccountName); - } - else - { - response = this.automationManagementClient.Certificates.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Certificates.Select(c => new CertificateInfo(resourceGroupName, automationAccountName, c)); - } - - public void DeleteCertificate(string resourceGroupName, string automationAccountName, string name) - { - try - { - this.automationManagementClient.Certificates.Delete(resourceGroupName, automationAccountName, name); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) - { - throw new ResourceNotFoundException(typeof (Schedule), - string.Format(CultureInfo.CurrentCulture, Resources.CertificateNotFound, name)); - } - - throw; - } - } - - #endregion - - #region Connection Operations - - public Connection CreateConnection(string resourceGroupName, string automationAccountName, string name, string connectionTypeName, - IDictionary connectionFieldValues, - string description) - { - var connectionModel = this.TryGetConnectionModel(resourceGroupName, automationAccountName, name); - if (connectionModel != null) - { - throw new ResourceCommonException(typeof (Connection), - string.Format(CultureInfo.CurrentCulture, Resources.ConnectionAlreadyExists, name)); - } - - var ccprop = new ConnectionCreateOrUpdateProperties() - { - Description = description, - ConnectionType = new ConnectionTypeAssociationProperty() {Name = connectionTypeName}, - FieldDefinitionValues = - connectionFieldValues.Cast() - .ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()) - }; - - var ccparam = new ConnectionCreateOrUpdateParameters() {Name = name, Properties = ccprop}; - - var connection = - this.automationManagementClient.Connections.CreateOrUpdate(resourceGroupName, automationAccountName, ccparam).Connection; - - return new Connection(resourceGroupName, automationAccountName, connection); - } - - public Connection UpdateConnectionFieldValue(string resourceGroupName, string automationAccountName, string name, - string connectionFieldName, object value) - { - var connectionModel = this.TryGetConnectionModel(resourceGroupName, automationAccountName, name); - if (connectionModel == null) - { - throw new ResourceCommonException(typeof (Connection), - string.Format(CultureInfo.CurrentCulture, Resources.ConnectionNotFound, name)); - } - - if (connectionModel.Properties.FieldDefinitionValues.ContainsKey(connectionFieldName)) - { - connectionModel.Properties.FieldDefinitionValues[connectionFieldName] = - PowerShellJsonConverter.Serialize(value); - } - else - { - throw new ResourceCommonException(typeof (Connection), - string.Format(CultureInfo.CurrentCulture, Resources.ConnectionFieldNameNotFound, name)); - } - - var cuparam = new ConnectionPatchParameters() - { - Name = name, - Properties = new ConnectionPatchProperties() - { - Description = connectionModel.Properties.Description, - FieldDefinitionValues = connectionModel.Properties.FieldDefinitionValues - } - }; - - this.automationManagementClient.Connections.Patch(resourceGroupName, automationAccountName, cuparam); - - return new Connection(resourceGroupName, automationAccountName, - this.automationManagementClient.Connections.Get(resourceGroupName, automationAccountName, name).Connection); - } - - public Connection GetConnection(string resourceGroupName, string automationAccountName, string name) - { - var connectionModel = this.TryGetConnectionModel(resourceGroupName, automationAccountName, name); - if (connectionModel == null) - { - throw new ResourceCommonException(typeof (Connection), - string.Format(CultureInfo.CurrentCulture, Resources.ConnectionNotFound, name)); - } - - return new Connection(resourceGroupName, automationAccountName, connectionModel); - } - - public IEnumerable ListConnectionsByType(string resourceGroupName, string automationAccountName, string typeName) - { - var connections = new List(); - string nextLink = string.Empty; - - do - { - connections.AddRange(this.ListConnections(resourceGroupName, automationAccountName, ref nextLink)); - - } while (!string.IsNullOrEmpty(nextLink)); - - return - connections.Where( - c => c.ConnectionTypeName.Equals(typeName, StringComparison.InvariantCultureIgnoreCase)); - } - - public IEnumerable ListConnections(string resourceGroupName, string automationAccountName, ref string nextLink) - { - ConnectionListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.Connections.List( - resourceGroupName, - automationAccountName); - } - else - { - response = this.automationManagementClient.Connections.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.Connection.Select(c => new Connection(resourceGroupName, automationAccountName, c)); - } - - public void DeleteConnection(string resourceGroupName, string automationAccountName, string name) - { - try - { - this.automationManagementClient.Connections.Delete(resourceGroupName, automationAccountName, name); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) - { - throw new ResourceNotFoundException(typeof (Connection), - string.Format(CultureInfo.CurrentCulture, Resources.ConnectionNotFound, name)); - } - - throw; - } - } - - #endregion - - #region JobSchedules - - public JobSchedule GetJobSchedule(string resourceGroupName, string automationAccountName, Guid jobScheduleId) - { - AutomationManagement.Models.JobSchedule jobScheduleModel = null; - - try - { - jobScheduleModel = this.automationManagementClient.JobSchedules.Get( - resourceGroupName, - automationAccountName, - jobScheduleId) - .JobSchedule; - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) - { - throw new ResourceNotFoundException(typeof (JobSchedule), - string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleWithIdNotFound, jobScheduleId)); - } - - throw; - } - - return this.CreateJobScheduleFromJobScheduleModel(resourceGroupName, automationAccountName, jobScheduleModel); - } - - public JobSchedule GetJobSchedule(string resourceGroupName, string automationAccountName, string runbookName, string scheduleName) - { - const bool jobScheduleFound = false; - var nextLink = string.Empty; - - do - { - var schedules = this.ListJobSchedules(resourceGroupName, automationAccountName, ref nextLink); - var jobSchedule = - schedules.FirstOrDefault( - js => String.Equals(js.RunbookName, runbookName, StringComparison.OrdinalIgnoreCase) && - String.Equals(js.ScheduleName, scheduleName, StringComparison.OrdinalIgnoreCase)); - - if (jobSchedule != null) - { - this.GetJobSchedule(resourceGroupName, automationAccountName, new Guid(jobSchedule.JobScheduleId)); - return jobSchedule; - } - - } while (!string.IsNullOrEmpty(nextLink)); - - if (!jobScheduleFound) - { - throw new ResourceNotFoundException(typeof (Schedule), - string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleNotFound, runbookName, scheduleName)); - } - } - - public IEnumerable ListJobSchedules(string resourceGroupName, string automationAccountName, ref string nextLink) - { - JobScheduleListResponse response; - - if (string.IsNullOrEmpty(nextLink)) - { - response = this.automationManagementClient.JobSchedules.List(resourceGroupName, automationAccountName); - } - else - { - response = this.automationManagementClient.JobSchedules.ListNext(nextLink); - } - - nextLink = response.NextLink; - return response.JobSchedules.Select(c => new JobSchedule(resourceGroupName, automationAccountName, c)); - } - - public IEnumerable ListJobSchedulesByRunbookName(string resourceGroupName, string automationAccountName, string runbookName) - { - var jobSchedulesOfRunbook = new List(); - var nextLink = string.Empty; - - do - { - var schedules = this.ListJobSchedules(resourceGroupName, automationAccountName, ref nextLink); - jobSchedulesOfRunbook.AddRange( - schedules.Where(js => String.Equals(js.RunbookName, runbookName, StringComparison.OrdinalIgnoreCase))); - - } while (!string.IsNullOrEmpty(nextLink)); - - return jobSchedulesOfRunbook; - } - - public IEnumerable ListJobSchedulesByScheduleName(string resourceGroupName, string automationAccountName, string scheduleName) - { - var jobSchedulesOfSchedules = new List(); - var nextLink = string.Empty; - - do - { - var schedules = this.ListJobSchedules(resourceGroupName, automationAccountName, ref nextLink); - jobSchedulesOfSchedules.AddRange( - schedules.Where( - js => String.Equals(js.ScheduleName, scheduleName, StringComparison.OrdinalIgnoreCase))); - - } while (!string.IsNullOrEmpty(nextLink)); - - return jobSchedulesOfSchedules; - } - - public JobSchedule RegisterScheduledRunbook(string resourceGroupName, string automationAccountName, string runbookName, - string scheduleName, IDictionary parameters) - { - var processedParameters = this.ProcessRunbookParameters(resourceGroupName, automationAccountName, runbookName, parameters); - var sdkJobSchedule = this.automationManagementClient.JobSchedules.Create( - resourceGroupName, - automationAccountName, - new JobScheduleCreateParameters - { - Properties = new JobScheduleCreateProperties - { - Schedule = new ScheduleAssociationProperty {Name = scheduleName}, - Runbook = new RunbookAssociationProperty {Name = runbookName}, - Parameters = processedParameters - } - }).JobSchedule; - - return new JobSchedule(resourceGroupName, automationAccountName, sdkJobSchedule); - } - - public void UnregisterScheduledRunbook(string resourceGroupName, string automationAccountName, Guid jobScheduleId) - { - try - { - this.automationManagementClient.JobSchedules.Delete( - resourceGroupName, - automationAccountName, - jobScheduleId); - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) - { - throw new ResourceNotFoundException(typeof (Schedule), - string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleWithIdNotFound, jobScheduleId)); - } - - throw; - } - } - - public void UnregisterScheduledRunbook(string resourceGroupName, string automationAccountName, string runbookName, string scheduleName) - { - const bool jobScheduleFound = false; - var nextLink = string.Empty; - - do - { - var schedules = this.ListJobSchedules(resourceGroupName, automationAccountName, ref nextLink); - var jobSchedule = - schedules.FirstOrDefault( - js => String.Equals(js.RunbookName, runbookName, StringComparison.OrdinalIgnoreCase) && - String.Equals(js.ScheduleName, scheduleName, StringComparison.OrdinalIgnoreCase)); - - if (jobSchedule != null) - { - this.UnregisterScheduledRunbook(resourceGroupName, automationAccountName, new Guid(jobSchedule.JobScheduleId)); - return; - } - - } while (!string.IsNullOrEmpty(nextLink)); - - if (!jobScheduleFound) - { - throw new ResourceNotFoundException(typeof (Schedule), - string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleNotFound, runbookName, scheduleName)); - } - } - - #endregion - - - #region Private Methods - - private Schedule CreateScheduleFromScheduleModel(string resourceGroupName, string automationAccountName, - AutomationManagement.Models.Schedule schedule) - { - Requires.Argument("schedule", schedule).NotNull(); - - return new Schedule(resourceGroupName, automationAccountName, schedule); - } - - private JobSchedule CreateJobScheduleFromJobScheduleModel(string resourceGroupName, string automationAccountName, - AutomationManagement.Models.JobSchedule jobSchedule) - { - Requires.Argument("jobSchedule", jobSchedule).NotNull(); - - return new JobSchedule(resourceGroupName, automationAccountName, jobSchedule); - } - - private Azure.Management.Automation.Models.Runbook TryGetRunbookModel(string resourceGroupName, string automationAccountName, - string runbookName) - { - Azure.Management.Automation.Models.Runbook runbook = null; - try - { - runbook = this.automationManagementClient.Runbooks.Get(resourceGroupName, automationAccountName, runbookName).Runbook; - } - catch (CloudException e) - { - if (e.Response.StatusCode == HttpStatusCode.NotFound) - { - runbook = null; - } - else - { - throw; - } - } - return runbook; - } - - private Azure.Management.Automation.Models.Certificate TryGetCertificateModel(string resourceGroupName, string automationAccountName, - string certificateName) - { - Azure.Management.Automation.Models.Certificate certificate = null; - try - { - certificate = - this.automationManagementClient.Certificates.Get(resourceGroupName, automationAccountName, certificateName).Certificate; - } - catch (CloudException e) - { - if (e.Response.StatusCode == HttpStatusCode.NotFound) - { - certificate = null; - } - else - { - throw; - } - } - return certificate; - } - - private IEnumerable> ListRunbookParameters(string resourceGroupName, string automationAccountName, - string runbookName) - { - Runbook runbook = this.GetRunbook(resourceGroupName, automationAccountName, runbookName); - if (0 == String.Compare(runbook.State, RunbookState.New, CultureInfo.InvariantCulture, - CompareOptions.IgnoreCase)) - { - throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, - Resources.RunbookHasNoPublishedVersion, runbookName)); - } - return runbook.Parameters.Cast() - .ToDictionary(k => k.Key.ToString(), k => (RunbookParameter) k.Value); - } - - private IDictionary ProcessRunbookParameters(string resourceGroupName, string automationAccountName, string runbookName, - IDictionary parameters) - { - parameters = parameters ?? new Dictionary(); - IEnumerable> runbookParameters = - this.ListRunbookParameters(resourceGroupName, automationAccountName, runbookName); - var filteredParameters = new Dictionary(); - - foreach (var runbookParameter in runbookParameters) - { - if (parameters.Contains(runbookParameter.Key)) - { - object paramValue = parameters[runbookParameter.Key]; - try - { - filteredParameters.Add(runbookParameter.Key, PowerShellJsonConverter.Serialize(paramValue)); - } - catch (JsonSerializationException) - { - throw new ArgumentException( - string.Format( - CultureInfo.CurrentCulture, Resources.RunbookParameterCannotBeSerializedToJson, - runbookParameter.Key)); - } - } - else if (runbookParameter.Value.IsMandatory) - { - throw new ArgumentException( - string.Format( - CultureInfo.CurrentCulture, Resources.RunbookParameterValueRequired, runbookParameter.Key)); - } - } - - if (filteredParameters.Count != parameters.Count) - { - throw new ArgumentException( - string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookParameters)); - } - - var hasJobStartedBy = - filteredParameters.Any(filteredParameter => filteredParameter.Key == Constants.JobStartedByParameterName); - - if (!hasJobStartedBy) - { - filteredParameters.Add(Constants.JobStartedByParameterName, - PowerShellJsonConverter.Serialize(Constants.ClientIdentity)); - } - - return filteredParameters; - } - - private AutomationManagement.Models.Schedule GetScheduleModel(string resourceGroupName, string automationAccountName, string scheduleName) - { - AutomationManagement.Models.Schedule scheduleModel; - try - { - scheduleModel = this.automationManagementClient.Schedules.Get( - resourceGroupName, - automationAccountName, - scheduleName) - .Schedule; - } - catch (CloudException cloudException) - { - if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) - { - throw new ResourceNotFoundException(typeof (Schedule), - string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNotFound, scheduleName)); - } - - throw; - } - - return scheduleModel; - } - - private Schedule UpdateScheduleHelper(string resourceGroupName, string automationAccountName, - string scheduleName, bool? isEnabled, string description) - { - var scheduleUpdateParameters = new AutomationManagement.Models.SchedulePatchParameters - { - Name = scheduleName, - Properties = new AutomationManagement.Models.SchedulePatchProperties - { - Description = description, - IsEnabled = isEnabled - } - }; - - this.automationManagementClient.Schedules.Patch( - resourceGroupName, - automationAccountName, - scheduleUpdateParameters); - - return this.GetSchedule(resourceGroupName, automationAccountName, scheduleName); - } - - private Certificate CreateCertificateInternal(string resourceGroupName, string automationAccountName, string name, string path, - SecureString password, string description, bool exportable) - { - var cert = (password == null) - ? new X509Certificate2(path, String.Empty, - X509KeyStorageFlags.Exportable | X509KeyStorageFlags.PersistKeySet | - X509KeyStorageFlags.MachineKeySet) - : new X509Certificate2(path, password, - X509KeyStorageFlags.Exportable | X509KeyStorageFlags.PersistKeySet | - X509KeyStorageFlags.MachineKeySet); - - var ccprop = new CertificateCreateOrUpdateProperties() - { - Description = description, - Base64Value = Convert.ToBase64String(cert.Export(X509ContentType.Pkcs12)), - Thumbprint = cert.Thumbprint, - IsExportable = exportable - }; - - var ccparam = new CertificateCreateOrUpdateParameters() {Name = name, Properties = ccprop}; - - var certificate = - this.automationManagementClient.Certificates.CreateOrUpdate(resourceGroupName, automationAccountName, ccparam).Certificate; - - return new Certificate(resourceGroupName, automationAccountName, certificate); - } - - private Azure.Management.Automation.Models.Connection TryGetConnectionModel(string resourceGroupName, string automationAccountName, - string connectionName) - { - Azure.Management.Automation.Models.Connection connection = null; - try - { - connection = - this.automationManagementClient.Connections.Get(resourceGroupName, automationAccountName, connectionName).Connection; - } - catch (CloudException e) - { - if (e.Response.StatusCode == HttpStatusCode.NotFound) - { - connection = null; - } - else - { - throw; - } - } - return connection; - } - - private DirectoryInfo WriteRunbookToFile(string outputFolder, string runbookName, string content, string runbookType, bool overwriteExistingFile) - { - string outputFolderFullPath = this.GetCurrentDirectory(); - - if (!string.IsNullOrEmpty(outputFolder)) - { - outputFolderFullPath = this.ValidateAndGetFullPath(outputFolder); - } - - var fileExtension = (0 == string.Compare(runbookType, Constants.RunbookType.Graph, StringComparison.OrdinalIgnoreCase)) ? Constants.SupportedFileExtensions.Graph : Constants.SupportedFileExtensions.PowerShellScript; - - var outputFilePath = outputFolderFullPath + "\\" + runbookName + fileExtension; - - // file exists and overwrite Not specified - if (File.Exists(outputFilePath) && !overwriteExistingFile) - { - throw new ArgumentException( - string.Format(CultureInfo.CurrentCulture, Resources.RunbookFileAlreadyExists, outputFilePath)); - } - - // Write to the file - this.WriteFile(outputFilePath, content); - - return new DirectoryInfo(runbookName + fileExtension); - } - - #endregion } } \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/Constants.cs b/src/ResourceManager/Automation/Commands.Automation/Common/Constants.cs index 50f337200441..ef606c24fe19 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Common/Constants.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Common/Constants.cs @@ -34,8 +34,6 @@ public class Constants public const string JobStartedByParameterName = "MicrosoftApplicationManagementStartedBy"; - public const string JobRunOnParameterName = "MicrosoftApplicationManagementRunOn"; - public const string ClientRequestIdHeaderName = "x-ms-client-request-id"; // default schedule expiry time for daily schedule, consistent with UX @@ -66,22 +64,5 @@ public class AutomationAccountState public const string ModulesUrl = @"https://eus2oaasibizamarketprod1.blob.core.windows.net/automationdscpreview/RegistrationMetaConfig.zip"; public const string ConfigurationFunction = @"RegistrationMetaConfig.ps1\RegistrationMetaConfig"; - - - public static class RunbookType - { - public const string PowerShell = "PowerShell"; - - public const string PowerShellWorkflow = "PowerShellWorkflow"; - - public const string Graph = "Graph"; - } - - public static class SupportedFileExtensions - { - public const string PowerShellScript = ".ps1"; - - public const string Graph = ".graphrunbook"; - } } } diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs b/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs index e60b1cd216e2..910b3f1e394e 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Common/IAutomationClient.cs @@ -149,140 +149,6 @@ Model.Webhook CreateWebhook( void DeleteWebhook(string resourceGroupName, string automationAccountName, string name); - #endregion - - #region Variables - - Variable GetVariable(string resourceGroupName, string automationAccountName, string variableName); - - IEnumerable ListVariables(string resourceGroupName, string automationAccountName, ref string nextLink); - - Variable CreateVariable(Variable variable); - - void DeleteVariable(string resourceGroupName, string automationAccountName, string variableName); - - Variable UpdateVariable(Variable variable, VariableUpdateFields updateFields); - - #endregion - - #region Schedules - - Schedule CreateSchedule(string resourceGroupName, string automationAccountName, Schedule schedule); - - void DeleteSchedule(string resourceGroupName, string automationAccountName, string scheduleName); - - Schedule GetSchedule(string resourceGroupName, string automationAccountName, string scheduleName); - - IEnumerable ListSchedules(string resourceGroupName, string automationAccountName, ref string nextLink); - - Schedule UpdateSchedule(string resourceGroupName, string automationAccountName, string scheduleName, bool? isEnabled, string description); - - #endregion - - #region Runbooks - - Runbook GetRunbook(string resourceGroupName, string automationAccountName, string runbookName); - - IEnumerable ListRunbooks(string resourceGroupName, string automationAccountName, ref string nextLink); - - Runbook CreateRunbookByName(string resourceGroupName, string automationAccountName, string runbookName, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool overwrite); - - Runbook ImportRunbook(string resourceGroupName, string automationAccountName, string runbookPath, string description, IDictionary tags, string type, bool? logProgress, bool? logVerbose, bool published, bool overwrite); - - void DeleteRunbook(string resourceGroupName, string automationAccountName, string runbookName); - - Runbook PublishRunbook(string resourceGroupName, string automationAccountName, string runbookName); - - Runbook UpdateRunbook(string resourceGroupName, string automationAccountName, string runbookName, string description, IDictionary tags, bool? logProgress, bool? logVerbose); - - DirectoryInfo ExportRunbook(string resourceGroupName, string automationAccountName, string runbookName, bool? isDraft, string sourcePath, bool overwrite); - - Job StartRunbook(string resourceGroupName, string automationAccountName, string runbookName, IDictionary parameters, string runOn); - - #endregion - - #region Credentials - - CredentialInfo CreateCredential(string resourceGroupName, string automationAccountName, string name, string userName, string password, string description); - - CredentialInfo UpdateCredential(string resourceGroupName, string automationAccountName, string name, string userName, string password, string description); - - CredentialInfo GetCredential(string resourceGroupName, string automationAccountName, string name); - - IEnumerable ListCredentials(string resourceGroupName, string automationAccountName, ref string nextLink); - - void DeleteCredential(string resourceGroupName, string automationAccountName, string name); - - #endregion - - #region Jobs - - Job GetJob(string resourceGroupName, string automationAccountName, Guid id); - - IEnumerable ListJobsByRunbookName(string resourceGroupName, string automationAccountName, string runbookName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus, ref string nextLink); - - IEnumerable ListJobs(string resourceGroupName, string automationAccountName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus, ref string nextLink); - - void ResumeJob(string resourceGroupName, string automationAccountName, Guid id); - - void StopJob(string resourceGroupName, string automationAccountName, Guid id); - - void SuspendJob(string resourceGroupName, string automationAccountName, Guid id); - - IEnumerable GetJobStream(string resourceGroupName, string automationAccountName, Guid jobId, - DateTimeOffset? time, string streamType, ref string nextLink); - - #endregion - - #region Certificates - - CertificateInfo CreateCertificate(string resourceGroupName, string automationAccountName, string name, string path, SecureString password, string description, bool exportable); - - CertificateInfo UpdateCertificate(string resourceGroupName, string automationAccountName, string name, string path, SecureString password, string description, bool? exportable); - - CertificateInfo GetCertificate(string resourceGroupName, string automationAccountName, string name); - - IEnumerable ListCertificates(string resourceGroupName, string automationAccountName, ref string nextLink); - - void DeleteCertificate(string resourceGroupName, string automationAccountName, string name); - - #endregion - - #region Connection - - Connection CreateConnection(string resourceGroupName, string automationAccountName, string name, string connectionTypeName, IDictionary connectionFieldValues, string description); - - Connection UpdateConnectionFieldValue(string resourceGroupName, string automationAccountName, string name, string connectionFieldName, object value); - - Connection GetConnection(string resourceGroupName, string automationAccountName, string name); - - IEnumerable ListConnectionsByType(string resourceGroupName, string automationAccountName, string name); - - IEnumerable ListConnections(string resourceGroupName, string automationAccountName, ref string nextLink); - - void DeleteConnection(string resourceGroupName, string automationAccountName, string name); - - #endregion - - #region JobSchedules - - JobSchedule GetJobSchedule(string resourceGroupName, string automationAccountName, Guid jobScheduleId); - - JobSchedule GetJobSchedule(string resourceGroupName, string automationAccountName, string runbookName, string scheduleName); - - IEnumerable ListJobSchedules(string resourceGroupName, string automationAccountName, ref string nextLink); - - IEnumerable ListJobSchedulesByRunbookName(string resourceGroupName, string automationAccountName, string runbookName); - - IEnumerable ListJobSchedulesByScheduleName(string resourceGroupName, string automationAccountName, string scheduleName); - - JobSchedule RegisterScheduledRunbook(string resourceGroupName, string automationAccountName, string runbookName, string scheduleName, IDictionary parameters); - - void UnregisterScheduledRunbook(string resourceGroupName, string automationAccountName, Guid jobScheduleId); - - void UnregisterScheduledRunbook(string resourceGroupName, string automationAccountName, string runbookName, string scheduleName); - - #endregion } } \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/StreamType.cs b/src/ResourceManager/Automation/Commands.Automation/Common/StreamType.cs deleted file mode 100644 index 004861988c6c..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Common/StreamType.cs +++ /dev/null @@ -1,58 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - - -namespace Microsoft.Azure.Commands.Automation.Common -{ - /// - /// StreamType enum represents the 6 types of Powershell Streams supported. - /// - public enum StreamType - { - /// - /// Indicates Generic stream. Used for querying all the streams regardless of the type. - /// - Any, - - /// - /// Indicates Progress Record streams - /// - Progress, - - /// - /// Indicates Output Record streams - /// - Output, - - /// - /// Indicates Warning Record streams - /// - Warning, - - /// - /// Indicates Error Record streams - /// - Error, - - /// - /// Indicates Debug Record streams - /// - Debug, - - /// - /// Indicates Verbose Record streams - /// - Verbose - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml index 980cf210fef1..a914885a0449 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml +++ b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml @@ -1,104 +1,3996 @@ - - - - Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.Azure Automation cmdletsThe following table contains links to the help topics for the Azure Automation cmdlets.CmdletDescriptionExport-AzureAutomationDscConfigurationExports a DSC configuration from Automation to a local file.Export-AzureAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.Get-AzureAutomationAccountGets Automation accounts in a resource group.Get-AzureAutomationDscCompilationJobGets DSC compilation jobs in Automation.Get-AzureAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.Get-AzureAutomationDscConfigurationGets DSC configurations from Automation.Get-AzureAutomationDscNodeGets DSC nodes from Automation.Get-AzureAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation.Get-AzureAutomationDscNodeReportGets reports sent from a DSC node to Automation.Get-AzureAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.Get-AzureAutomationModuleGets metadata for modules from Automation.Get-AzureAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation.Import-AzureAutomationDscConfigurationImports a DSC configuration into Automation.New-AzureAutomationAccountCreates an Automation account.New-AzureAutomationKeyRegenerates registration keys for an Automation account.New-AzureAutomationModuleImports a module into Automation.Register-AzureAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.Remove-AzureAutomationAccountRemoves an Automation account.Remove-AzureAutomationModuleRemoves a module from Automation.Set-AzureAutomationAccountModifies an Automation account.Set-AzureAutomationDscNodeModifies the node configuration that a DSC node is mapped to.Set-AzureAutomationModuleUpdates a module in Automation.Start-AzureAutomationDscCompilationJobCompiles a DSC configuration in Automation.Unregister-AzureAutomationDscNodeRemoves a DSC node from management by an Automation account.To list all the cmdlets that are available, type Get-Command Module AzureResourceManager -Name *automation.For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets: ? Get-Help <cmdlet name> -Detailed ? Get-Help <cmdlet name> -Examples ? Get-Help <cmdlet name> -Full Export-AzureAutomationDscConfigurationExports a DSC configuration from Automation to a local file. ExportAzureAutomationDscConfigurationThe Export-AzureAutomationDscConfiguration cmdlet exports a PowerShell Desired State Configuration (DSC) configuration from Azure Automation to a local file. The exported file has a .ps1 file name extension.Export-AzureAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet exports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC that this cmdlet exports.StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports the DSC configuration.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileSlotSpecifies which version of the DSC configuration that this cmdlet exports. Valid values are: + + + + + Get-AzureAutomationAccount + + Gets Azure Automation accounts. + + + + + Get + AzureAutomationAccount + + + + + The Get-AzureAutomationAccount cmdlet gets the Microsoft Azure Automation accounts for your subscription. An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, jobs, and assets. + + + + Get-AzureAutomationAccount + + Name + + Specifies the name of an Azure Automation account. + + String + + + Location + + Specifies an Azure location associated with Automation accounts. + + String + + + + + + Name + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Location + + Specifies an Azure location associated with Automation accounts. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get an Automation account -------------------------- + + + + PS C:\>Get-AzureAutomationAccount -Name "Contoso17" + + This command gets the Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397902 + + + + + + + Get-AzureAutomationJob + + Gets one or more Azure Automation runbook jobs. + + + + + Get + AzureAutomationJob + + + + + The Get-AzureAutomationJob cmdlet gets one or more runbook jobs in Microsoft Azure Automation. + + + + Get-AzureAutomationJob + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationJob + + RunbookId + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationJob + + RunbookName + + Specifies the name of a runbook. + + String + + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + StartTime + + Specifies the start time of a job as a DateTime object. This cmdlet gets jobs that have a start time at or after the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + none + + + EndTime + + Specifies the end time for a job as a DateTime object. This cmdlet gets jobs that have an end time at or before the value that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a job. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + RunbookId + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + RunbookName + + Specifies the name of a runbook. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get a runbook job -------------------------- + + + + PS C:\>Get-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b647 + + This command gets the job that has the specified GUID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397903 + + + Resume-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Get-AzureAutomationJobOutput + + Gets the output of an Azure Automation job. + + + + + Get + AzureAutomationJobOutput + + + + + The Get-AzureAutomationJobOutput cmdlet gets the output of a Microsoft Azure Automation job. + + + + Get-AzureAutomationJobOutput + + Id + + Specifies the ID of a job. + + Guid + + + StartTime + + Specifies a start time as a DateTime object. The cmdlet retrieves output created after this time. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + + Stream + + Specifies the type of output. Valid values are: --- Draft --- Published + -- Any + -- Debug + -- Error + -- Output + -- Progress + -- Verbose + -- Warning + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + StartTime + + Specifies a start time as a DateTime object. The cmdlet retrieves output created after this time. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + DateTime + + + none + + + Stream + + Specifies the type of output. Valid values are: -The default value is Published. PublishedDraftNameSpecifies the name of the DSC configuration that this cmdlet exports.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC that this cmdlet exports.StringStringnoneForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.SwitchParameterSwitchParameternoneNameSpecifies the name of the DSC configuration that this cmdlet exports.StringStringnoneOutputFolderSpecifies the output folder where this cmdlet exports the DSC configuration.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet exports a DSC configuration.StringStringnoneSlotSpecifies which version of the DSC configuration that this cmdlet exports. Valid values are: + -- Any + -- Debug + -- Error + -- Output + -- Progress + -- Verbose + -- Warning + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get the output of an Azure Automation job -------------------------- + + + + PS C:\>Get-AzureAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -Stream "Any" + + This command gets all of the output of the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397904 + + + Get-AzureAutomationJob + + + + Resume-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Get-AzureAutomationRunbook + + Gets a runbook. + + + + + Get + AzureAutomationRunbook + + + + + The Get-AzureAutomationRunbook cmdlet gets one or more Microsoft Azure Automation runbooks. By default, all runbooks are returned. To get a specific runbook, specify its name or ID. To get all runbooks linked to a specific schedule, specify the schedule name. + + + + Get-AzureAutomationRunbook + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbook + + ScheduleName + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + ScheduleName + + Specifies the name of a schedule. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get all runbooks -------------------------- + + + + PS C:\>Get-AzureAutomationRunbook -AutomationAccountName "Contoso17" + + This command gets all runbooks in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397905 + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Get-AzureAutomationRunbookDefinition + + Gets a runbook definition. + + + + + Get + AzureAutomationRunbookDefinition + + + + + The Get-AzureAutomationRunbookDefinition cmdlet gets the draft definition, the published definition, or both definitions of an Azure Automation runbook. By default, both runbook definitions are returned. + + + + Get-AzureAutomationRunbookDefinition + + Name + + Specifies the name of a runbook. + + String + + + Slot + + Specifies a runbook definition type. Valid values are: --- Draft --- Published + -- Published + -- Draft + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbookDefinition + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Slot + + Specifies a runbook definition type. Valid values are: -The default value is Published. StringStringnone 1: Get-AzureAutomationDscConfigurationImport-AzureAutomationDscConfigurationExport-AzureAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.ExportAzureAutomationDscNodeReportContentThe Export-AzureAutomationDscNodeReportContent cmdlet exports the raw contents of a PowerShell Desired State Configuration (DSC) report. A DSC node sends a DSC report to Azure Automation.Export-AzureAutomationDscNodeReportContentResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports report contents. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringStringnoneForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidGuidnoneOutputFolderSpecifies the output folder where this cmdlet exports report contents. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidGuidnoneResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringStringnone 1: Get-AzureAutomationDscNodeReportGet-AzureAutomationAccountGets Automation accounts in a resource group.GetAzureAutomationAccountThe Get-AzureAutomationAccount cmdlet gets Azure Automation accounts in a resource group. For more information about Automation accounts, type Get-Help New-AzureAutomationAccount.Get-AzureAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringNameSpecifies the name of the Automation account that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the Automation account that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringStringnone 1: New-AzureAutomationAccountRemove-AzureAutomationAccountSet-AzureAutomationAccountGet-AzureAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.GetAzureAutomationDscCompilationJobOutputThe Get-AzureAutomationDscCompilationJobOutput cmdlet gets the stream records of a PowerShell Desired State Configuration (DSC) compilation job in Azure Automation.Get-AzureAutomationDscCompilationJobOutputResourceGroupNameSpecifies the name of the resource group that contains the DSC compilation job for which this cmdlet gets stream records.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC compilation job.StringIdSpecifies the unique ID of the DSC compilation job for which this cmdlet gets output. GuidProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets stream records that the DSC compilation job outputs after this time. DateTimeOffsetStreamSpecifies the type of stream for the output that this cmdlet gets. Valid values are: + -- Published + -- Draft + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationRunbookDefinition + + VersionId + + Specifies the ID of a runbook version. + + Nullable`1[Guid] + + + Slot + + Specifies a runbook definition type. Valid values are: --- Any --- Warning --- Error --- VerboseAnyWarningErrorVerboseAutomationAccountNameSpecifies the name of the Automation account that contains the DSC compilation job.StringStringnoneIdSpecifies the unique ID of the DSC compilation job for which this cmdlet gets output. GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of the resource group that contains the DSC compilation job for which this cmdlet gets stream records.StringStringnoneStartTimeSpecifies a start time. This cmdlet gets stream records that the DSC compilation job outputs after this time. DateTimeOffsetDateTimeOffsetnoneStreamSpecifies the type of stream for the output that this cmdlet gets. Valid values are: + -- Published + -- Draft + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Slot + + Specifies a runbook definition type. Valid values are: --- Any --- Warning --- Error --- VerboseCompilationJobStreamTypeCompilationJobStreamTypenone 1: Get-AzureAutomationDscCompilationJobStart-AzureAutomationDscCompilationJobGet-AzureAutomationDscCompilationJobGets DSC compilation jobs in Automation.GetAzureAutomationDscCompilationJobThe Get-AzureAutomationDscCompilationJob cmdlet gets PowerShell Desired State Configuration (DSC) compilation jobs in Azure Automation.Get-AzureAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: - --- Completed --- Failed --- Queued --- Starting --- Resuming --- Running --- Stopped --- Stopping --- Suspended --- Suspending --- ActivatingCompletedFailedQueuedStartingResumingRunningStoppedStoppingSuspendedSuspendingActivatingGet-AzureAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC compilation job that this cmdlet gets. GuidGet-AzureAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: - --- Completed --- Failed --- Queued --- Starting --- Resuming --- Running --- Stopped --- Stopping --- Suspended --- Suspending --- ActivatingCompletedFailedQueuedStartingResumingRunningStoppedStoppingSuspendedSuspendingActivatingConfigurationNameSpecifies the name of the DSC configuration for which this cmdlet gets compilation jobs.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringStringnoneConfigurationNameSpecifies the name of the DSC configuration for which this cmdlet gets compilation jobs.StringStringnoneEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetDateTimeOffsetnoneIdSpecifies the unique ID of the DSC compilation job that this cmdlet gets. GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringStringnoneStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetDateTimeOffsetnoneStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: - --- Completed --- Failed --- Queued --- Starting --- Resuming --- Running --- Stopped --- Stopping --- Suspended --- Suspending --- ActivatingStringStringnone 1: Start-AzureAutomationDscCompilationJobGet-AzureAutomationDscCompilationJobOutputGet-AzureAutomationDscConfigurationGets DSC configurations from Automation.GetAzureAutomationDscConfigurationThe Get-AzureAutomationDscConfiguration cmdlet gets PowerShell Desired State Configuration (DSC) configurations from Azure Automation.Get-AzureAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringNameSpecifies the name of the DSC configuration that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringStringnoneNameSpecifies the name of the DSC configuration that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringStringnone 1: Export-AzureAutomationDscConfigurationImport-AzureAutomationDscConfigurationGet-AzureAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation. GetAzureAutomationDscNodeConfigurationThe Get-AzureAutomationDscNodeConfiguration cmdlet gets metadata for PowerShell Desired State Configuration (DSC) node configurations in Azure Automation. Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Get-AzureAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadGet-AzureAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringGet-AzureAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringStringnoneConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringStringnoneNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringStringnoneRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.StringStringnone 1: Get-AzureAutomationDscNodeReportGets reports sent from a DSC node to Automation.GetAzureAutomationDscNodeReportThe Get-AzureAutomationDscNodeReport cmdlet gets reports sent from a PowerShell Desired State Configuration (DSC) node to Azure Automation.Get-AzureAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringStringnoneEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetDateTimeOffsetnoneIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidGuidnoneLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringStringnoneStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetDateTimeOffsetnone 1: Export-AzureAutomationDscNodeReportContentGet-AzureAutomationDscNodeGets DSC nodes from Automation.GetAzureAutomationDscNodeThe Get-AzureAutomationDscNode cmdlet gets PowerShell Desired State Configuration (DSC) nodes from Azure Automation.Get-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: - --- Compliant --- NotCompliant --- Failed --- Pending --- Received --- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveGet-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGet-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: - --- Compliant --- NotCompliant --- Failed --- Pending --- Received --- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNameSpecifies the name of a DSC node that this cmdlet gets.StringGet-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: - --- Compliant --- NotCompliant --- Failed --- Pending --- Received --- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringGet-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringStringnoneConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringStringnoneIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGuidnoneNameSpecifies the name of a DSC node that this cmdlet gets.StringStringnoneNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringStringnoneStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: - --- Compliant --- NotCompliant --- Failed --- Pending --- Received --- UnresponsiveDscNodeStatusDscNodeStatusnone 1: Register-AzureAutomationDscNodeSet-AzureAutomationDscNodeUnregister-AzureAutomationDscNodeGet-AzureAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.GetAzureAutomationDscOnboardingMetaconfigThe Get-AzureAutomationDscOnboardingMetaconfig cmdlet creates PowerShell Desired State Configuration (DSC) meta-configuration Managed Object Format (MOF) files. This cmdlet creates a .mof file for each computer name that you specify. The cmdlet creates a folder for the .mof files. You can run the Set-DscLocalConfigurationManager cmdlet against this folder to onboard these computers into an Azure Automation account as DSC nodes.Get-AzureAutomationDscOnboardingMetaconfigResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]ForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.OutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringStringnoneComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]String[]noneForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.SwitchParameterSwitchParameternoneOutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringStringnone 1: Get-AzureAutomationModuleGets metadata for modules from Automation.GetAzureAutomationModuleThe Get-AzureAutomationModule cmdlet gets metadata for modules from Azure Automation.Get-AzureAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringNameSpecifies the name of the module for which this cmdlet gets metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringStringnoneNameSpecifies the name of the module for which this cmdlet gets metadata. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringStringnone 1: New-AzureAutomationModuleRemove-AzureAutomationModuleSet-AzureAutomationModuleGet-AzureAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation. GetAzureAutomationRegistrationInfoThe Get-AzureAutomationRegistrationInfo cmdlet gets the endpoint and keys required to onboard a PowerShell Desired State Configuration (DSC) node or hybrid worker into an Azure Automation account.Get-AzureAutomationRegistrationInfoResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringStringnone 1: Get-AzureAutomationAccountGet-AzureAutomationDscNodeNew-AzureAutomationKeyImport-AzureAutomationDscConfigurationImports a DSC configuration into Automation.ImportAzureAutomationDscConfigurationThe Import-AzureAutomationDscConfiguration cmdlet imports a PowerShell Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of a PowerShell script that contains a single DSC configuration.Import-AzureAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringDescriptionSpecifies a description of the configuration that this cmdlet imports. StringForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.LogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfilePublishedIndicates that this cmdlet imports the DSC configuration in the published state.TagsSpecifies a dictionary of tags.IDictionarySourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringStringnoneDescriptionSpecifies a description of the configuration that this cmdlet imports. StringStringnoneForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.SwitchParameterSwitchParameternoneLogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanBooleannoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenonePublishedIndicates that this cmdlet imports the DSC configuration in the published state.SwitchParameterSwitchParameternoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringStringnoneSourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringStringnoneTagsSpecifies a dictionary of tags.IDictionaryIDictionarynone 1: Export-AzureAutomationDscConfigurationGet-AzureAutomationDscConfigurationNew-AzureAutomationAccountCreates an Automation account.NewAzureAutomationAccountThe New-AzureAutomationAccount cmdlet creates an Azure Automation account in a resource group.An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, DSC configurations, jobs, and assets.New-AzureAutomationAccountResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringNameSpecifies a name for the Automation account.StringLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureLocation cmdlet. StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies tags for the Automation account.IDictionaryLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureLocation cmdlet. StringStringnoneNameSpecifies a name for the Automation account.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringStringnoneTagsSpecifies tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureAutomationAccountRemove-AzureAutomationAccountSet-AzureAutomationAccountNew-AzureAutomationKeyRegenerates registration keys for an Automation account.NewAzureAutomationKeyThe New-AzureAutomationKey cmdlet regenerates registration keys for an Azure Automation account.New-AzureAutomationKeyResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.PrimarySecondaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringStringnoneKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringStringnone 1: Get-AzureAutomationAccountNew-AzureAutomationAccountNew-AzureAutomationModuleImports a module into Automation.NewAzureAutomationModuleThe New-AzureAutomationModule cmdlet imports a module into Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types: - --- Azure PowerShell module, which has a .psm1 file name extension --- Azure PowerShell module manifest, which has a .psd1 file name extension --- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.New-AzureAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringStringnoneContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriUrinoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringStringnone 1: Get-AzureAutomationModuleRemove-AzureAutomationModuleSet-AzureAutomationModuleRegister-AzureAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.RegisterAzureAutomationDscNodeThe Register-AzureAutomationDscNode cmdlet registers an Azure virtual machine as an Azure PowerShell Desired State Configuration (DSC) node in an Azure Automation account.Register-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. ContinueConfigurationStopConfigurationAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureLocation cmdlet. StringAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringConfigurationModeSpecifies the DSC configuration mode. Valid values are: - --- ApplyAndMonitor --- ApplyAndAutocorrect --- ApplyOnlyApplyAndMonitorApplyAndAutocorrectApplyOnlyConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32NodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32AzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. StringStringnoneAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanBooleannoneAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringStringnoneAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureLocation cmdlet. StringStringnoneAzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringStringnoneAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringStringnoneConfigurationModeSpecifies the DSC configuration mode. Valid values are: - --- ApplyAndMonitor --- ApplyAndAutocorrect --- ApplyOnlyStringStringnoneConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32Int32noneNodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanBooleannoneRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32Int32noneResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringStringnone 1: Get-AzureAutomationDscNodeSet-AzureAutomationDscNodeUnregister-AzureAutomationDscNodeRemove-AzureAutomationAccountRemoves an Automation account.RemoveAzureAutomationAccountThe Remove-AzureAutomationAccount cmdlet removes an Azure Automation account from a resource group.For more information about Automation accounts, type Get-Help New-AzureAutomationAccount.Remove-AzureAutomationAccountResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringNameSpecifies the name of the Automation account that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the Automation account that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringStringnone 1: Get-AzureAutomationAccountNew-AzureAutomationAccountSet-AzureAutomationAccountRemove-AzureAutomationModuleRemoves a module from Automation.RemoveAzureAutomationModuleThe Remove-AzureAutomationModule cmdlet removes a module from an Automation account in Azure Automation.Remove-AzureAutomationModuleResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringNameSpecifies the name of the module that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the module that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringStringnone 1: Get-AzureAutomationModuleNew-AzureAutomationModuleSet-AzureAutomationModuleSet-AzureAutomationAccountModifies an Automation account.SetAzureAutomationAccountThe Set-AzureAutomationAccount cmdlet modifies an Azure Automation account.For more information about Automation accounts, type Get-Help New-AzureAutomationAccount.Set-AzureAutomationAccountResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringNameSpecifies the name of the Automation account that this cmdlet modifies.StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies Automation account tags for the Automation account.IDictionaryNameSpecifies the name of the Automation account that this cmdlet modifies.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringStringnoneTagsSpecifies Automation account tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureAutomationAccountNew-AzureAutomationAccountRemove-AzureAutomationAccountSet-AzureAutomationDscNodeModifies the node configuration that a DSC node is mapped to.SetAzureAutomationDscNodeThe Set-AzureAutomationDscNode cmdlet modifies a PowerShell Desired State Configuration (DSC) node configuration. Azure Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Set-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidGuidnoneNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringStringnone 1: Get-AzureAutomationDscNodeRegister-AzureAutomationDscNodeUnregister-AzureAutomationDscNodeSet-AzureAutomationModuleUpdates a module in Automation.SetAzureAutomationModuleThe Set-AzureAutomationModule cmdlet updates a module in Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types: - --- Azure PowerShell module, which has a .psm1 file name extension --- Azure PowerShell module manifest, which has a .psd1 file name extension --- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.Set-AzureAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringStringnoneContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriUrinoneContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringStringnoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringStringnone 1: Get-AzureAutomationModuleNew-AzureAutomationModuleRemove-AzureAutomationModuleStart-AzureAutomationDscCompilationJobCompiles a DSC configuration in Automation.StartAzureAutomationDscCompilationJobThe Start-AzureAutomationDscCompilationJob cmdlet compiles an Azure PowerShell Desired State Configuration (DSC) configuration in Azure Automation. Start-AzureAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringStringnoneConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringStringnoneParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryIDictionarynoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringStringnone 1: Get-AzureAutomationDscCompilationJobGet-AzureAutomationDscCompilationJobOutputUnregister-AzureAutomationDscNodeRemoves a DSC node from management by an Automation account.UnregisterAzureAutomationDscNodeThe Unregister-AzureAutomationDscNode cmdlet removes an Azure PowerShell Desired State Configuration (DSC) node from management by an Azure Automation account.Unregister-AzureAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringStringnone 1: Get-AzureAutomationDscNodeRegister-AzureAutomationDscNodeSet-AzureAutomationDscNode + -- Published + -- Draft + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + VersionId + + Specifies the ID of a runbook version. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get a runbook definition -------------------------- + + + + PS C:\>Get-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "RunbookDef01" -Slot "Published" + + This command gets the published runbook definition of the runbook named RunbookDef01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397906 + + + Set-AzureAutomationRunbookDefinition + + + + + + + + Get-AzureAutomationSchedule + + Gets an Azure Automation schedule. + + + + + Get + AzureAutomationSchedule + + + + + The Get-AzureAutomationSchedule cmdlet gets a Microsoft Azure Automation schedule. + + + + Get-AzureAutomationSchedule + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationSchedule + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Get-AzureAutomationSchedule + + Name + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + Name + + Specifies the name of a schedule. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get a schedule -------------------------- + + + + PS C:\>Get-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "DailySchedule08" + + This command gets the schedule named DailySchedule08. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId= 397907 + + + New-AzureAutomationSchedule + + + + Remove-AzureAutomationSchedule + + + + Set-AzureAutomationSchedule + + + + + + + + New-AzureAutomationRunbook + + Creates a new runbook. + + + + + New + AzureAutomationRunbook + + + + + The New-AzureAutomationRunbook cmdlet creates a new, empty Microsoft Azure Automation runbook. Specify a name to create a new runbook.You can also specify the path to a Windows PowerShell? script (.ps1 ) file to import a runbook. The script to import must contain a single Windows PowerShell? Workflow definition. The name of this Windows PowerShell Workflow becomes the name of the runbook. + + + + New-AzureAutomationRunbook + + Name + + Specifies the name for the runbook. + + String + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + New-AzureAutomationRunbook + + Path + + Specifies the path to a runbook to import. + + String + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name for the runbook. + + String + + String + + + none + + + Description + + Specifies a description for the runbook. + + String + + String + + + none + + + Tags + + Specifies one or more runbook tags. + + String[] + + String[] + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Path + + Specifies the path to a runbook to import. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a runbook -------------------------- + + + + PS C:\>New-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbook02" + + This command creates a new runbook named Runbook02 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397908 + + + Get-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + New-AzureAutomationSchedule + + Creates an Azure Automation schedule. + + + + + New + AzureAutomationSchedule + + + + + The New-AzureAutomationSchedule cmdlet creates a schedule in Microsoft Azure Automation. + + + + New-AzureAutomationSchedule + + Name + + Specifies a name for the schedule. + + String + + + StartTime + + Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. + + DateTime + + + Description + + Specifies a description. + + String + + + ExpiryTime + + Specifies the expiry time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + + DayInterval + + Specifies an interval for the schedule in days. If you do not specify this parameter, and you do not specify the OneTime parameter, then the day interval of the schedule is 1. + + Int32 + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + New-AzureAutomationSchedule + + Name + + Specifies a name for the schedule. + + String + + + StartTime + + Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. + + DateTime + + + Description + + Specifies a description. + + String + + + OneTime + + Specifies that the cmdlet creates a one-time schedule. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies a name for the schedule. + + String + + String + + + none + + + StartTime + + Specifies the start time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. + + DateTime + + DateTime + + + none + + + Description + + Specifies a description. + + String + + String + + + none + + + ExpiryTime + + Specifies the expiry time of a schedule as a DateTime object. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + DateTime + + + none + + + DayInterval + + Specifies an interval for the schedule in days. If you do not specify this parameter, and you do not specify the OneTime parameter, then the day interval of the schedule is 1. + + Int32 + + Int32 + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + OneTime + + Specifies that the cmdlet creates a one-time schedule. + + SwitchParameter + + SwitchParameter + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Create a schedule -------------------------- + + + + PS C:\>$StartDate = Get-Date -Day 12 -Month 6 -Year 2016 + PS C:\> $EndDate = Get-Date -Day 12 -Month 6 -Year 2023 + PS C:\> New-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -StartTime $StartDate -ExpiryTime $EndDate + + The first command creates a date object by using the Get-Date cmdlet, and then stores the object in the $StartDate variable. Specify a time that is at least five minutes in the future. For more information, type Get-Help Get-Date. + + + + The second command creates a date object by using the Get-Date cmdlet, and then stores the object in the $EndDate variable. The command specifies a future time.The final command creates a daily schedule named Schedule01 to begin at the time stored in $StartDate and expire at the time stored in $EndDate. + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397909 + + + Get-AzureAutomationSchedule + + + + Remove-AzureAutomationSchedule + + + + Set-AzureAutomationSchedule + + + + + + + + Publish-AzureAutomationRunbook + + Publishes a runbook. + + + + + Publish + AzureAutomationRunbook + + + + + The Publish-AzureAutomationRunbook cmdlet publishes a runbook for use in the production environment of Microsoft Azure Automation. + + + + Publish-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Publish-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Publish a runbook -------------------------- + + + + PS C:\>Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" + + This command publishes the runbook named Runbk01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397910 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Register-AzureAutomationScheduledRunbook + + Associates a runbook with a schedule. + + + + + Register + AzureAutomationScheduledRunbook + + + + + The Register-AzureAutomationScheduledRunbook cmdlet associates a runbook with a schedule. The runbook starts based on the schedule you specify using the ScheduleName parameter. + + + + Register-AzureAutomationScheduledRunbook + + ScheduleName + + Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. + + String + + + Name + + Specifies the name of a runbook. + + String + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Register-AzureAutomationScheduledRunbook + + ScheduleName + + Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. + + String + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + ScheduleName + + Specifies the name of a schedule. To create a schedule in Azure Automation, use the New-AzureAutomationSchedule cmdlet. + + String + + String + + + none + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. When the runbook starts in response to when the associated schedule fires, these parameters are passed to the runbook. + + IDictionary + + IDictionary + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Associate a runbook with a schedule -------------------------- + + + + PS C:\>Register-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Sched01" + + This command associates the runbook named Runbk01 with the schedule named Sched01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397911 + + + New-AzureAutomationSchedule + + + + Unregister-AzureAutomationScheduledRunbook + + + + + + + + Remove-AzureAutomationRunbook + + Removes a runbook. + + + + + Remove + AzureAutomationRunbook + + + + + The Remove-AzureAutomationRunbook cmdlet removes a runbook from Microsoft Azure Automation. + + + + Remove-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove a runbook -------------------------- + + + + PS C:\>Remove-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" + + This command removes the runbook named MyRunbook in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397912 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Remove-AzureAutomationSchedule + + Deletes an Azure Automation schedule. + + + + + Remove + AzureAutomationSchedule + + + + + The Remove-AzureAutomationSchedule cmdlet deletes a schedule from Microsoft Azure Automation. + + + + Remove-AzureAutomationSchedule + + Name + + Specifies the name of a schedule. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + Remove-AzureAutomationSchedule + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Name + + Specifies the name of a schedule. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove a schedule -------------------------- + + + + PS C:\>Remove-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "MySchedule" + + This command removes the schedule named MySchedule. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397913 + + + Get-AzureAutomationSchedule + + + + New-AzureAutomationSchedule + + + + Set-AzureAutomationSchedule + + + + + + + + Resume-AzureAutomationJob + + Resumes a suspended Azure Automation job. + + + + + Resume + AzureAutomationJob + + + + + The Resume-AzureAutomationJob cmdlet resumes a suspended Microsoft Azure Automation job. Specify the suspended job. To suspend a job, use the Suspend-AzureAutomationJob cmdlet. + + + + Resume-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Guid + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Resume a suspended job -------------------------- + + + + PS C:\>Resume-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + + This command resumes the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397914 + + + Get-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Set-AzureAutomationRunbook + + Modifies the configuration of a runbook. + + + + + Set + AzureAutomationRunbook + + + + + The Set-AzureAutomationRunbook cmdlet modifies the configuration of a Microsoft Azure Automation runbook. + + + + Set-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + LogDebug + + Indicates whether debug output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogProgress + + Indicates whether progress output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogVerbose + + Indicates whether verbose output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Set-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Description + + Specifies a description for the runbook. + + String + + + Tags + + Specifies one or more runbook tags. + + String[] + + + LogDebug + + Indicates whether debug output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogProgress + + Indicates whether progress output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + LogVerbose + + Indicates whether verbose output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Description + + Specifies a description for the runbook. + + String + + String + + + none + + + Tags + + Specifies one or more runbook tags. + + String[] + + String[] + + + none + + + LogDebug + + Indicates whether debug output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + LogProgress + + Indicates whether progress output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + LogVerbose + + Indicates whether verbose output is logged for jobs of this runbook. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Enable verbose logging for a runbook -------------------------- + + + + PS C:\>Set-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "MyRunbook" -LogVerbose $True + + This command enables verbose logging for the jobs of the specified runbook in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397915 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Start-AzureAutomationRunbook + + + + + + + + Set-AzureAutomationRunbookDefinition + + Updates the draft definition of a runbook. + + + + + Set + AzureAutomationRunbookDefinition + + + + + The Set-AzureAutomationRunbookDefinition cmdlet updates the draft definition of a Microsoft Azure Automation runbook. Provide a Windows PowerShell? script (.ps1) file that contains a runbook which becomes the draft runbook. If a draft already exists, use the Overwrite parameter to force the cmdlet to overwrite the existing draft. + + + + Set-AzureAutomationRunbookDefinition + + Name + + Specifies the name of a runbook. + + String + + + Path + + Specifies the path to the new draft runbook. + + String + + + Overwrite + + Indicates that the new draft runbook overwrites the existing draft, if one exists. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an automation account. + + String + + + + Set-AzureAutomationRunbookDefinition + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Path + + Specifies the path to the new draft runbook. + + String + + + Overwrite + + Indicates that the new draft runbook overwrites the existing draft, if one exists. + + SwitchParameter + + + AutomationAccountName + + Specifies the name of an automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Path + + Specifies the path to the new draft runbook. + + String + + String + + + none + + + Overwrite + + Indicates that the new draft runbook overwrites the existing draft, if one exists. + + SwitchParameter + + SwitchParameter + + + none + + + AutomationAccountName + + Specifies the name of an automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Overwrite an existing draft definition of a runbook -------------------------- + + + + PS C:\>Set-AzureAutomationRunbookDefinition -AutomationAccountName "Contoso17" -Name "Runbk01" -Path App01.ps1 -Overwrite + + This command overwrites the existing draft definition of a runbook. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397916 + + + Get-AzureAutomationRunbookDefinition + + + + + + + + Set-AzureAutomationSchedule + + Modifies an Azure Automation schedule. + + + + + Set + AzureAutomationSchedule + + + + + The Set-AzureAutomationSchedule cmdlet modifies a schedule in Microsoft Azure Automation. + + + + Set-AzureAutomationSchedule + + Name + + Specifies the name of a schedule. + + String + + + IsEnabled + + + + Nullable`1[Boolean] + + + Description + + Specifies a description. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Set-AzureAutomationSchedule + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + + IsEnabled + + + + Nullable`1[Boolean] + + + Description + + Specifies a description. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a schedule. + + String + + String + + + none + + + IsEnabled + + + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + + + + Description + + Specifies a description. + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a schedule. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Modify a schedule -------------------------- + + + + PS C:\>Set-AzureAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule01" -Description "Automation Schedule" + + This command modifies the description of the schedule named Schedule01. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397917 + + + Get-AzureAutomationSchedule + + + + New-AzureAutomationSchedule + + + + Remove-AzureAutomationSchedule + + + + + + + + Start-AzureAutomationRunbook + + Starts a runbook job. + + + + + Start + AzureAutomationRunbook + + + + + The Start-AzureAutomationRunbook cmdlet starts a Microsoft Azure Automation runbook job. Specify the ID or name of a runbook. + + + + Start-AzureAutomationRunbook + + Name + + Specifies the name of a runbook. + + String + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Start-AzureAutomationRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. + + IDictionary + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + Parameters + + Specifies a hash table of key/value pairs. The keys in the hash table are the runbook parameter names. The values in the hash table are the runbook parameter values. + + IDictionary + + IDictionary + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Start a runbook job -------------------------- + + + + PS C:\>Start-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" + + This command starts a runbook job for the runbook named Runbk01 in the Azure Automation account named Contoso17. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397918 + + + Get-AzureAutomationRunbook + + + + New-AzureAutomationRunbook + + + + Publish-AzureAutomationRunbook + + + + Remove-AzureAutomationRunbook + + + + Set-AzureAutomationRunbook + + + + + + + + Stop-AzureAutomationJob + + Stops an Azure Automation job. + + + + + Stop + AzureAutomationJob + + + + + The Stop-AzureAutomationJob cmdlet stops a Microsoft Azure Automation job. Specify a running automation job. + + + + Stop-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Guid + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Stop a job -------------------------- + + + + PS C:\>Stop-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + + This command stops the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397919 + + + Get-AzureAutomationJob + + + + Resume-AzureAutomationJob + + + + Suspend-AzureAutomationJob + + + + + + + + Suspend-AzureAutomationJob + + Suspends an Azure Automation job. + + + + + Suspend + AzureAutomationJob + + + + + The Suspend-AzureAutomationJob cmdlet suspends a Microsoft Azure Automation job. Specify a running Automation job. To resume a suspended job, use the Resume-AzureAutomationJob cmdlet. + + + + Suspend-AzureAutomationJob + + Id + + Specifies the ID of a job. + + Guid + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Id + + Specifies the ID of a job. + + Guid + + Guid + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Suspend a job -------------------------- + + + + PS C:\>Suspend-AzureAutomationJob -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 + + This command suspends the job that has the specified ID. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397920 + + + Get-AzureAutomationJob + + + + Resume-AzureAutomationJob + + + + Stop-AzureAutomationJob + + + + + + + + Unregister-AzureAutomationScheduledRunbook + + Removes an association between a runbook and a schedule. + + + + + Unregister + AzureAutomationScheduledRunbook + + + + + The Unregister-AzureAutomationScheduledRunbook cmdlet removes the association between a Microsoft Azure Automation runbook and a schedule, which stops the runbook from starting when the schedule fires. + + + + Unregister-AzureAutomationScheduledRunbook + + Name + + Specifies the name of a runbook. + + String + + + ScheduleName + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + Unregister-AzureAutomationScheduledRunbook + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + + ScheduleName + + Specifies the name of a schedule. + + String + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + + + + + Name + + Specifies the name of a runbook. + + String + + String + + + none + + + ScheduleName + + Specifies the name of a schedule. + + String + + String + + + none + + + AutomationAccountName + + Specifies the name of an Azure Automation account. + + String + + String + + + none + + + Id + + Specifies the ID of a runbook. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Remove the association between a runbook and a schedule -------------------------- + + + + PS C:\>Unregister-AzureAutomationScheduledRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ScheduleName "Runbk01Sched" + + This command removes the association between the runbook named Runbk01 and the schedule named Runbk01Sched. + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkId=397921 + + + Register-AzureAutomationScheduledRunbook + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/BaseProperties.cs b/src/ResourceManager/Automation/Commands.Automation/Model/BaseProperties.cs deleted file mode 100644 index 08b5ead069a7..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/BaseProperties.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - /// - /// The BaseProperties. - /// - public class BaseProperties - { - /// - /// Gets or sets the resource group name. - /// - public string ResourceGroupName { get; set; } - - /// - /// Gets or sets the automation account name. - /// - public string AutomationAccountName { get; set; } - - /// - /// Gets or sets the name. - /// - public string Name { get; set; } - - /// - /// Gets or sets the creation time. - /// - public DateTimeOffset CreationTime { get; set; } - - /// - /// Gets or sets the last modified time. - /// - public DateTimeOffset LastModifiedTime { get; set; } - - /// - /// Gets or sets the description. - /// - public string Description { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/CertificateInfo.cs b/src/ResourceManager/Automation/Commands.Automation/Model/CertificateInfo.cs deleted file mode 100644 index fa28a224321e..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/CertificateInfo.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - public class CertificateInfo : BaseProperties - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The account name. - /// - /// - /// The connection. - /// - /// - /// - public CertificateInfo(string resourceGroupName, string accountAcccountName, Azure.Management.Automation.Models.Certificate certificate) - { - Requires.Argument("certificate", certificate).NotNull(); - this.AutomationAccountName = accountAcccountName; - this.ResourceGroupName = resourceGroupName; - this.Name = certificate.Name; - - if (certificate.Properties == null) return; - - this.Description = certificate.Properties.Description; - this.CreationTime = certificate.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = certificate.Properties.LastModifiedTime.ToLocalTime(); - this.ExpiryTime = certificate.Properties.ExpiryTime.ToLocalTime(); - this.Thumbprint = certificate.Properties.Thumbprint; - this.Exportable = certificate.Properties.IsExportable; - } - - /// - /// Initializes a new instance of the class. - /// - public CertificateInfo() - { - } - - public string Thumbprint { get; set; } - - public bool Exportable { get; set; } - - public DateTimeOffset ExpiryTime { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Connection.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Connection.cs deleted file mode 100644 index 29eea9e37473..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/Connection.cs +++ /dev/null @@ -1,70 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Collections.Generic; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - public class Connection : BaseProperties - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The account name. - /// - /// - /// The connection. - /// - /// - /// - public Connection(string resourceGroupName, string accountAcccountName, Azure.Management.Automation.Models.Connection connection) - { - Requires.Argument("connection", connection).NotNull(); - this.ResourceGroupName = resourceGroupName; - this.AutomationAccountName = accountAcccountName; - this.Name = connection.Name; - - if (connection.Properties == null) return; - - this.Description = connection.Properties.Description; - this.CreationTime = connection.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = connection.Properties.LastModifiedTime.ToLocalTime(); - this.ConnectionTypeName = connection.Properties.ConnectionType.Name; - this.FieldDefinitionValues = new Hashtable(StringComparer.InvariantCultureIgnoreCase); - foreach (var kvp in connection.Properties.FieldDefinitionValues) - { - this.FieldDefinitionValues.Add(kvp.Key, kvp.Value.ToString()); - } - } - - /// - /// Initializes a new instance of the class. - /// - public Connection() - { - } - - public string ConnectionTypeName { get; set; } - - public Hashtable FieldDefinitionValues { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/CredentialInfo.cs b/src/ResourceManager/Automation/Commands.Automation/Model/CredentialInfo.cs deleted file mode 100644 index f8a4e67e7137..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/CredentialInfo.cs +++ /dev/null @@ -1,59 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - public class CredentialInfo : BaseProperties - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The account name. - /// - /// - /// The Credential. - /// - public CredentialInfo(string resourceGroupName, string accountAcccountName, Azure.Management.Automation.Models.Credential credential) - { - Requires.Argument("credential", credential).NotNull(); - this.ResourceGroupName = resourceGroupName; - this.AutomationAccountName = accountAcccountName; - this.Name = credential.Name; - - if (credential.Properties == null) return; - - this.Description = credential.Properties.Description; - this.CreationTime = credential.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = credential.Properties.LastModifiedTime.ToLocalTime(); - this.UserName = credential.Properties.UserName; - } - - /// - /// Initializes a new instance of the class. - /// - public CredentialInfo() - { - } - - public string UserName { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs deleted file mode 100644 index 79b7a3f1e7c9..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/Job.cs +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.Collections; -using System.Globalization; -using Microsoft.Azure.Commands.Automation.Common; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - /// - /// The Job object. - /// - public class Job - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The account name. - /// - /// - /// The Job. - /// - /// - /// - public Job(string resourceGroupName, string accountName, Azure.Management.Automation.Models.Job job) - { - Requires.Argument("job", job).NotNull(); - Requires.Argument("accountName", accountName).NotNull(); - - this.ResourceGroupName = resourceGroupName; - this.AutomationAccountName = accountName; - - if (job.Properties == null) return; - - this.Id = job.Properties.JobId; - this.CreationTime = job.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = job.Properties.LastModifiedTime.ToLocalTime(); - this.StartTime = job.Properties.StartTime.HasValue ? job.Properties.StartTime.Value.ToLocalTime() : (DateTimeOffset?)null; - this.Status = job.Properties.Status; - this.StatusDetails = job.Properties.StatusDetails; - this.RunbookName = job.Properties.Runbook.Name; - this.Exception = job.Properties.Exception; - this.EndTime = job.Properties.EndTime.HasValue ? job.Properties.EndTime.Value.ToLocalTime() : (DateTimeOffset?) null; - this.LastStatusModifiedTime = job.Properties.LastStatusModifiedTime; - this.HybridWorker = job.Properties.RunOn; - this.JobParameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase); - foreach (var kvp in job.Properties.Parameters) - { - if (0 != String.Compare(kvp.Key, Constants.JobStartedByParameterName, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase) && - 0 != String.Compare(kvp.Key, Constants.JobRunOnParameterName, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase)) - { - this.JobParameters.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value)); - } - } - } - - /// - /// Initializes a new instance of the class. - /// - public Job() - { - } - - /// - /// Gets or sets the resource group name. - /// - public string ResourceGroupName { get; set; } - - /// - /// Gets or sets the automaiton account name. - /// - public string AutomationAccountName { get; set; } - - /// - /// Gets or sets the job id. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the tags. - /// - public DateTimeOffset CreationTime { get; set; } - - /// - /// Gets or sets the status of the job. - /// - public string Status { get; set; } - - /// - /// Gets or sets the status details of the job. - /// - public string StatusDetails { get; set; } - - /// - /// Gets or sets the start time of the job. - /// - public DateTimeOffset? StartTime { get; set; } - - /// - /// Gets or sets the end time of the job. - /// - public DateTimeOffset? EndTime { get; set; } - - /// - /// Gets or sets the exception of the job. - /// - public string Exception { get; set; } - - /// - /// Gets or sets the last modified time of the job. - /// - public DateTimeOffset LastModifiedTime { get; set; } - - /// - /// Gets or sets the last status modified time of the job." - /// - public DateTimeOffset LastStatusModifiedTime { get; set; } - - /// - /// Gets or sets the parameters of the job. - /// - public Hashtable JobParameters { get; set; } - - /// - /// Gets or sets the runbook. - /// - public string RunbookName { get; set; } - - /// - /// Gets or sets the HybridWorker. - /// - public string HybridWorker { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/JobSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Model/JobSchedule.cs deleted file mode 100644 index 8fdf8bbace4a..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/JobSchedule.cs +++ /dev/null @@ -1,94 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections; -using System.Globalization; -using Microsoft.Azure.Commands.Automation.Common; -using System.Collections.Generic; -using System.Linq; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - /// - /// The Job Schedule. - /// - public class JobSchedule - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The account name. - /// - /// - /// The job schedule. - /// - public JobSchedule(string resourceGroupName, string automationAccountName, Azure.Management.Automation.Models.JobSchedule jobSchedule) - { - Requires.Argument("jobSchedule", jobSchedule).NotNull(); - this.ResourceGroupName = resourceGroupName; - this.AutomationAccountName = automationAccountName; - this.JobScheduleId = jobSchedule.Properties.Id.ToString(); - this.RunbookName = jobSchedule.Properties.Runbook.Name; - this.ScheduleName = jobSchedule.Properties.Schedule.Name; - this.Parameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase); - foreach (var kvp in jobSchedule.Properties.Parameters.Where(kvp => 0 != String.Compare(kvp.Key, Constants.JobStartedByParameterName, CultureInfo.InvariantCulture, - CompareOptions.IgnoreCase))) - { - this.Parameters.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value)); - } - } - - /// - /// Initializes a new instance of the class. - /// - public JobSchedule() - { - } - - /// - /// Gets or sets the resource group name. - /// - public string ResourceGroupName { get; set; } - - /// - /// Gets or sets the automation account name. - /// - public string AutomationAccountName { get; set; } - - /// - /// Gets or sets the job schedule id. - /// - public string JobScheduleId { get; set; } - - /// - /// Gets or sets the runbook name. - /// - public string RunbookName { get; set; } - - /// - /// Gets or sets the schedule name. - /// - public string ScheduleName { get; set; } - - /// - /// Gets or sets the runbook parameters. - /// - public Hashtable Parameters { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Runbook.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Runbook.cs deleted file mode 100644 index bb23b0c1968e..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/Runbook.cs +++ /dev/null @@ -1,133 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Management.Automation.Models; -using Microsoft.WindowsAzure.Commands.Common; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - using AutomationManagement = Azure.Management.Automation; - - /// - /// The Runbook. - /// - public class Runbook : BaseProperties - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The account name. - /// - /// - /// The runbook. - /// - /// - /// - public Runbook(string resourceGroupName, string accountName, AutomationManagement.Models.Runbook runbook) - { - Requires.Argument("runbook", runbook).NotNull(); - Requires.Argument("accountName", accountName).NotNull(); - - this.ResourceGroupName = resourceGroupName; - this.AutomationAccountName = accountName; - this.Name = runbook.Name; - this.Location = runbook.Location; - - if (runbook.Properties == null) return; - - this.CreationTime = runbook.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = runbook.Properties.LastModifiedTime.ToLocalTime(); - this.Description = runbook.Properties.Description; - - this.LogVerbose = runbook.Properties.LogVerbose; - this.LogProgress = runbook.Properties.LogProgress; - this.State = runbook.Properties.State; - this.JobCount = runbook.Properties.JobCount; - this.RunbookType = runbook.Properties.RunbookType; - this.LastModifiedBy = runbook.Properties.LastModifiedBy; - this.Tags = new Hashtable(StringComparer.InvariantCultureIgnoreCase); - foreach (var kvp in runbook.Tags) - { - this.Tags.Add(kvp.Key, kvp.Value); - } - - this.Parameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase); - foreach (var kvp in runbook.Properties.Parameters) - { - this.Parameters.Add(kvp.Key, (object)kvp.Value); - } - } - - /// - /// Initializes a new instance of the class. - /// - public Runbook() - { - } - - /// - /// Gets or sets the location. - /// - public string Location { get; set; } - - /// - /// Gets or sets the tags. - /// - public Hashtable Tags { get; set; } - - /// - /// Gets or sets the JobCount. - /// - public int JobCount { get; set; } - - /// - /// Gets or sets the runbook type. - /// - public string RunbookType { get; set; } - - /// - /// Gets or sets the parameters. - /// - public Hashtable Parameters { get; set; } - - /// - /// Gets or sets a value indicating whether log verbose is enabled. - /// - public bool LogVerbose { get; set; } - - /// - /// Gets or sets a value indicating whether log progress is enabled. - /// - public bool LogProgress { get; set; } - - /// - /// Gets or sets a last modified by. - /// - public string LastModifiedBy { get; set; } - - /// - /// Gets or sets the state of runbook. - /// - public string State { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Schedule.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Schedule.cs deleted file mode 100644 index efeef2a4cd09..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/Schedule.cs +++ /dev/null @@ -1,94 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - /// - /// The Schedule. - /// - public class Schedule : BaseProperties - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The resource group name. - /// - /// - /// The automation account name. - /// - /// - /// The schedule. - /// - public Schedule(string resourceGroupName, string automationAccountName, Azure.Management.Automation.Models.Schedule schedule) - { - Requires.Argument("schedule", schedule).NotNull(); - this.ResourceGroupName = resourceGroupName; - this.AutomationAccountName = automationAccountName; - this.Name = schedule.Name; - this.Description = schedule.Properties.Description; - this.StartTime = schedule.Properties.StartTime.ToLocalTime(); - this.ExpiryTime = schedule.Properties.ExpiryTime.ToLocalTime(); - this.CreationTime = schedule.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = schedule.Properties.LastModifiedTime.ToLocalTime(); - this.IsEnabled = schedule.Properties.IsEnabled; - this.NextRun = schedule.Properties.NextRun.HasValue - ? schedule.Properties.NextRun.Value.ToLocalTime() - : this.NextRun; - this.Interval = schedule.Properties.Interval.HasValue ? schedule.Properties.Interval.Value : this.Interval; - this.Frequency = (ScheduleFrequency)Enum.Parse(typeof(ScheduleFrequency), schedule.Properties.Frequency, true); - } - - /// - /// Initializes a new instance of the class. - /// - public Schedule() - { - } - - /// - /// Gets or sets the start time. - /// - public DateTimeOffset StartTime { get; set; } - - /// - /// Gets or sets the expiry time. - /// - public DateTimeOffset ExpiryTime { get; set; } - - /// - /// Gets or sets a value indicating whether is enabled. - /// - public bool IsEnabled { get; set; } - - /// - /// Gets or sets the next run. - /// - public DateTimeOffset? NextRun { get; set; } - - /// - /// Gets or sets the schedule interval. - /// - public byte? Interval { get; set; } - - /// - /// Gets or sets the schedule frequency. - /// - public ScheduleFrequency Frequency { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/ScheduleFrequency.cs b/src/ResourceManager/Automation/Commands.Automation/Model/ScheduleFrequency.cs deleted file mode 100644 index 97149351e5b1..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/ScheduleFrequency.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - public enum ScheduleFrequency - { - Onetime, - Day, - Hour - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Model/Variable.cs b/src/ResourceManager/Automation/Commands.Automation/Model/Variable.cs deleted file mode 100644 index 0c1ab42e9464..000000000000 --- a/src/ResourceManager/Automation/Commands.Automation/Model/Variable.cs +++ /dev/null @@ -1,81 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Commands.Automation.Common; -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - using AutomationManagement = Azure.Management.Automation; - - /// - /// The Variable. - /// - public class Variable : BaseProperties - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The varaiable. - /// - /// - /// The automation account name. - /// - /// - /// The resource group name. - /// - /// - /// - public Variable(AutomationManagement.Models.Variable variable, string automationAccoutName, string resourceGroupName) - { - Requires.Argument("variable", variable).NotNull(); - - this.ResourceGroupName = resourceGroupName; - this.Name = variable.Name; - this.CreationTime = variable.Properties.CreationTime.ToLocalTime(); - this.LastModifiedTime = variable.Properties.LastModifiedTime.ToLocalTime(); - - if (variable.Properties.Value == null || variable.Properties.IsEncrypted) - { - this.Value = null; - } - else - { - this.Value = PowerShellJsonConverter.Deserialize(variable.Properties.Value); - } - - this.Description = variable.Properties.Description; - this.Encrypted = variable.Properties.IsEncrypted; - this.AutomationAccountName = automationAccoutName; - } - - /// - /// Initializes a new instance of the class. - /// - public Variable() - { - } - - /// - /// Gets or sets the value. - /// - public object Value { get; set; } - - /// - /// Gets or sets the description. - /// - public bool Encrypted { get; set; } - } -} diff --git a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs index 157b7fa2e9c2..6b6d54c8584e 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs @@ -294,15 +294,6 @@ internal static string InvalidFolderPath { } } - /// - /// Looks up a localized string similar to Imported file should be either .ps1 or .graphrunbook.. - /// - internal static string InvalidImportFile { - get { - return ResourceManager.GetString("InvalidImportFile", resourceCulture); - } - } - /// /// Looks up a localized string similar to Invalid runbook parameters.. /// @@ -312,15 +303,6 @@ internal static string InvalidRunbookParameters { } } - /// - /// Looks up a localized string similar to The runbook type is invalid for the file extension. PowerShell workflow and scripts should be .ps1. Graph runbook extension should be .graphrunbook. Provided file extension: {0} . - /// - internal static string InvalidRunbookTypeForExtension { - get { - return ResourceManager.GetString("InvalidRunbookTypeForExtension", resourceCulture); - } - } - /// /// Looks up a localized string similar to The Job having Id: {0} was not found.. /// @@ -555,15 +537,6 @@ internal static string RunbookAlreadyHasDraft { } } - /// - /// Looks up a localized string similar to Runbook file already exists. Specify the force switch switch overwrite. Runbook file name: {0}. - /// - internal static string RunbookFileAlreadyExists { - get { - return ResourceManager.GetString("RunbookFileAlreadyExists", resourceCulture); - } - } - /// /// Looks up a localized string similar to The runbook has no draft version. Runbook name {0}.. /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx index a5e5111c1626..6a7091667d81 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx +++ b/src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx @@ -388,19 +388,8 @@ The Webhook with Name: {0} was not found. Automation - + For security purposes, the URL of the created webhook will only be viewable in the output of this command. No other commands will return the webhook URL. Make sure to copy down the webhook URL from this command's output before closing your PowerShell session, and to store it securely. Automation - - Imported file should be either .ps1 or .graphrunbook. - Automation - - - The runbook type is invalid for the file extension. PowerShell workflow and scripts should be .ps1. Graph runbook extension should be .graphrunbook. Provided file extension: {0} - - - Runbook file already exists. Specify the force switch switch overwrite. Runbook file name: {0} - Automation - \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/packages.config b/src/ResourceManager/Automation/Commands.Automation/packages.config index be25400943fb..74ea561022f7 100644 --- a/src/ResourceManager/Automation/Commands.Automation/packages.config +++ b/src/ResourceManager/Automation/Commands.Automation/packages.config @@ -2,7 +2,7 @@ - + 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 2c06fabf8594..8972b8324fba 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj @@ -39,9 +39,8 @@ False ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - - False - ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.2-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll + + ..\Commands.AzureBackup\Resources\Microsoft.Azure.Management.BackupServicesManagement.dll False @@ -124,12 +123,19 @@ + + + + + Code + + @@ -158,12 +164,18 @@ Always + + + + Always Always + + Always diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs index 7c461caf5071..37d8308e5885 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs @@ -24,11 +24,31 @@ namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests { public class AzureBackupContainerTests : AzureBackupTestsBase { + [Fact] + public void GetAzureBackupContainerTests() + { + this.RunPowerShellTest("Test-GetAzureBackupContainerWithoutFilterReturnsNonZeroContainers"); + + this.RunPowerShellTest("Test-GetAzureBackupContainerWithUniqueFilterReturnsOneContainer"); + } + + [Fact] + public void RegisterAzureBackupContainerTest() + { + this.RunPowerShellTest("Test-RegisterAzureBackupContainer"); + } + + [Fact] + public void UnregisterAzureBackupContainerTest() + { + this.RunPowerShellTest("Test-UnregisterAzureBackupContainer"); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void AzureBackupMarsContainerScenarioTests() { this.RunPowerShellTest("Test-AzureBackupMarsContainerScenario"); - } + } } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 index 2b500adf8f45..902b8bb9e05d 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 @@ -14,11 +14,55 @@ $ResourceGroupName = "backuprg" $ResourceName = "backuprn1" +$Location = "westus" +$ManagedResourceGroupName = "powershellbvt" +$ManagedResourceName = "powershellbvt" $ContainerName = "DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM" $ContainerType = "Windows" $ContainerId = "10034" $ContainerStatus = "Registered" +<# +.SYNOPSIS +Tests to test list containers +#> +function Test-GetAzureBackupContainerWithoutFilterReturnsNonZeroContainers +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $containers = Get-AzureBackupContainer -vault $vault; + Assert-NotNull $containers 'Container list should not be null'; +} + +function Test-GetAzureBackupContainerWithUniqueFilterReturnsOneContainer +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $container = Get-AzureBackupContainer -vault $vault -ManagedResourceGroupName $ManagedResourceGroupName -ManagedResourceName $ManagedResourceName + Assert-NotNull $container 'Container should not be null'; + Assert-AreEqual $container.ManagedResourceName $ManagedResourceName -CaseSensitive 'Returned container resource name (a.k.a friendly name) does not match the test VM resource name'; + Assert-AreEqual $container.ManagedResourceGroupName $ManagedResourceGroupName -CaseSensitive 'Returned container resource group name (a.k.a parent friendly name) does not match the test VM resource group name'; +} + +<# +.SYNOPSIS +Tests to register the container +#> +function Test-RegisterAzureBackupContainer +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $jobId = Register-AzureBackupContainer -vault $vault -Name $ManagedResourceName -ServiceName $ManagedResourceGroupName + + Assert-NotNull $jobId 'Job should not be null'; +} + +function Test-UnregisterAzureBackupContainer +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $container = Get-AzureBackupContainer -vault $vault -ManagedResourceName $ManagedResourceName -ManagedResourceGroupName $ManagedResourceGroupName + $jobId = Unregister-AzureBackupContainer -vault $vault -AzureBackupContainer $container + + Assert-NotNull $jobId 'Job should not be null'; +} + function Test-AzureBackupMarsContainerScenario { $vault = Get-AzureBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName @@ -48,4 +92,4 @@ function Test-AzureBackupMarsContainerScenario $unregContainers = Get-AzureBackupContainer -vault $vault -type $ContainerType -name $ContainerName Assert-AreEqual $unregContainers.Count 0; -} +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.cs new file mode 100644 index 000000000000..a1b7755e3f49 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.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.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests +{ + public class AzureBackupItemTestCases : AzureBackupTestsBase + { + [Fact] + public void ListAzureBackupItemTests() + { + this.RunPowerShellTest("Test-GetAzureBackupItemTests"); + } + + [Fact] + public void EnableAzureBackupProtectionTest() + { + this.RunPowerShellTest("Test-EnableAzureBackupProtection"); + } + + [Fact] + public void DisableAzureBackupProtectionTest() + { + this.RunPowerShellTest("Test-DisableAzureBackupProtection"); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 new file mode 100644 index 000000000000..e34ba7283915 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 @@ -0,0 +1,75 @@ +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$ContainerName = "iaasvmcontainer;dev01testing;dev01testing" +$ContainerType = "IaasVMContainer" +$DataSourceType = "VM" +$DataSourceId = "17593283453810" +$Location = "SouthEast Asia" +$PolicyName = "Policy9"; +$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4"; +$POName = "iaasvmcontainer;dev01testing;dev01testing" + + +function Test-GetAzureBackupItemTests +{ + $azureBackUpContainer = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupContainer + $azureBackUpContainer.ResourceGroupName = $ResourceGroupName + $azureBackUpContainer.ResourceName = $ResourceName + $azureBackUpContainer.Location = $Location + $azureBackUpContainer.ContainerUniqueName = $ContainerName + $azureBackUpContainer.ContainerType = $ContainerType + $item = Get-AzureBackupItem -Container $azureBackUpContainer + if (!($item -eq $null)) + { + foreach($backupitem in $item) + { + Assert-NotNull $backupitem.ProtectionStatus 'ProtectionStatus should not be null' + Assert-NotNull $backupitem.Name 'Name should not be null' + Assert-NotNull $backupitem.Type 'Type should not be null' + Assert-NotNull $backupitem.ContainerType 'ContainerType should not be null' + Assert-NotNull $backupitem.ContainerUniqueName 'ContainerUniqueName should not be null' + Assert-NotNull $backupitem.ResourceGroupName 'ResourceGroupName should not be null' + Assert-NotNull $backupitem.ResourceName 'ResourceName should not be null' + Assert-NotNull $backupitem.Location 'Location should not be null' + } + } +} + +function Test-EnableAzureBackupProtection +{ + $policy = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupProtectionPolicy + $policy.InstanceId = $PolicyId + $policy.Name = $PolicyName + $policy.ResourceGroupName = $ResourceGroupName + $policy.ResourceName = $ResourceName + $policy.Location = $Location + $policy.WorkloadType = "VM" + $policy.RetentionType = "1" + $policy.ScheduleRunTimes = "2015-06-13T20:30:00" + + $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupItem + $azureBackUpItem.ResourceGroupName = $ResourceGroupName + $azureBackUpItem.ResourceName = $ResourceName + $azureBackUpItem.Location = $Location + $azureBackUpItem.ContainerUniqueName = $ContainerName + $azureBackUpItem.ContainerType = $ContainerType + $azureBackUpItem.DataSourceId = $DataSourceId + $azureBackUpItem.Type = $DataSourceType + $azureBackUpItem.Name = $POName + $jobId = Enable-AzureBackupProtection -Item $azureBackUpItem -Policy $policy + +} + +function Test-DisableAzureBackupProtection +{ + $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupItem + $azureBackUpItem.ResourceGroupName = $ResourceGroupName + $azureBackUpItem.ResourceName = $ResourceName + $azureBackUpItem.Location = $Location + $azureBackUpItem.ContainerUniqueName = $ContainerName + $azureBackUpItem.ContainerType = $ContainerType + $azureBackUpItem.DataSourceId = $DataSourceId + $azureBackUpItem.Type = $DataSourceType + $azureBackUpItem.Name = $POName + $jobId1 = Disable-AzureBackupProtection -Item $azureBackUpItem +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.cs new file mode 100644 index 000000000000..6a5cad692eae --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests +{ + public class AzureBackupJobTests : AzureBackupTestsBase + { + + [Fact] + public void GetAzureBackupJobTests() + { + this.RunPowerShellTest("Test-GetAzureBackupJob"); + } + + [Fact] + public void StopAzureBackupJobTests() + { + this.RunPowerShellTest("Test-StopAzureBackupJob"); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 new file mode 100644 index 000000000000..d63ea8fc45d8 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 @@ -0,0 +1,62 @@ +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$ContainerName = "iaasvmcontainer;dev01testing;dev01testing" +$ContainerType = "IaasVMContainer" +$DataSourceType = "VM" +$DataSourceId = "17593283453810" +$Location = "SouthEast Asia" +$PolicyName = "Policy9"; +$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4"; +$POName = "iaasvmcontainer;dev01testing;dev01testing" + + +function Test-GetAzureBackupJob +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $OneMonthBack = Get-Date; + $OneMonthBack = $OneMonthBack.AddDays(-30); + $jobs = Get-AzureBackupJob -Vault $vault -From $OneMonthBack + Assert-NotNull $jobs 'Jobs list should not be null' + foreach($job in $jobs) + { + Assert-NotNull $jobs.InstanceId 'JobID should not be null'; + Assert-NotNull $jobs.StartTime 'StartTime should not be null'; + Assert-NotNull $jobs.WorkloadType 'WorkloadType should not be null'; + Assert-NotNull $jobs.WorkloadName 'WorkloadName should not be null'; + Assert-NotNull $jobs.Status 'Status should not be null'; + Assert-NotNull $jobs.Operation 'Operation should not be null'; + + $jobDetails = Get-AzureBackupJobDetails -Job $job + Assert-NotNull $jobDetails.InstanceId 'JobID should not be null'; + Assert-NotNull $jobDetails.StartTime 'StartTime should not be null'; + Assert-NotNull $jobDetails.WorkloadType 'WorkloadType should not be null'; + Assert-NotNull $jobDetails.WorkloadName 'WorkloadName should not be null'; + Assert-NotNull $jobDetails.Status 'Status should not be null'; + Assert-NotNull $jobDetails.Operation 'Operation should not be null'; + Assert-NotNull $jobDetails.Properties 'Properties in job details cannot be null'; + Assert-NotNull $jobDetails.SubTasks 'SubTasks in job details cannot be null'; + } +} + + +function Test-StopAzureBackupJob +{ + $OneMonthBack = Get-Date; + $OneMonthBack = $OneMonthBack.AddDays(-30); + + $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupItem + $azureBackUpItem.ResourceGroupName = $ResourceGroupName + $azureBackUpItem.ResourceName = $ResourceName + $azureBackUpItem.Location = $Location + $azureBackUpItem.ContainerUniqueName = $ContainerName + $azureBackUpItem.ContainerType = $ContainerType + $azureBackUpItem.DataSourceId = $DataSourceId + $azureBackUpItem.Type = $DataSourceType + + $job = Backup-AzureBackupItem -Item $azureBackUpItem + + Stop-AzureBackupJob -Job $job; + Wait-AzureBackupJob -Job $job; + $jobDetails = Get-AzureBackupJobDetails -Job $job; + Assert-AreEqual 'Cancelled' $jobDetails.Status +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.cs new file mode 100644 index 000000000000..2b4b4c8b683a --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests +{ + public class AzureBackupPolicyTests : AzureBackupTestsBase + { + [Fact] + public void ListProtectionPolicyTests() + { + this.RunPowerShellTest("Test-GetAzureBackupProtectionPolicyTests"); + } + + [Fact] + public void NewProtectionPolicyTests() + { + this.RunPowerShellTest("Test-NewAzureBackupProtectionPolicyTests"); + } + + [Fact] + public void ListProtectionPolicyByNameTests() + { + this.RunPowerShellTest("Test-GetAzureBackupProtectionPolicyByNameTests"); + } + + [Fact] + public void SetProtectionPolicyTests() + { + this.RunPowerShellTest("Test-SetAzureBackupProtectionPolicyTests"); + } + + [Fact] + public void RemoveProtectionPolicyTests() + { + this.RunPowerShellTest("Test-RemoveAzureBackupProtectionPolicyTests"); + } + + + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 new file mode 100644 index 000000000000..9aebe7404a8e --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 @@ -0,0 +1,102 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$DataSourceType = "VM" +$Location = "SouthEast Asia" +$PolicyName = "Policy10"; +$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4"; +$POName = "iaasvmcontainer;dev01testing;dev01testing" +$Type = "IaasVM" +$RetentionType = "Days" +$BackupTime = "2015-06-13T20:30:00" +$DaysOfWeek = "Monday" +$RetentionDuration = 30 +$BackupType = "Full" +$ScheduleType = "Daily" + +<# +.SYNOPSIS +Tests creating new resource group and a simple resource. +#> +function Test-GetAzureBackupProtectionPolicyTests +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $protectionPolicies = Get-AzureBackupProtectionPolicy -vault $vault + Assert-NotNull $protectionPolicies 'Protection Policies should not be null' + foreach($protectionPolicy in $protectionPolicies) + { + Assert-NotNull $protectionPolicy.InstanceId 'InstanceId should not be null' + Assert-NotNull $protectionPolicy.Name 'Name should not be null' + Assert-NotNull $protectionPolicy.Type 'Type should not be null' + Assert-NotNull $protectionPolicy.BackupTime 'BackupTime should not be null' + Assert-NotNull $protectionPolicy.RetentionPolicyList 'RetentionPolicyList should not be null' + Assert-NotNull $protectionPolicy.ResourceGroupName 'ResourceGroupName should not be null' + Assert-NotNull $protectionPolicy.ResourceName 'ResourceName should not be null' + Assert-NotNull $protectionPolicy.Location 'Location should not be null' + } +} + +function Test-GetAzureBackupProtectionPolicyByNameTests +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $protectionPolicy = Get-AzureBackupProtectionPolicy -vault $vault -Name $PolicyName + + Assert-NotNull $protectionPolicy.InstanceId 'InstanceId should not be null' + Assert-NotNull $protectionPolicy.Name 'Name should not be null' + Assert-NotNull $protectionPolicy.Type 'Type should not be null' + Assert-NotNull $protectionPolicy.BackupTime 'BackupTime should not be null' + Assert-NotNull $protectionPolicy.RetentionPolicyList 'RetentionPolicyList should not be null' + Assert-NotNull $protectionPolicy.ResourceGroupName 'ResourceGroupName should not be null' + Assert-NotNull $protectionPolicy.ResourceName 'ResourceName should not be null' + Assert-NotNull $protectionPolicy.Location 'Location should not be null' + +} + +function Test-NewAzureBackupProtectionPolicyTests +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $r1 = New-AzureBackupRetentionPolicyObject -DailyRetention -Retention 20 + $r2 = New-AzureBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10 + $r = ($r1, $r2) + + $protectionPolicy = New-AzureBackupProtectionPolicy -vault $vault -Name $PolicyName -Type $Type -Daily -RetentionPolicies $r -BackupTime $BackupTime + + Assert-NotNull $protectionPolicy.InstanceId 'InstanceId should not be null' + Assert-NotNull $protectionPolicy.Name 'Name should not be null' + Assert-NotNull $protectionPolicy.Type 'Type should not be null' + Assert-NotNull $protectionPolicy.BackupTime 'BackupTime should not be null' + Assert-NotNull $protectionPolicy.RetentionPolicyList 'RetentionPolicyList should not be null' + Assert-NotNull $protectionPolicy.ResourceGroupName 'ResourceGroupName should not be null' + Assert-NotNull $protectionPolicy.ResourceName 'ResourceName should not be null' + Assert-NotNull $protectionPolicy.Location 'Location should not be null' +} + +function Test-SetAzureBackupProtectionPolicyTests +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $protectionPolicy = Get-AzureBackupProtectionPolicy -vault $vault -Name $PolicyName + $policyNewName = "policy09_new" + + Set-AzureBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -NewName $policyNewName +} + +function Test-RemoveAzureBackupProtectionPolicyTests +{ + $vault = Get-AzureBackupVault -Name $ResourceName; + $protectionPolicy = Get-AzureBackupProtectionPolicy -vault $vault -Name $PolicyName + + Remove-AzureBackupProtectionPolicy -ProtectionPolicy $protectionPolicy +} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetDscResourceException.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.cs similarity index 66% rename from src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetDscResourceException.cs rename to src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.cs index 8613f5ac844f..23e71b845a13 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetDscResourceException.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.cs @@ -13,14 +13,20 @@ // ---------------------------------------------------------------------------------- using System; -using System.Globalization; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Xunit; -namespace Microsoft.Azure.Commands.Compute.Extension.DSC +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests { - [Serializable] - public class GetDscResourceException : UnauthorizedAccessException + public class AzureBackupScenarioTests : AzureBackupTestsBase { - public GetDscResourceException(string resourceName, Exception e) : - base(String.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionGetDscResourceFailed, resourceName), e) { } + [Fact] + public void AzureBackupEndToEndTests() + { + this.RunPowerShellTest("Test-AzureBackupEndToEnd"); + } } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 new file mode 100644 index 000000000000..6b95c211e97a --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 @@ -0,0 +1,116 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$Location = "westus" +$VirtualMachineName = "e2etest" +$ProtectionPolicyName = "e2epolicy" +$ManagedResourceGroupName = "powershellbvt" +$ManagedResourceName = "powershellbvt" + +function Test-AzureBackupEndToEnd +{ + New-AzureBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region "SouthEast Asia" + $vault = Get-AzureBackupVault -Name $ResourceName; + $Job = Register-AzureBackupContainer -Vault $vault -Name $VirtualMachineName -ServiceName $VirtualMachineName; + Wait-AzureBackupJob -Job $Job; + $JobDetails = Get-AzureBackupJobDetails -Vault $vault -JobId $Job.InstanceId; + Assert-AreEqual $JobDetails.Status "Completed"; + + $protectionpolicy = New-AzureBackupProtectionPolicy -Vault $vault -Name $ProtectionPolicyName -WorkloadType "VM" -BackupType "Full" -ScheduleRunTimes ((Get-Date -Hour 15 -Minute 30 -Second 0).ToUniversalTime()) -Daily -RetentionType "Days" -RetentionDuration 20; + Assert-AreEqual $protectionpolicy.Name $ProtectionPolicyName; + Assert-AreEqual $protectionpolicy.WorkloadType "VM"; + Assert-AreEqual $protectionpolicy.BackupType "Type"; + Assert-AreEqual $protectionpolicy.RetentionType "Days"; + Assert-AreEqual $protectionpolicy.RetentionDuration "20"; + Assert-AreEqual $protectionpolicy.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $protectionpolicy.ResourceName $ResourceName; + Assert-AreEqual $protectionpolicy.Location $Location; + + $container = Get-AzureBackupContainer -Vault $vault; + Assert-AreEqual $container.ManagedResourceGroupName $VirtualMachineName; + Assert-AreEqual $container.ManagedResourceName $VirtualMachineName; + Assert-AreEqual $container.HealthStatus "Healthy"; + Assert-AreEqual $container.RegisrationStatus "Registered"; + Assert-AreEqual $container.ContainerType "IaasVMContainer"; + Assert-AreEqual $container.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $container.ResourceName $ResourceName; + Assert-AreEqual $container.Location $Location; + + $Job = Enable-AzureBackupProtection -Item $container[0] -Policy $protectionpolicy[0]; + Wait-AzureBackupJob -Job $Job; + $JobDetails = Get-AzureBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + Assert-AreEqual $JobDetails.Operation "ConfigureBackup"; + Assert-AreEqual $JobDetails.Status "Completed"; + Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName; + Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True"; + Assert-AreEqual $JobDetails.Properties.Values.Contains($ProtectionPolicyName) "True"; + Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $JobDetails.ResourceName $ResourceName; + Assert-AreEqual $JobDetails.Location $ResourceGroupName; + + $item = Get-AzureBackupItem -Container $container[0]; + Assert-AreEqual $item.ProtectionStatus "Protected"; + Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName; + Assert-AreEqual $item.ContainerType "IaasVMContainer"; + Assert-AreEqual $item.Type "VM"; + Assert-AreEqual $item.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $item.ResourceName $ResourceName; + Assert-AreEqual $item.Location $Location; + + $Job = Backup-AzureBackupItem -Item $item[0]; + Wait-AzureBackupJob -Job $Job; + $JobDetails = Get-AzureBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + Assert-AreEqual $JobDetails.Operation "Backup"; + Assert-AreEqual $JobDetails.Status "Completed"; + Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName; + Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True"; + Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $JobDetails.ResourceName $ResourceName; + Assert-AreEqual $JobDetails.Location $ResourceGroupName; + + $item = Get-AzureBackupItem -Container $container[0]; + Assert-AreEqual $item.ProtectionStatus "Protected"; + Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName; + Assert-AreEqual $item.WorkloadName $VirtualMachineName; + Assert-AreEqual $item.RecoveryPointsCount "1"; + Assert-AreEqual $item.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $item.ResourceName $ResourceName; + Assert-AreEqual $item.Location $ResourceGroupName; + + #ToDo: Swatim to verify output Assert after this. + $recoveryPoints = Get-AzureBackupRecoveryPoint -Item $item[0]; + $Job = Disable-AzureBackupProtection -RemoveRecoveryPoints -Item $item[0]; + Wait-AzureBackupJob -Job $Job; + $JobDetails = Get-AzureBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + Assert-AreEqual $JobDetails.Operation "ConfigureBackup"; + Assert-AreEqual $JobDetails.Status "Completed"; + Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName; + Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True"; + Assert-AreEqual $JobDetails.Properties.Values.Contains($ProtectionPolicyName) "True"; + Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName; + Assert-AreEqual $JobDetails.ResourceName $ResourceName; + Assert-AreEqual $JobDetails.Location $ResourceGroupName; + + $Job = Unregister-AzureBackupContainer -Container $container[0]; + Wait-AzureBackupJob -Job $Job; + $JobDetails = Get-AzureBackupJobDetails -Vault $vault -JobId $Job.InstanceId; + Assert-AreEqual $JobDetails.Status "Completed"; + + Remove-AzureBackupProtectionPolicy -ProtectionPolicy $protectionpolicy; + + Remove-AzureBackupVault -Vault $vault; + +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs index 19bfd08fbe0c..b08ab4972c30 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs @@ -31,7 +31,7 @@ public abstract class AzureBackupTestsBase private CSMTestEnvironmentFactory csmTestFactory; private EnvironmentSetupHelper helper; - public BackupVaultServicesManagementClient BackupVaultServicesMgmtClient { get; private set; } + public BackupServicesManagementClient BackupServicesMgmtClient { get; private set; } protected AzureBackupTestsBase() { @@ -41,9 +41,9 @@ protected AzureBackupTestsBase() protected void SetupManagementClients() { - BackupVaultServicesMgmtClient = GetBackupVaultServicesManagementClient(); + BackupServicesMgmtClient = GetBackupServicesManagementClient(); //helper.SetupManagementClients(BackupServicesMgmtClient); - helper.SetupSomeOfManagementClients(BackupVaultServicesMgmtClient); + helper.SetupSomeOfManagementClients(BackupServicesMgmtClient); } protected void RunPowerShellTest(params string[] scripts) @@ -61,9 +61,9 @@ protected void RunPowerShellTest(params string[] scripts) } } - private BackupVaultServicesManagementClient GetBackupVaultServicesManagementClient() + private BackupServicesManagementClient GetBackupServicesManagementClient() { - return GetServiceClient(); + return GetServiceClient(); } public static T GetServiceClient() where T : class @@ -74,14 +74,14 @@ public static T GetServiceClient() where T : class ServicePointManager.ServerCertificateValidationCallback = IgnoreCertificateErrorHandler; - BackupVaultServicesManagementClient client; + BackupServicesManagementClient client; string resourceName = ConfigurationManager.AppSettings["ResourceName"]; string resourceGroupName = ConfigurationManager.AppSettings["ResourceGroupName"]; if (testEnvironment.UsesCustomUri()) { - client = new BackupVaultServicesManagementClient( + client = new BackupServicesManagementClient( resourceName, resourceGroupName, testEnvironment.Credentials as SubscriptionCloudCredentials, @@ -90,7 +90,7 @@ public static T GetServiceClient() where T : class else { - client = new BackupVaultServicesManagementClient( + client = new BackupServicesManagementClient( resourceName, resourceGroupName, testEnvironment.Credentials as SubscriptionCloudCredentials); @@ -99,7 +99,7 @@ public static T GetServiceClient() where T : class return GetServiceClient(factory, client); } - public static T GetServiceClient(TestEnvironmentFactory factory, BackupVaultServicesManagementClient client) where T : class + public static T GetServiceClient(TestEnvironmentFactory factory, BackupServicesManagementClient client) where T : class { TestEnvironment testEnvironment = factory.GetTestEnvironment(); diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.cs new file mode 100644 index 000000000000..50a9dc7a95da --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests +{ + public class BackupItemTests : AzureBackupTestsBase + { + [Fact] + public void BackUpAzureBackUpItem() + { + this.RunPowerShellTest("Test-BackUpAzureBackUpItem"); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 new file mode 100644 index 000000000000..8dbd7621d05c --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 @@ -0,0 +1,23 @@ +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$ContainerName = "iaasvmcontainer;dev01testing;dev01testing" +$ContainerType = "IaasVMContainer" +$DataSourceType = "VM" +$DataSourceId = "17593283453810" +$Location = "SouthEast Asia" +$PolicyName = "Policy9"; +$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4"; +$POName = "iaasvmcontainer;dev01testing;dev01testing" +$ItemName = "iaasvmcontainer;dev01testing;dev01testing" + + +function Test-BackUpAzureBackUpItem +{ + $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupItem + $azureBackUpItem.ResourceGroupName = $ResourceGroupName + $azureBackUpItem.ResourceName = $ResourceName + $azureBackUpItem.Location = $Location + $azureBackUpItem.ContainerUniqueName = $ContainerName + $azureBackUpItem.ItemName = $ItemName + $jobId = Backup-AzureBackupItem -Item $azureBackUpItem +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.cs new file mode 100644 index 000000000000..949951df8b3c --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests +{ + public class RecoveryPointTests : AzureBackupTestsBase + { + [Fact] + public void GetRecoveryPointsTests() + { + this.RunPowerShellTest("Test-GetAzureRecoveryPoints"); + } + + [Fact] + public void GetRecoveryPointTests() + { + this.RunPowerShellTest("Test-GetAzureRecoveryPoint"); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 new file mode 100644 index 000000000000..3b4edbc3aa77 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 @@ -0,0 +1,50 @@ +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$ContainerName = "iaasvmcontainer;dev01testing;dev01testing" +$ContainerType = "IaasVMContainer" +$DataSourceType = "VM" +$DataSourceId = "17593283453810" +$Location = "SouthEast Asia" +$PolicyName = "Policy9"; +$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4"; +$POName = "iaasvmcontainer;dev01testing;dev01testing" +$ItemName = "iaasvmcontainer;dev01testing;dev01testing" +$RecoveryPointName = "12520735098347" + + +function Test-GetAzureRecoveryPoints +{ + $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupItem + $azureBackUpItem.ResourceGroupName = $ResourceGroupName + $azureBackUpItem.ResourceName = $ResourceName + $azureBackUpItem.Location = $Location + $azureBackUpItem.ContainerUniqueName = $ContainerName + $azureBackUpItem.ItemName = $ItemName + $recoveryPoints = Get-AzureBackupRecoveryPoint -Item $azureBackUpItem + if (!($recoveryPoints -eq $null)) + { + foreach($recoveryPoint in $recoveryPoints) + { + Assert-NotNull $recoveryPoint.RecoveryPointTime 'RecoveryPointTime should not be null' + Assert-NotNull $recoveryPoint.RecoveryPointType 'RecoveryPointType should not be null' + Assert-NotNull $recoveryPoint.RecoveryPointId 'RecoveryPointId should not be null' + } + } +} + +function Test-GetAzureRecoveryPoint +{ + $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupItem + $azureBackUpItem.ResourceGroupName = $ResourceGroupName + $azureBackUpItem.ResourceName = $ResourceName + $azureBackUpItem.Location = $Location + $azureBackUpItem.ContainerUniqueName = $ContainerName + $azureBackUpItem.ItemName = $ItemName + $recoveryPoint = Get-AzureBackupRecoveryPoint -Item $azureBackUpItem -RecoveryPointId $RecoveryPointName + if (!($recoveryPoint -eq $null)) + { + Assert-NotNull $recoveryPoint.RecoveryPointTime 'RecoveryPointTime should not be null' + Assert-NotNull $recoveryPoint.RecoveryPointType 'RecoveryPointType should not be null' + Assert-NotNull $recoveryPoint.RecoveryPointId 'RecoveryPointId should not be null' + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.cs new file mode 100644 index 000000000000..ff1aa4acceb9 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests +{ + public class RestoreItemTests : AzureBackupTestsBase + { + [Fact] + public void RestoreAzureBackUpItem() + { + this.RunPowerShellTest("Test-RestoreAzureBackUpItem"); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 new file mode 100644 index 000000000000..d299e9848257 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 @@ -0,0 +1,26 @@ +$ResourceGroupName = "backuprg" +$ResourceName = "backuprn" +$ContainerName = "iaasvmcontainer;dev01testing;dev01testing" +$ContainerType = "IaasVMContainer" +$DataSourceType = "VM" +$DataSourceId = "17593283453810" +$Location = "southeastasia" +$PolicyName = "Policy9"; +$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4"; +$POName = "iaasvmcontainer;dev01testing;dev01testing" +$ItemName = "iaasvmcontainer;dev01testing;dev01testing" +$RecoveryPointName = "12520735098347" +$StorageAccountName = "portalvhds7jzk3jty85qx5" + + +function Test-RestoreAzureBackUpItem +{ + $azureBackUpRecoveryPoint = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupRecoveryPoint + $azureBackUpRecoveryPoint.ResourceGroupName = $ResourceGroupName + $azureBackUpRecoveryPoint.ResourceName = $ResourceName + $azureBackUpRecoveryPoint.Location = $Location + $azureBackUpRecoveryPoint.ContainerUniqueName = $ContainerName + $azureBackUpRecoveryPoint.ItemName = $ItemName + $azureBackUpRecoveryPoint.RecoveryPointName = $RecoveryPointName + $jobId = Restore-AzureBackupItem -RecoveryPoint $azureBackUpRecoveryPoint -StorageAccountName $StorageAccountName +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config index 4af04e15cc3e..354d054f55f9 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config @@ -4,7 +4,10 @@ +<<<<<<< HEAD +======= +>>>>>>> ead1b014e5697c6183345e8cac739517fb953b8b diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackUpRestoreBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackUpRestoreBase.cs new file mode 100644 index 000000000000..cc71cc456c38 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackUpRestoreBase.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.Azure.Commands.AzureBackup.Models; +using Microsoft.Azure.Commands.AzureBackup.Cmdlets; + +namespace Microsoft.Azure.Commands.AzureBackup +{ + public abstract class AzureBackupRestoreBase : AzureBackupCmdletBase + { + // ToDO: + // Correct Help message and other attributes related to paameters + [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackUpRecoveryPoint, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public AzureBackupRecoveryPoint RecoveryPoint { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + WriteDebug(String.Format("Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}", RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName)); + InitializeAzureBackupCmdlet(RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs index 215db6047e47..ac61f9725dc2 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs @@ -53,6 +53,11 @@ public partial class AzureBackupClientAdapter /// private BackupVaultServicesManagementClient azureBackupVaultClient; + /// + /// Azure backup client. + /// + private BackupServicesManagementClient azureBackupClient; + /// /// Cancellation Token Source /// @@ -75,6 +80,22 @@ private BackupVaultServicesManagementClient AzureBackupVaultClient } } + /// + /// Get Azure backup client. + /// + private BackupServicesManagementClient AzureBackupClient + { + get + { + if (this.azureBackupClient == null) + { + this.azureBackupClient = AzureSession.ClientFactory.CreateCustomClient(resourceName, resourceGroupName, cloudCreds, baseURI); + } + + return this.azureBackupClient; + } + } + public AzureBackupClientAdapter(SubscriptionCloudCredentials creds, Uri baseUri, string rgName, string rName) { cloudCreds = creds; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs index b6cbc2eb44f7..0f306afce984 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs @@ -27,12 +27,54 @@ using Microsoft.WindowsAzure.Management.Scheduler; using Microsoft.Azure.Management.BackupServices; using Microsoft.Azure.Management.BackupServices.Models; -using Microsoft.Azure.Commands.AzureBackup.Models; namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter { public partial class AzureBackupClientAdapter { + /// + /// Gets all IaaSVM containers in the vault by friendly name + /// + /// + /// + public IEnumerable ListContainers(ContainerQueryParameters parameters) + { + var listResponse = AzureBackupClient.Container.ListAsync(parameters, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return listResponse.CSMContainerListResponse.Value; + } + + /// + /// Register container + /// + /// + /// + public Guid RegisterContainer(string containerName) + { + var response = AzureBackupClient.Container.RegisterAsync(containerName, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// UnRegister container + /// + /// + /// + public Guid UnRegisterContainer(string containerName) + { + var response = AzureBackupClient.Container.UnregisterAsync(containerName, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// Refresh container list in service + /// + /// + public Guid RefreshContainers() + { + var response = AzureBackupClient.Container.RefreshAsync(GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return response.OperationId; + } + /// /// Gets all MARS containers in the vault /// diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ItemAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ItemAdapter.cs new file mode 100644 index 000000000000..8b5abe7dcd1f --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ItemAdapter.cs @@ -0,0 +1,141 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.WindowsAzure.Management.Scheduler; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter +{ + public partial class AzureBackupClientAdapter + { + /// + /// Lists datasources in the vault + /// + /// + /// + public IList ListDataSources(CSMProtectedItemQueryObject query) + { + var response = AzureBackupClient.DataSource.ListCSMAsync(query, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return (response != null) ? response.CSMProtectedItemListResponse.Value : null; + } + + /// + /// Lists protectable objects in the vault + /// + /// + /// + public IList ListProtectableObjects(CSMItemQueryObject query) + { + var response = AzureBackupClient.ProtectableObject.ListCSMAsync(query, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return (response != null) ? response.CSMItemListResponse.Value : null; + } + + /// + /// Dsiable protection + /// + /// + /// + /// + public Guid DisableProtection(string containerName, string itemName) + { + var response = AzureBackupClient.DataSource.DisableProtectionCSMAsync(GetCustomRequestHeaders(), containerName, itemName, CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// Enable Protection + /// + /// + /// + /// + /// + public Guid EnableProtection(string containerName, string itemName, CSMSetProtectionRequest request) + { + var response = AzureBackupClient.DataSource.EnableProtectionCSMAsync(GetCustomRequestHeaders(), containerName, itemName, request, CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// Update Protection + /// + /// + /// + public Guid UpdateProtection(string containerName, string itemName, CSMUpdateProtectionRequest request) + { + var response = AzureBackupClient.DataSource.UpdateProtectionCSMAsync(GetCustomRequestHeaders(), containerName, itemName, request, CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// Trigger backup on a DS + /// + /// + /// + /// + public Guid TriggerBackup(string containerName, string itemName) + { + var response = AzureBackupClient.BackUp.TriggerBackUpAsync(GetCustomRequestHeaders(), containerName, itemName, CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// Lists recovery points for specified item + /// + /// + /// + /// + public IEnumerable ListRecoveryPoints(string containerName, string itemName) + { + var response = AzureBackupClient.RecoveryPoint.ListAsync(GetCustomRequestHeaders(), containerName, itemName, CmdletCancellationToken).Result; + return (response != null) ? response.CSMRecoveryPointListResponse.Value : null; + } + + /// + /// Lists recovery points for specified item + /// + /// + /// + /// + public CSMRecoveryPointResponse GetRecoveryPoint(string containerName, string itemName, string recoveryPointName) + { + var response = AzureBackupClient.RecoveryPoint.GetAsync(GetCustomRequestHeaders(), containerName, itemName, recoveryPointName, CmdletCancellationToken).Result; + return (response != null) ? response.CSMRecoveryPointResponse : null; + } + + /// + /// Lists recovery points for specified item + /// + /// + /// + /// + /// + public Guid TriggerRestore(string containerName, string itemName, string recoveryPointName, CSMRestoreRequest csmRestoreRequest) + { + var response = AzureBackupClient.Restore.TriggerResotreAsync(GetCustomRequestHeaders(), containerName, itemName, recoveryPointName, csmRestoreRequest, CmdletCancellationToken).Result; + return response.OperationId; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/JobAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/JobAdapter.cs new file mode 100644 index 000000000000..a8a3e57b104d --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/JobAdapter.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.WindowsAzure.Management.Scheduler; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices.Models; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter +{ + public partial class AzureBackupClientAdapter + { + public IEnumerable ListJobs(CSMJobQueryObject queryParams) + { + var response = AzureBackupClient.Job.ListAsync(queryParams, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return response.List.Value; + } + + public Mgmt.CSMJobDetailsResponse GetJobDetails(string jobId) + { + var response = AzureBackupClient.Job.GetAsync(jobId, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return response.Value; + } + + public Guid TriggerCancelJob(string jobId) + { + var response = AzureBackupClient.Job.StopAsync(jobId, GetCustomRequestHeaders(), CmdletCancellationToken).Result.OperationId; + return response; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/OperationStatusAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/OperationStatusAdapter.cs new file mode 100644 index 000000000000..89f39d34e689 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/OperationStatusAdapter.cs @@ -0,0 +1,39 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.WindowsAzure.Management.Scheduler; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter +{ + public partial class AzureBackupClientAdapter + { + public CSMOperationResult GetOperationStatus(string operationId) + { + return AzureBackupClient.OperationStatus.CSMGetAsync(operationId, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/PolicyAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/PolicyAdapter.cs new file mode 100644 index 000000000000..312e2a89433c --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/PolicyAdapter.cs @@ -0,0 +1,102 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using System.Linq; +using Microsoft.WindowsAzure.Management.Scheduler; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter +{ + public partial class AzureBackupClientAdapter + { + /// + /// Gets protection policies of matching name + /// + /// + /// + public CSMProtectionPolicyResponse GetProtectionPolicyByName(string name) + { + var policyList = ListProtectionPolicies(); + var filteredList = policyList.Where(x => x.Name.Equals(name, System.StringComparison.InvariantCultureIgnoreCase)); + return filteredList.FirstOrDefault(); + } + + /// + /// Gets all policies in the vault + /// + /// + public IList ListProtectionPolicies() + { + var listResponse = AzureBackupClient.CSMProtectionPolicy.ListAsync(GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return listResponse.CSMProtectionPolicyListResponse.Value; + } + + /// + /// Add protection policy + /// + /// + /// + public void AddProtectionPolicy(string policyName, CSMAddProtectionPolicyRequest request) + { + AzureBackupClient.CSMProtectionPolicy.AddAsync(policyName, request, GetCustomRequestHeaders(), CmdletCancellationToken).Wait(); + } + + /// + /// Delete protection policy + /// + /// + public void DeleteProtectionPolicy(string policyName) + { + AzureBackupClient.CSMProtectionPolicy.DeleteAsync(policyName, GetCustomRequestHeaders(), CmdletCancellationToken).Wait(); + } + + /// + /// Update specified protection policy + /// + /// + /// + public Guid UpdateProtectionPolicy(string policyName, CSMUpdateProtectionPolicyRequest request) + { + var response = AzureBackupClient.CSMProtectionPolicy.UpdateAsync(policyName, request, GetCustomRequestHeaders(), CmdletCancellationToken).Result; + return response.OperationId; + } + + /// + /// Check protection policy name availability + /// + /// + /// + public void CheckProtectionPolicyNameAvailability(string name) + { + var policy = GetProtectionPolicyByName(name); + if (policy != null) + { + var exception = new ArgumentException("A protection policy with the specified name already exists."); + throw exception; + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs index 68e8ea0d1955..fe63b1a73b49 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs @@ -14,14 +14,19 @@ using Hyak.Common; using Microsoft.Azure.Commands.AzureBackup.ClientAdapter; +using Microsoft.Azure.Commands.AzureBackup.Models; using Microsoft.Azure.Commands.AzureBackup.Properties; using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.Scheduler; using System; +using System.Collections.Generic; using System.Management.Automation; using System.Net; +using System.Threading; using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models; namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets @@ -135,6 +140,56 @@ private void HandleException(Exception exception) WriteError(errorRecord); } } + + /// + /// Get status of long running operation + /// + /// + /// + internal CSMOperationResult GetOperationStatus(Guid operationId) + { + return AzureBackupClient.GetOperationStatus(operationId.ToString()); + } + + private const int defaultOperationStatusRetryTimeInMilliSec = 10 * 1000; // 10 sec + + /// + /// Track completion of long running operation + /// + /// + /// In Millisec + /// + internal CSMOperationResult TrackOperation(Guid operationId, int checkFrequency = defaultOperationStatusRetryTimeInMilliSec) + { + CSMOperationResult response = null; + + while (true) + { + response = GetOperationStatus(operationId); + + if (response.Status == CSMAzureBackupOperationStatus.Succeeded.ToString()) + { + break; + } + + Thread.Sleep(checkFrequency); + } + + return response; + } + + internal IList GetCreatedJobs(AzurePSBackupVault vault, IList jobIds) + { + IList jobs = new List(); + + foreach (string jobId in jobIds) + { + CSMJobDetailsResponse job = AzureBackupClient.GetJobDetails(jobId); + jobs.Add(new AzureBackupJob(vault, job.JobDetailedProperties, job.Name)); + } + + return jobs; + } } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs index 7d8dd45e1b4b..5d7d6397049d 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs @@ -22,10 +22,75 @@ internal static class AzureBackupCmdletHelpMessage public const string Location = "The resource location."; public const string TargetLocation = "The directory where the credentials file will be saved. This must be an absolute path."; public const string StorageType = "The vault back-end storage type."; + + public const string PolicyName = "The protection policy name."; + public const string ResourceTags = "A hash table which represents resource tags."; public const string ManagedResourceName = "The resource name of the resource being managed by the Azure Backup service (ex: resource name of the VM)."; - public const string ManagedResourceGroupName = "The resource group name of the resource being managed by the Azure Backup service (ex: resource group name of the VM)."; + public const string ContainerId = "The container ID."; public const string ContainerRegistrationStatus = "The container registration status."; public const string ContainerType = "The container type."; + + public const string JobFilterJobIdHelpMessage = "The job ID to filter jobs"; + public const string JobFilterJobHelpMessage = "The job for filtering"; + public const string JobFilterStartTimeHelpMessage = "The start time of query range"; + public const string JobFilterEndTimeHelpMessage = "The end time of query range"; + public const string JobFilterOperationHelpMessage = "The operation for filtering jos"; + public const string JobFilterStatusHelpMessage = "The status for filtering jobs"; + public const string JobFitlerVaultHelpMessage = "The vault of which jobs have to be filtered"; + public const string JobFilterTypeHelpMessage = "The type of workload whose jobs have to be filtered"; + + public const string JobDetailsFilterJobIdHelpMessage = "The job ID to get details"; + public const string JobDetailsFilterVaultHelpMessage = "The vault of which job details should be fetched"; + public const string JobDetailsFilterJobHelpMessage = "The job whose full details should be fetched"; + + public const string StopJobFilterJobIdHelpMessage = "The job ID to stop job"; + public const string StopJobFilterVaultHelpMessage = "The vault of which a job has to be stopped"; + public const string StopJobFilterJobHelpMessage = "The job which should be stopped"; + + public const string WaitJobFilterJobIdHelpMessage = "The job ID to stop job"; + public const string WaitJobFilterVaultHelpMessage = "The vault of which a job has to be stopped"; + public const string WaitJobFilterJobHelpMessage = "The job which should be stopped"; + public const string WaitJobFilterTimeoutHelpMessage = "Maximum number of seconds for which cmdlet should wait before job(s) complete running."; + + public const string VirtualMachine = "Virtual Machine."; + public const string ManagedResourceGroupName = "The resource group name of the resource being managed by the Azure Backup service (ex: resource group name of the VM)."; + public const string ProtectionStatus = "Protection Status of the azure backup item."; + public const string AzureBackUpItem = "Azure BackUp Item."; + public const string RecoveryPointId = "Recovery Point Id."; + public const string StorageAccountName = "Storage Account Name."; + public const string AzureBackUpRecoveryPoint = "Recovery Point."; + public const string Type = "Type of Azure Backup Item."; + public const string Status = "Status of Azure Backup Item"; public const string AzureBackupContainer = "Azure Backup Container for Azure Backup Item."; + public const string AzureBackupItem = "Azure Backup Item for enabling protection"; + public const string RemoveProtectionOption = "Remove Protection Option"; + public const string Reason = "Reson for removing protection"; + public const string Comments = "Comments for for removing protection"; + public const string WorkloadType = "Workload type for which the policy is defined."; + public const string BackupType = "Type of backup."; + public const string DailyScheduleType = "Switch parameter for daily backup schedule."; + public const string WeeklyScheduleType = "Switch parameter for weekly backup schedule."; + public const string ScheduleRunDays = "Days of week for running backup, required for weekly schedule."; + public const string ScheduleRunTimes = "Times of day in UTC for running backup."; + public const string RetentionType = "Unit of retention for the recovery point."; + public const string RententionDuration = "Duration of retention for the recovery point in units specified by RetentionType."; + public const string PolicyNewName = "Policy new name"; + public const string AzureBackupPolicy = "Azure Backup protection policy"; + public const string VMName = "Azure VM name to be register"; + public const string ServiceName = "Cloud service name of Azure VM to be register"; + public const string RGName = "Resource Group name of Azure VM to be register"; + public const string AzureBackupContainerToUnregister = "Azure Backup Container tobe unregister."; + public const string RetentionPolicyList = "List of Retention Policies to be associated with protection policy."; + public const string DailyRetention = "Switch param for Daily Retention"; + public const string WeeklyRetention = "Switch param for Daily Retention"; + public const string MonthlyRetentionInDailyFormat = "Switch param for MonthlyRetentionInDailyFormat"; + public const string MonthlyRetentionInWeeklyFormat = "Switch param for MonthlyRetentionInWeeklyFormat"; + public const string YearlyRetentionInDailyFormat = "Switch param for YearlyRetentionInDailyFormat"; + public const string YearlyRetentionInWeeklyFormat = "Switch param for YearlyRetentionInWeeklyFormat"; + public const string DaysOfWeek = "List of Days of Week"; + public const string DaysOfMonth = "List of Days of Month"; + public const string WeekNumber = "List of Week Numbers of the month"; + public const string MonthsOfYear = "List of Months of the year"; + public const string Retention = "Retntion duration value"; } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupDSCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupDSCmdletBase.cs new file mode 100644 index 000000000000..aec5d07b3836 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupDSCmdletBase.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + public abstract class AzureBackupDSCmdletBase : AzureBackupCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackUpItem, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public AzureBackupItem Item { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + WriteDebug(String.Format("Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}", Item.ResourceGroupName, Item.ResourceName)); + + InitializeAzureBackupCmdlet(Item.ResourceGroupName, Item.ResourceName); + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupItemCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupItemCmdletBase.cs new file mode 100644 index 000000000000..a08fe6208834 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupItemCmdletBase.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + public abstract class AzureBackupItemCmdletBase : AzureBackupCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackupItem, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public AzureBackupContainerContextObject Item { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + WriteDebug(String.Format("Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}", Item.ResourceGroupName, Item.ResourceName, Item.Location)); + InitializeAzureBackupCmdlet(Item.ResourceGroupName, Item.ResourceName); + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupPolicyCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupPolicyCmdletBase.cs new file mode 100644 index 000000000000..46823713a2ff --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupPolicyCmdletBase.cs @@ -0,0 +1,49 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + public abstract class AzureBackupPolicyCmdletBase : AzureBackupCmdletBase + { + // ToDO: + // Correct Help message and other attributes related to paameters + [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackupPolicy, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public AzureBackupProtectionPolicy ProtectionPolicy { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + WriteDebug(String.Format("Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}", + ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Location)); + + InitializeAzureBackupCmdlet(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/TriggerBackUp.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/TriggerBackUp.cs new file mode 100644 index 000000000000..a7737e7bdbc1 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/TriggerBackUp.cs @@ -0,0 +1,48 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using MBS = Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get list of containers + /// + [Cmdlet(VerbsData.Backup, "AzureBackupItem"), OutputType(typeof(AzureBackupJob))] + public class TriggerAzureBackup : AzureBackupDSCmdletBase + { + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + WriteDebug("Making client call"); + Guid operationId = AzureBackupClient.TriggerBackup(Item.ContainerUniqueName, Item.ItemName); + + WriteDebug(string.Format("Triggered backup. Converting response {0}", operationId)); + + var operationStatus = TrackOperation(operationId); + WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location), operationStatus.JobList).FirstOrDefault()); + }); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs index fd5bcb2d6b3c..aee8e7157ec0 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs @@ -28,9 +28,17 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of containers /// - [Cmdlet(VerbsCommon.Get, "AzureBackupContainer"), OutputType(typeof(List))] + [Cmdlet(VerbsCommon.Get, "AzureBackupContainer"), OutputType(typeof(AzureBackupContainer), typeof(List))] public class GetAzureBackupContainer : AzureBackupVaultCmdletBase { + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceGroupName)] + [ValidateNotNullOrEmpty] + public string ManagedResourceGroupName { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ContainerRegistrationStatus)] + [ValidateNotNullOrEmpty] + public AzureBackupContainerStatusInput Status { get; set; } + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceName)] [ValidateNotNullOrEmpty] public string Name { get; set; } @@ -46,6 +54,7 @@ public override void ExecuteCmdlet() base.ExecuteCmdlet(); List containers = new List(); + bool uniqueContainer = false; switch (Type) { @@ -53,11 +62,24 @@ public override void ExecuteCmdlet() case AzureBackupContainerType.SCDPM: containers.AddRange(GetMachineContainers()); break; + case AzureBackupContainerType.AzureVM: + uniqueContainer = GetManagedContainers(containers); + break; default: break; } - WriteObject(containers); + if (uniqueContainer) + { + if (containers.Any()) + { + WriteObject(containers.First()); + } + } + else + { + WriteObject(containers); + } }); } @@ -78,5 +100,79 @@ private List GetMachineContainers() return new AzureBackupContainer(Vault, marsContainerResponse); }).Where(container => container.ContainerType == Type.ToString()).ToList(); } + + private bool GetManagedContainers(List managedContainers) + { + ContainerQueryParameters parameters = new ContainerQueryParameters(); + parameters.ContainerType = ManagedContainerType.IaasVM.ToString(); + parameters.FriendlyName = Name; + if (Status != 0) + { + parameters.Status = Status.ToString(); + } + var containerList = AzureBackupClient.ListContainers(parameters); + + WriteDebug(string.Format("Fetched {0} containers", containerList.Count())); + + List containerInfos = containerList.ToList(); + + // When resource group name is specified, remove all containers whose resource group name + // doesn't match the given resource group name + if (!string.IsNullOrEmpty(ManagedResourceGroupName)) + { + containerInfos.RemoveAll(containerInfo => + { + string rgName = ContainerHelpers.GetRGNameFromId(containerInfo.Properties.ParentContainerId); + return rgName != ManagedResourceGroupName; + }); + WriteDebug(string.Format("Count of containers after resource group filter = {0}", containerInfos.Count)); + } + + // TODO: Container friendly name is not captures in Container response + // BUG: Friendly name was previously assigned to ResourceName (vault name) + List containers = containerInfos.ConvertAll(containerInfo => + { + return new AzureBackupContainer(Vault, containerInfo); + }); + managedContainers.AddRange(containers); + + // When container resource name and container resource group name are specified, this parameter set + // identifies a container uniquely. Thus, we return just one container instead of a list. + return !string.IsNullOrEmpty(Name) & !string.IsNullOrEmpty(ManagedResourceGroupName); + } + + private string ConstructQueryFilterString() + { + var containerQueryObject = new ListContainerQueryParameter(); + + switch (Type) + { + case AzureBackupContainerType.AzureVM: + containerQueryObject.ContainerTypeField = ManagedContainerType.IaasVM.ToString(); + break; + default: + break; + } + + switch (Status) + { + case AzureBackupContainerStatusInput.Registered: + containerQueryObject.ContainerStatusField = AzureBackupContainerRegistrationStatus.Registered.ToString(); + break; + case AzureBackupContainerStatusInput.Registering: + containerQueryObject.ContainerStatusField = AzureBackupContainerRegistrationStatus.Registering.ToString(); + break; + default: + break; + } + + if (!string.IsNullOrEmpty(Name)) + { + containerQueryObject.ContainerFriendlyNameField = Name; + } + + return ContainerHelpers.GetQueryFilter(containerQueryObject); + } } } + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureBackupContainer.cs new file mode 100644 index 000000000000..88740f7819f1 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureBackupContainer.cs @@ -0,0 +1,190 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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.Web; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Linq; +using System.Management.Automation; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Azure.Management.BackupServices.Models; +using MBS = Microsoft.Azure.Management.BackupServices; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using Microsoft.Azure.Commands.AzureBackup.Models; +using Microsoft.Azure.Commands.AzureBackup.Helpers; +using Microsoft.Azure.Management.BackupServices; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get list of containers + /// + [Cmdlet(VerbsLifecycle.Register, "AzureBackupContainer", DefaultParameterSetName = V1VMParameterSet), OutputType(typeof(AzureBackupJob))] + public class RegisterAzureBackupContainer : AzureBackupVaultCmdletBase + { + internal const string V1VMParameterSet = "V1VM"; + internal const string V2VMParameterSet = "V2VM"; + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V1VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.VMName)] + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V2VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.VMName)] + public string Name { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V1VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.ServiceName)] + public string ServiceName { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V2VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.RGName)] + public string ResourceGroupName { get; set; } + + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + string vmName = String.Empty; + string rgName = String.Empty; + string ServiceOrRG = String.Empty; + + if(this.ParameterSetName == V1VMParameterSet) + { + vmName = Name; + rgName = ServiceName; + WriteDebug(String.Format("Registering ARM-V1 VM, VMName: {0}, CloudServiceName: {1}", vmName, rgName)); + ServiceOrRG = "CloudServiceName"; + } + else if(this.ParameterSetName == V2VMParameterSet) + { + vmName = Name; + rgName = ResourceGroupName; + WriteDebug(String.Format("Registering ARM-V2 VM, VMName: {0}, ResourceGroupName: {1}", vmName, rgName)); + ServiceOrRG = "ResourceGroupName"; + } + + else + { + throw new PSArgumentException("Please make sure you have pass right set of parameters"); //TODO: PM scrub needed + } + + Guid jobId = Guid.Empty; + bool isDiscoveryNeed = false; + + CSMContainerResponse container = null; + isDiscoveryNeed = IsDiscoveryNeeded(vmName, rgName, out container); + if(isDiscoveryNeed) + { + WriteDebug(String.Format("VM {0} is not yet discovered. Triggering Discovery", vmName)); + RefreshContainer(); + isDiscoveryNeed = IsDiscoveryNeeded(vmName, rgName, out container); + if ((isDiscoveryNeed == true) || (container == null)) + { + //Container is not discovered. Throw exception + string errMsg = String.Format("Failed to discover VM {0} under {1} {2}. Please make sure names are correct and VM is not deleted", vmName, ServiceOrRG, rgName); + WriteDebug(errMsg); + ThrowTerminatingError(new ErrorRecord(new Exception(Resources.AzureVMNotFound), string.Empty, ErrorCategory.InvalidArgument, null)); + } + } + + //Container is discovered. Register the container + WriteDebug(String.Format("Going to register VM {0}", vmName)); + var operationId = AzureBackupClient.RegisterContainer(container.Name); + + var operationStatus = GetOperationStatus(operationId); + WriteObject(GetCreatedJobs(Vault, operationStatus.JobList).FirstOrDefault()); + }); + } + + private void RefreshContainer() + { + bool isRetryNeeded = true; + int retryCount = 1; + bool isDiscoverySuccessful = false; + string errorMessage = string.Empty; + while (isRetryNeeded && retryCount <= 3) + { + var operationId = AzureBackupClient.RefreshContainers(); + + //Now wait for the operation to Complete + isRetryNeeded = WaitForDiscoveryToComplete(operationId, out isDiscoverySuccessful, out errorMessage); + retryCount++; + } + + if (!isDiscoverySuccessful) + { + ThrowTerminatingError(new ErrorRecord(new Exception(errorMessage), string.Empty, ErrorCategory.InvalidArgument, null)); + } + } + + private bool WaitForDiscoveryToComplete(Guid operationId, out bool isDiscoverySuccessful, out string errorMessage) + { + bool isRetryNeeded = false; + var status = TrackOperation(operationId); + errorMessage = String.Empty; + + isDiscoverySuccessful = true; + //If operation fails check if retry is needed or not + if (status.Status != CSMAzureBackupOperationStatus.Succeeded.ToString()) + { + isDiscoverySuccessful = false; + errorMessage = status.Error.Message; + WriteDebug(String.Format("Discovery operation failed with ErrorCode: {0}", status.Error.Code)); + if ((status.Error.Code == AzureBackupOperationErrorCode.DiscoveryInProgress.ToString() || + (status.Error.Code == AzureBackupOperationErrorCode.BMSUserErrorObjectLocked.ToString()))) + { + //Need to retry for this errors + isRetryNeeded = true; + WriteDebug(String.Format("Going to retry Discovery if retry count is not exceeded")); + } + } + return isRetryNeeded; + } + + private bool IsDiscoveryNeeded(string vmName, string rgName, out CSMContainerResponse container) + { + bool isDiscoveryNeed = false; + //First check if container is discoverd or not + ContainerQueryParameters parameters = new ContainerQueryParameters() + { + ContainerType = ManagedContainerType.IaasVM.ToString(), + FriendlyName = vmName, + }; + + var containers = AzureBackupClient.ListContainers(parameters); + WriteDebug(String.Format("Container count returned from service: {0}.", containers.Count())); + if (containers.Count() == 0) + { + //Container is not discover + WriteDebug("Container is not discovered"); + container = null; + isDiscoveryNeed = true; + } + + else + { + //We can have multiple container with same friendly name. + container = containers.Where(c => ContainerHelpers.GetRGNameFromId(c.Properties.ParentContainerId).Equals(rgName.ToLower())).FirstOrDefault(); //TODO need to change. + if (container == null) + { + //Container is not in list of registered container + WriteDebug(String.Format("Desired Container is not found. Returning with isDiscoveryNeed = true")); + isDiscoveryNeed = true; + } + } + return isDiscoveryNeed; + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs index 9b02d0e5530a..375cc92f99ab 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs @@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of containers /// - [Cmdlet(VerbsLifecycle.Unregister, "AzureBackupContainer")] + [Cmdlet(VerbsLifecycle.Unregister, "AzureBackupContainer"), OutputType(typeof(AzureBackupJob))] public class UnregisterAzureBackupContainer : AzureBackupContainerCmdletBase { private PowerShellCustomConfirmation customerConfirmation; @@ -73,5 +73,13 @@ private void DeleteServer() AzureBackupClient.UnregisterMachineContainer(Container.Id); } } + + private void UnregisterContianer() + { + string containerUniqueName = Container.ContainerUniqueName; + var operationId = AzureBackupClient.UnRegisterContainer(containerUniqueName); + + WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(Container.ResourceGroupName, Container.ResourceName, Container.Location), GetOperationStatus(operationId).JobList).FirstOrDefault()); + } } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureBackupProtection .cs new file mode 100644 index 000000000000..5d300ea808a9 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureBackupProtection .cs @@ -0,0 +1,80 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.AzureBackup.Models; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Runtime.Serialization; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets.DataSource +{ + /// + /// Disable Azure Backup protection + /// + [Cmdlet(VerbsLifecycle.Disable, "AzureBackupProtection"), OutputType(typeof(string))] + public class DisableAzureBackupProtection : AzureBackupDSCmdletBase + { + [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RemoveProtectionOption)] + public SwitchParameter RemoveRecoveryPoints + { + get { return DeleteBackupData; } + set { DeleteBackupData = value; } + } + private bool DeleteBackupData; + + [Parameter(Position = 2, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Reason)] + public string Reason { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Comments)] + public string Comments { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + Guid operationId = Guid.Empty; + WriteDebug("Making client call"); + + if(!this.DeleteBackupData) + { + //Calling update protection with policy Id as empty. + CSMUpdateProtectionRequest input = new CSMUpdateProtectionRequest() + { + Properties = new CSMUpdateProtectionRequestProperties(string.Empty) + }; + + operationId = AzureBackupClient.UpdateProtection(Item.ContainerUniqueName, Item.ItemName, input); + } + + else + { + //Calling disable protection + operationId = AzureBackupClient.DisableProtection(Item.ContainerUniqueName, Item.ItemName); + } + + + WriteDebug("Received disable azure backup protection response"); + var operationStatus = GetOperationStatus(operationId); + this.WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location), operationStatus.JobList).FirstOrDefault()); + }); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureBackupProtection .cs new file mode 100644 index 000000000000..6dadca2d1554 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureBackupProtection .cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using MBS = Microsoft.Azure.Management.BackupServices; +using System.Runtime.Serialization; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Enable Azure Backup protection + /// + [Cmdlet(VerbsLifecycle.Enable, "AzureBackupProtection"), OutputType(typeof(string))] + public class EnableAzureBackupProtection : AzureBackupItemCmdletBase + { + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)] + [ValidateNotNullOrEmpty] + public AzureBackupProtectionPolicy Policy { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + WriteDebug("Making client call"); + string itemName = string.Empty; + + CSMSetProtectionRequest input = new CSMSetProtectionRequest(); + input.Properties = new CSMSetProtectionRequestProperties(); + input.Properties.PolicyId = Policy.PolicyId; + + if (Item.GetType() == typeof(AzureBackupItem)) + { + itemName = (Item as AzureBackupItem).ItemName; + } + + else if (Item.GetType() == typeof(AzureBackupContainer)) + { + WriteDebug("Input is container Type = " + Item.GetType()); + if ((Item as AzureBackupContainer).ContainerType == ManagedContainerType.IaasVM.ToString()) + { + itemName = (Item as AzureBackupContainer).ContainerUniqueName; + } + else + { + throw new Exception("Uknown item type"); + } + } + + else + { + throw new Exception("Uknown item type"); + } + + var operationId = AzureBackupClient.EnableProtection(Item.ContainerUniqueName,itemName, input); + WriteDebug("Received enable azure backup protection response"); + + var operationStatus = GetOperationStatus(operationId); + this.WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location), operationStatus.JobList).FirstOrDefault()); + }); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureBackupItem.cs new file mode 100644 index 000000000000..bc818dc7bd41 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureBackupItem.cs @@ -0,0 +1,131 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using System.Runtime.Serialization; +using System.Collections.Specialized; +using Microsoft.Azure.Common.OData; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get list of azure backup items + /// + [Cmdlet(VerbsCommon.Get, "AzureBackupItem"), OutputType(typeof(AzureBackupItem), typeof(List))] + public class GetAzureBackupItem : AzureBackupContainerCmdletBase + { + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ProtectionStatus)] + [ValidateSet("Protected","Protecting","NotProtected")] + public string ProtectionStatus { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Status)] + [ValidateSet("IRPending", "ProtectionStopped", "ProtectionError", "Protected")] + public string Status { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Type)] + [ValidateSet("VM")] + public string Type { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + List azureBackupDatasourceObjects = null; + List azureBackupPOObjects = null; + + WriteDebug("Making client call"); + CSMProtectedItemQueryObject DSQueryParam = new CSMProtectedItemQueryObject() + { + ProtectionStatus = this.ProtectionStatus, + Status = this.Status, + Type = this.Type + }; + + CSMItemQueryObject POQueryParam = new CSMItemQueryObject() + { + Status = this.ProtectionStatus, + Type = this.Type + }; + + var azureBackupDatasourceListResponse = AzureBackupClient.ListDataSources(DSQueryParam); + + if (azureBackupDatasourceListResponse != null) + { + azureBackupDatasourceObjects = azureBackupDatasourceListResponse.Where(x => x.Properties.ContainerId.Split('/').Last().Equals(Container.ContainerUniqueName, System.StringComparison.InvariantCultureIgnoreCase)).ToList(); + } + + if (this.Status == null) + { + var azureBackupPOListResponse = AzureBackupClient.ListProtectableObjects(POQueryParam); + if (azureBackupPOListResponse != null) + { + azureBackupPOObjects = azureBackupPOListResponse.Where(x => x.Properties.ContainerId.Split('/').Last().Equals(Container.ContainerUniqueName, System.StringComparison.InvariantCultureIgnoreCase)).ToList(); + } + } + + WriteDebug("Received azure backup item response"); + WriteAzureBackupItem(azureBackupDatasourceObjects, azureBackupPOObjects, Container); + }); + } + + public void WriteAzureBackupItem(CSMProtectedItemResponse sourceItem, AzureBackupContainer azureBackupItem) + { + this.WriteObject(new AzureBackupItem(sourceItem, azureBackupItem)); + } + + public void WriteAzureBackupItem(List sourceDataSourceList, List sourcePOList, AzureBackupContainer azureBackupContainer) + { + List targetList = new List(); + + if (sourceDataSourceList != null) + { + foreach (var item in sourceDataSourceList) + { + targetList.Add(new AzureBackupItem(item, azureBackupContainer)); + } + } + + if (sourcePOList != null) + { + foreach (var item in sourcePOList) + { + //If user has stopped protection for some datasoure then we will have duplicate items(po and ds). + //So in this case removing po items from the list. + if (targetList.FindIndex(element => element.ItemName == item.Name) < 0) + { + targetList.Add(new AzureBackupItem(item, azureBackupContainer)); + } + } + } + + if (targetList.Count() == 1) + { + this.WriteObject(targetList.First(), true); + } + else + { + this.WriteObject(targetList, true); + } + } + + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/AzureBackupJobHelper.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/AzureBackupJobHelper.cs new file mode 100644 index 000000000000..f014ad459864 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/AzureBackupJobHelper.cs @@ -0,0 +1,88 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; + + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + public enum JobStatus + { + Invalid = 0, + + InProgress, + + Completed, + + Failed, + + CompletedWithWarnings, + + Cancelled, + + Cancelling + } + + public enum JobOperationType + { + Invalid = 0, + + Register, + + ConfigureBackup, + + Backup, + + Restore, + + UnProtect, + + DeleteBackupData, + + Unregister + } + + public static class AzureBackupJobHelper + { + public static bool IsValidStatus(string inputStatus) + { + JobStatus status; + if(!Enum.TryParse(inputStatus, out status) || status == JobStatus.Invalid) + { + return false; + } + return true; + } + + public static bool IsValidOperationType(string inputOperationType) + { + JobOperationType operationType; + if(!Enum.TryParse(inputOperationType, out operationType) || operationType == JobOperationType.Invalid) + { + return false; + } + return true; + } + + public static bool IsJobRunning(string status) + { + return ((status.CompareTo("InProgress") == 0) || (status.CompareTo("Cancelling") == 0)); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureBackupJob.cs new file mode 100644 index 000000000000..9940d2d4fd08 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureBackupJob.cs @@ -0,0 +1,161 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using System.Web; +using Microsoft.Azure.Management.BackupServices; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get list of jobs pertaining to the filters specified. Gets list of all jobs created in the last 24 hours if no filters are specified. + /// + [Cmdlet(VerbsCommon.Get, "AzureBackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(List), typeof(AzureBackupJob))] + public class GetAzureBackupJob : AzureBackupCmdletBase + { + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "FiltersSet", ValueFromPipeline = true)] + [ValidateNotNull] + public AzurePSBackupVault Vault { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterJobIdHelpMessage, ParameterSetName = "FiltersSet")] + [ValidateNotNullOrEmpty] + public string JobId { get; set; } + + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterJobHelpMessage, ParameterSetName = "JobsListFilter")] + [ValidateNotNull] + public AzureBackupJob Job { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterStartTimeHelpMessage, ParameterSetName = "FiltersSet")] + [ValidateNotNull] + public DateTime? From { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterEndTimeHelpMessage, ParameterSetName = "FiltersSet")] + [ValidateNotNull] + public DateTime? To { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterStatusHelpMessage, ParameterSetName = "FiltersSet")] + [ValidateSet("Cancelled", "Cancelling", "Completed", "CompletedWithWarnings", "Failed", "InProgress")] + public string Status { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterTypeHelpMessage, ParameterSetName = "FiltersSet")] + [ValidateSet("VM")] + public string Type { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterOperationHelpMessage, ParameterSetName = "FiltersSet")] + [ValidateSet("Backup", "ConfigureBackup", "DeleteBackupData", "Register", "Restore", "UnProtect", "Unregister")] + public string Operation { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + if (Job != null) + { + Vault = new AzurePSBackupVault(Job.ResourceGroupName, Job.ResourceName, Job.Location); + } + + InitializeAzureBackupCmdlet(Vault); + + if (Job != null) + { + JobId = Job.InstanceId; + } + + // validations + if (!From.HasValue) + { + WriteDebug("Setting StartTime to min value."); + From = new DateTime(); + From = DateTime.MinValue; + } + + if (To.HasValue && To.Value <= From.Value) + { + throw new Exception("StartTime should be greater than EndTime."); + } + else + { + if (From != DateTime.MinValue) + { + WriteDebug("End time not set. Setting it to current time."); + To = DateTime.Now; + } + else + { + WriteDebug("Setting EndTime to min value."); + To = new DateTime(); + To = DateTime.MinValue; + } + } + + From = TimeZoneInfo.ConvertTimeToUtc(From.Value); + To = TimeZoneInfo.ConvertTimeToUtc(To.Value); + + // if user hasn't specified any filters, then default filter fetches + // all jobs that were created in last 24 hours. + if (From == DateTime.MinValue && To == DateTime.MinValue && + string.IsNullOrEmpty(Operation) && string.IsNullOrEmpty(Status) && + string.IsNullOrEmpty(Type) && string.IsNullOrEmpty(JobId)) + { + From = DateTime.UtcNow.AddDays(-1); + To = DateTime.UtcNow; + } + + WriteDebug("StartTime filter is: " + System.Uri.EscapeDataString(From.Value.ToString("yyyy-MM-dd hh:mm:ss tt"))); + WriteDebug("EndTime filter is: " + System.Uri.EscapeDataString(To.Value.ToString("yyyy-MM-dd hh:mm:ss tt"))); + WriteDebug("Operation filter is: " + Operation); + WriteDebug("Status filter is: " + Status); + WriteDebug("Type filter is: " + Type); + WriteDebug("JobID filter is: " + JobId); + + Mgmt.CSMJobQueryObject queryParams = new Mgmt.CSMJobQueryObject() + { + StartTime = From.Value.ToString("yyyy-MM-dd hh:mm:ss tt"), + EndTime = To.Value.ToString("yyyy-MM-dd hh:mm:ss tt"), + Operation = Operation, + Status = Status, + WorkloadType = Type, + Name = JobId + }; + + var jobsList = AzureBackupClient.ListJobs(queryParams); + List retrievedJobs = new List(); + + foreach (Mgmt.CSMJobResponse serviceJob in jobsList) + { + // TODO: Initialize vault from Job object when vault is made optional + retrievedJobs.Add(new AzureBackupJob(Vault, serviceJob.Properties, serviceJob.Name)); + } + + WriteDebug("Successfully retrieved all jobs. Number of jobs retrieved: " + retrievedJobs.Count()); + + if (retrievedJobs.Count == 1) + { + WriteObject(retrievedJobs.First()); + } + else + { + WriteObject(retrievedJobs); + } + }); + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureBackupJobDetails.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureBackupJobDetails.cs new file mode 100644 index 000000000000..19cf95ce8a53 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureBackupJobDetails.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get full details of a job + /// + [Cmdlet(VerbsCommon.Get, "AzureBackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureBackupJobDetails))] + public class GetAzureBackupJobDetils : AzureBackupCmdletBase + { + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")] + [ValidateNotNull] + public AzurePSBackupVault Vault { get; set; } + + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.JobDetailsFilterJobIdHelpMessage, ParameterSetName = "IdFiltersSet")] + [ValidateNotNullOrEmpty] + public string JobID { get; set; } + + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.JobDetailsFilterJobHelpMessage, ParameterSetName = "JobsFiltersSet", ValueFromPipeline = true)] + [ValidateNotNull] + public AzureBackupJob Job { get; set; } + + public override void ExecuteCmdlet() + { + if (Job != null) + { + Vault = new AzurePSBackupVault(Job.ResourceGroupName, Job.ResourceName, Job.Location); + } + InitializeAzureBackupCmdlet(Vault); + + ExecutionBlock(() => + { + if (Job != null) + { + JobID = Job.InstanceId; + } + + WriteDebug("JobID filter is: " + JobID); + + Mgmt.CSMJobDetailsResponse serviceJobProperties = AzureBackupClient.GetJobDetails(JobID); + AzureBackupJobDetails jobDetails = new AzureBackupJobDetails(Vault, serviceJobProperties.JobDetailedProperties, serviceJobProperties.Name); + + WriteDebug("Retrieved JobDetails from service."); + WriteObject(jobDetails); + }); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureBackukpJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureBackukpJob.cs new file mode 100644 index 000000000000..3a2ff64bdcec --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureBackukpJob.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices; +using System.Threading.Tasks; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Stop a running cancellable job + /// + [Cmdlet("Stop", "AzureBackupJob")] + public class StopAzureBackupJob : AzureBackupCmdletBase + { + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")] + [ValidateNotNull] + public AzurePSBackupVault Vault { get; set; } + + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StopJobFilterJobIdHelpMessage, ParameterSetName = "IdFiltersSet")] + [ValidateNotNullOrEmpty] + public string JobID { get; set; } + + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StopJobFilterJobHelpMessage, ParameterSetName = "JobFiltersSet", ValueFromPipeline = true)] + [ValidateNotNull] + public AzureBackupJob Job { get; set; } + + public override void ExecuteCmdlet() + { + if (Job != null) + { + Vault = new AzurePSBackupVault(Job.ResourceGroupName, Job.ResourceName, Job.Location); + } + + InitializeAzureBackupCmdlet(Vault); + + ExecutionBlock(() => + { + if (Job != null) + { + JobID = Job.InstanceId; + } + + WriteDebug("JobID is: " + JobID); + Guid cancelTaskId = AzureBackupClient.TriggerCancelJob(JobID); + CSMOperationResult opResponse = TrackOperation(cancelTaskId); + + if (opResponse.Status == CSMAzureBackupOperationStatus.Succeeded.ToString()) + { + WriteDebug("Triggered cancellation of job with JobID: " + JobID); + } + else + { + throw new Exception("Stop Job failed with ErrorCode: " + opResponse.Error.Code); + } + }); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureBackupJob.cs new file mode 100644 index 000000000000..c54c8ae5eebf --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureBackupJob.cs @@ -0,0 +1,156 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + [Cmdlet("Wait", "AzureBackupJob"), OutputType(typeof(List), typeof(AzureBackupJob))] + public class WaitAzureBackupJob : AzureBackupCmdletBase + { + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WaitJobFilterJobHelpMessage, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public object Job { get; set; } + + [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.WaitJobFilterTimeoutHelpMessage)] + [ValidateRange(1, Int64.MaxValue)] + public long? TimeOut { get; set; } + + public override void ExecuteCmdlet() + { + List specifiedJobs = new List(); + AzurePSBackupVault Vault = null; + + if (Job != null) + { + if ((Job is PSObject) && (((PSObject)Job).ImmediateBaseObject is List)) + { + foreach (AzureBackupJob jobToWait in (((PSObject)Job).ImmediateBaseObject as List)) + { + Vault = new AzurePSBackupVault(jobToWait.ResourceGroupName, jobToWait.ResourceName, jobToWait.Location); + specifiedJobs.Add(jobToWait.InstanceId); + } + } + else if (Job is List) + { + WriteDebug("Type of input paramter is List second case"); + foreach (AzureBackupJob jobToWait in (Job as List)) + { + Vault = new AzurePSBackupVault(jobToWait.ResourceGroupName, jobToWait.ResourceName, jobToWait.Location); + specifiedJobs.Add(jobToWait.InstanceId); + } + } + else if ((Job is PSObject) && (((PSObject)Job).ImmediateBaseObject is AzureBackupJob)) + { + AzureBackupJob azureJob = ((Job as PSObject).ImmediateBaseObject as AzureBackupJob); + Vault = new AzurePSBackupVault(azureJob.ResourceGroupName, azureJob.ResourceName, azureJob.Location); + specifiedJobs.Add(azureJob.InstanceId); + } + else if (Job is AzureBackupJob) + { + Vault = new AzurePSBackupVault((Job as AzureBackupJob).ResourceGroupName, (Job as AzureBackupJob).ResourceName, (Job as AzureBackupJob).Location); + specifiedJobs.Add((Job as AzureBackupJob).InstanceId); + } + else if ((Job is PSObject) && (((PSObject)Job).ImmediateBaseObject is AzureBackupJobDetails)) + { + AzureBackupJob azureJob = ((Job as PSObject).ImmediateBaseObject as AzureBackupJobDetails); + Vault = new AzurePSBackupVault(azureJob.ResourceGroupName, azureJob.ResourceName, azureJob.Location); + specifiedJobs.Add(azureJob.InstanceId); + } + else if (Job is AzureBackupJobDetails) + { + Vault = new AzurePSBackupVault((Job as AzureBackupJobDetails).ResourceGroupName, (Job as AzureBackupJobDetails).ResourceName, (Job as AzureBackupJobDetails).Location); + specifiedJobs.Add((Job as AzureBackupJobDetails).InstanceId); + } + } + + WriteDebug("Number of jobs to wait on: " + specifiedJobs.Count); + + if (specifiedJobs.Count == 0) + { + WriteDebug("No jobs to wait on. Quitting."); + return; + } + + InitializeAzureBackupCmdlet(Vault); + + ExecutionBlock(() => + { + if (!TimeOut.HasValue) + { + TimeOut = new long(); + TimeOut = Int64.MaxValue; + } + + List pendingJobs = new List(specifiedJobs); + DateTime waitingStartTime = DateTime.UtcNow; + + while (true) + { + WriteDebug("In loop querying jobs"); + + if (DateTime.UtcNow.Subtract(waitingStartTime).TotalSeconds >= TimeOut) + { + WriteDebug("Exiting due to timeout."); + break; + } + + bool areJobsRunning = false; + + for (int i = 0; i < pendingJobs.Count; i++) + { + Mgmt.CSMJobDetailsResponse retrievedJob = AzureBackupClient.GetJobDetails(pendingJobs[i]); + if (AzureBackupJobHelper.IsJobRunning(retrievedJob.JobDetailedProperties.Status)) + areJobsRunning = true; + else + { + pendingJobs.RemoveAt(i); + i--; + } + } + + if (!areJobsRunning) + { + WriteDebug("Exiting because all jobs have finished running."); + break; + } + + System.Threading.Thread.Sleep(30 * 1000); + } + + IList finalJobs = new List(); + foreach(string jobId in specifiedJobs) + { + Mgmt.CSMJobDetailsResponse retrievedJob = AzureBackupClient.GetJobDetails(jobId); + finalJobs.Add(new AzureBackupJob(Vault, retrievedJob.JobDetailedProperties, retrievedJob.Name)); + } + + if (finalJobs.Count == 1) + { + WriteObject(finalJobs.First()); + } + else + { + WriteObject(finalJobs); + } + }); + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureBackupProtectionPolicy.cs new file mode 100644 index 000000000000..b6a9205c5bac --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureBackupProtectionPolicy.cs @@ -0,0 +1,56 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; +using Microsoft.Azure.Commands.AzureBackup.Helpers; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get list of protection policies + /// + [Cmdlet(VerbsCommon.Get, "AzureBackupProtectionPolicy"), OutputType(typeof(AzureBackupProtectionPolicy), typeof(List))] + public class GetAzureBackupProtectionPolicy : AzureBackupVaultCmdletBase + { + [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + if (Name != null) + { + var policyInfo = AzureBackupClient.GetProtectionPolicyByName(Name); + WriteObject(ProtectionPolicyHelpers.GetCmdletPolicy(Vault, policyInfo)); + } + else + { + var policyObjects = AzureBackupClient.ListProtectionPolicies(); + WriteObject(ProtectionPolicyHelpers.GetCmdletPolicies(Vault, policyObjects)); + } + }); + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureBackupProtectionPolicy.cs new file mode 100644 index 000000000000..0bab55e5305e --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureBackupProtectionPolicy.cs @@ -0,0 +1,101 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Helpers; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Create new protection policy + /// + [Cmdlet(VerbsCommon.New, "AzureBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureBackupProtectionPolicy))] + public class NewAzureBackupProtectionPolicy : AzureBackupVaultCmdletBase + { + protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet"; + protected const string DailyScheduleParamSet = "DailyScheduleParamSet"; + protected const string NoScheduleParamSet = "NoScheduleParamSet"; + + [Parameter(Position = 1, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WorkloadType, ValueFromPipelineByPropertyName = true)] + [ValidateSet("IaasVM", IgnoreCase = true)] + public string Type { get; set; } + + [Parameter(ParameterSetName = DailyScheduleParamSet, Position = 3, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.DailyScheduleType)] + public SwitchParameter Daily { get; set; } + + [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 4, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WeeklyScheduleType)] + public SwitchParameter Weekly { get; set; } + + [Parameter(Position = 5, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunTimes, ValueFromPipelineByPropertyName = true)] + public DateTime BackupTime { get; set; } + + [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 7, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunDays, ValueFromPipelineByPropertyName = true)] + [Parameter(ParameterSetName = NoScheduleParamSet, Position = 7, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunDays, ValueFromPipelineByPropertyName = true)] + [AllowEmptyCollection] + [ValidateSet("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", IgnoreCase = true)] + public string[] DaysOfWeek { get; set; } + + [Parameter(Position = 6, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.RetentionPolicyList)] + public AzureBackupRetentionPolicy[] RetentionPolicies { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + WriteDebug("Making client call"); + + ProtectionPolicyHelpers.ValidateProtectionPolicyName(Name); + AzureBackupClient.CheckProtectionPolicyNameAvailability(this.Name); + + var ScheduleType = ProtectionPolicyHelpers.GetScheduleType(DaysOfWeek, this.ParameterSetName, + DailyScheduleParamSet, WeeklyScheduleParamSet); + + var backupSchedule = ProtectionPolicyHelpers.FillCSMBackupSchedule(ScheduleType, BackupTime, + DaysOfWeek); + + ProtectionPolicyHelpers.ValidateRetentionPolicy(RetentionPolicies, backupSchedule); + + AzureBackupProtectionPolicy protectionPolicy = new AzureBackupProtectionPolicy(); + + var addCSMProtectionPolicyRequest = new CSMAddProtectionPolicyRequest(); + addCSMProtectionPolicyRequest.PolicyName = this.Name; + addCSMProtectionPolicyRequest.Properties = new CSMAddProtectionPolicyRequestProperties(); + addCSMProtectionPolicyRequest.Properties.PolicyName = this.Name; + addCSMProtectionPolicyRequest.Properties.BackupSchedule = backupSchedule; + addCSMProtectionPolicyRequest.Properties.WorkloadType = Enum.Parse(typeof(WorkloadType), this.Type, true).ToString(); + + addCSMProtectionPolicyRequest.Properties.LtrRetentionPolicy = ProtectionPolicyHelpers.ConvertToCSMRetentionPolicyObject(RetentionPolicies, backupSchedule); + + AzureBackupClient.AddProtectionPolicy(this.Name, addCSMProtectionPolicyRequest); + WriteDebug("Protection policy created successfully"); + + var policyInfo = AzureBackupClient.GetProtectionPolicyByName(Name); + WriteObject(ProtectionPolicyHelpers.GetCmdletPolicy(Vault, policyInfo)); + }); + } + } + +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureBackupRetentionPolicyObject.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureBackupRetentionPolicyObject.cs new file mode 100644 index 000000000000..6e1d756ad6b1 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureBackupRetentionPolicyObject.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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Helpers; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Create new retention policy object. + /// + [Cmdlet(VerbsCommon.New, "AzureBackupRetentionPolicyObject"), OutputType(typeof(AzureBackupRetentionPolicy), typeof(List))] + public class NewAzureBackupRetentionPolicyObject : AzureBackupCmdletBase + { + protected const string DailyRetentionParamSet = "DailyRetentionParamSet"; + protected const string WeeklyRetentionParamSet = "WeeklyRetentionParamSet"; + protected const string MonthlyRetentionInDailyFormatParamSet = "MonthlyRetentionInDailyFormatParamSet"; + protected const string MonthlyRetentionInWeeklyFormatParamSet = "MonthlyRetentionInWeeklyFormatParamSet"; + protected const string YearlyRetentionInDailyFormatParamSet = "YearlyRetentionInDailyFormatParamSet"; + protected const string YearlyRetentionInWeeklyFormatParamSet = "YearlyRetentionInWeeklyFormatParamSet"; + + [Parameter(ParameterSetName = DailyRetentionParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.DailyRetention)] + public SwitchParameter DailyRetention { get; set; } + + [Parameter(ParameterSetName = WeeklyRetentionParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.WeeklyRetention)] + public SwitchParameter WeeklyRetention { get; set; } + + [Parameter(ParameterSetName = MonthlyRetentionInDailyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.MonthlyRetentionInDailyFormat)] + public SwitchParameter MonthlyRetentionInDailyFormat { get; set; } + + [Parameter(ParameterSetName = MonthlyRetentionInWeeklyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.MonthlyRetentionInWeeklyFormat)] + public SwitchParameter MonthlyRetentionInWeeklyFormat { get; set; } + + [Parameter(ParameterSetName = YearlyRetentionInDailyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.YearlyRetentionInDailyFormat)] + public SwitchParameter YearlyRetentionInDailyFormat { get; set; } + + [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.YearlyRetentionInWeeklyFormat)] + public SwitchParameter YearlyRetentionInWeeklyFormat { get; set; } + + [Parameter(ParameterSetName = WeeklyRetentionParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfWeek)] + [Parameter(ParameterSetName = MonthlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfWeek)] + [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfWeek)] + [ValidateSet("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", IgnoreCase = true)] + public string[] DaysOfWeek { get; set; } + + [Parameter(ParameterSetName = MonthlyRetentionInDailyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfMonth)] + [Parameter(ParameterSetName = YearlyRetentionInDailyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfMonth)] + [ValidateSet("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ,"13" ,"14", "15", "16", "17", "18", + "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "IsLast", IgnoreCase = true)] + public List DaysOfMonth { get; set; } + + [Parameter(ParameterSetName = MonthlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WeekNumber)] + [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WeekNumber)] + [ValidateSet("First", "Second", "Third", "Fourth", "Last", IgnoreCase = true)] + public string[] WeekNumber { get; set; } + + [Parameter(ParameterSetName = YearlyRetentionInDailyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.MonthsOfYear)] + [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.MonthsOfYear)] + [ValidateSet("January", "February", "March", "April", "May", "June", "July" ,"August", "September", "October", "November", "December", IgnoreCase = true)] + public string[] MonthsOfYear { get; set; } + + [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Retention)] + public int Retention { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + if (DailyRetention != false) + { + AzureBackupRetentionPolicy retentionPolicy = new AzureBackupDailyRetentionPolicy("Daily", Retention); + ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy }); + WriteObject(retentionPolicy); + } + + if (WeeklyRetention != false) + { + List daysofWeekList = ConvertDaysOfWeek(DaysOfWeek); + AzureBackupRetentionPolicy retentionPolicy = new AzureBackupWeeklyRetentionPolicy("Weekly", Retention, daysofWeekList); + ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy }); + WriteObject(retentionPolicy); + } + + if (MonthlyRetentionInDailyFormat != false) + { + AzureBackupRetentionPolicy retentionPolicy = new AzureBackupMonthlyRetentionPolicy("Monthly", Retention, RetentionFormat.Daily, DaysOfMonth, + null, null); + ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy }); + WriteObject(retentionPolicy); + } + + if (MonthlyRetentionInWeeklyFormat != false) + { + List daysofWeekList = ConvertDaysOfWeek(DaysOfWeek); + List weekNumbers = ConvertWeekNumbers(WeekNumber); + AzureBackupRetentionPolicy retentionPolicy = new AzureBackupMonthlyRetentionPolicy("Monthly", Retention, RetentionFormat.Weekly, DaysOfMonth, + weekNumbers, daysofWeekList); + + ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy }); + + WriteObject(retentionPolicy); + } + + if (YearlyRetentionInDailyFormat != false) + { + List monthsOfYear = ConvertMonthsOfYear(MonthsOfYear); + AzureBackupRetentionPolicy retentionPolicy = new AzureBackupYearlyRetentionPolicy("Yearly", Retention, monthsOfYear, RetentionFormat.Daily, + DaysOfMonth, null, null); + + ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy }); + + WriteObject(retentionPolicy); + } + + if (YearlyRetentionInWeeklyFormat != false) + { + List daysofWeekList = ConvertDaysOfWeek(DaysOfWeek); + List weekNumbers = ConvertWeekNumbers(WeekNumber); + List monthsOfYear = ConvertMonthsOfYear(MonthsOfYear); + AzureBackupRetentionPolicy retentionPolicy = new AzureBackupYearlyRetentionPolicy("Yearly", Retention, monthsOfYear, + RetentionFormat.Weekly, DaysOfMonth, weekNumbers, daysofWeekList); + + ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy }); + + WriteObject(retentionPolicy); + } + }); + } + + public List ConvertDaysOfWeek(string[] daysOfWeek) + { + List ListofWeekDays = new List(); + + foreach (var dayOfWeek in daysOfWeek) + { + DayOfWeek item = (DayOfWeek)Enum.Parse(typeof(DayOfWeek), dayOfWeek, true); + if (!ListofWeekDays.Contains(item)) + { + ListofWeekDays.Add(item); + } + } + + return ListofWeekDays; + } + + public List ConvertWeekNumbers(string[] weekNumbers) + { + List ListofWeekNumbers = new List(); + + foreach (var weekNumber in weekNumbers) + { + WeekNumber item = (WeekNumber)Enum.Parse(typeof(WeekNumber), weekNumber, true); + if (!ListofWeekNumbers.Contains(item)) + { + ListofWeekNumbers.Add(item); + } + } + + return ListofWeekNumbers; + } + + public List ConvertMonthsOfYear(string[] monthsOfYear) + { + List ListofMonthsOfYear = new List(); + + foreach (var monthOfYear in monthsOfYear) + { + Month item = (Month)Enum.Parse(typeof(Month), monthOfYear, true); + if (!ListofMonthsOfYear.Contains(item)) + { + ListofMonthsOfYear.Add(item); + } + } + return ListofMonthsOfYear; + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureBackupProtectionPolicy.cs new file mode 100644 index 000000000000..7326696b45a1 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureBackupProtectionPolicy.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Remove a protection policy + /// + [Cmdlet(VerbsCommon.Remove, "AzureBackupProtectionPolicy")] + public class RemoveAzureBackupProtectionPolicy : AzureBackupPolicyCmdletBase + { + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + WriteDebug("Making client call"); + + var policyInfo = AzureBackupClient.GetProtectionPolicyByName(ProtectionPolicy.Name); + if (policyInfo != null) + { + AzureBackupClient.DeleteProtectionPolicy(policyInfo.Name); + WriteVerbose("Successfully deleted policy"); + } + else + { + WriteVerbose("Policy Not Found"); + } + }); + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureBackupProtectionPolicy.cs new file mode 100644 index 000000000000..1f2bc74796bb --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureBackupProtectionPolicy.cs @@ -0,0 +1,158 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Helpers; +using Microsoft.Azure.Commands.AzureBackup.Models; +using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Update existing protection policy + /// + [Cmdlet(VerbsCommon.Set, "AzureBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureBackupProtectionPolicy))] + public class SetAzureBackupProtectionPolicy : AzureBackupPolicyCmdletBase + { + protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet"; + protected const string DailyScheduleParamSet = "DailyScheduleParamSet"; + protected const string NoScheduleParamSet = "NoScheduleParamSet"; + + [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.PolicyNewName)] + [ValidateNotNullOrEmpty] + public string NewName { get; set; } + + [Parameter(ParameterSetName = DailyScheduleParamSet, Position = 2, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.DailyScheduleType)] + public SwitchParameter Daily { get; set; } + + [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 3, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.WeeklyScheduleType)] + public SwitchParameter Weekly { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunTimes)] + public DateTime BackupTime { get; set; } + + [Parameter(Position = 5, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RetentionPolicyList)] + public AzureBackupRetentionPolicy[] RetentionPolicies { get; set; } + + [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 6, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunDays)] + [ValidateSet("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", IgnoreCase = true)] + public string[] DaysOfWeek { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + WriteDebug("Making client call"); + + var response = AzureBackupClient.GetProtectionPolicyByName(ProtectionPolicy.Name); + var vault = new CmdletModel.AzurePSBackupVault(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.Name, ProtectionPolicy.Location); + + var policyInfo = ProtectionPolicyHelpers.GetCmdletPolicy(vault, response); + + if (policyInfo == null) + { + throw new ArgumentException(String.Format("Protection policy {0} not found", ProtectionPolicy.Name)); + } + + // TODO: Make the below function work with AzureBackupProtectionPolicy + FillRemainingValuesForSetPolicyRequest(policyInfo, this.NewName); + + var backupSchedule = ProtectionPolicyHelpers.FillCSMBackupSchedule(policyInfo.ScheduleType, BackupTime, + policyInfo.DaysOfWeek.ToArray()); + + NewName = (string.IsNullOrEmpty(NewName) ? policyInfo.Name : NewName); + var updateProtectionPolicyRequest = new CSMUpdateProtectionPolicyRequest(); + updateProtectionPolicyRequest.Properties = new CSMUpdateProtectionPolicyRequestProperties(); + updateProtectionPolicyRequest.Properties.PolicyName = this.NewName; + updateProtectionPolicyRequest.Properties.BackupSchedule = backupSchedule; + + AzureBackupProtectionPolicy protectionPolicy = new AzureBackupProtectionPolicy(); + if (RetentionPolicies != null && RetentionPolicies.Length > 0) + { + updateProtectionPolicyRequest.Properties.LtrRetentionPolicy = + ProtectionPolicyHelpers.ConvertToCSMRetentionPolicyObject(RetentionPolicies, backupSchedule); + ProtectionPolicyHelpers.ValidateRetentionPolicy(RetentionPolicies, backupSchedule); + } + else + { + updateProtectionPolicyRequest.Properties.LtrRetentionPolicy = + ProtectionPolicyHelpers.ConvertToCSMRetentionPolicyObject(policyInfo.RetentionPolicyList, backupSchedule); + ProtectionPolicyHelpers.ValidateRetentionPolicy(policyInfo.RetentionPolicyList, backupSchedule); + } + + var operationId = AzureBackupClient.UpdateProtectionPolicy(policyInfo.Name, updateProtectionPolicyRequest); + + if (operationId != Guid.Empty) + { + var operationStatus = GetOperationStatus(operationId); + WriteDebug("Protection Policy successfully updated and created job(s) to re-configure protection on associated items"); + WriteObject(operationStatus.JobList); + } + + else + { + WriteDebug("Protection Policy successfully updated"); + } + + }); + } + + private void FillRemainingValuesForSetPolicyRequest(AzureBackupProtectionPolicy policy, string newName) + { + if (newName != null && NewName != policy.Name) + { + ProtectionPolicyHelpers.ValidateProtectionPolicyName(this.NewName); + AzureBackupClient.CheckProtectionPolicyNameAvailability(this.NewName); + } + + BackupTime = (BackupTime == DateTime.MinValue) ? policy.BackupTime : + BackupTime; + + WriteDebug("ParameterSetName = " + this.ParameterSetName.ToString()); + + if (this.ParameterSetName != NoScheduleParamSet ) + { + if (DaysOfWeek != null && DaysOfWeek.Length > 0 && + this.ParameterSetName == WeeklyScheduleParamSet) + { + policy.ScheduleType = ScheduleType.Weekly.ToString(); + policy.DaysOfWeek = DaysOfWeek.ToList(); + } + else if (this.ParameterSetName == DailyScheduleParamSet && + (DaysOfWeek == null || DaysOfWeek.Length <= 0)) + { + policy.ScheduleType = ScheduleType.Daily.ToString(); + policy.DaysOfWeek = new List(); + } + else + { + policy.ScheduleType = ProtectionPolicyHelpers.GetScheduleType(DaysOfWeek, this.ParameterSetName, + DailyScheduleParamSet, WeeklyScheduleParamSet); + + } + } + else if (DaysOfWeek != null && DaysOfWeek.Length > 0) + { + throw new ArgumentException("For Schedule Run Days, weekly switch param is required"); + } + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureBackupRecoveryPoint.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureBackupRecoveryPoint.cs new file mode 100644 index 000000000000..36fb9cb87956 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureBackupRecoveryPoint.cs @@ -0,0 +1,97 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Get list of containers + /// + [Cmdlet(VerbsCommon.Get, "AzureBackupRecoveryPoint"), OutputType(typeof(AzureBackupRecoveryPoint), typeof(List))] + public class GetAzureBackupRecoveryPoint : AzureBackupDSCmdletBase + { + [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RecoveryPointId)] + [ValidateNotNullOrEmpty] + public string RecoveryPointId { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + ExecutionBlock(() => + { + WriteDebug("Making client call"); + + if (RecoveryPointId != null) + { + CSMRecoveryPointResponse recoveryPointObject = AzureBackupClient.GetRecoveryPoint(Item.ContainerUniqueName, Item.ItemName, RecoveryPointId); + if (recoveryPointObject != null) + { + WriteAzureBackupRecoveryPoint(recoveryPointObject, Item); + } + else + { + WriteDebug(string.Format("{0}{1}", "No recovery point exist with Id := ", RecoveryPointId)); + } + } + else + { + IEnumerable recoveryPointListResponse = AzureBackupClient.ListRecoveryPoints(Item.ContainerUniqueName, Item.ItemName); + if (recoveryPointListResponse != null && + recoveryPointListResponse.Count() > 0) + { + IEnumerable recoveryPointObjects = recoveryPointListResponse.OrderByDescending(x => x.Properties.RecoveryPointTime); + if (recoveryPointObjects.Count() > 1) + { + WriteAzureBackupRecoveryPoint(recoveryPointObjects, Item); + } + else + { + WriteAzureBackupRecoveryPoint(recoveryPointObjects.FirstOrDefault(), Item); + } + } + else + { + WriteDebug("No recovery point found"); + } + } + }); + } + + public void WriteAzureBackupRecoveryPoint(CSMRecoveryPointResponse sourceRecoverPoint, AzureBackupItem azureBackupItem) + { + this.WriteObject(new AzureBackupRecoveryPoint(sourceRecoverPoint, azureBackupItem)); + } + + public void WriteAzureBackupRecoveryPoint(IEnumerable sourceRecoverPointList, AzureBackupItem azureBackupItem) + { + List targetList = new List(); + + foreach (var sourceRecoverPoint in sourceRecoverPointList) + { + targetList.Add(new AzureBackupRecoveryPoint(sourceRecoverPoint, azureBackupItem)); + } + + this.WriteObject(targetList, true); + } + } +} + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/TriggerRestore.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/TriggerRestore.cs new file mode 100644 index 000000000000..50795d330548 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/TriggerRestore.cs @@ -0,0 +1,78 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using Microsoft.Azure.Management.BackupServices.Models; +using MBS = Microsoft.Azure.Management.BackupServices; +using System.Web.Script.Serialization; +using Microsoft.Azure.Commands.AzureBackup.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// Trigger Restore Job + /// + [Cmdlet(VerbsData.Restore, "AzureBackupItem"), OutputType(typeof(AzureBackupJob))] + public class RestoreAzureBackup : AzureBackupRestoreBase + { + [Parameter(Position = 1, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StorageAccountName)] + [ValidateNotNullOrEmpty] + public string StorageAccountName { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + ExecutionBlock(() => + { + WriteVerbose("Making client call"); + Guid jobId = Guid.NewGuid(); + WriteDebug("Triggered Restore. Converting response"); + + AzureIaaSVMRecoveryInputsCSMObject azureIaaSVMRecoveryInputsCSMObject = new AzureIaaSVMRecoveryInputsCSMObject() + { + CloudServiceName = string.Empty, + VmName = string.Empty, + CreateNewCloudService = false, + ContinueProtection = false, + InputStorageAccountName = StorageAccountName, + AffinityGroup = "", + Region = RecoveryPoint.Location, + }; + + JavaScriptSerializer serializer = new JavaScriptSerializer(); + string azureIaaSVMRecoveryInputsCSMObjectString = serializer.Serialize(azureIaaSVMRecoveryInputsCSMObject); + + CSMRestoreRequest csmRestoreRequest = new CSMRestoreRequest() + { + Properties = new CSMRestoreRequestProperties() + { + TypeOfRecovery = RecoveryType.RestoreDisks.ToString(), + RecoveryDSTypeSpecificInputs = azureIaaSVMRecoveryInputsCSMObjectString, + }, + }; + + Guid operationId = AzureBackupClient.TriggerRestore(RecoveryPoint.ContainerUniqueName, RecoveryPoint.ItemName, RecoveryPoint.RecoveryPointName, csmRestoreRequest); + WriteDebug(string.Format("Triggered Restore. Converting response {0}", operationId)); + + var operationStatus = TrackOperation(operationId); + WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName, RecoveryPoint.Location), operationStatus.JobList).FirstOrDefault()); + }); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureBackupVaultStorageType.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureBackupVaultStorageType.cs new file mode 100644 index 000000000000..93ea2780d80a --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureBackupVaultStorageType.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.AzureBackup.Models; +using System; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets +{ + /// + /// API to update backend storage type of an azure backup vault in a subscription. + /// + [Cmdlet(VerbsCommon.Set, "AzureBackupVaultStorageType")] + public class SetAzureBackupVaultStorageType : AzureBackupVaultCmdletBase + { + [Parameter(Position = 2, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StorageType)] + [ValidateNotNullOrEmpty] + public AzureBackupVaultStorageType Type { get; set; } + + public override void ExecuteCmdlet() + { + ExecutionBlock(() => + { + base.ExecuteCmdlet(); + + if (Type == 0) + { + throw new ArgumentException("Invalid storage type."); + } + + WriteDebug(String.Format("Updating the storage type. Type:{0}", Type)); + AzureBackupClient.UpdateStorageType(Type.ToString()); + }); + } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj index bbab0c0d4663..815f28426e0a 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj @@ -30,7 +30,7 @@ MinimumRecommendedRules.ruleset - ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureBackup\ + ..\..\..\Package\Release\ServiceManagement\Azure\StorSimple\ TRACE;SIGN true pdbonly @@ -56,9 +56,9 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll - + False - ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.2-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll + Resources\Microsoft.Azure.Management.BackupServicesManagement.dll ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll @@ -108,6 +108,7 @@ + @@ -117,26 +118,70 @@ + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + + + True @@ -146,12 +191,10 @@ - Always Designer - Designer @@ -164,9 +207,7 @@ - - Always - + @@ -180,14 +221,25 @@ Commands.Utilities - - - - - - - + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs index 65678f8542da..6e8a8f8a0322 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs @@ -36,6 +36,68 @@ namespace Microsoft.Azure.Commands.AzureBackup.Helpers { internal class ContainerHelpers { + private static readonly Regex ResourceGroupRegex = + new Regex(@"/resourceGroups/(?.+)/providers/", RegexOptions.Compiled); + internal static string GetQueryFilter(ListContainerQueryParameter queryParams) + { + NameValueCollection collection = new NameValueCollection(); + if (!String.IsNullOrEmpty(queryParams.ContainerTypeField)) + { + collection.Add("ContainerType", queryParams.ContainerTypeField); + } + + if (!String.IsNullOrEmpty(queryParams.ContainerStatusField)) + { + collection.Add("ContainerStatus", queryParams.ContainerStatusField); + } + + if (!String.IsNullOrEmpty(queryParams.ContainerFriendlyNameField)) + { + collection.Add("FriendlyName", queryParams.ContainerFriendlyNameField); + } + + if (collection == null || collection.Count == 0) + { + return String.Empty; + } + + return CreateQueryString(collection); + } + + internal static string GetRGNameFromId(string id) + { + var match = ResourceGroupRegex.Match(id); + if (match.Success) + { + var resourceGroupNameGroup = match.Groups["resourceGroupName"]; + if (resourceGroupNameGroup != null && resourceGroupNameGroup.Success) + { + return resourceGroupNameGroup.Value; + } + } + + return null; + } + private static string CreateQueryString(NameValueCollection collection) + { + string filterValue = string.Empty; + + if (collection == null) + { + throw new ArgumentNullException("collection"); + } + + if (collection.Count > 0) + { + foreach (string key in collection.Keys) + { + filterValue += key + " eq '" + collection[key] + "' and "; + } + filterValue = filterValue.Remove(filterValue.Length - 5); + } + return filterValue; + } + internal static AzureBackupContainerType GetContainerType(string customerType) { CustomerType type = (CustomerType)Enum.Parse(typeof(CustomerType), customerType); diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs new file mode 100644 index 000000000000..8a60b41b04bc --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs @@ -0,0 +1,690 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure.Commands.AzureBackup.Properties; +using System.Net; +using Microsoft.Azure.Management.BackupServices.Models; +using Microsoft.Azure.Commands.AzureBackup.Cmdlets; +using System.Linq; +using Microsoft.Azure.Commands.AzureBackup.Models; +using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models; +using System.Collections.Specialized; +using System.Web; +using System.Text.RegularExpressions; + +namespace Microsoft.Azure.Commands.AzureBackup.Helpers +{ + public static class ProtectionPolicyHelpers + { + public const int MinRetentionInDays = 7; + public const int MaxRetentionInDays = 366; + public const int MinRetention = 1; + public const int MaxRetentionInWeeks = 260; + public const int MaxRetentionInMonths = 120; + public const int MaxRetentionInYears = 99; + public const int MinPolicyNameLength = 3; + public const int MaxPolicyNameLength = 150; + public static Regex rgx = new Regex(@"^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$"); + + public static AzureBackupProtectionPolicy GetCmdletPolicy(CmdletModel.AzurePSBackupVault vault, CSMProtectionPolicyResponse sourcePolicy) + { + if (sourcePolicy == null) + { + return null; + } + + return new AzureBackupProtectionPolicy(vault, sourcePolicy.Properties, sourcePolicy.Id); + } + + public static IEnumerable GetCmdletPolicies(CmdletModel.AzurePSBackupVault vault, IEnumerable sourcePolicyList) + { + if (sourcePolicyList == null) + { + return null; + } + + List targetList = new List(); + + foreach (var sourcePolicy in sourcePolicyList) + { + targetList.Add(GetCmdletPolicy(vault, sourcePolicy)); + } + + return targetList; + } + + public static CSMBackupSchedule FillCSMBackupSchedule(string scheduleType, DateTime scheduleStartTime, + string[] scheduleRunDays) + { + var backupSchedule = new CSMBackupSchedule(); + + backupSchedule.BackupType = BackupType.Full.ToString(); + + scheduleType = FillScheduleType(scheduleType, scheduleRunDays); + backupSchedule.ScheduleRun = scheduleType; + + if (string.Compare(scheduleType, ScheduleType.Weekly.ToString(), true) == 0) + { + backupSchedule.ScheduleRunDays = ParseScheduleRunDays(scheduleRunDays); + } + + DateTime scheduleRunTime = ParseScheduleRunTime(scheduleStartTime); + + backupSchedule.ScheduleRunTimes = new List { scheduleRunTime }; + + return backupSchedule; + } + + public static void ValidateProtectionPolicyName(string policyName) + { + if(policyName.Length < MinPolicyNameLength || policyName.Length > MaxPolicyNameLength) + { + var exception = new ArgumentException("The protection policy name must contain between 3 and 150 characters."); + throw exception; + } + + if(!rgx.IsMatch(policyName)) + { + var exception = new ArgumentException("The protection policy name should contain alphanumeric characters and cannot start with a number."); + throw exception; + } + } + + public static string GetScheduleType(string[] ScheduleRunDays, string parameterSetName, + string dailyParameterSet, string weeklyParameterSet) + { + if (ScheduleRunDays != null && ScheduleRunDays.Length > 0) + { + if (parameterSetName == dailyParameterSet) + { + throw new ArgumentException("For daily schedule, protection policy cannot have scheduleRundays"); + } + else + { + return ScheduleType.Weekly.ToString(); + } + } + else + { + if (parameterSetName == weeklyParameterSet) + { + throw new ArgumentException("For weekly schedule, ScheduleRundays param cannot be empty"); + } + else + { + return ScheduleType.Daily.ToString(); + } + } + } + + public static void ValidateRetentionPolicy(IList retentionPolicyList, CSMBackupSchedule backupSchedule = null) + { + bool validateDailyRetention = false; + bool validateWeeklyRetention = false; + + if(retentionPolicyList.Count == 0 ) + { + var exception = new ArgumentException("Please pass atlease one retention policy"); + throw exception; + } + + foreach (AzureBackupRetentionPolicy retentionPolicy in retentionPolicyList) + { + if(retentionPolicy.RetentionType == "Daily") + { + ValidateDailyRetention((AzureBackupDailyRetentionPolicy)retentionPolicy); + validateDailyRetention = true; + } + else if (retentionPolicy.RetentionType == "Weekly") + { + ValidateWeeklyRetention((AzureBackupWeeklyRetentionPolicy)retentionPolicy); + validateWeeklyRetention = true; + if (backupSchedule != null) + { + var weeklyRetention = (AzureBackupWeeklyRetentionPolicy)retentionPolicy; + ValidateForWeeklyBackupSchedule(RetentionFormat.Weekly, backupSchedule.BackupType, backupSchedule.ScheduleRunDays, weeklyRetention.DaysOfWeek); + } + } + else if (retentionPolicy.RetentionType == "Monthly") + { + ValidateMonthlyRetention((AzureBackupMonthlyRetentionPolicy)retentionPolicy); + if (backupSchedule != null) + { + var monthlyRetention = (AzureBackupMonthlyRetentionPolicy)retentionPolicy; + ValidateForWeeklyBackupSchedule(monthlyRetention.RetentionFormat, backupSchedule.BackupType, backupSchedule.ScheduleRunDays, monthlyRetention.DaysOfWeek); + } + } + else if (retentionPolicy.RetentionType == "Yearly") + { + ValidateYearlyRetention((AzureBackupYearlyRetentionPolicy)retentionPolicy); + if (backupSchedule != null) + { + var yearlyRetention = (AzureBackupYearlyRetentionPolicy)retentionPolicy; + ValidateForWeeklyBackupSchedule(yearlyRetention.RetentionFormat, backupSchedule.BackupType, backupSchedule.ScheduleRunDays, yearlyRetention.DaysOfWeek); + } + } + } + + if (backupSchedule != null) + { + string scheduleType = backupSchedule.BackupType; + if (scheduleType == ScheduleType.Daily.ToString() && validateDailyRetention == false) + { + var exception = new ArgumentException("For Daily Schedule, please pass AzureBackupDailyRetentionPolicy in RetentionPolicies param."); + throw exception; + } + + if (scheduleType == ScheduleType.Weekly.ToString() && validateWeeklyRetention == false) + { + var exception = new ArgumentException("For Weekly Schedule, please pass AzureBackupWeeklyRetentionPolicy in RetentionPolicies param."); + throw exception; + } + + if (scheduleType == ScheduleType.Weekly.ToString() && validateDailyRetention == true) + { + var exception = new ArgumentException("For Weekly Schedule, you cannot pass AzureBackupDailyRetentionPolicy in RetentionPolicies param."); + throw exception; + } + } + } + + private static string FillScheduleType(string scheduleType, string[] scheduleRunDays) + { + if (scheduleType == ScheduleType.Daily.ToString() && scheduleRunDays != null && scheduleRunDays.Length > 0) + { + return ScheduleType.Weekly.ToString(); + } + + else + { + return Enum.Parse(typeof(ScheduleType), scheduleType, true).ToString(); + } + } + + private static IList ParseScheduleRunDays(string[] scheduleRunDays) + { + if (scheduleRunDays == null || scheduleRunDays.Length <= 0) + { + var exception = new ArgumentException("For weekly scheduletype , ScheduleRunDays should not be empty."); + throw exception; + } + + IList ListofWeekDays = new List(); + + foreach (var dayOfWeek in scheduleRunDays) + { + DayOfWeek item = (DayOfWeek)Enum.Parse(typeof(DayOfWeek), dayOfWeek, true); + if (!ListofWeekDays.Contains(item)) + { + ListofWeekDays.Add(item); + } + } + + return ListofWeekDays; + } + + private static DateTime ParseScheduleRunTime(DateTime scheduleStartTime) + { + if (scheduleStartTime.Kind == DateTimeKind.Local) + { + scheduleStartTime = scheduleStartTime.ToUniversalTime(); + } + DateTime scheduleRunTime = new DateTime(scheduleStartTime.Year, scheduleStartTime.Month, + scheduleStartTime.Day, scheduleStartTime.Hour, scheduleStartTime.Minute - (scheduleStartTime.Minute % 30), 0); + return scheduleRunTime; + } + + private static void ValidateDailyRetention(AzureBackupDailyRetentionPolicy dailyRetention) + { + if (dailyRetention.Retention < MinRetentionInDays || dailyRetention.Retention > MaxRetentionInDays) + { + var exception = new ArgumentException(string.Format("For DailyRetentionPolicy , valid values of retention are {0} to {1}.", MinRetentionInDays, MaxRetentionInDays)); + throw exception; + } + } + + private static void ValidateWeeklyRetention(AzureBackupWeeklyRetentionPolicy weeklyRetention) + { + if (weeklyRetention.Retention < MinRetention || weeklyRetention.Retention > MaxRetentionInWeeks) + { + var exception = new ArgumentException(string.Format("For WeeklyRetentionPolicy , valid values of retention are {0} to {1}.", MinRetention, MaxRetentionInWeeks)); + throw exception; + } + + if(weeklyRetention.DaysOfWeek == null || weeklyRetention.DaysOfWeek.Count == 0) + { + var exception = new ArgumentException("For WeeklyRetentionPolicy , pass atleast one value for DaysOfWeek param."); + throw exception; + } + } + + private static void ValidateMonthlyRetention(AzureBackupMonthlyRetentionPolicy monthlyRetention) + { + if (monthlyRetention.Retention < MinRetention || monthlyRetention.Retention > MaxRetentionInMonths) + { + var exception = new ArgumentException(string.Format("For MonthlyRetentionPolicy , valid values of retention are {0} to {1}.", MinRetention, MaxRetentionInMonths)); + throw exception; + } + + if(monthlyRetention.RetentionFormat == RetentionFormat.Daily) + { + if(monthlyRetention.DaysOfMonth == null || monthlyRetention.DaysOfMonth.Count == 0) + { + var exception = new ArgumentException("For MonthlyRetentionPolicy and RetentionFormat in Days, pass atleast one value for DaysOfMonth param."); + throw exception; + } + + if(monthlyRetention.DaysOfWeek != null || monthlyRetention.WeekNumber != null) + { + var exception = new ArgumentException("For MonthlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed."); + throw exception; + } + } + + if (monthlyRetention.RetentionFormat == RetentionFormat.Weekly) + { + if (monthlyRetention.DaysOfWeek == null || monthlyRetention.DaysOfWeek.Count == 0) + { + var exception = new ArgumentException("For MonthlyRetentionPolicy and RetentionFormat in Weeks, pass atleast one value for DaysOfWeek param."); + throw exception; + } + + if (monthlyRetention.WeekNumber == null || monthlyRetention.WeekNumber.Count == 0) + { + var exception = new ArgumentException("For MonthlyRetentionPolicy and RetentionFormat in Weeks, pass atleast one value for WeekNumber param."); + throw exception; + } + + if (monthlyRetention.DaysOfMonth != null) + { + var exception = new ArgumentException("For MonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed."); + throw exception; + } + } + } + + private static void ValidateYearlyRetention(AzureBackupYearlyRetentionPolicy yearlyRetention) + { + if (yearlyRetention.Retention < MinRetention || yearlyRetention.Retention > MaxRetentionInYears) + { + var exception = new ArgumentException(string.Format("For YearlyRetentionPolicy , valid values of retention are {0} to {1}.", MinRetention, MaxRetentionInYears)); + throw exception; + } + + if(yearlyRetention.MonthsOfYear == null || yearlyRetention.MonthsOfYear.Count == 0) + { + var exception = new ArgumentException("For YearlyRetentionPolicy and RetentionFormat in days,pass atleast one value for MonthsOfYear param."); + throw exception; + } + + if (yearlyRetention.RetentionFormat == RetentionFormat.Daily) + { + if (yearlyRetention.DaysOfMonth == null || yearlyRetention.DaysOfMonth.Count == 0) + { + var exception = new ArgumentException("For YearlyRetentionPolicy and RetentionFormat in Days, pass atleast one value for DaysOfMonth param."); + throw exception; + } + + if (yearlyRetention.DaysOfWeek != null || yearlyRetention.WeekNumber != null) + { + var exception = new ArgumentException("For YearlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed."); + throw exception; + } + } + + if (yearlyRetention.RetentionFormat == RetentionFormat.Weekly) + { + if (yearlyRetention.DaysOfWeek == null || yearlyRetention.DaysOfWeek.Count == 0) + { + var exception = new ArgumentException("For YearlyRetentionPolicy and RetentionFormat in Weeks,pass atleast one value for DaysOfWeek param."); + throw exception; + } + + if (yearlyRetention.WeekNumber == null || yearlyRetention.WeekNumber.Count == 0) + { + var exception = new ArgumentException("For YearlyRetentionPolicy and RetentionFormat in Weeks, pass atleast one value for WeekNumber param."); + throw exception; + } + + if (yearlyRetention.DaysOfMonth != null) + { + var exception = new ArgumentException("For YearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed."); + throw exception; + } + } + } + + private static void ValidateForWeeklyBackupSchedule(RetentionFormat RetentionScheduleType, string backupScheduleType, IList backupScheduleRunDays, List retentionScheduleRunDays) + { + if (string.Compare(backupScheduleType, ScheduleType.Weekly.ToString(), true) == 0) + { + if (RetentionScheduleType == RetentionFormat.Daily) + { + throw new ArgumentException("Days of the month in Monthly/Yearly retention is not allowed for weekly backup Schedules "); + } + foreach (var day in retentionScheduleRunDays) + { + if (!backupScheduleRunDays.Contains(day)) + { + throw new ArgumentException(" Days of the week list in Weekly/Monthly/Yearly retention schedule should be subset of Day of week list in Backup Schedule "); + } + } + } + + } + + # region Conversion Helper Functions + + public static IList ConvertCSMRetentionPolicyListToPowershell(CSMLongTermRetentionPolicy LTRRetentionPolicy) + { + IList retentionPolicyList = new List(); + AzureBackupDailyRetentionPolicy dailyRetentionPolicy = ConvertToPowershellDailyRetentionObject(LTRRetentionPolicy.DailySchedule); + AzureBackupWeeklyRetentionPolicy weeklyRetentionPolicy = ConvertToPowershellWeeklyRetentionObject(LTRRetentionPolicy.WeeklySchedule); + AzureBackupMonthlyRetentionPolicy monthlyRetentionPolicy = ConvertToPowershellMonthlyRetentionObject(LTRRetentionPolicy.MonthlySchedule); + AzureBackupYearlyRetentionPolicy yearlyRetentionPolicy = ConvertToPowershellYearlyRetentionObject(LTRRetentionPolicy.YearlySchedule); + + if (dailyRetentionPolicy != null) + { + retentionPolicyList.Add(dailyRetentionPolicy); + } + if (weeklyRetentionPolicy != null) + { + retentionPolicyList.Add(weeklyRetentionPolicy); + } + if (monthlyRetentionPolicy != null) + { + retentionPolicyList.Add(monthlyRetentionPolicy); + } + if (yearlyRetentionPolicy != null) + { + retentionPolicyList.Add(yearlyRetentionPolicy); + } + + return retentionPolicyList; + } + + public static List ConvertToPowershellScheduleRunDays(IList weekDaysList) + { + List scheduelRunDays = new List(); + + foreach (object item in weekDaysList) + { + scheduelRunDays.Add(item.ToString()); + } + + return scheduelRunDays; + } + + public static DateTime ConvertToPowershellScheduleRunTimes(IList scheduleRunTimeList) + { + IEnumerator scheduleEnumerator = scheduleRunTimeList.GetEnumerator(); + scheduleEnumerator.MoveNext(); + return scheduleEnumerator.Current; + } + + public static CSMLongTermRetentionPolicy ConvertToCSMRetentionPolicyObject(IList retentionPolicyList, CSMBackupSchedule backupSchedule) + { + CSMLongTermRetentionPolicy csmLongTermRetentionPolicy = new CSMLongTermRetentionPolicy(); + foreach (AzureBackupRetentionPolicy retentionPolicy in retentionPolicyList) + { + if (retentionPolicy.RetentionType == "Daily") + { + csmLongTermRetentionPolicy.DailySchedule = ConvertToCSMDailyRetentionObject((AzureBackupDailyRetentionPolicy)retentionPolicy, + backupSchedule.ScheduleRunTimes); + } + if (retentionPolicy.RetentionType == "Weekly") + { + csmLongTermRetentionPolicy.WeeklySchedule = ConvertToCSMWeeklyRetentionObject((AzureBackupWeeklyRetentionPolicy)retentionPolicy, + backupSchedule.ScheduleRunTimes); + } + if (retentionPolicy.RetentionType == "Monthly") + { + csmLongTermRetentionPolicy.MonthlySchedule = ConvertToGetCSMMonthlyRetentionObject((AzureBackupMonthlyRetentionPolicy)retentionPolicy, + backupSchedule.ScheduleRunTimes); + } + if (retentionPolicy.RetentionType == "Yearly") + { + csmLongTermRetentionPolicy.YearlySchedule = ConvertToCSMYearlyRetentionObject((AzureBackupYearlyRetentionPolicy)retentionPolicy, + backupSchedule.ScheduleRunTimes); + } + } + + return csmLongTermRetentionPolicy; + } + + private static AzureBackupDailyRetentionPolicy ConvertToPowershellDailyRetentionObject(CSMDailyRetentionSchedule DailySchedule) + { + if (DailySchedule == null) + return null; + AzureBackupDailyRetentionPolicy dailyRetention = new AzureBackupDailyRetentionPolicy("Daily", DailySchedule.CSMRetentionDuration.Count); + + return dailyRetention; + } + + private static AzureBackupWeeklyRetentionPolicy ConvertToPowershellWeeklyRetentionObject(CSMWeeklyRetentionSchedule WeeklySchedule) + { + if (WeeklySchedule == null) + return null; + AzureBackupWeeklyRetentionPolicy weeklyRetention = new AzureBackupWeeklyRetentionPolicy("Weekly", WeeklySchedule.CSMRetentionDuration.Count, + WeeklySchedule.DaysOfTheWeek); + + return weeklyRetention; + } + + private static AzureBackupMonthlyRetentionPolicy ConvertToPowershellMonthlyRetentionObject(CSMMonthlyRetentionSchedule MonthlySchedule) + { + if (MonthlySchedule == null) + return null; + AzureBackupMonthlyRetentionPolicy monthlyRetention = null; + + RetentionFormat retentionFormat = (RetentionFormat)Enum.Parse(typeof(RetentionFormat), MonthlySchedule.RetentionScheduleType.ToString(), true); + if (retentionFormat == RetentionFormat.Daily) + { + List dayList = ConvertToPowershellDayList(MonthlySchedule.RetentionScheduleDaily.DaysOfTheMonth); + monthlyRetention = new AzureBackupMonthlyRetentionPolicy("Monthly", MonthlySchedule.CSMRetentionDuration.Count, + retentionFormat, dayList, null, null); + } + else if (retentionFormat == RetentionFormat.Weekly) + { + List weekNumberList = ConvertToPowershellWeekNumberList(MonthlySchedule.RetentionScheduleWeekly); + List dayOfWeekList = ConvertToPowershellWeekDaysList(MonthlySchedule.RetentionScheduleWeekly); + monthlyRetention = new AzureBackupMonthlyRetentionPolicy("Monthly", MonthlySchedule.CSMRetentionDuration.Count, + retentionFormat, null, weekNumberList, dayOfWeekList); + } + + return monthlyRetention; + } + + private static AzureBackupYearlyRetentionPolicy ConvertToPowershellYearlyRetentionObject(CSMYearlyRetentionSchedule YearlySchedule) + { + if (YearlySchedule == null) + return null; + AzureBackupYearlyRetentionPolicy yearlyRetention = null; + + List monthOfTheYearList = ConvertToPowershellMonthsOfYearList(YearlySchedule.MonthsOfYear); + + RetentionFormat retentionFormat = (RetentionFormat)Enum.Parse(typeof(RetentionFormat), YearlySchedule.RetentionScheduleType.ToString(), true); + if (retentionFormat == RetentionFormat.Daily) + { + List dayList = ConvertToPowershellDayList(YearlySchedule.RetentionScheduleDaily.DaysOfTheMonth); + yearlyRetention = new AzureBackupYearlyRetentionPolicy("Yearly", YearlySchedule.CSMRetentionDuration.Count, + monthOfTheYearList, retentionFormat, dayList, null, null); + } + else if (retentionFormat == RetentionFormat.Weekly) + { + List weekNumberList = ConvertToPowershellWeekNumberList(YearlySchedule.RetentionScheduleWeekly); + List dayOfWeekList = ConvertToPowershellWeekDaysList(YearlySchedule.RetentionScheduleWeekly); + yearlyRetention = new AzureBackupYearlyRetentionPolicy("Yearly", YearlySchedule.CSMRetentionDuration.Count, + monthOfTheYearList, retentionFormat, null, weekNumberList, dayOfWeekList); + } + + return yearlyRetention; + } + + private static List ConvertToPowershellDayList(IList daysOfTheMonthList) + { + string lastDayOfTheMonth = "IsLast"; + List dayList = new List(); + foreach (Day day in daysOfTheMonthList) + { + dayList.Add(day.Date.ToString()); + if (day.IsLast) + { + dayList.Add(lastDayOfTheMonth); + } + } + + return dayList; + } + + private static List ConvertToPowershellWeekNumberList(CSMWeeklyRetentionFormat csmWeekNumberList) + { + List weekNumberList = new List(); + foreach (WeekNumber weekNumber in csmWeekNumberList.WeeksOfTheMonth) + { + weekNumberList.Add(weekNumber); + } + return weekNumberList; + } + + private static List ConvertToPowershellWeekDaysList(CSMWeeklyRetentionFormat csmWeekNumberList) + { + List dayOfWeekList = new List(); + foreach (DayOfWeek dayOfWeek in csmWeekNumberList.DaysOfTheWeek) + { + dayOfWeekList.Add(dayOfWeek); + } + return dayOfWeekList; + } + + private static List ConvertToPowershellMonthsOfYearList(IList MonthsOfYear) + { + List monthOfTheYearList = new List(); + foreach (Month monthOfTheYear in MonthsOfYear) + { + monthOfTheYearList.Add(monthOfTheYear); + } + return monthOfTheYearList; + } + + private static CSMDailyRetentionSchedule ConvertToCSMDailyRetentionObject(AzureBackupDailyRetentionPolicy retentionPolicy, IList RetentionTimes) + { + CSMDailyRetentionSchedule csmDailyRetention = new CSMDailyRetentionSchedule(); + csmDailyRetention.CSMRetentionDuration = new CSMRetentionDuration(); + csmDailyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention; + csmDailyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Days; + csmDailyRetention.RetentionTimes = RetentionTimes; + + return csmDailyRetention; + } + private static CSMWeeklyRetentionSchedule ConvertToCSMWeeklyRetentionObject(AzureBackupWeeklyRetentionPolicy retentionPolicy, IList RetentionTimes) + { + CSMWeeklyRetentionSchedule csmWeeklyRetention = new CSMWeeklyRetentionSchedule(); + csmWeeklyRetention.DaysOfTheWeek = retentionPolicy.DaysOfWeek; + csmWeeklyRetention.CSMRetentionDuration = new CSMRetentionDuration(); + csmWeeklyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention; + csmWeeklyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Weeks; + csmWeeklyRetention.RetentionTimes = RetentionTimes; + return csmWeeklyRetention; + } + + private static CSMMonthlyRetentionSchedule ConvertToGetCSMMonthlyRetentionObject(AzureBackupMonthlyRetentionPolicy retentionPolicy, IList RetentionTimes) + { + CSMMonthlyRetentionSchedule csmMonthlyRetention = new CSMMonthlyRetentionSchedule(); + + if (retentionPolicy.RetentionFormat == RetentionFormat.Daily) + { + csmMonthlyRetention.RetentionScheduleType = RetentionScheduleFormat.Daily; + csmMonthlyRetention.RetentionScheduleDaily = new CSMDailyRetentionFormat(); + csmMonthlyRetention.RetentionScheduleDaily.DaysOfTheMonth = ConvertToCSMDayList(retentionPolicy.DaysOfMonth); + } + + else if (retentionPolicy.RetentionFormat == RetentionFormat.Weekly) + { + csmMonthlyRetention.RetentionScheduleWeekly = new CSMWeeklyRetentionFormat(); + csmMonthlyRetention.RetentionScheduleType = RetentionScheduleFormat.Weekly; + csmMonthlyRetention.RetentionScheduleWeekly.DaysOfTheWeek = retentionPolicy.DaysOfWeek; + csmMonthlyRetention.RetentionScheduleWeekly.WeeksOfTheMonth = retentionPolicy.WeekNumber; + } + + csmMonthlyRetention.CSMRetentionDuration = new CSMRetentionDuration(); + csmMonthlyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention; + csmMonthlyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Months; + csmMonthlyRetention.RetentionTimes = RetentionTimes; + + return csmMonthlyRetention; + } + + private static CSMYearlyRetentionSchedule ConvertToCSMYearlyRetentionObject(AzureBackupYearlyRetentionPolicy retentionPolicy, IList RetentionTimes) + { + CSMYearlyRetentionSchedule csmYearlyRetention = new CSMYearlyRetentionSchedule(); + + if (retentionPolicy.RetentionFormat == RetentionFormat.Daily) + { + csmYearlyRetention.RetentionScheduleType = RetentionScheduleFormat.Daily; + csmYearlyRetention.RetentionScheduleDaily = new CSMDailyRetentionFormat(); + csmYearlyRetention.RetentionScheduleDaily.DaysOfTheMonth = ConvertToCSMDayList(retentionPolicy.DaysOfMonth); + } + + else if (retentionPolicy.RetentionFormat == RetentionFormat.Weekly) + { + csmYearlyRetention.RetentionScheduleWeekly = new CSMWeeklyRetentionFormat(); + csmYearlyRetention.RetentionScheduleType = RetentionScheduleFormat.Weekly; + csmYearlyRetention.RetentionScheduleWeekly.DaysOfTheWeek = retentionPolicy.DaysOfWeek; + csmYearlyRetention.RetentionScheduleWeekly.WeeksOfTheMonth = retentionPolicy.WeekNumber; + } + + csmYearlyRetention.CSMRetentionDuration = new CSMRetentionDuration(); + csmYearlyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention; + csmYearlyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Years; + csmYearlyRetention.RetentionTimes = RetentionTimes; + csmYearlyRetention.MonthsOfYear = retentionPolicy.MonthsOfYear; + + return csmYearlyRetention; + } + + private static IList ConvertToCSMDayList(List DaysOfMonth) + { + IList dayList = new List(); + + foreach (string DayOfMonth in DaysOfMonth) + { + Day day = new Day(); + if (string.Compare(DayOfMonth,"IsLast", true) == 0) + { + day.IsLast = true; + } + else + { + day.Date = Convert.ToInt32(DayOfMonth); + day.IsLast = false; + } + dayList.Add(day); + } + + return dayList; + } + + #endregion + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml index 500adb8d49be..61d4f8edae2c 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml @@ -37,7 +37,51 @@ - + + + Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupRecoveryPoint + + Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupRecoveryPoint + + + + + + 18 + + + + 18 + + + + 22 + + + + 36 + + + + + + + RecoveryPointName + + + RecoveryPointType + + + RecoveryPointTime + + + ContainerUniqueName + + + + + + Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupContainer diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs index ff6434c7eab8..d95a3c4f5b62 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs @@ -59,11 +59,36 @@ public class AzureBackupContainerContextObject : AzureBackupVaultContextObject /// public string ContainerType { get; set; } + /// + /// Unique name of the Azure Backup Container + /// + public string ContainerUniqueName { get; set; } + public AzureBackupContainerContextObject() : base() { } + public AzureBackupContainerContextObject(AzureBackupContainerContextObject azureBackupContainerContextObject) + : base(azureBackupContainerContextObject.ResourceGroupName, azureBackupContainerContextObject.ResourceName, azureBackupContainerContextObject.Location) + { + ContainerType = azureBackupContainerContextObject.ContainerType; + ContainerUniqueName = azureBackupContainerContextObject.ContainerUniqueName; + } + public AzureBackupContainerContextObject(AzureBackupContainer azureBackupContainer) + : base(azureBackupContainer.ResourceGroupName, azureBackupContainer.ResourceName, azureBackupContainer.Location) + { + ContainerType = azureBackupContainer.ContainerType; + ContainerUniqueName = azureBackupContainer.ContainerUniqueName; + } + + public AzureBackupContainerContextObject(AzurePSBackupVault vault, CSMContainerResponse containerInfo) + : base(vault.ResourceGroupName, vault.Name, vault.Region) + { + ContainerType = containerInfo.Properties.ContainerType; + ContainerUniqueName = containerInfo.Name; + } + public AzureBackupContainerContextObject(AzurePSBackupVault vault, MarsContainerResponse marsContainerResponse) : base(vault) { @@ -71,4 +96,35 @@ public AzureBackupContainerContextObject(AzurePSBackupVault vault, MarsContainer //ContainerUniqueName = marsContainerResponse.UniqueName; } } + + public class AzureBackupItemContextObject : AzureBackupContainerContextObject + { + /// + /// DataSourceId of Azure Backup Item + /// + public string ItemName { get; set; } + + public AzureBackupItemContextObject() + : base() + { + } + + public AzureBackupItemContextObject(AzureBackupItemContextObject azureBackupItemContextObject) + : base(azureBackupItemContextObject) + { + ItemName = azureBackupItemContextObject.ItemName; + } + + public AzureBackupItemContextObject(CSMProtectedItemResponse item, AzureBackupContainer azureBackupContainer) + : base(azureBackupContainer) + { + ItemName = item.Name; + } + + public AzureBackupItemContextObject(CSMItemResponse item, AzureBackupContainer azureBackupContainer) + : base(azureBackupContainer) + { + ItemName = item.Name; + } + } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs index eba87adff331..bfb37e5bf4d6 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs @@ -51,5 +51,14 @@ public AzureBackupContainer(AzurePSBackupVault vault, MarsContainerResponse mars Id = marsContainerResponse.Properties.ContainerId; Status = AzureBackupContainerRegistrationStatus.Registered.ToString(); } + + public AzureBackupContainer(AzurePSBackupVault vault, CSMContainerResponse containerInfo) + : base(vault, containerInfo) + { + //ManagedResourceGroupName = ContainerHelpers.GetRGNameFromId(containerInfo.Properties.ParentContainerId); + Name = containerInfo.Properties.FriendlyName; + //HealthStatus = containerInfo.Properties.HealthStatus; + Status = containerInfo.Properties.Status; + } } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs index 332fb487024c..f393638271cd 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Runtime.Serialization; namespace Microsoft.Azure.Commands.AzureBackup.Models { public enum AzureBackupVaultStorageType @@ -20,20 +21,135 @@ public enum AzureBackupVaultStorageType LocallyRedundant, } - public enum AzureBackupContainerType - { - Windows = 1, - SCDPM, - } - public enum AzureBackupContainerStatusInput { Registering = 1, Registered, } + public enum ManagedContainerType + { + Invalid = 0, + IaasVM, + IaasVMService, + } + + public enum DataSourceType + { + Invalid = 0, + + VM + } + public enum AzureBackupContainerRegistrationStatus { - Registered = 1, + Invalid = 0, + + Unknown, + + NotRegistered, + + Registered, + + Registering, + } + + internal enum AzureBackupOperationStatus + { + Invalid = 0, + + InProgress, + + Completed + } + + internal enum AzureBackupOperationResult + { + Invalid = 0, + + Cancelled, + + Succeeded, + + Failed, + + PartialSuccess + } + + public enum AzureBackupOperationErrorCode + { + BMSUserErrorObjectLocked = 390026, + DiscoveryInProgress = 410002, + } + + public enum ScheduleType + { + Invalid = 0, + Daily = 1, + Weekly = 2 + } + + public enum RetentionType + { + Invalid = 0, + Daily = 1, + Weekly = 2, + Monthly = 3, + Yearly = 4 + } + + public enum WorkloadType + { + Invalid = 0, + IaasVM = 1 + } + + public enum RetentionFormat + { + Daily, + Weekly + } + + public enum BackupType + { + Invalid = 0, + Full = 1 + } + + public enum CSMAzureBackupOperationStatus + { + + Invalid = 0, + + + InProgress, + + + Cancelled, + + + Succeeded, + + + Failed, + + + PartialSuccess + } + + public enum RemoveProtectionOptions + { + [EnumMember] + DeleteBackupData, + + [EnumMember] + RetainBackupData + }; + + public enum AzureBackupContainerType + { + Windows = 1, + SCDPM, + AzureVM, } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupItem.cs new file mode 100644 index 000000000000..1d22b9c89925 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupItem.cs @@ -0,0 +1,89 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Azure.Management.BackupServices.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Models +{ + /// + /// Represents Azure Backup Item + /// + public class AzureBackupItem : AzureBackupItemContextObject + { + /// + /// Status for the Azure Backup Item + /// + public string DataSourceStatus { get; set; } + + /// + /// Protection Status for the Azure Backup Item + /// + public string ProtectionStatus { get; set; } + + /// + /// Type of Azure Backup Item + /// + public string Type { get; set; } + + /// + /// Protection Policy Name for the Azure Backup Item + /// + public string ProtectionPolicyName { get; set; } + + /// + /// Protection Policy Id for the Azure Backup Item + /// + public string ProtectionPolicyId { get; set; } + + /// + /// Recovery Points Count for the Azure Backup Item + /// + public int RecoveryPointsCount { get; set; } + + public AzureBackupItem() + : base() + { + } + + public AzureBackupItem(CSMProtectedItemResponse datasource, AzureBackupContainer azureBackupContainer) + : base(datasource, azureBackupContainer) + { + DataSourceStatus = datasource.Properties.ProtectionStatus; + ProtectionStatus = datasource.Properties.Status; + ItemName = datasource.Name; + + if (datasource.Properties.ProtectionPolicyId != null) + { + ProtectionPolicyName = datasource.Properties.ProtectionPolicyId.Split('/').Last(); + } + + ProtectionPolicyId = datasource.Properties.ProtectionPolicyId; + RecoveryPointsCount = datasource.Properties.RecoveryPointsCount; + Type = datasource.Properties.ItemType; + } + + public AzureBackupItem(CSMItemResponse pPOItem, AzureBackupContainer azureBackupContainer) + : base(pPOItem, azureBackupContainer) + { + ProtectionStatus = pPOItem.Properties.Status; + ItemName = pPOItem.Name; + Type = pPOItem.Properties.ItemType; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupRecoveryPoint.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupRecoveryPoint.cs new file mode 100644 index 000000000000..9c416723f740 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupRecoveryPoint.cs @@ -0,0 +1,70 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Management.BackupServices.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.AzureBackup.Models +{ + public class AzureBackupRecoveryPointContextObject : AzureBackupItemContextObject + { + /// + /// RecoveryPointId of Azure Backup Item + /// + public string RecoveryPointName { get; set; } + + public AzureBackupRecoveryPointContextObject() + : base() + { + } + + public AzureBackupRecoveryPointContextObject(CSMRecoveryPointResponse recoveryPointInfo, AzureBackupItem azureBackupItem) + : base(azureBackupItem) + { + RecoveryPointName = recoveryPointInfo.Name; + } + } + + /// + /// Represents Azure Backup Container + /// + public class AzureBackupRecoveryPoint : AzureBackupRecoveryPointContextObject + { + /// + /// Last Recovery Point for the Azure Backup Item + /// + public DateTime RecoveryPointTime { get; set; } + + /// + /// DataSourceId of Azure Backup Item + /// + public string RecoveryPointType { get; set; } + + public AzureBackupRecoveryPoint() + : base() + { + } + + public AzureBackupRecoveryPoint(CSMRecoveryPointResponse recoveryPointInfo, AzureBackupItem azureBackupItem) + : base(recoveryPointInfo, azureBackupItem) + { + RecoveryPointTime = recoveryPointInfo.Properties.RecoveryPointTime; + RecoveryPointType = recoveryPointInfo.Properties.RecoveryPointType; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs new file mode 100644 index 000000000000..5e3d5e79029a --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs @@ -0,0 +1,148 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Xml; +using System.Linq; +using System.Web; +using Microsoft.Azure.Management.BackupServices; +using Microsoft.Azure.Management.BackupServices; +using Mgmt = Microsoft.Azure.Management.BackupServices.Models; + +namespace Microsoft.Azure.Commands.AzureBackup.Models +{ + public class AzureBackupJob : AzureBackupVaultContextObject + { + public string InstanceId { get; private set; } + + public string WorkloadType { get; set; } + + public string Operation { get; set; } + + public string Status { get; set; } + + public string WorkloadName { get; set; } + + public TimeSpan Duration { get; set; } + + public DateTime StartTime { get; set; } + + public DateTime? EndTime { get; set; } + + public bool IsCancellable { get; private set; } + + public bool IsRetriable { get; private set; } + + public List ErrorDetails { get; set; } + + public AzureBackupJob(AzurePSBackupVault vault, Mgmt.CSMJobProperties serviceJob, string jobName) + : base(vault) + { + this.InstanceId = jobName; + this.WorkloadType = serviceJob.WorkloadType; + this.WorkloadName = serviceJob.EntityFriendlyName; + this.Operation = serviceJob.Operation; + this.Status = serviceJob.Status; + this.Duration = serviceJob.Duration; + this.StartTime = serviceJob.StartTimestamp; + this.EndTime = serviceJob.EndTimestamp; + this.ErrorDetails = new List(); + + if (serviceJob.ErrorDetails != null) + { + foreach (Mgmt.CSMJobErrorInfo error in serviceJob.ErrorDetails) + { + this.ErrorDetails.Add(new ErrorInfo(error)); + } + } + + this.IsRetriable = this.IsCancellable = false; + + if (serviceJob.ActionsInfo != null) + { + for (int i = 0; i < serviceJob.ActionsInfo.Count; i++) + { + if (serviceJob.ActionsInfo[i] == Mgmt.JobSupportedAction.Cancellable) + this.IsCancellable = true; + else if (serviceJob.ActionsInfo[i] == Mgmt.JobSupportedAction.Retriable) + this.IsRetriable = true; + } + } + } + } + + public class ErrorInfo + { + public int ErrorCode { get; set; } + + public string ErrorMessage { get; set; } + + // Not including ErrorTitle because we are not filling anything in it. + + public List Recommendations { get; set; } + + public ErrorInfo(Mgmt.CSMJobErrorInfo serviceErrorInfo) + { + this.ErrorCode = serviceErrorInfo.ErrorCode; + this.ErrorMessage = serviceErrorInfo.ErrorString; + this.Recommendations = new List(); + foreach(string recommendation in serviceErrorInfo.Recommendations) + { + this.Recommendations.Add(recommendation); + } + } + } + + public class AzureBackupJobDetails : AzureBackupJob + { + public Dictionary Properties { get; set; } + + public List SubTasks { get; set; } + + public AzureBackupJobDetails(AzurePSBackupVault vault, Mgmt.CSMJobDetailedProperties serviceJobProperties, string jobName) + : base(vault, serviceJobProperties, jobName) + { + if (serviceJobProperties.PropertyBag != null) + this.Properties = new Dictionary(serviceJobProperties.PropertyBag); + else + this.Properties = new Dictionary(); + + this.SubTasks = new List(); + if(serviceJobProperties.TasksList != null) + { + foreach (Mgmt.CSMJobTaskDetails serviceSubTask in serviceJobProperties.TasksList) + { + this.SubTasks.Add(new AzureBackupJobSubTask(serviceSubTask)); + } + } + } + } + + public class AzureBackupJobSubTask + { + public string Name { get; set; } + + public string Status { get; set; } + + // Not adding other fields because service is not filling them today. + + public AzureBackupJobSubTask(Mgmt.CSMJobTaskDetails serviceTask) + { + this.Name = serviceTask.TaskId; + this.Status = serviceTask.Status; + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ListContainerQueryParameter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ListContainerQueryParameter.cs new file mode 100644 index 000000000000..08de6d174ffe --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ListContainerQueryParameter.cs @@ -0,0 +1,41 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Management.BackupServices.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.AzureBackup.Models +{ + internal class ListContainerQueryParameter : ManagementBaseObject + { + /// + ///Containers information for registration + /// + public string ContainerTypeField { get; set; } + + /// + ///Containers status information + /// + public string ContainerStatusField { get; set; } + + /// + ///Containers status information + /// + public string ContainerFriendlyNameField { get; set; } + } +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ProtectionPolicy.cs new file mode 100644 index 000000000000..d2aa02532007 --- /dev/null +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ProtectionPolicy.cs @@ -0,0 +1,139 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Management.BackupServices.Models; +using System; +using System.Collections.Generic; +using Microsoft.Azure.Commands.AzureBackup.Helpers; + +namespace Microsoft.Azure.Commands.AzureBackup.Models +{ + /// + /// Represents ProtectionPolicy object + /// + public class AzureBackupProtectionPolicy : AzureBackupVaultContextObject + { + /// + /// Name of the azurebackup object + /// + + public string PolicyId { get; set; } + + public string Name { get; set; } + + public string Type { get; set; } + + public string ScheduleType { get; set; } + + public List DaysOfWeek { get; set; } + + public DateTime BackupTime { get; set; } + + public IList RetentionPolicyList { get; set; } + + public AzureBackupProtectionPolicy() + { + } + + public AzureBackupProtectionPolicy(AzurePSBackupVault vault, CSMProtectionPolicyProperties sourcePolicy, string policyId) + : base(vault) + { + PolicyId = policyId; + Name = sourcePolicy.PolicyName; + Type = sourcePolicy.WorkloadType; + ScheduleType = sourcePolicy.BackupSchedule.ScheduleRun; + BackupTime = ProtectionPolicyHelpers.ConvertToPowershellScheduleRunTimes(sourcePolicy.BackupSchedule.ScheduleRunTimes); + DaysOfWeek = ProtectionPolicyHelpers.ConvertToPowershellScheduleRunDays(sourcePolicy.BackupSchedule.ScheduleRunDays); + RetentionPolicyList = ProtectionPolicyHelpers.ConvertCSMRetentionPolicyListToPowershell(sourcePolicy.LtrRetentionPolicy); + } + } + + public class AzureBackupRetentionPolicy + { + public string RetentionType { get; set; } + + public int Retention { get; set; } + + public IList RetentionTimes { get; set; } + + public AzureBackupRetentionPolicy(string retentionType, int retention) + { + this.RetentionType = retentionType; + this.Retention = retention; + } + } + + public class AzureBackupDailyRetentionPolicy : AzureBackupRetentionPolicy + { + public AzureBackupDailyRetentionPolicy(string retentionType, int retention) + : base(retentionType, retention) + { } + } + + public class AzureBackupWeeklyRetentionPolicy : AzureBackupRetentionPolicy + { + public List DaysOfWeek { get; set; } + public AzureBackupWeeklyRetentionPolicy(string retentionType, int retention, IList daysOfWeek) + : base(retentionType, retention) + { + this.DaysOfWeek = new List(daysOfWeek); + } + } + + public class AzureBackupMonthlyRetentionPolicy : AzureBackupRetentionPolicy + { + public RetentionFormat RetentionFormat { get; set; } + + public List DaysOfMonth { get; set; } + + public List WeekNumber { get; set; } + + public List DaysOfWeek { get; set; } + + public AzureBackupMonthlyRetentionPolicy(string retentionType, int retention, RetentionFormat retentionFormat, List daysOfMonth, + List weekNumber, List daysOfWeek) + : base(retentionType, retention) + { + this.RetentionFormat = retentionFormat; + this.DaysOfMonth = daysOfMonth; + this.WeekNumber = weekNumber; + this.DaysOfWeek = daysOfWeek; + } + } + + public class AzureBackupYearlyRetentionPolicy : AzureBackupRetentionPolicy + { + public List MonthsOfYear { get; set; } + + public RetentionFormat RetentionFormat { get; set; } + + public List DaysOfMonth { get; set; } + + public List WeekNumber { get; set; } + + public List DaysOfWeek { get; set; } + + public AzureBackupYearlyRetentionPolicy(string retentionType, int retention, List monthsOfYear, RetentionFormat retentionFormat, List daysOfMonth, + List weekNumber, List daysOfWeek) + : base(retentionType, retention) + { + this.MonthsOfYear = monthsOfYear; + this.RetentionFormat = retentionFormat; + this.DaysOfMonth = daysOfMonth; + this.WeekNumber = weekNumber; + this.DaysOfWeek = daysOfWeek; + } + } + +} diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs index 515623e43787..f509292d2b57 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs @@ -60,6 +60,15 @@ internal Resources() { } } + /// + /// Looks up a localized string similar to The specified Azure Virtual Machine Not Found.. + /// + internal static string AzureVMNotFound { + get { + return ResourceManager.GetString("AzureVMNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to The specified resource does not exist.. /// diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx index 3abfe5b400d9..c66be5f0255b 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + The specified Azure Virtual Machine Not Found. + The specified resource does not exist. diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Resources/Microsoft.Azure.Management.BackupServicesManagement.dll b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Resources/Microsoft.Azure.Management.BackupServicesManagement.dll new file mode 100644 index 000000000000..3f1f65b09440 Binary files /dev/null and b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Resources/Microsoft.Azure.Management.BackupServicesManagement.dll differ diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config index d36096ceeb5b..3b09571da249 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config @@ -2,9 +2,8 @@ - + - diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj index b966dae3685f..98b7227ad111 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj @@ -52,7 +52,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll @@ -65,7 +65,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.19.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.Batch.1.4.0\lib\net40\Microsoft.Azure.Management.Batch.dll + ..\..\..\packages\Microsoft.Azure.Management.Batch.1.3.0-preview\lib\net40\Microsoft.Azure.Management.Batch.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.1-preview\lib\net40\Microsoft.Azure.ResourceManager.dll diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 index 6b6f2d162ccb..47188e0ac903 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 @@ -138,17 +138,15 @@ function Test-GetBatchAccountsUnderResourceGroups $account11 = Get-BatchAccountName $account12 = Get-BatchAccountName $account21 = Get-BatchAccountName - $location1 = Get-BatchAccountProviderLocation - $location2 = Get-BatchAccountProviderLocation 1 - $location3 = Get-BatchAccountProviderLocation 2 + $location = Get-BatchAccountProviderLocation try { - New-AzureResourceGroup -Name $resourceGroup1 -Location $location1 - New-AzureResourceGroup -Name $resourceGroup2 -Location $location1 - New-AzureBatchAccount -Name $account11 -ResourceGroupName $resourceGroup1 -Location $location1 - New-AzureBatchAccount -Name $account12 -ResourceGroupName $resourceGroup1 -Location $location2 - New-AzureBatchAccount -Name $account21 -ResourceGroupName $resourceGroup2 -Location $location3 + New-AzureResourceGroup -Name $resourceGroup1 -Location $location + New-AzureResourceGroup -Name $resourceGroup2 -Location $location + New-AzureBatchAccount -Name $account11 -ResourceGroupName $resourceGroup1 -Location $location + New-AzureBatchAccount -Name $account12 -ResourceGroupName $resourceGroup1 -Location $location + New-AzureBatchAccount -Name $account21 -ResourceGroupName $resourceGroup2 -Location $location # Test $allAccounts = Get-AzureBatchAccount | Where-Object {$_.ResourceGroupName -eq $resourceGroup1 -or $_.ResourceGroupName -eq $resourceGroup2} @@ -179,16 +177,15 @@ function Test-CreateAndRemoveBatchAccountViaPiping $account1 = Get-BatchAccountName $account2 = Get-BatchAccountName $resourceGroup = Get-ResourceGroupName - $location1 = Get-BatchAccountProviderLocation - $location2 = Get-BatchAccountProviderLocation 1 + $location = Get-BatchAccountProviderLocation try { - New-AzureResourceGroup -Name $resourceGroup -Location $location1 + New-AzureResourceGroup -Name $resourceGroup -Location $location # Test - New-AzureBatchAccount -Name $account1 -ResourceGroupName $resourceGroup -Location $location1 - New-AzureBatchAccount -Name $account2 -ResourceGroupName $resourceGroup -Location $location2 + New-AzureBatchAccount -Name $account1 -ResourceGroupName $resourceGroup -Location $location + New-AzureBatchAccount -Name $account2 -ResourceGroupName $resourceGroup -Location $location Get-AzureBatchAccount | where {$_.AccountName -eq $account1 -or $_.AccountName -eq $account2} | Remove-AzureBatchAccount -Force # Assert diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 index a553bcf2e345..70f34b54ef07 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 @@ -34,7 +34,7 @@ function Get-ResourceGroupName .SYNOPSIS Gets the location for the Batch account provider. Default to West US if none found. #> -function Get-BatchAccountProviderLocation($index) +function Get-BatchAccountProviderLocation { $location = Get-AzureLocation | where {$_.Name -eq "Microsoft.Batch/batchAccounts"} if ($location -eq $null) @@ -43,14 +43,7 @@ function Get-BatchAccountProviderLocation($index) } else { - if ($index -eq $null) - { - $location.Locations[0] - } - else - { - $location.Locations[$index] - } + $location.Locations[0] } } diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.cs index eb24df79ff99..e11a670f6934 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.cs @@ -28,11 +28,19 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class FileTests { - private const string accountName = ScenarioTestHelpers.SharedAccount; - private const string poolName = ScenarioTestHelpers.SharedPool; - private const string vmName = ScenarioTestHelpers.SharedPoolVM; - private const string startTaskStdOutName = ScenarioTestHelpers.SharedPoolStartTaskStdOut; - private const string startTaskStdOutContent = ScenarioTestHelpers.SharedPoolStartTaskStdOutContent; + // NOTE: To save time on VM allocation when recording, these tests assume the following: + // - A Batch account named 'filetests' exists under the subscription being used for recording. + // - The following commands were run to create a pool, and all 3 VMs are allocated: + // $context = Get-AzureBatchAccountKeys "filetests" + // $startTask = New-Object Microsoft.Azure.Commands.Batch.Models.PSStartTask + // $startTask.CommandLine = "cmd /c echo hello" + // New-AzureBatchPool -Name "testPool" -VMSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -StartTask $startTask -BatchContext $context + + private const string accountName = "filetests"; + private const string poolName = "testPool"; + private const string vmName = "tvm-1900272697_1-20150331t200107z"; // Use the following command to get a VM name: (Get-AzureBatchVM -PoolName "testPool" -BatchContext $context)[0].Name + private const string startTaskStdOutName = "startup\\stdout.txt"; + private const string startTaskStdOutContent = "hello"; [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs index 7c7a65d8c97b..b13b2fa0e798 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs @@ -26,15 +26,27 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class JobTests { - private const string accountName = ScenarioTestHelpers.SharedAccount; - private const string poolName = ScenarioTestHelpers.SharedPool; - [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetJobRequiredParameters() { BatchController controller = BatchController.NewInstance; - controller.RunPsTest(string.Format("Test-GetJobRequiredParameters '{0}'", accountName)); + string resourceGroupName = "test-get-job-params"; + string accountName = "testgetjobparams"; + string location = "eastus"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetJobRequiredParameters '{0}'", accountName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); } [Fact] @@ -42,6 +54,9 @@ public void TestGetJobRequiredParameters() public void TestGetJobByName() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-job"; + string accountName = "testgetjob"; + string location = "eastus"; string workItemName = "testName"; string jobName = null; BatchAccountContext context = null; @@ -49,13 +64,14 @@ public void TestGetJobByName() () => { return new string[] { string.Format("Test-GetJobByName '{0}' '{1}' '{2}'", accountName, workItemName, jobName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); }, () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -66,6 +82,9 @@ public void TestGetJobByName() public void TestListJobsByFilter() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job-filter"; + string accountName = "testlistjobfilter"; + string location = "eastus"; string workItemName = "testWorkItem"; string state = "active"; int matches = 1; @@ -75,7 +94,7 @@ public void TestListJobsByFilter() () => { TimeSpan recurrence = TimeSpan.FromMinutes(1); - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName, recurrence); string jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.TerminateJob(context, workItemName, jobName); @@ -84,6 +103,7 @@ public void TestListJobsByFilter() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -94,6 +114,9 @@ public void TestListJobsByFilter() public void TestListJobsWithMaxCount() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job-maxcount"; + string accountName = "testlistjobmaxcount"; + string location = "eastus"; string workItemName = "testWorkItem"; int maxCount = 1; BatchAccountContext context = null; @@ -102,7 +125,7 @@ public void TestListJobsWithMaxCount() () => { TimeSpan recurrence = TimeSpan.FromMinutes(1); - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName, recurrence); string jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.TerminateJob(context, workItemName, jobName); @@ -111,6 +134,7 @@ public void TestListJobsWithMaxCount() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -121,6 +145,9 @@ public void TestListJobsWithMaxCount() public void TestListAllJobs() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job"; + string accountName = "testlistjob"; + string location = "eastus"; string workItemName = "testWorkItem"; int count = 2; BatchAccountContext context = null; @@ -129,7 +156,7 @@ public void TestListAllJobs() () => { TimeSpan recurrence = TimeSpan.FromMinutes(1); - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName, recurrence); string jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.TerminateJob(context, workItemName, jobName); @@ -138,6 +165,7 @@ public void TestListAllJobs() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -148,6 +176,9 @@ public void TestListAllJobs() public void TestListJobPipeline() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job-pipe"; + string accountName = "testlistjobpipe"; + string location = "eastus"; string workItemName = "testWorkItem"; string jobName = null; @@ -156,13 +187,14 @@ public void TestListJobPipeline() () => { return new string[] { string.Format("Test-ListJobPipeline '{0}' '{1}' '{2}'", accountName, workItemName, jobName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); }, () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -173,6 +205,9 @@ public void TestListJobPipeline() public void TestDeleteJob() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-delete-job"; + string accountName = "testdeletejob"; + string location = "eastus"; string workItemName = "testWorkItem"; string jobName = null; @@ -181,13 +216,14 @@ public void TestDeleteJob() () => { return new string[] { string.Format("Test-DeleteJob '{0}' '{1}' '{2}' '0'", accountName, workItemName, jobName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); }, () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -198,6 +234,9 @@ public void TestDeleteJob() public void TestDeleteJobPipeline() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-delete-job-pipe"; + string accountName = "testdeletejobpipe"; + string location = "eastus"; string workItemName = "testWorkItem"; string jobName = null; @@ -206,13 +245,14 @@ public void TestDeleteJobPipeline() () => { return new string[] { string.Format("Test-DeleteJob '{0}' '{1}' '{2}' '1'", accountName, workItemName, jobName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); }, () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs index 26051b477866..316d3966026b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs @@ -25,16 +25,36 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class PoolTests { - private const string commonAccountName = ScenarioTestHelpers.SharedAccount; - private const string testPoolName = ScenarioTestHelpers.SharedPool; + // NOTE: To save time on VM allocation when recording, some of tests assume the following: + // - A Batch account named 'pooltests' exists under the subscription being used for recording. + // - The following commands were run to create a pool, and all 3 VMs are allocated: + // $context = Get-AzureBatchAccountKeys "pooltests" + // New-AzureBatchPool -Name "testPool" -VMSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -BatchContext $context + + private const string commonAccountName = "pooltests"; + private const string testPoolName = "testPool"; [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestNewPool() { BatchController controller = BatchController.NewInstance; - controller.RunPsTest(string.Format("Test-NewPool '{0}'", commonAccountName)); - + string resourceGroupName = "test-new-pool"; + string accountName = "testnewpool"; + string location = "eastus"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-NewPool '{0}'", accountName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); } [Fact] @@ -42,18 +62,22 @@ public void TestNewPool() public void TestGetPoolByName() { BatchController controller = BatchController.NewInstance; - string poolName = "testGetPool"; + string resourceGroupName = "test-get-pool"; + string accountName = "testgetpool"; + string location = "eastus"; + string poolName = "testName"; BatchAccountContext context = null; controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-GetPoolByName '{0}' '{1}'", commonAccountName, poolName) }; }, + () => { return new string[] { string.Format("Test-GetPoolByName '{0}' '{1}'", accountName, poolName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName, 0); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName); }, () => { ScenarioTestHelpers.DeletePool(controller, context, poolName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -64,26 +88,30 @@ public void TestGetPoolByName() public void TestListPoolsByFilter() { BatchController controller = BatchController.NewInstance; - string poolName1 = "testFilter1"; - string poolName2 = "testFilter2"; - string poolName3 = "thirdFilterTest"; - string poolPrefix = "testFilter"; + string resourceGroupName = "test-list-pool-filter"; + string accountName = "testlistpoolfilter"; + string location = "eastus"; + string poolName1 = "testName1"; + string poolName2 = "testName2"; + string poolName3 = "thirdtestName"; + string poolPrefix = "testName"; int matches = 2; BatchAccountContext context = null; controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-ListPoolsByFilter '{0}' '{1}' '{2}'", commonAccountName, poolPrefix, matches) }; }, + () => { return new string[] { string.Format("Test-ListPoolsByFilter '{0}' '{1}' '{2}'", accountName, poolPrefix, matches) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName1, 0); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName2, 0); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName3, 0); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName1); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName2); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName3); }, () => { ScenarioTestHelpers.DeletePool(controller, context, poolName1); ScenarioTestHelpers.DeletePool(controller, context, poolName2); ScenarioTestHelpers.DeletePool(controller, context, poolName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -94,25 +122,29 @@ public void TestListPoolsByFilter() public void TestListPoolsWithMaxCount() { BatchController controller = BatchController.NewInstance; - string poolName1 = "testMaxCount1"; - string poolName2 = "testMaxCount2"; - string poolName3 = "thirdMaxCount"; + string resourceGroupName = "test-list-pool-maxcount"; + string accountName = "testlistpoolmaxcount"; + string location = "eastus"; + string poolName1 = "testName1"; + string poolName2 = "testName2"; + string poolName3 = "thirdtestName"; int maxCount = 1; BatchAccountContext context = null; controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-ListPoolsWithMaxCount '{0}' '{1}'", commonAccountName, maxCount) }; }, + () => { return new string[] { string.Format("Test-ListPoolsWithMaxCount '{0}' '{1}'", accountName, maxCount) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName1, 0); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName2, 0); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName3, 0); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName1); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName2); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName3); }, () => { ScenarioTestHelpers.DeletePool(controller, context, poolName1); ScenarioTestHelpers.DeletePool(controller, context, poolName2); ScenarioTestHelpers.DeletePool(controller, context, poolName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -123,28 +155,29 @@ public void TestListPoolsWithMaxCount() public void TestListAllPools() { BatchController controller = BatchController.NewInstance; - string poolName1 = "testList1"; - string poolName2 = "testList2"; - string poolName3 = "thirdTestList"; - int beforeAddCount = 0; - int afterAddCount = 0; + string resourceGroupName = "test-list-pool"; + string accountName = "testlistpool"; + string location = "eastus"; + string poolName1 = "testName1"; + string poolName2 = "testName2"; + string poolName3 = "thirdtestName"; + int count = 3; BatchAccountContext context = null; controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-ListAllPools '{0}' '{1}'", commonAccountName, afterAddCount) }; }, + () => { return new string[] { string.Format("Test-ListAllPools '{0}' '{1}'", accountName, count) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName); - beforeAddCount = ScenarioTestHelpers.GetPoolCount(controller, context); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName1, 0); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName2, 0); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName3, 0); - afterAddCount = beforeAddCount + 3; + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName1); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName2); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName3); }, () => { ScenarioTestHelpers.DeletePool(controller, context, poolName1); ScenarioTestHelpers.DeletePool(controller, context, poolName2); ScenarioTestHelpers.DeletePool(controller, context, poolName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -155,17 +188,23 @@ public void TestListAllPools() public void TestDeletePool() { BatchController controller = BatchController.NewInstance; - string poolName = "testDelete"; + string resourceGroupName = "test-delete-pool"; + string accountName = "testdeletepool"; + string location = "eastus"; + string poolName = "testPool"; BatchAccountContext context = null; controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-DeletePool '{0}' '{1}' '0'", commonAccountName, poolName) }; }, + () => { return new string[] { string.Format("Test-DeletePool '{0}' '{1}' '0'", accountName, poolName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName, 0); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, - null, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); } @@ -175,17 +214,23 @@ public void TestDeletePool() public void TestDeletePoolPipeline() { BatchController controller = BatchController.NewInstance; - string poolName = "testDeletePipe"; + string resourceGroupName = "test-delete-pool"; + string accountName = "testdeletepool"; + string location = "eastus"; + string poolName = "testPool"; BatchAccountContext context = null; controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-DeletePool '{0}' '{1}' '1'", commonAccountName, poolName) }; }, + () => { return new string[] { string.Format("Test-DeletePool '{0}' '{1}' '1'", accountName, poolName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName); - ScenarioTestHelpers.CreateTestPool(controller, context, poolName, 0); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(controller, context, poolName); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, - null, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); } diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 index f63ee1d7a400..f528b4ff8f4d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 @@ -153,9 +153,9 @@ function Test-ListAllPools param([string]$accountName, [string]$count) $context = Get-AzureBatchAccountKeys -Name $accountName - $pools = Get-AzureBatchPool_ST -BatchContext $context + $workItems = Get-AzureBatchPool_ST -BatchContext $context - Assert-AreEqual $count $pools.Length + Assert-AreEqual $count $workItems.Length } <# @@ -169,8 +169,8 @@ function Test-DeletePool $context = Get-AzureBatchAccountKeys -Name $accountName # Verify the Pool exists - $pool = Get-AzureBatchPool_ST $poolName -BatchContext $context - Assert-AreEqual $poolName $pool.Name + $pools = Get-AzureBatchPool_ST -BatchContext $context + Assert-AreEqual 1 $pools.Count if ($usePipeline -eq '1') { @@ -181,11 +181,9 @@ function Test-DeletePool Remove-AzureBatchPool_ST -Name $poolName -Force -BatchContext $context } - # Verify the Pool was deleted. Use the OData filter since the GetPool API will cause a 404 if the pool isn't found. - $filter = "name eq '" + $poolName + "'" - $pool = Get-AzureBatchPool_ST -Filter $filter -BatchContext $context - - Assert-True { $pool -eq $null -or $pool.State.ToString().ToLower() -eq 'deleting' } + # Verify the Pool was deleted + $pools = Get-AzureBatchPool_ST -BatchContext $context + Assert-True { $pools -eq $null -or $pools[0].State.ToString().ToLower() -eq 'deleting' } } <# diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs index f110a8941a31..9814ed70e258 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs @@ -49,18 +49,7 @@ public static class ScenarioTestHelpers // Content-Type header used by the Batch REST APIs private const string ContentTypeString = "application/json;odata=minimalmetadata"; - // NOTE: To save time on setup and VM allocation when recording, many tests assume the following: - // - A Batch account named 'pstests' exists under the subscription being used for recording. - // - The following commands were run to create a pool, and all 3 VMs are allocated: - // $context = Get-AzureBatchAccountKeys "pstests" - // $startTask = New-Object Microsoft.Azure.Commands.Batch.Models.PSStartTask - // $startTask.CommandLine = "cmd /c echo hello" - // New-AzureBatchPool -Name "testPool" -VMSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -StartTask $startTask -BatchContext $context - internal const string SharedAccount = "pstests"; - internal const string SharedPool = "testPool"; - internal const string SharedPoolVM = "tvm-4155946844_1-20150709t190321z"; // Use the following command to get a VM name: (Get-AzureBatchVM -PoolName "testPool" -BatchContext $context)[0].Name - internal const string SharedPoolStartTaskStdOut = "startup\\stdout.txt"; - internal const string SharedPoolStartTaskStdOutContent = "hello"; + private const string DefaultPoolName = "testPool"; /// /// Creates an account and resource group for use with the Scenario tests @@ -99,7 +88,7 @@ public static void CleanupTestAccount(BatchController controller, string resourc /// /// Creates a test pool for use in Scenario tests. /// - public static void CreateTestPool(BatchController controller, BatchAccountContext context, string poolName, int targetDedicated) + public static void CreateTestPool(BatchController controller, BatchAccountContext context, string poolName) { YieldInjectionInterceptor interceptor = CreateHttpRecordingInterceptor(); BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; @@ -109,7 +98,7 @@ public static void CreateTestPool(BatchController controller, BatchAccountContex { OSFamily = "4", TargetOSVersion = "*", - TargetDedicated = targetDedicated + TargetDedicated = 1 }; client.CreatePool(parameters); @@ -139,39 +128,6 @@ public static void WaitForSteadyPoolAllocation(BatchController controller, Batch } } - /// - /// Gets the CurrentDedicated count from a pool - /// - public static int GetPoolCurrentDedicated(BatchController controller, BatchAccountContext context, string poolName) - { - YieldInjectionInterceptor interceptor = CreateHttpRecordingInterceptor(); - BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; - BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); - - ListPoolOptions options = new ListPoolOptions(context, behaviors) - { - PoolName = poolName - }; - - PSCloudPool pool = client.ListPools(options).First(); - return pool.CurrentDedicated.Value; - } - - /// - /// Gets the number of pools under the specified account - /// - public static int GetPoolCount(BatchController controller, BatchAccountContext context) - { - YieldInjectionInterceptor interceptor = CreateHttpRecordingInterceptor(); - BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; - BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); - - ListPoolOptions options = new ListPoolOptions(context, behaviors); - - return client.ListPools(options).Count(); - } - - /// /// Deletes a pool used in a Scenario test. /// @@ -194,7 +150,7 @@ public static void CreateTestWorkItem(BatchController controller, BatchAccountCo BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); PSJobExecutionEnvironment jobExecutionEnvironment = new PSJobExecutionEnvironment(); - jobExecutionEnvironment.PoolName = SharedPool; + jobExecutionEnvironment.PoolName = DefaultPoolName; PSWorkItemSchedule schedule = null; if (recurrenceInterval != null) { @@ -360,6 +316,7 @@ public static YieldInjectionInterceptor CreateHttpRecordingInterceptor() { object batchResponse = null; + Delegate postProcessDelegate = null; HttpRequestMessage request = GenerateHttpRequest((BatchRequest)batchRequest); // Setup HTTP recorder and send the request diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs index fcdf7ea02ddc..e06fe613f456 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs @@ -26,28 +26,29 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class TaskTests { - private const string accountName = ScenarioTestHelpers.SharedAccount; - private const string poolName = ScenarioTestHelpers.SharedPool; - [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestCreateTask() { BatchController controller = BatchController.NewInstance; - string workItemName = "createTaskWI"; + string resourceGroupName = "test-new-task"; + string accountName = "testnewtask"; + string location = "eastus"; + string workItemName = "testName"; string jobName = null; BatchAccountContext context = null; controller.RunPsTestWorkflow( () => { return new string[] { string.Format("Test-CreateTask '{0}' '{1}' '{2}'", accountName, workItemName, jobName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); }, () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -58,7 +59,22 @@ public void TestCreateTask() public void TestGetTaskRequiredParameters() { BatchController controller = BatchController.NewInstance; - controller.RunPsTest(string.Format("Test-GetTaskRequiredParameters '{0}'", accountName)); + string resourceGroupName = "test-get-task-params"; + string accountName = "testgettaskparams"; + string location = "eastus"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetTaskRequiredParameters '{0}'", accountName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); } [Fact] @@ -66,7 +82,10 @@ public void TestGetTaskRequiredParameters() public void TestGetTaskByName() { BatchController controller = BatchController.NewInstance; - string workItemName = "getTaskWI"; + string resourceGroupName = "test-get-task"; + string accountName = "testgettaskbyname"; + string location = "eastus"; + string workItemName = "testName"; string jobName = null; string taskName = "testTask"; BatchAccountContext context = null; @@ -74,7 +93,7 @@ public void TestGetTaskByName() () => { return new string[] { string.Format("Test-GetTaskByName '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, taskName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName); @@ -82,6 +101,7 @@ public void TestGetTaskByName() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -92,7 +112,10 @@ public void TestGetTaskByName() public void TestListTasksByFilter() { BatchController controller = BatchController.NewInstance; - string workItemName = "filterTaskWI"; + string resourceGroupName = "test-list-task-filter"; + string accountName = "testlisttaskfilter"; + string location = "eastus"; + string workItemName = "testWorkItem"; string jobName = null; string taskName1 = "testTask1"; string taskName2 = "testTask2"; @@ -104,7 +127,7 @@ public void TestListTasksByFilter() () => { return new string[] { string.Format("Test-ListTasksByFilter '{0}' '{1}' '{2}' '{3}' '{4}'", accountName, workItemName, jobName, taskPrefix, matches) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName1); @@ -114,6 +137,7 @@ public void TestListTasksByFilter() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -124,7 +148,10 @@ public void TestListTasksByFilter() public void TestListTasksWithMaxCount() { BatchController controller = BatchController.NewInstance; - string workItemName = "maxCountTaskWI"; + string resourceGroupName = "test-list-task-maxcount"; + string accountName = "testlisttaskmaxcount"; + string location = "eastus"; + string workItemName = "testWorkItem"; string jobName = null; string taskName1 = "testTask1"; string taskName2 = "testTask2"; @@ -135,7 +162,7 @@ public void TestListTasksWithMaxCount() () => { return new string[] { string.Format("Test-ListTasksWithMaxCount '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, maxCount) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName1); @@ -145,6 +172,7 @@ public void TestListTasksWithMaxCount() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -155,7 +183,10 @@ public void TestListTasksWithMaxCount() public void TestListAllTasks() { BatchController controller = BatchController.NewInstance; - string workItemName = "listTaskWI"; + string resourceGroupName = "test-list-task"; + string accountName = "testlisttask"; + string location = "eastus"; + string workItemName = "testWorkItem"; string jobName = null; string taskName1 = "testTask1"; string taskName2 = "testTask2"; @@ -166,7 +197,7 @@ public void TestListAllTasks() () => { return new string[] { string.Format("Test-ListAllTasks '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, count) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName1); @@ -176,6 +207,7 @@ public void TestListAllTasks() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -186,7 +218,10 @@ public void TestListAllTasks() public void TestListTaskPipeline() { BatchController controller = BatchController.NewInstance; - string workItemName = "listTaskPipeWI"; + string resourceGroupName = "test-list-task-pipe"; + string accountName = "testlisttaskpipe"; + string location = "eastus"; + string workItemName = "testWorkItem"; string jobName = null; string taskName = "testTask"; BatchAccountContext context = null; @@ -194,7 +229,7 @@ public void TestListTaskPipeline() () => { return new string[] { string.Format("Test-ListTaskPipeline '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, taskName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName); @@ -202,6 +237,7 @@ public void TestListTaskPipeline() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -212,7 +248,10 @@ public void TestListTaskPipeline() public void TestDeleteTask() { BatchController controller = BatchController.NewInstance; - string workItemName = "deleteTaskWI"; + string resourceGroupName = "test-delete-task"; + string accountName = "testdeletetask"; + string location = "eastus"; + string workItemName = "testWorkItem"; string jobName = null; string taskName = "testTask"; @@ -221,7 +260,7 @@ public void TestDeleteTask() () => { return new string[] { string.Format("Test-DeleteTask '{0}' '{1}' '{2}' '{3}' '0'", accountName, workItemName, jobName, taskName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName); @@ -229,6 +268,7 @@ public void TestDeleteTask() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -239,7 +279,10 @@ public void TestDeleteTask() public void TestDeleteTaskPipeline() { BatchController controller = BatchController.NewInstance; - string workItemName = "deleteTaskPipeWI"; + string resourceGroupName = "test-delete-task-pipe"; + string accountName = "testdeletetaskpipe"; + string location = "eastus"; + string workItemName = "testWorkItem"; string jobName = null; string taskName = "testTask"; @@ -248,7 +291,7 @@ public void TestDeleteTaskPipeline() () => { return new string[] { string.Format("Test-DeleteTask '{0}' '{1}' '{2}' '{3}' '1'", accountName, workItemName, jobName, taskName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); ScenarioTestHelpers.CreateTestTask(controller, context, workItemName, jobName, taskName); @@ -256,6 +299,7 @@ public void TestDeleteTaskPipeline() () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMTests.cs index 6363d6b5b37e..dee68455de4c 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMTests.cs @@ -26,8 +26,15 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class VMTests { - private const string accountName = ScenarioTestHelpers.SharedAccount; - private const string poolName = ScenarioTestHelpers.SharedPool; + // NOTE: To save time on VM allocation when recording, these tests assume the following: + // - A Batch account named 'vmtests' exists under the subscription being used for recording. + // - The following commands were run to create a pool, and all 3 VMs are allocated and idle: + // $context = Get-AzureBatchAccountKeys "vmtests" + // New-AzureBatchPool -Name "testPool" -VMSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -BatchContext $context + + private const string accountName = "vmtests"; + private const int vmCount = 3; + private const string poolName = "testPool"; [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] @@ -42,19 +49,9 @@ public void TestGetVMByName() public void TestListVMsByFilter() { BatchController controller = BatchController.NewInstance; - BatchAccountContext context = null; string state = "idle"; - int matches = 0; - controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-ListVMsByFilter '{0}' '{1}' '{2}' '{3}'", accountName, poolName, state, matches) }; }, - () => - { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); - matches = ScenarioTestHelpers.GetPoolCurrentDedicated(controller, context, poolName); - }, - null, - TestUtilities.GetCallingClass(), - TestUtilities.GetCurrentMethodName()); + int matches = 3; + controller.RunPsTest(string.Format("Test-ListVMsByFilter '{0}' '{1}' '{2}' '{3}'", accountName, poolName, state, matches)); } [Fact] @@ -71,18 +68,7 @@ public void TestListVMsWithMaxCount() public void TestListAllVMs() { BatchController controller = BatchController.NewInstance; - BatchAccountContext context = null; - int vmCount = 0; - controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-ListAllVMs '{0}' '{1}' '{2}'", accountName, poolName, vmCount) }; }, - () => - { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); - vmCount = ScenarioTestHelpers.GetPoolCurrentDedicated(controller, context, poolName); - }, - null, - TestUtilities.GetCallingClass(), - TestUtilities.GetCurrentMethodName()); + controller.RunPsTest(string.Format("Test-ListAllVMs '{0}' '{1}' '{2}'", accountName, poolName, vmCount)); } [Fact] @@ -90,19 +76,7 @@ public void TestListAllVMs() public void TestListVMPipeline() { BatchController controller = BatchController.NewInstance; - BatchAccountContext context = null; - string state = "idle"; - int vmCount = 0; - controller.RunPsTestWorkflow( - () => { return new string[] { string.Format("Test-ListVMPipeline '{0}' '{1}' '{2}'", accountName, poolName, vmCount) }; }, - () => - { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); - vmCount = ScenarioTestHelpers.GetPoolCurrentDedicated(controller, context, poolName); - }, - null, - TestUtilities.GetCallingClass(), - TestUtilities.GetCurrentMethodName()); + controller.RunPsTest(string.Format("Test-ListVMPipeline '{0}' '{1}' '{2}'", accountName, poolName, vmCount)); } } diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMUserTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMUserTests.cs index 423ebbc293af..5f269dc864bc 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMUserTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/VMUserTests.cs @@ -27,9 +27,13 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class VMUserTests { - private const string accountName = ScenarioTestHelpers.SharedAccount; - private const string poolName = ScenarioTestHelpers.SharedPool; - private const string vmName = ScenarioTestHelpers.SharedPoolVM; + // NOTE: To save time on VM allocation when recording, these tests assume the following: + // - A Batch account named 'usertests' exists under the subscription being used for recording. + // - There is a pool named 'testPool' that has at least 1 vm allocated to it. + + private const string accountName = "usertests"; + private const string poolName = "testPool"; + private const string vmName = "tvm-1900272697_1-20150407t180708z"; // Run the following to get a vm name: (Get-AzureBatchVM "testPool" -BatchContext $context)[0].Name [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs index 9efa541e8958..9ad894bc106d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs @@ -24,14 +24,27 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class WorkItemTests { - private const string accountName = ScenarioTestHelpers.SharedAccount; - [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestNewWorkItem() { BatchController controller = BatchController.NewInstance; - controller.RunPsTest(string.Format("Test-NewWorkItem '{0}'", accountName)); + string resourceGroupName = "test-new-wi"; + string accountName = "testnewwi"; + string location = "eastus"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-NewWorkItem '{0}'", accountName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); } [Fact] @@ -39,18 +52,22 @@ public void TestNewWorkItem() public void TestGetWorkItemByName() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-wi"; + string accountName = "testgetwi"; + string location = "eastus"; string workItemName = "testName"; BatchAccountContext context = null; controller.RunPsTestWorkflow( () => { return new string[] { string.Format("Test-GetWorkItemByName '{0}' '{1}'", accountName, workItemName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); }, () => { ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -61,6 +78,9 @@ public void TestGetWorkItemByName() public void TestListWorkItemsByFilter() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-wi-filter"; + string accountName = "testlistwifilter"; + string location = "eastus"; string workItemName1 = "testName1"; string workItemName2 = "testName2"; string workItemName3 = "thirdtestName"; @@ -71,7 +91,7 @@ public void TestListWorkItemsByFilter() () => { return new string[] { string.Format("Test-ListWorkItemsByFilter '{0}' '{1}' '{2}'", accountName, workItemPrefix, matches) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName1); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName2); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName3); @@ -81,6 +101,7 @@ public void TestListWorkItemsByFilter() ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName1); ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName2); ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -91,6 +112,9 @@ public void TestListWorkItemsByFilter() public void TestListWorkItemsWithMaxCount() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-wi-maxcount"; + string accountName = "testlistwimaxcount"; + string location = "eastus"; string workItemName1 = "testName1"; string workItemName2 = "testName2"; string workItemName3 = "thirdtestName"; @@ -100,7 +124,7 @@ public void TestListWorkItemsWithMaxCount() () => { return new string[] { string.Format("Test-ListWorkItemsWithMaxCount '{0}' '{1}'", accountName, maxCount) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName1); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName2); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName3); @@ -110,6 +134,7 @@ public void TestListWorkItemsWithMaxCount() ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName1); ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName2); ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -120,6 +145,9 @@ public void TestListWorkItemsWithMaxCount() public void TestListAllWorkItems() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-wi"; + string accountName = "testlistwi"; + string location = "eastus"; string workItemName1 = "testName1"; string workItemName2 = "testName2"; string workItemName3 = "thirdtestName"; @@ -129,7 +157,7 @@ public void TestListAllWorkItems() () => { return new string[] { string.Format("Test-ListAllWorkItems '{0}' '{1}'", accountName, count) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName1); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName2); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName3); @@ -139,6 +167,7 @@ public void TestListAllWorkItems() ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName1); ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName2); ScenarioTestHelpers.DeleteWorkItem(controller, context, workItemName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); @@ -149,6 +178,9 @@ public void TestListAllWorkItems() public void TestDeleteWorkItem() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-delete-wi"; + string accountName = "testdeletewi"; + string location = "eastus"; string workItemName = "testWorkItem"; BatchAccountContext context = null; @@ -156,10 +188,13 @@ public void TestDeleteWorkItem() () => { return new string[] { string.Format("Test-DeleteWorkItem '{0}' '{1}' '0'", accountName, workItemName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); }, - null, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); } @@ -169,6 +204,9 @@ public void TestDeleteWorkItem() public void TestDeleteWorkItemPipeline() { BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-delete-wi-pipe"; + string accountName = "testdeletewipipe"; + string location = "eastus"; string workItemName = "testWorkItem"; BatchAccountContext context = null; @@ -176,10 +214,13 @@ public void TestDeleteWorkItemPipeline() () => { return new string[] { string.Format("Test-DeleteWorkItem '{0}' '{1}' '1'", accountName, workItemName) }; }, () => { - context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); ScenarioTestHelpers.CreateTestWorkItem(controller, context, workItemName); }, - null, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); } diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json index 152730e28f6d..3277cd972be5 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "56903" + "21795" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "31949" ], "x-ms-request-id": [ - "a5f98769-55ad-455a-94c3-e55dc333bdb5" + "9466a22d-9953-4d96-ba1d-48e4efbb0f9d" ], "x-ms-correlation-request-id": [ - "a5f98769-55ad-455a-94c3-e55dc333bdb5" + "9466a22d-9953-4d96-ba1d-48e4efbb0f9d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183422Z:a5f98769-55ad-455a-94c3-e55dc333bdb5" + "CENTRALUS:20141015T022252Z:9466a22d-9953-4d96-ba1d-48e4efbb0f9d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:22 GMT" + "Wed, 15 Oct 2014 02:22:52 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk3935?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazM5MzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -72,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "31948" ], "x-ms-request-id": [ - "7a360d4d-fb8a-4fba-bbb7-1ba4bb930d5e" + "f342e4ef-03a7-466a-99d4-eb150fa59f27" ], "x-ms-correlation-request-id": [ - "7a360d4d-fb8a-4fba-bbb7-1ba4bb930d5e" + "f342e4ef-03a7-466a-99d4-eb150fa59f27" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183423Z:7a360d4d-fb8a-4fba-bbb7-1ba4bb930d5e" + "CENTRALUS:20141015T022253Z:f342e4ef-03a7-466a-99d4-eb150fa59f27" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -94,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:22 GMT" + "Wed, 15 Oct 2014 02:22:52 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk3935?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazM5MzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -121,16 +118,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "31938" ], "x-ms-request-id": [ - "4b080209-41dd-4fdf-a30f-eeba67a04a2a" + "23e2b0f7-39b5-4138-8956-c01e18767d91" ], "x-ms-correlation-request-id": [ - "4b080209-41dd-4fdf-a30f-eeba67a04a2a" + "23e2b0f7-39b5-4138-8956-c01e18767d91" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183518Z:4b080209-41dd-4fdf-a30f-eeba67a04a2a" + "CENTRALUS:20141015T022300Z:23e2b0f7-39b5-4138-8956-c01e18767d91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -139,31 +136,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:17 GMT" + "Wed, 15 Oct 2014 02:23:00 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk3935?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazM5MzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935\",\r\n \"name\": \"onesdk3935\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673\",\r\n \"name\": \"onesdk6673\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -175,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1178" ], "x-ms-request-id": [ - "bc8182fe-0ce3-4c38-aec8-c8414911018e" + "fd053c3b-5ff1-4300-bb2f-7fbe20609e32" ], "x-ms-correlation-request-id": [ - "bc8182fe-0ce3-4c38-aec8-c8414911018e" + "fd053c3b-5ff1-4300-bb2f-7fbe20609e32" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183424Z:bc8182fe-0ce3-4c38-aec8-c8414911018e" + "CENTRALUS:20141015T022253Z:fd053c3b-5ff1-4300-bb2f-7fbe20609e32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -193,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:23 GMT" + "Wed, 15 Oct 2014 02:22:53 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +220,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "31947" ], "x-ms-request-id": [ - "1578cd17-e1cc-4668-9589-6a9d54291ed8" + "7cece720-8384-4268-a52e-92478a780999" ], "x-ms-correlation-request-id": [ - "1578cd17-e1cc-4668-9589-6a9d54291ed8" + "7cece720-8384-4268-a52e-92478a780999" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183424Z:1578cd17-e1cc-4668-9589-6a9d54291ed8" + "CENTRALUS:20141015T022253Z:7cece720-8384-4268-a52e-92478a780999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -241,14 +238,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:23 GMT" + "Wed, 15 Oct 2014 02:22:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk3935/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -274,16 +271,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:90c95908-3d14-45da-81cd-d39f7881b07b" + "centralus:24e63c87-3e4d-4766-9561-a82d77d0fd47" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "31893" ], "x-ms-correlation-request-id": [ - "c5137566-492f-40b6-882e-a494dba55d5b" + "c72e23ef-1885-4a37-a4c5-0ae87c195c21" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183424Z:c5137566-492f-40b6-882e-a494dba55d5b" + "CENTRALUS:20141015T022254Z:c72e23ef-1885-4a37-a4c5-0ae87c195c21" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -292,14 +289,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:24 GMT" + "Wed, 15 Oct 2014 02:22:54 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -307,10 +304,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -322,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "31946" ], "x-ms-request-id": [ - "363e0968-fbef-40d8-915b-90c7a8d47ffb" + "fa637187-9d6c-4307-bd58-9b2d43ddf0c1" ], "x-ms-correlation-request-id": [ - "363e0968-fbef-40d8-915b-90c7a8d47ffb" + "fa637187-9d6c-4307-bd58-9b2d43ddf0c1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183424Z:363e0968-fbef-40d8-915b-90c7a8d47ffb" + "CENTRALUS:20141015T022254Z:fa637187-9d6c-4307-bd58-9b2d43ddf0c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -340,25 +337,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:24 GMT" + "Wed, 15 Oct 2014 02:22:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "78" + "74" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "7" ] }, "ResponseBody": "", @@ -376,31 +376,31 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1177" ], "request-id": [ - "be29cee0-6716-413c-b7f7-81461923459c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "29791b0d-87a8-4977-acd9-d7a97c41497b" ], "x-ms-request-id": [ - "c5749860-624d-4c2f-b0ed-e3af917d2cd6" + "0e861885-9505-4bc3-84af-2ea294663864" ], "x-ms-correlation-request-id": [ - "c5749860-624d-4c2f-b0ed-e3af917d2cd6" + "0e861885-9505-4bc3-84af-2ea294663864" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183430Z:c5749860-624d-4c2f-b0ed-e3af917d2cd6" + "CENTRALUS:20141015T022255Z:0e861885-9505-4bc3-84af-2ea294663864" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:30 GMT" + "Wed, 15 Oct 2014 02:22:55 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/operationResults/be29cee0-6716-413c-b7f7-81461923459c?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/29791b0d-87a8-4977-acd9-d7a97c41497b?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -409,22 +409,25 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/operationResults/be29cee0-6716-413c-b7f7-81461923459c?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Ni9vcGVyYXRpb25SZXN1bHRzL2JlMjljZWUwLTY3MTYtNDEzYy1iN2Y3LTgxNDYxOTIzNDU5Yz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/29791b0d-87a8-4977-acd9-d7a97c41497b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvb3BlcmF0aW9uUmVzdWx0cy8yOTc5MWIwZC04N2E4LTQ5NzctYWNkOS1kN2E5N2M0MTQ5N2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "7" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk596\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk596.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "347" + "350" ], "Content-Type": [ "application/json; charset=utf-8" @@ -433,37 +436,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:34:32 GMT" + "Wed, 15 Oct 2014 02:22:56 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "30168fdf-80fe-45ce-809f-8cc9522d769a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "e3c0e176-484c-40e8-818c-5614e7ebba66" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "31945" ], "x-ms-request-id": [ - "78cb42ed-8172-4599-a095-aa57252ad8de" + "af6c5434-b546-46c2-81e7-124efc9b2365" ], "x-ms-correlation-request-id": [ - "78cb42ed-8172-4599-a095-aa57252ad8de" + "af6c5434-b546-46c2-81e7-124efc9b2365" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183430Z:78cb42ed-8172-4599-a095-aa57252ad8de" + "CENTRALUS:20141015T022256Z:af6c5434-b546-46c2-81e7-124efc9b2365" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:34:30 GMT" + "Wed, 15 Oct 2014 02:22:55 GMT" ], "ETag": [ - "0x8D2888D081652D1" + "0x8D1B63610F1D8CD" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -472,22 +475,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk596\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk596.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "347" + "350" ], "Content-Type": [ "application/json; charset=utf-8" @@ -496,37 +499,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:35:13 GMT" + "Wed, 15 Oct 2014 02:22:56 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "2a8d3f11-52a6-4f14-9264-596a79c8d09b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "8b6be129-3f4b-4e65-a9f0-be8b4e878e1b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "31944" ], "x-ms-request-id": [ - "b01b531d-c8d2-45e1-bdda-75369bfdc443" + "d0048a9a-01aa-4266-bd86-98d7a600ca2c" ], "x-ms-correlation-request-id": [ - "b01b531d-c8d2-45e1-bdda-75369bfdc443" + "d0048a9a-01aa-4266-bd86-98d7a600ca2c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183512Z:b01b531d-c8d2-45e1-bdda-75369bfdc443" + "CENTRALUS:20141015T022256Z:d0048a9a-01aa-4266-bd86-98d7a600ca2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:12 GMT" + "Wed, 15 Oct 2014 02:22:55 GMT" ], "ETag": [ - "0x8D2888D2109E403" + "0x8D1B636112A74A2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -535,22 +538,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk596\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk596.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "347" + "350" ], "Content-Type": [ "application/json; charset=utf-8" @@ -559,37 +562,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:35:14 GMT" + "Wed, 15 Oct 2014 02:22:57 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "28bd47e2-44fd-4f8a-917d-734c16f50b0c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "8f4e26f6-65bc-4c6e-8e66-57f6c9f68d60" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "31943" ], "x-ms-request-id": [ - "abecdb72-e1ee-4f12-af6d-5cad0f5882d7" + "a58e5a33-b90e-4825-b86c-fffc2b2de06f" ], "x-ms-correlation-request-id": [ - "abecdb72-e1ee-4f12-af6d-5cad0f5882d7" + "a58e5a33-b90e-4825-b86c-fffc2b2de06f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183513Z:abecdb72-e1ee-4f12-af6d-5cad0f5882d7" + "CENTRALUS:20141015T022257Z:a58e5a33-b90e-4825-b86c-fffc2b2de06f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:12 GMT" + "Wed, 15 Oct 2014 02:22:57 GMT" ], "ETag": [ - "0x8D2888D21566E4D" + "0x8D1B636118C68FE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -598,22 +601,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk596\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk596.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "347" + "350" ], "Content-Type": [ "application/json; charset=utf-8" @@ -622,37 +625,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:35:15 GMT" + "Wed, 15 Oct 2014 02:22:58 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "67d37e8f-87c7-4a71-ab07-793cc4a9e3cf" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "ffca1258-dacf-489e-aa69-5510e9ef3be6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "31942" ], "x-ms-request-id": [ - "00d409d9-0a74-4236-b8e6-d5a14833a613" + "55b3dd6c-4c45-49d4-8afd-69871498e477" ], "x-ms-correlation-request-id": [ - "00d409d9-0a74-4236-b8e6-d5a14833a613" + "55b3dd6c-4c45-49d4-8afd-69871498e477" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183514Z:00d409d9-0a74-4236-b8e6-d5a14833a613" + "CENTRALUS:20141015T022258Z:55b3dd6c-4c45-49d4-8afd-69871498e477" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:13 GMT" + "Wed, 15 Oct 2014 02:22:58 GMT" ], "ETag": [ - "0x8D2888D21BE302A" + "0x8D1B636121CACB6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -661,22 +664,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk596\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk596.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "347" + "350" ], "Content-Type": [ "application/json; charset=utf-8" @@ -685,37 +688,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:35:15 GMT" + "Wed, 15 Oct 2014 02:22:59 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "3cb85337-e330-43a4-b484-1d4cab80dccc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "e9703fe2-5564-4bbb-800f-0bfbb069f20a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "31941" ], "x-ms-request-id": [ - "5f71ee17-47c0-4244-9556-7e82911bdf64" + "ac771981-2887-4046-af62-cc351a397e92" ], "x-ms-correlation-request-id": [ - "5f71ee17-47c0-4244-9556-7e82911bdf64" + "ac771981-2887-4046-af62-cc351a397e92" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183514Z:5f71ee17-47c0-4244-9556-7e82911bdf64" + "CENTRALUS:20141015T022259Z:ac771981-2887-4046-af62-cc351a397e92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:14 GMT" + "Wed, 15 Oct 2014 02:22:59 GMT" ], "ETag": [ - "0x8D2888D222CF951" + "0x8D1B63612A38653" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -724,22 +727,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk596\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk596.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9870\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9870.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "347" + "350" ], "Content-Type": [ "application/json; charset=utf-8" @@ -748,37 +751,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:35:16 GMT" + "Wed, 15 Oct 2014 02:22:59 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "aa622743-7e8f-41a2-aad6-2e83fc2a5509" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "2e686038-a07b-4b3b-960a-56acab327a1e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "31940" ], "x-ms-request-id": [ - "15bee8b4-b527-47a4-ac17-df4ec3efbcca" + "fb2cbb03-374c-411d-9afd-6ab3d591f813" ], "x-ms-correlation-request-id": [ - "15bee8b4-b527-47a4-ac17-df4ec3efbcca" + "fb2cbb03-374c-411d-9afd-6ab3d591f813" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183515Z:15bee8b4-b527-47a4-ac17-df4ec3efbcca" + "CENTRALUS:20141015T022259Z:fb2cbb03-374c-411d-9afd-6ab3d591f813" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:14 GMT" + "Wed, 15 Oct 2014 02:22:59 GMT" ], "ETag": [ - "0x8D2888D2275ABA1" + "0x8D1B63612FAA1BB" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -787,22 +790,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/listKeys?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Ni9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"onesdk596\",\r\n \"primary\": \"ZVBIAmGNWxI9pgp1+w+SWQVpv2T3I2TXExo8lNPhQVp4wbvy/Ly/OSUQm+pDdiPqTgmeG0hn5qfC9bBG9Y4SSg==\",\r\n \"secondary\": \"hLhIO7p7NVi6gSRqbpyID0pnIDkstr4TU+2JjPh9EHnDbLoFYjlXC2NmkTFP9gQ+1ZDa4qnwVP+Fduenr/7Q2Q==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"FkyrWwhUkpAuOar0WAlUK75yEe5J+vlM1ss3HblX0U5jmV6ahuP5X3TsYq+L6v1meqgpL7SizK71bL2NuohBBw==\",\r\n \"secondary\": \"BMSi4im2fRmZJ9uSJ0ag3TQxgvlsRhNfDrcX2t/FVKVYMsCZE2R+jN5P1M9Qw4TW9bHFHGqP1YEz8DR/5bAQAw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "231" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -814,28 +817,28 @@ "no-cache" ], "request-id": [ - "8cd759e2-adf4-4138-9dca-59d9fd1cf565" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "9badef60-d5ac-45fe-b938-35ef3da1e8f1" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1176" ], "x-ms-request-id": [ - "0a124c4b-0ce7-4487-b367-92792e2535f8" + "4a1bd51a-de71-4494-852d-43fd6fc10484" ], "x-ms-correlation-request-id": [ - "0a124c4b-0ce7-4487-b367-92792e2535f8" + "4a1bd51a-de71-4494-852d-43fd6fc10484" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183513Z:0a124c4b-0ce7-4487-b367-92792e2535f8" + "CENTRALUS:20141015T022257Z:4a1bd51a-de71-4494-852d-43fd6fc10484" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:12 GMT" + "Wed, 15 Oct 2014 02:22:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -844,22 +847,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/listKeys?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Ni9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"onesdk596\",\r\n \"primary\": \"m/MBMbg+x+TauF0t9ieNJDCI1q6b6gJnVxIJzfjHMkVhlmfRcIXU3iQ6ykDfqjSGKneFQw3dS2k1JioxxtUjDw==\",\r\n \"secondary\": \"wShApmOwW2ZMB0j08/v6QU74hPfxasb0vd59C4QvyHo3My/qeK9rgN4xgEof8VYfWfcMkdhc+t9gKS481DikpQ==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"nIz8F1c0PkoJxfnM5ZpdMEN1NIy28rxvgO6YKLQJOsQOlllL8snWEDn+GHwzDoNUV2hAYkiTuOA+A92drd3Wmg==\",\r\n \"secondary\": \"6kGALTixxIvtdrfRSkJi2DHudeWwT2LPgCX4XO5a9ee0IY/qMJ7pHnayYgbbtBa5JoiEMJM2Yj5dwEuIuYteUQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "231" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -871,28 +874,28 @@ "no-cache" ], "request-id": [ - "2c753738-14e2-4153-9f2e-fbf195962f90" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "2e3f8bca-3889-44fc-bc9b-fae5a398821d" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1173" ], "x-ms-request-id": [ - "567a0271-1c6d-4a41-b953-a40b03f0c48e" + "963800de-cc9c-4e1d-8332-25ad1cc9efda" ], "x-ms-correlation-request-id": [ - "567a0271-1c6d-4a41-b953-a40b03f0c48e" + "963800de-cc9c-4e1d-8332-25ad1cc9efda" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183514Z:567a0271-1c6d-4a41-b953-a40b03f0c48e" + "CENTRALUS:20141015T022259Z:963800de-cc9c-4e1d-8332-25ad1cc9efda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:14 GMT" + "Wed, 15 Oct 2014 02:22:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -901,8 +904,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/regenerateKeys?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Ni9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/regenerateKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvcmVnZW5lcmF0ZUtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "{\r\n \"keyName\": \"Primary\"\r\n}", "RequestHeaders": { @@ -913,16 +916,16 @@ "28" ], "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"onesdk596\",\r\n \"primary\": \"m/MBMbg+x+TauF0t9ieNJDCI1q6b6gJnVxIJzfjHMkVhlmfRcIXU3iQ6ykDfqjSGKneFQw3dS2k1JioxxtUjDw==\",\r\n \"secondary\": \"hLhIO7p7NVi6gSRqbpyID0pnIDkstr4TU+2JjPh9EHnDbLoFYjlXC2NmkTFP9gQ+1ZDa4qnwVP+Fduenr/7Q2Q==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"nIz8F1c0PkoJxfnM5ZpdMEN1NIy28rxvgO6YKLQJOsQOlllL8snWEDn+GHwzDoNUV2hAYkiTuOA+A92drd3Wmg==\",\r\n \"secondary\": \"BMSi4im2fRmZJ9uSJ0ag3TQxgvlsRhNfDrcX2t/FVKVYMsCZE2R+jN5P1M9Qw4TW9bHFHGqP1YEz8DR/5bAQAw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "231" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -934,28 +937,28 @@ "no-cache" ], "request-id": [ - "1b3f1e78-15f6-431e-b49a-fde31cd909fd" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "38a74051-d130-4bf9-ad18-3424c953c754" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1175" ], "x-ms-request-id": [ - "ffc58a31-c5a3-40e0-bc90-2b97d5ddd45b" + "9daac50d-6d91-4d42-8109-bf3708eb79cf" ], "x-ms-correlation-request-id": [ - "ffc58a31-c5a3-40e0-bc90-2b97d5ddd45b" + "9daac50d-6d91-4d42-8109-bf3708eb79cf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183513Z:ffc58a31-c5a3-40e0-bc90-2b97d5ddd45b" + "CENTRALUS:20141015T022258Z:9daac50d-6d91-4d42-8109-bf3708eb79cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:13 GMT" + "Wed, 15 Oct 2014 02:22:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -964,8 +967,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/regenerateKeys?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Ni9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/regenerateKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvcmVnZW5lcmF0ZUtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "{\r\n \"keyName\": \"Secondary\"\r\n}", "RequestHeaders": { @@ -976,16 +979,16 @@ "30" ], "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"onesdk596\",\r\n \"primary\": \"m/MBMbg+x+TauF0t9ieNJDCI1q6b6gJnVxIJzfjHMkVhlmfRcIXU3iQ6ykDfqjSGKneFQw3dS2k1JioxxtUjDw==\",\r\n \"secondary\": \"wShApmOwW2ZMB0j08/v6QU74hPfxasb0vd59C4QvyHo3My/qeK9rgN4xgEof8VYfWfcMkdhc+t9gKS481DikpQ==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"onesdk9870\",\r\n \"primary\": \"nIz8F1c0PkoJxfnM5ZpdMEN1NIy28rxvgO6YKLQJOsQOlllL8snWEDn+GHwzDoNUV2hAYkiTuOA+A92drd3Wmg==\",\r\n \"secondary\": \"6kGALTixxIvtdrfRSkJi2DHudeWwT2LPgCX4XO5a9ee0IY/qMJ7pHnayYgbbtBa5JoiEMJM2Yj5dwEuIuYteUQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "231" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -997,28 +1000,28 @@ "no-cache" ], "request-id": [ - "e5bd4561-1353-4728-a986-183b01559b8c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "d3f4a599-24e6-453c-b769-621464bd02dc" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1174" ], "x-ms-request-id": [ - "2f65da86-8841-45de-b80c-e0838a4797c7" + "d050214c-a83a-422f-b8af-80c4eb46391f" ], "x-ms-correlation-request-id": [ - "2f65da86-8841-45de-b80c-e0838a4797c7" + "d050214c-a83a-422f-b8af-80c4eb46391f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183514Z:2f65da86-8841-45de-b80c-e0838a4797c7" + "CENTRALUS:20141015T022258Z:d050214c-a83a-422f-b8af-80c4eb46391f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:13 GMT" + "Wed, 15 Oct 2014 02:22:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1027,13 +1030,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Nj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "19" ] }, "ResponseBody": "", @@ -1051,31 +1057,31 @@ "15" ], "request-id": [ - "4811a1d2-ff91-470e-ace3-26dde356b0be" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "3026bba7-0b40-4024-b7b9-53ae618b5b67" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1172" ], "x-ms-request-id": [ - "04fb8ebc-2541-4caa-85a7-dccdf12611e9" + "fc57426d-99bc-40a4-857c-fc68f5c1c0d1" ], "x-ms-correlation-request-id": [ - "04fb8ebc-2541-4caa-85a7-dccdf12611e9" + "fc57426d-99bc-40a4-857c-fc68f5c1c0d1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183518Z:04fb8ebc-2541-4caa-85a7-dccdf12611e9" + "CENTRALUS:20141015T022300Z:fc57426d-99bc-40a4-857c-fc68f5c1c0d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:17 GMT" + "Wed, 15 Oct 2014 02:23:00 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/operationResults/4811a1d2-ff91-470e-ace3-26dde356b0be?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/3026bba7-0b40-4024-b7b9-53ae618b5b67?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1084,16 +1090,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk3935/providers/Microsoft.Batch/batchAccounts/onesdk596/operationResults/4811a1d2-ff91-470e-ace3-26dde356b0be?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazM5MzUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazU5Ni9vcGVyYXRpb25SZXN1bHRzLzQ4MTFhMWQyLWZmOTEtNDcwZS1hY2UzLTI2ZGRlMzU2YjBiZT9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6673/providers/Microsoft.Batch/batchAccounts/onesdk9870/operationResults/3026bba7-0b40-4024-b7b9-53ae618b5b67?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY2NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk4NzAvb3BlcmF0aW9uUmVzdWx0cy8zMDI2YmJhNy0wYjQwLTQwMjQtYjdiOS01M2FlNjE4YjViNjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "19" ] }, "ResponseBody": "", @@ -1105,37 +1114,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:35:19 GMT" + "Wed, 15 Oct 2014 02:23:00 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "b6ded57c-319a-48d3-b0c4-ae815101ec53" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "8a933aeb-463a-4ef5-a826-9d2f5ca788d8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31939" ], "x-ms-request-id": [ - "9ddc100e-c445-4039-baef-26790fae9b92" + "7e633171-77c6-458c-9f56-f1d8fdc0e2db" ], "x-ms-correlation-request-id": [ - "9ddc100e-c445-4039-baef-26790fae9b92" + "7e633171-77c6-458c-9f56-f1d8fdc0e2db" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183518Z:9ddc100e-c445-4039-baef-26790fae9b92" + "CENTRALUS:20141015T022300Z:7e633171-77c6-458c-9f56-f1d8fdc0e2db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:18 GMT" + "Wed, 15 Oct 2014 02:23:00 GMT" ], "ETag": [ - "0x8D2888D249C09FE" + "0x8D1B63613A3163A" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1144,13 +1153,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk3935?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazM5MzU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6673?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY2NzM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" ] }, "ResponseBody": "", @@ -1168,16 +1180,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1171" ], "x-ms-request-id": [ - "dde985ec-142a-4989-9e78-260ba73ed5e3" + "a567e893-256a-465f-b8a1-9772088910bf" ], "x-ms-correlation-request-id": [ - "dde985ec-142a-4989-9e78-260ba73ed5e3" + "a567e893-256a-465f-b8a1-9772088910bf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183521Z:dde985ec-142a-4989-9e78-260ba73ed5e3" + "CENTRALUS:20141015T022301Z:a567e893-256a-465f-b8a1-9772088910bf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1186,17 +1198,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:20 GMT" + "Wed, 15 Oct 2014 02:23:00 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pPVE0xTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1205,6 +1217,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" ] }, "ResponseBody": "", @@ -1222,16 +1237,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "31937" ], "x-ms-request-id": [ - "8a00d894-427e-4f75-ae71-9eb056f0c8b2" + "283931f1-4603-421c-bbdb-1a23c5711a34" ], "x-ms-correlation-request-id": [ - "8a00d894-427e-4f75-ae71-9eb056f0c8b2" + "283931f1-4603-421c-bbdb-1a23c5711a34" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183521Z:8a00d894-427e-4f75-ae71-9eb056f0c8b2" + "CENTRALUS:20141015T022301Z:283931f1-4603-421c-bbdb-1a23c5711a34" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1240,17 +1255,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:20 GMT" + "Wed, 15 Oct 2014 02:23:00 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pPVE0xTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1259,6 +1274,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" ] }, "ResponseBody": "", @@ -1276,16 +1294,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "31936" ], "x-ms-request-id": [ - "f9f48c5e-8ad7-4927-b541-4cd0d48caba1" + "3a61f56f-c924-444a-a3e5-9efd07d1ec67" ], "x-ms-correlation-request-id": [ - "f9f48c5e-8ad7-4927-b541-4cd0d48caba1" + "3a61f56f-c924-444a-a3e5-9efd07d1ec67" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183536Z:f9f48c5e-8ad7-4927-b541-4cd0d48caba1" + "CENTRALUS:20141015T022316Z:3a61f56f-c924-444a-a3e5-9efd07d1ec67" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1294,17 +1312,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:36 GMT" + "Wed, 15 Oct 2014 02:23:15 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pPVE0xTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1313,6 +1331,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" ] }, "ResponseBody": "", @@ -1330,16 +1351,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31935" ], "x-ms-request-id": [ - "a4110e8f-96ce-43d9-8928-4c6485e272cf" + "fb6427df-c96e-4581-bc6d-8c5cf83830b0" ], "x-ms-correlation-request-id": [ - "a4110e8f-96ce-43d9-8928-4c6485e272cf" + "fb6427df-c96e-4581-bc6d-8c5cf83830b0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183552Z:a4110e8f-96ce-43d9-8928-4c6485e272cf" + "CENTRALUS:20141015T022331Z:fb6427df-c96e-4581-bc6d-8c5cf83830b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1348,17 +1369,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:35:51 GMT" + "Wed, 15 Oct 2014 02:23:30 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREszOTM1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3pPVE0xTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NjczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOamN6TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1367,6 +1388,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "23" ] }, "ResponseBody": "", @@ -1381,16 +1405,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "31934" ], "x-ms-request-id": [ - "e8ba4e56-f0a4-4082-9691-909ef66ec0ca" + "b71a153b-c92f-42ac-85ea-82b14bd1c7f6" ], "x-ms-correlation-request-id": [ - "e8ba4e56-f0a4-4082-9691-909ef66ec0ca" + "b71a153b-c92f-42ac-85ea-82b14bd1c7f6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T183607Z:e8ba4e56-f0a4-4082-9691-909ef66ec0ca" + "CENTRALUS:20141015T022346Z:b71a153b-c92f-42ac-85ea-82b14bd1c7f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1399,7 +1423,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:36:07 GMT" + "Wed, 15 Oct 2014 02:23:46 GMT" ] }, "StatusCode": 200 @@ -1407,11 +1431,11 @@ ], "Names": { "Test-BatchAccountKeys": [ - "onesdk596", - "onesdk3935" + "onesdk9870", + "onesdk6673" ] }, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json index d958b4090b1c..547aa0ba6e48 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "56903" + "21795" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" + "31891" ], "x-ms-request-id": [ - "e4901bb1-d127-4876-ba55-23daafcfcc5e" + "e5316358-4ba7-4f6b-bda7-8acd16a182c2" ], "x-ms-correlation-request-id": [ - "e4901bb1-d127-4876-ba55-23daafcfcc5e" + "e5316358-4ba7-4f6b-bda7-8acd16a182c2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185038Z:e4901bb1-d127-4876-ba55-23daafcfcc5e" + "CENTRALUS:20141015T022418Z:e5316358-4ba7-4f6b-bda7-8acd16a182c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,62 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:38 GMT" + "Wed, 15 Oct 2014 02:24:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "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/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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": [ - "56903" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-request-id": [ - "4d7190d8-29b8-43fe-b89b-dccc1a086152" - ], - "x-ms-correlation-request-id": [ - "4d7190d8-29b8-43fe-b89b-dccc1a086152" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T185039Z:4d7190d8-29b8-43fe-b89b-dccc1a086152" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 18:50:38 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1415?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE0MTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -120,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "31890" ], "x-ms-request-id": [ - "681dc0cf-9f96-42a0-996c-186fe7697aed" + "6d94007b-4ad9-4cd6-b2b2-6b974fba53a4" ], "x-ms-correlation-request-id": [ - "681dc0cf-9f96-42a0-996c-186fe7697aed" + "6d94007b-4ad9-4cd6-b2b2-6b974fba53a4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185039Z:681dc0cf-9f96-42a0-996c-186fe7697aed" + "CENTRALUS:20141015T022419Z:6d94007b-4ad9-4cd6-b2b2-6b974fba53a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -142,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:38 GMT" + "Wed, 15 Oct 2014 02:24:18 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1415?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE0MTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -169,16 +118,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" + "31875" ], "x-ms-request-id": [ - "24ffe8ba-d723-444a-9f73-df6caecf0324" + "ae01dfa8-ce72-4dda-a775-59ea27074ed6" ], "x-ms-correlation-request-id": [ - "24ffe8ba-d723-444a-9f73-df6caecf0324" + "ae01dfa8-ce72-4dda-a775-59ea27074ed6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185203Z:24ffe8ba-d723-444a-9f73-df6caecf0324" + "CENTRALUS:20141015T022512Z:ae01dfa8-ce72-4dda-a775-59ea27074ed6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -187,31 +136,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:02 GMT" + "Wed, 15 Oct 2014 02:25:11 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1415?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE0MTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415\",\r\n \"name\": \"onesdk1415\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788\",\r\n \"name\": \"onesdk2788\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -223,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1170" ], "x-ms-request-id": [ - "1d5def95-406e-4bbf-bfde-5242c713e397" + "1830fe95-4184-4c31-8e18-905ef5054d81" ], "x-ms-correlation-request-id": [ - "1d5def95-406e-4bbf-bfde-5242c713e397" + "1830fe95-4184-4c31-8e18-905ef5054d81" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185041Z:1d5def95-406e-4bbf-bfde-5242c713e397" + "CENTRALUS:20141015T022419Z:1830fe95-4184-4c31-8e18-905ef5054d81" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -241,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:40 GMT" + "Wed, 15 Oct 2014 02:24:18 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -271,16 +220,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "31889" ], "x-ms-request-id": [ - "7e8af119-35d5-4333-972c-367a799ca950" + "a15b95c6-bbbb-40f9-b3af-536a0c5b9130" ], "x-ms-correlation-request-id": [ - "7e8af119-35d5-4333-972c-367a799ca950" + "a15b95c6-bbbb-40f9-b3af-536a0c5b9130" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185041Z:7e8af119-35d5-4333-972c-367a799ca950" + "CENTRALUS:20141015T022419Z:a15b95c6-bbbb-40f9-b3af-536a0c5b9130" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -289,14 +238,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:40 GMT" + "Wed, 15 Oct 2014 02:24:18 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1415/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -322,16 +271,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:164e5cd4-ade7-465d-a92a-5dda138de697" + "centralus:be3cf3ce-629a-438e-aa7d-55dea0461cfe" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "31933" ], "x-ms-correlation-request-id": [ - "746d13d4-8b23-4ff0-b1d3-ec79f4461bb0" + "28fc95ce-7f32-4d65-b601-c0d0c1b796b7" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185041Z:746d13d4-8b23-4ff0-b1d3-ec79f4461bb0" + "CENTRALUS:20141015T022419Z:28fc95ce-7f32-4d65-b601-c0d0c1b796b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -340,14 +289,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:41 GMT" + "Wed, 15 Oct 2014 02:24:19 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -355,10 +304,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -370,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "31888" ], "x-ms-request-id": [ - "3729498e-18f9-41d7-ac7f-18fe0252e453" + "ab3ec83c-7f28-4bb3-b1f9-b69b04bbcfa6" ], "x-ms-correlation-request-id": [ - "3729498e-18f9-41d7-ac7f-18fe0252e453" + "ab3ec83c-7f28-4bb3-b1f9-b69b04bbcfa6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185041Z:3729498e-18f9-41d7-ac7f-18fe0252e453" + "CENTRALUS:20141015T022419Z:ab3ec83c-7f28-4bb3-b1f9-b69b04bbcfa6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -388,14 +337,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:41 GMT" + "Wed, 15 Oct 2014 02:24:19 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -403,10 +352,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -418,16 +367,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "31885" ], "x-ms-request-id": [ - "08e6643d-bed7-4f94-9b23-744322f228fd" + "b11d4b96-afab-42fd-9030-3c02be30cd41" ], "x-ms-correlation-request-id": [ - "08e6643d-bed7-4f94-9b23-744322f228fd" + "b11d4b96-afab-42fd-9030-3c02be30cd41" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185049Z:08e6643d-bed7-4f94-9b23-744322f228fd" + "CENTRALUS:20141015T022437Z:b11d4b96-afab-42fd-9030-3c02be30cd41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,14 +385,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:49 GMT" + "Wed, 15 Oct 2014 02:24:36 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -451,10 +400,10 @@ "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/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919\",\r\n \"name\": \"onesdk6919\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130\",\r\n \"name\": \"onesdk7130\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"name\": \"onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "12751" ], "Content-Type": [ "application/json; charset=utf-8" @@ -466,16 +415,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" + "31878" ], "x-ms-request-id": [ - "362f8323-780a-4e3f-b45b-744a433df851" + "de5c6b6a-ba1c-4d4c-ad0e-7df6dcbd4e08" ], "x-ms-correlation-request-id": [ - "362f8323-780a-4e3f-b45b-744a433df851" + "de5c6b6a-ba1c-4d4c-ad0e-7df6dcbd4e08" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185152Z:362f8323-780a-4e3f-b45b-744a433df851" + "CENTRALUS:20141015T022511Z:de5c6b6a-ba1c-4d4c-ad0e-7df6dcbd4e08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -484,14 +433,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:51 GMT" + "Wed, 15 Oct 2014 02:25: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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -499,10 +448,10 @@ "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/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919\",\r\n \"name\": \"onesdk6919\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130\",\r\n \"name\": \"onesdk7130\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"name\": \"onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "449" + "12751" ], "Content-Type": [ "application/json; charset=utf-8" @@ -514,16 +463,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" + "31876" ], "x-ms-request-id": [ - "37bd8f30-39ff-40e0-bb5e-dc9b9a0b3163" + "af5c64ab-3b97-4fb0-ba15-119e8215c6ba" ], "x-ms-correlation-request-id": [ - "37bd8f30-39ff-40e0-bb5e-dc9b9a0b3163" + "af5c64ab-3b97-4fb0-ba15-119e8215c6ba" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185201Z:37bd8f30-39ff-40e0-bb5e-dc9b9a0b3163" + "CENTRALUS:20141015T022512Z:af5c64ab-3b97-4fb0-ba15-119e8215c6ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -532,25 +481,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:00 GMT" + "Wed, 15 Oct 2014 02:25:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazcxMzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "29" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "37" ] }, "ResponseBody": "", @@ -568,31 +520,94 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1169" ], "request-id": [ - "cd0a5c81-22c4-4700-8f4d-898087cd8045" + "3aa0e339-1de9-4c21-b29f-6cde4e079e48" + ], + "x-ms-request-id": [ + "5e25d3b2-1220-4bc6-86e5-a4eed65724db" + ], + "x-ms-correlation-request-id": [ + "5e25d3b2-1220-4bc6-86e5-a4eed65724db" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022421Z:5e25d3b2-1220-4bc6-86e5-a4eed65724db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:21 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjMvb3BlcmF0aW9uUmVzdWx0cy8zYWEwZTMzOS0xZGU5LTRjMjEtYjI5Zi02Y2RlNGUwNzllNDg/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "37" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "24a33c96-67b2-48fc-b105-15773248337e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31887" + ], "x-ms-request-id": [ - "f07d8eb6-7565-4e50-8e59-c7cb22f05d88" + "125e050c-6177-49c5-9c5e-86c93f45e958" ], "x-ms-correlation-request-id": [ - "f07d8eb6-7565-4e50-8e59-c7cb22f05d88" + "125e050c-6177-49c5-9c5e-86c93f45e958" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185047Z:f07d8eb6-7565-4e50-8e59-c7cb22f05d88" + "CENTRALUS:20141015T022421Z:125e050c-6177-49c5-9c5e-86c93f45e958" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:47 GMT" + "Wed, 15 Oct 2014 02:24:21 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130/operationResults/cd0a5c81-22c4-4700-8f4d-898087cd8045?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -601,19 +616,22 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130/operationResults/cd0a5c81-22c4-4700-8f4d-898087cd8045?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazcxMzAvb3BlcmF0aW9uUmVzdWx0cy9jZDBhNWM4MS0yMmM0LTQ3MDAtOGY0ZC04OTgwODdjZDgwNDU/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/3aa0e339-1de9-4c21-b29f-6cde4e079e48?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjMvb3BlcmF0aW9uUmVzdWx0cy8zYWEwZTMzOS0xZGU5LTRjMjEtYjI5Zi02Y2RlNGUwNzllNDg/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "37" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk7130\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk7130.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk9323\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9323.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "321" @@ -625,37 +643,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:50:47 GMT" + "Wed, 15 Oct 2014 02:24:36 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "bf0db475-c773-47db-a9f7-5ca9a7bb154e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "829bdca4-8832-4bfa-ad3c-e70a99ff88d8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "31886" ], "x-ms-request-id": [ - "17d7fb4b-8d0b-4609-a3db-3b0c821ccefb" + "d0a87b30-a1ff-4218-af44-f1be46c1f686" ], "x-ms-correlation-request-id": [ - "17d7fb4b-8d0b-4609-a3db-3b0c821ccefb" + "d0a87b30-a1ff-4218-af44-f1be46c1f686" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185047Z:17d7fb4b-8d0b-4609-a3db-3b0c821ccefb" + "CENTRALUS:20141015T022437Z:d0a87b30-a1ff-4218-af44-f1be46c1f686" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:47 GMT" + "Wed, 15 Oct 2014 02:24:36 GMT" ], "ETag": [ - "0x8D2888F4D8FBF2D" + "0x8D1B6364CD70828" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -664,10 +682,10 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazY5MTk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -677,6 +695,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "42" ] }, "ResponseBody": "", @@ -694,31 +715,94 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1168" ], "request-id": [ - "42d44f57-ea98-495e-b877-33b9313efc9a" + "2311946e-d1d5-4745-b936-0c07cc1afb20" + ], + "x-ms-request-id": [ + "6622dba6-7c24-45cb-9b19-0ba9ac446ca7" + ], + "x-ms-correlation-request-id": [ + "6622dba6-7c24-45cb-9b19-0ba9ac446ca7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022438Z:6622dba6-7c24-45cb-9b19-0ba9ac446ca7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:24:38 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8yMzExOTQ2ZS1kMWQ1LTQ3NDUtYjkzNi0wYzA3Y2MxYWZiMjA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "42" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e3169de6-3ec3-4aa8-8251-fddd455aad95" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31884" + ], "x-ms-request-id": [ - "e828284c-1f78-40fe-95b4-325d78ba5755" + "a898f85f-ace0-409f-9111-765244ffccde" ], "x-ms-correlation-request-id": [ - "e828284c-1f78-40fe-95b4-325d78ba5755" + "a898f85f-ace0-409f-9111-765244ffccde" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185053Z:e828284c-1f78-40fe-95b4-325d78ba5755" + "CENTRALUS:20141015T022438Z:a898f85f-ace0-409f-9111-765244ffccde" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:52 GMT" + "Wed, 15 Oct 2014 02:24:38 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919/operationResults/42d44f57-ea98-495e-b877-33b9313efc9a?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -727,22 +811,25 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919/operationResults/42d44f57-ea98-495e-b877-33b9313efc9a?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazY5MTkvb3BlcmF0aW9uUmVzdWx0cy80MmQ0NGY1Ny1lYTk4LTQ5NWUtYjg3Ny0zM2I5MzEzZWZjOWE/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/2311946e-d1d5-4745-b936-0c07cc1afb20?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8yMzExOTQ2ZS1kMWQ1LTQ3NDUtYjkzNi0wYzA3Y2MxYWZiMjA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "42" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk6919\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk6919.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk6039\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk6039.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "317" + "321" ], "Content-Type": [ "application/json; charset=utf-8" @@ -751,37 +838,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:50:53 GMT" + "Wed, 15 Oct 2014 02:24:54 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "3d190191-2323-4776-89f8-0cbbfc872e75" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "1e89e67b-9aae-4222-9832-cdc7c2484a1d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "31883" ], "x-ms-request-id": [ - "e27d342e-9f0d-43b6-a3e7-2a861510941c" + "868a8c6f-0e0f-4ad9-a7c8-815e342fed19" ], "x-ms-correlation-request-id": [ - "e27d342e-9f0d-43b6-a3e7-2a861510941c" + "868a8c6f-0e0f-4ad9-a7c8-815e342fed19" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185053Z:e27d342e-9f0d-43b6-a3e7-2a861510941c" + "CENTRALUS:20141015T022454Z:868a8c6f-0e0f-4ad9-a7c8-815e342fed19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:50:53 GMT" + "Wed, 15 Oct 2014 02:24:54 GMT" ], "ETag": [ - "0x8D2888F50FAC6C5" + "0x8D1B6365701FC47" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -790,22 +877,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.Batch/batchAccounts?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch/batchAccounts?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk7130\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk7130.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk6919\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk6919.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"adnanzh1\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"ppp\": \"kkkk\",\r\n \"abcd\": \"efgh\",\r\n \"abcde\": \"efgh\",\r\n \"cd\": \"efgh\",\r\n \"cde\": \"efgh\",\r\n \"aefgh\": \"acde\",\r\n \"adnan\": \"ped\",\r\n \"Ped\": \"Pune\",\r\n \"loc\": \"unknown\",\r\n \"jhsdgfjhabcd\": \"csfndhh\",\r\n \"segdfgkjdfjk\": \"jashdgfjshdf\",\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"adnanzh1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"azbacjnkyz\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"azbacjnkyz.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/default-azurebatch-westus/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"clw789\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"clw789.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk6039\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk6039.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk916\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk916.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk9323\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk9323.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007a1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007a1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "651" + "2974" ], "Content-Type": [ "application/json; charset=utf-8" @@ -816,21 +903,20 @@ "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "" + "request-id": [ + "c8c74df7-a94e-499e-b61f-41ecf33eea70" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "31882" ], "x-ms-request-id": [ - "d879bc4b-67b7-4e6b-858e-212af222219b" + "9caa0e15-f625-4e66-9270-5bbc38f1bb1c" ], "x-ms-correlation-request-id": [ - "d879bc4b-67b7-4e6b-858e-212af222219b" + "9caa0e15-f625-4e66-9270-5bbc38f1bb1c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185147Z:d879bc4b-67b7-4e6b-858e-212af222219b" + "CENTRALUS:20141015T022454Z:9caa0e15-f625-4e66-9270-5bbc38f1bb1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -839,19 +925,25 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:47 GMT" + "Wed, 15 Oct 2014 02:24:54 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazcxMzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "47" ] }, "ResponseBody": "", @@ -869,31 +961,31 @@ "15" ], "request-id": [ - "813330f8-636e-4583-812d-ee15d445830a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "1d9864c5-4fb1-45a6-8766-f8990fad44cb" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1167" ], "x-ms-request-id": [ - "2775a5c2-259e-48b3-8407-9a9751837d2d" + "18d88cd2-b14a-41c9-b509-bab2137637e6" ], "x-ms-correlation-request-id": [ - "2775a5c2-259e-48b3-8407-9a9751837d2d" + "18d88cd2-b14a-41c9-b509-bab2137637e6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185149Z:2775a5c2-259e-48b3-8407-9a9751837d2d" + "CENTRALUS:20141015T022455Z:18d88cd2-b14a-41c9-b509-bab2137637e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:49 GMT" + "Wed, 15 Oct 2014 02:24:55 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130/operationResults/813330f8-636e-4583-812d-ee15d445830a?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -902,16 +994,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130/operationResults/813330f8-636e-4583-812d-ee15d445830a?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazcxMzAvb3BlcmF0aW9uUmVzdWx0cy84MTMzMzBmOC02MzZlLTQ1ODMtODEyZC1lZTE1ZDQ0NTgzMGE/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8xZDk4NjRjNS00ZmIxLTQ1YTYtODc2Ni1mODk5MGZhZDQ0Y2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "47" ] }, "ResponseBody": "", @@ -922,53 +1017,59 @@ "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 18:51:49 GMT" - ], "Pragma": [ "no-cache" ], - "request-id": [ - "369c62f4-a5b9-41e8-ac3e-41a5af629c89" + "Retry-After": [ + "15" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "request-id": [ + "7766e200-b279-4540-817e-1b4ae09e93a0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "31881" ], "x-ms-request-id": [ - "10f510f6-d95b-488b-b5ac-a3fca64da5b1" + "6406cdb6-3764-4052-bee0-1d7a6686690c" ], "x-ms-correlation-request-id": [ - "10f510f6-d95b-488b-b5ac-a3fca64da5b1" + "6406cdb6-3764-4052-bee0-1d7a6686690c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185150Z:10f510f6-d95b-488b-b5ac-a3fca64da5b1" + "CENTRALUS:20141015T022455Z:6406cdb6-3764-4052-bee0-1d7a6686690c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:49 GMT" + "Wed, 15 Oct 2014 02:24:55 GMT" ], - "ETag": [ - "0x8D2888F72B31570" + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazY5MTk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk6039/operationResults/1d9864c5-4fb1-45a6-8766-f8990fad44cb?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazYwMzkvb3BlcmF0aW9uUmVzdWx0cy8xZDk4NjRjNS00ZmIxLTQ1YTYtODc2Ni1mODk5MGZhZDQ0Y2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "47" ] }, "ResponseBody": "", @@ -979,56 +1080,56 @@ "Expires": [ "-1" ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:25:10 GMT" + ], "Pragma": [ "no-cache" ], - "Retry-After": [ - "15" - ], "request-id": [ - "d4310b12-f63e-477e-b670-ba8456aac855" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "24d5cd14-0523-4ccc-b99d-397baf22d03d" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31880" ], "x-ms-request-id": [ - "ecda23b0-dc2d-456b-b595-2afa8690fdde" + "8de1cfda-60bb-49d8-8948-246e7d5a0c24" ], "x-ms-correlation-request-id": [ - "ecda23b0-dc2d-456b-b595-2afa8690fdde" + "8de1cfda-60bb-49d8-8948-246e7d5a0c24" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185151Z:ecda23b0-dc2d-456b-b595-2afa8690fdde" + "CENTRALUS:20141015T022510Z:8de1cfda-60bb-49d8-8948-246e7d5a0c24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:51 GMT" + "Wed, 15 Oct 2014 02:25:10 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919/operationResults/d4310b12-f63e-477e-b670-ba8456aac855?api-version=2015-07-01" + "ETag": [ + "0x8D1B63660E42FF8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919/operationResults/d4310b12-f63e-477e-b670-ba8456aac855?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazY5MTkvb3BlcmF0aW9uUmVzdWx0cy9kNDMxMGIxMi1mNjNlLTQ3N2UtYjY3MC1iYTg0NTZhYWM4NTU/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" - ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "51" ] }, "ResponseBody": "", @@ -1039,116 +1140,122 @@ "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 18:51:51 GMT" - ], "Pragma": [ "no-cache" ], - "request-id": [ - "fee7a0ef-e793-424c-8585-47ca6c1205b7" + "Retry-After": [ + "15" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "request-id": [ + "9e9210df-a82d-48ab-9b40-70d88797321c" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1166" ], "x-ms-request-id": [ - "0f6168f3-e8fe-4c0c-94ae-36d3af567e12" + "ded32df1-095c-4fa8-b4b8-385aade0446d" ], "x-ms-correlation-request-id": [ - "0f6168f3-e8fe-4c0c-94ae-36d3af567e12" + "ded32df1-095c-4fa8-b4b8-385aade0446d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185152Z:0f6168f3-e8fe-4c0c-94ae-36d3af567e12" + "CENTRALUS:20141015T022511Z:ded32df1-095c-4fa8-b4b8-385aade0446d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:51 GMT" + "Wed, 15 Oct 2014 02:25:10 GMT" ], - "ETag": [ - "0x8D2888F73E327B4" + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/9e9210df-a82d-48ab-9b40-70d88797321c?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk7130?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazcxMzA/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323/operationResults/9e9210df-a82d-48ab-9b40-70d88797321c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjMvb3BlcmF0aW9uUmVzdWx0cy85ZTkyMTBkZi1hODJkLTQ4YWItOWI0MC03MGQ4ODc5NzMyMWM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "51" ] }, - "ResponseBody": "{\r\n \"code\": \"AccountNotFound\",\r\n \"message\": \"The specified account does not exist.\\nRequestId:b57dff69-cc07-4a1c-a597-e62421830d2e\\nTime:2015-07-09T18:51:52.0014802Z\",\r\n \"target\": \"BatchAccount\"\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "183" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], + "Last-Modified": [ + "Wed, 15 Oct 2014 02:25:11 GMT" + ], "Pragma": [ "no-cache" ], "request-id": [ - "b57dff69-cc07-4a1c-a597-e62421830d2e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "ff6efa46-eb5e-47bc-ab64-0ac14458f5c2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31879" ], "x-ms-request-id": [ - "1bda9d96-bb9d-482c-80dd-a224c5cf693e" + "1f226a8b-6ad0-453e-a0b2-8be29d8dd311" ], "x-ms-correlation-request-id": [ - "1bda9d96-bb9d-482c-80dd-a224c5cf693e" + "1f226a8b-6ad0-453e-a0b2-8be29d8dd311" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185152Z:1bda9d96-bb9d-482c-80dd-a224c5cf693e" + "CENTRALUS:20141015T022511Z:1f226a8b-6ad0-453e-a0b2-8be29d8dd311" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:51:52 GMT" + "Wed, 15 Oct 2014 02:25:10 GMT" + ], + "ETag": [ + "0x8D1B63661796EEC" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 404 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1415/providers/Microsoft.Batch/batchAccounts/onesdk6919?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE0MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazY5MTk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk2788/providers/Microsoft.Batch/batchAccounts/onesdk9323?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazI3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazkzMjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"code\": \"AccountNotFound\",\r\n \"message\": \"The specified account does not exist.\\nRequestId:41e24c73-6f7f-459a-9258-a6809f3fded5\\nTime:2015-07-09T18:52:01.3096951Z\",\r\n \"target\": \"BatchAccount\"\r\n}", + "ResponseBody": "{\r\n \"code\": \"AccountNotFound\",\r\n \"message\": \"The specified account does not exist.\\nRequestId:aa37c165-3139-4228-a02e-8f3bd2c3cc55\\nTime:2014-10-15T02:25:11.9688800Z\",\r\n \"target\": \"BatchAccount\"\r\n}", "ResponseHeaders": { "Content-Length": [ "183" @@ -1163,28 +1270,28 @@ "no-cache" ], "request-id": [ - "41e24c73-6f7f-459a-9258-a6809f3fded5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "aa37c165-3139-4228-a02e-8f3bd2c3cc55" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "31877" ], "x-ms-request-id": [ - "e315f60e-bd6b-461e-bf6c-c048ab6d9be5" + "864caebb-55b4-40a2-bf40-99022be012e8" ], "x-ms-correlation-request-id": [ - "e315f60e-bd6b-461e-bf6c-c048ab6d9be5" + "864caebb-55b4-40a2-bf40-99022be012e8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185201Z:e315f60e-bd6b-461e-bf6c-c048ab6d9be5" + "CENTRALUS:20141015T022512Z:864caebb-55b4-40a2-bf40-99022be012e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:01 GMT" + "Wed, 15 Oct 2014 02:25:11 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1193,13 +1300,16 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1415?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE0MTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk2788?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazI3ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" ] }, "ResponseBody": "", @@ -1217,16 +1327,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1165" ], "x-ms-request-id": [ - "a393bb07-0728-432d-9b3c-6ca5c5773ba9" + "e242bad9-52bd-4ee1-baa8-dcc530f40bdd" ], "x-ms-correlation-request-id": [ - "a393bb07-0728-432d-9b3c-6ca5c5773ba9" + "e242bad9-52bd-4ee1-baa8-dcc530f40bdd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185206Z:a393bb07-0728-432d-9b3c-6ca5c5773ba9" + "CENTRALUS:20141015T022512Z:e242bad9-52bd-4ee1-baa8-dcc530f40bdd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1235,17 +1345,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:05 GMT" + "Wed, 15 Oct 2014 02:25:11 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hOREUxTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1254,6 +1364,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" ] }, "ResponseBody": "", @@ -1271,16 +1384,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "31874" ], "x-ms-request-id": [ - "db5c350a-2f4e-41d8-b0f3-0ee1dcf19b81" + "173a236f-c711-425b-ae83-b42b29b30527" ], "x-ms-correlation-request-id": [ - "db5c350a-2f4e-41d8-b0f3-0ee1dcf19b81" + "173a236f-c711-425b-ae83-b42b29b30527" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185207Z:db5c350a-2f4e-41d8-b0f3-0ee1dcf19b81" + "CENTRALUS:20141015T022512Z:173a236f-c711-425b-ae83-b42b29b30527" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1289,17 +1402,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:06 GMT" + "Wed, 15 Oct 2014 02:25:11 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hOREUxTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1308,6 +1421,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" ] }, "ResponseBody": "", @@ -1325,16 +1441,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" + "31873" ], "x-ms-request-id": [ - "546cc124-b628-4cae-84fa-34eae52d36ff" + "3003e95c-5b7c-4a17-8df5-fa4bd867583f" ], "x-ms-correlation-request-id": [ - "546cc124-b628-4cae-84fa-34eae52d36ff" + "3003e95c-5b7c-4a17-8df5-fa4bd867583f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185222Z:546cc124-b628-4cae-84fa-34eae52d36ff" + "CENTRALUS:20141015T022527Z:3003e95c-5b7c-4a17-8df5-fa4bd867583f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1343,17 +1459,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:22 GMT" + "Wed, 15 Oct 2014 02:25:27 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hOREUxTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1362,6 +1478,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" ] }, "ResponseBody": "", @@ -1379,16 +1498,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "31872" ], "x-ms-request-id": [ - "0f4bc9ba-d08c-4f19-8e93-5ef50176ad8e" + "4eaaa24c-fdff-4b02-bb04-74a077c6769c" ], "x-ms-correlation-request-id": [ - "0f4bc9ba-d08c-4f19-8e93-5ef50176ad8e" + "4eaaa24c-fdff-4b02-bb04-74a077c6769c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185237Z:0f4bc9ba-d08c-4f19-8e93-5ef50176ad8e" + "CENTRALUS:20141015T022542Z:4eaaa24c-fdff-4b02-bb04-74a077c6769c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1397,17 +1516,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:37 GMT" + "Wed, 15 Oct 2014 02:25:42 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxNDE1LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hOREUxTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsyNzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3lOemc0TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1416,6 +1535,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "58" ] }, "ResponseBody": "", @@ -1430,16 +1552,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "31871" ], "x-ms-request-id": [ - "449dac20-3ef3-4c8a-87bd-7aeefc563bf0" + "74afefc7-b802-42e2-96b6-0b48848939de" ], "x-ms-correlation-request-id": [ - "449dac20-3ef3-4c8a-87bd-7aeefc563bf0" + "74afefc7-b802-42e2-96b6-0b48848939de" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185253Z:449dac20-3ef3-4c8a-87bd-7aeefc563bf0" + "CENTRALUS:20141015T022557Z:74afefc7-b802-42e2-96b6-0b48848939de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1448,7 +1570,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:52:52 GMT" + "Wed, 15 Oct 2014 02:25:57 GMT" ] }, "StatusCode": 200 @@ -1456,12 +1578,12 @@ ], "Names": { "Test-CreateAndRemoveBatchAccountViaPiping": [ - "onesdk7130", - "onesdk6919", - "onesdk1415" + "onesdk9323", + "onesdk6039", + "onesdk2788" ] }, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json index 17d344be2bd1..5e1c44ff7cbe 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "56903" + "21795" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "31824" ], "x-ms-request-id": [ - "dfa5da80-45bc-494b-aac6-7447325edc0e" + "73d8c3da-e101-4beb-985d-bb1cf261eee0" ], "x-ms-correlation-request-id": [ - "dfa5da80-45bc-494b-aac6-7447325edc0e" + "73d8c3da-e101-4beb-985d-bb1cf261eee0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184703Z:dfa5da80-45bc-494b-aac6-7447325edc0e" + "CENTRALUS:20141015T023347Z:73d8c3da-e101-4beb-985d-bb1cf261eee0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:03 GMT" + "Wed, 15 Oct 2014 02:33:47 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5118?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -72,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" + "31823" ], "x-ms-request-id": [ - "b5dc7ed8-2227-44f9-8cc4-e905584f2242" + "f7006c6e-2a02-439a-9727-10f78e236319" ], "x-ms-correlation-request-id": [ - "b5dc7ed8-2227-44f9-8cc4-e905584f2242" + "f7006c6e-2a02-439a-9727-10f78e236319" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184703Z:b5dc7ed8-2227-44f9-8cc4-e905584f2242" + "CENTRALUS:20141015T023347Z:f7006c6e-2a02-439a-9727-10f78e236319" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -94,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:03 GMT" + "Wed, 15 Oct 2014 02:33:47 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5118?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -121,16 +118,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "31816" ], "x-ms-request-id": [ - "72ff2c45-baee-48ae-a1dd-2779e044020e" + "4a78055e-9cc4-4820-a0e4-24dba3ce7c0a" ], "x-ms-correlation-request-id": [ - "72ff2c45-baee-48ae-a1dd-2779e044020e" + "4a78055e-9cc4-4820-a0e4-24dba3ce7c0a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184812Z:72ff2c45-baee-48ae-a1dd-2779e044020e" + "CENTRALUS:20141015T023508Z:4a78055e-9cc4-4820-a0e4-24dba3ce7c0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -139,31 +136,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:12 GMT" + "Wed, 15 Oct 2014 02:35:07 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5118?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118\",\r\n \"name\": \"onesdk5118\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067\",\r\n \"name\": \"onesdk4067\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -175,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1145" ], "x-ms-request-id": [ - "45922e00-8f54-407f-87d7-52f415b714be" + "86e0a3dd-6a78-4e2a-89b5-a0cd416be3cd" ], "x-ms-correlation-request-id": [ - "45922e00-8f54-407f-87d7-52f415b714be" + "86e0a3dd-6a78-4e2a-89b5-a0cd416be3cd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184704Z:45922e00-8f54-407f-87d7-52f415b714be" + "CENTRALUS:20141015T023348Z:86e0a3dd-6a78-4e2a-89b5-a0cd416be3cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -193,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:04 GMT" + "Wed, 15 Oct 2014 02:33:47 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazUxMTgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +220,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "31822" ], "x-ms-request-id": [ - "f572a431-3537-44e8-afea-0a9fc0b1dd12" + "2c048ce2-b8bb-4ac5-ad3e-9e016775a9ad" ], "x-ms-correlation-request-id": [ - "f572a431-3537-44e8-afea-0a9fc0b1dd12" + "2c048ce2-b8bb-4ac5-ad3e-9e016775a9ad" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184705Z:f572a431-3537-44e8-afea-0a9fc0b1dd12" + "CENTRALUS:20141015T023348Z:2c048ce2-b8bb-4ac5-ad3e-9e016775a9ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -241,14 +238,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:04 GMT" + "Wed, 15 Oct 2014 02:33:47 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5118/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -274,16 +271,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:aaf26f06-b517-4c6b-aad2-c584914cb6c7" + "centralus:9f13483f-6cec-4000-8c7f-addf5d9b91b6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "31915" ], "x-ms-correlation-request-id": [ - "fee635ed-d36b-4a14-a2f3-b4529844c935" + "efae2de8-61fd-421c-bcc7-32dff6ca2aa1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184705Z:fee635ed-d36b-4a14-a2f3-b4529844c935" + "CENTRALUS:20141015T023348Z:efae2de8-61fd-421c-bcc7-32dff6ca2aa1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -292,14 +289,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:04 GMT" + "Wed, 15 Oct 2014 02:33:47 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -307,10 +304,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -322,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "31821" ], "x-ms-request-id": [ - "2ead865b-0a87-48ce-8795-71a308c9cead" + "3fdd223b-0d2b-40e4-8a96-59a07d38f190" ], "x-ms-correlation-request-id": [ - "2ead865b-0a87-48ce-8795-71a308c9cead" + "3fdd223b-0d2b-40e4-8a96-59a07d38f190" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184705Z:2ead865b-0a87-48ce-8795-71a308c9cead" + "CENTRALUS:20141015T023348Z:3fdd223b-0d2b-40e4-8a96-59a07d38f190" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -340,14 +337,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:05 GMT" + "Wed, 15 Oct 2014 02:33:48 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -355,10 +352,10 @@ "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/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153\",\r\n \"name\": \"onesdk8153\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725\",\r\n \"name\": \"onesdk1725\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "487" + "12780" ], "Content-Type": [ "application/json; charset=utf-8" @@ -370,16 +367,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "31818" ], "x-ms-request-id": [ - "f39debb8-ebe8-40d5-a2a2-d12e73f9aa77" + "daffd917-8b8c-43b1-9e08-88b85fad9181" ], "x-ms-correlation-request-id": [ - "f39debb8-ebe8-40d5-a2a2-d12e73f9aa77" + "daffd917-8b8c-43b1-9e08-88b85fad9181" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184804Z:f39debb8-ebe8-40d5-a2a2-d12e73f9aa77" + "CENTRALUS:20141015T023505Z:daffd917-8b8c-43b1-9e08-88b85fad9181" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -388,25 +385,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:04 GMT" + "Wed, 15 Oct 2014 02:35:05 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazUxMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazgxNTM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "78" + "74" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "172" ] }, "ResponseBody": "", @@ -424,31 +424,94 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1144" ], "request-id": [ - "8c4a469f-5400-4df1-bb4c-dec8e8a05523" + "2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d" + ], + "x-ms-request-id": [ + "0ba5169a-637d-4099-baad-7091cb206e13" + ], + "x-ms-correlation-request-id": [ + "0ba5169a-637d-4099-baad-7091cb206e13" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023350Z:0ba5169a-637d-4099-baad-7091cb206e13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:33:49 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjUvb3BlcmF0aW9uUmVzdWx0cy8yYzViOWEyNS0yZGRmLTQ2ZjYtOWYwZS05N2RkZDFhYzBhMWQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "172" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "dbb87b0b-a151-4951-b81c-828590282b68" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31820" + ], "x-ms-request-id": [ - "b2fd6773-d090-45e7-b2ed-f02d06d2ae25" + "9b73aae9-94c4-4a44-85ff-5cb74f0c982f" ], "x-ms-correlation-request-id": [ - "b2fd6773-d090-45e7-b2ed-f02d06d2ae25" + "9b73aae9-94c4-4a44-85ff-5cb74f0c982f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184710Z:b2fd6773-d090-45e7-b2ed-f02d06d2ae25" + "CENTRALUS:20141015T023350Z:9b73aae9-94c4-4a44-85ff-5cb74f0c982f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:09 GMT" + "Wed, 15 Oct 2014 02:33:49 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153/operationResults/8c4a469f-5400-4df1-bb4c-dec8e8a05523?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,19 +520,22 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153/operationResults/8c4a469f-5400-4df1-bb4c-dec8e8a05523?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazUxMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazgxNTMvb3BlcmF0aW9uUmVzdWx0cy84YzRhNDY5Zi01NDAwLTRkZjEtYmI0Yy1kZWM4ZThhMDU1MjM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/2c5b9a25-2ddf-46f6-9f0e-97ddd1ac0a1d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjUvb3BlcmF0aW9uUmVzdWx0cy8yYzViOWEyNS0yZGRmLTQ2ZjYtOWYwZS05N2RkZDFhYzBhMWQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "172" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk8153\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk8153.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1725\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1725.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "350" @@ -481,37 +547,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:47:09 GMT" + "Wed, 15 Oct 2014 02:34:05 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "2e025f82-ff77-4332-aa71-ffb2146466f5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "3636c17a-39eb-4bdb-96a4-c44bb30f4182" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "31819" ], "x-ms-request-id": [ - "74515edb-ba22-4ace-af93-d26881c902c5" + "45bdc4f6-03d7-416c-ba69-397e7fa769fa" ], "x-ms-correlation-request-id": [ - "74515edb-ba22-4ace-af93-d26881c902c5" + "45bdc4f6-03d7-416c-ba69-397e7fa769fa" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184710Z:74515edb-ba22-4ace-af93-d26881c902c5" + "CENTRALUS:20141015T023405Z:45bdc4f6-03d7-416c-ba69-397e7fa769fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:47:09 GMT" + "Wed, 15 Oct 2014 02:34:05 GMT" ], "ETag": [ - "0x8D2888ECBE13350" + "0x8D1B6379FB4A9D3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -520,13 +586,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazUxMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazgxNTM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "177" ] }, "ResponseBody": "", @@ -544,31 +613,31 @@ "15" ], "request-id": [ - "d54ab72f-abf7-4acd-845c-467d2b1d0cd2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "33c3f26e-0487-4092-8adc-9ae4095682b4" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1143" ], "x-ms-request-id": [ - "0713e271-1d21-4ee6-8f20-9f80685f8770" + "34b2b7aa-2f50-484e-9e88-ba0446298515" ], "x-ms-correlation-request-id": [ - "0713e271-1d21-4ee6-8f20-9f80685f8770" + "34b2b7aa-2f50-484e-9e88-ba0446298515" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184812Z:0713e271-1d21-4ee6-8f20-9f80685f8770" + "CENTRALUS:20141015T023507Z:34b2b7aa-2f50-484e-9e88-ba0446298515" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:11 GMT" + "Wed, 15 Oct 2014 02:35:07 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153/operationResults/d54ab72f-abf7-4acd-845c-467d2b1d0cd2?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/33c3f26e-0487-4092-8adc-9ae4095682b4?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -577,16 +646,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5118/providers/Microsoft.Batch/batchAccounts/onesdk8153/operationResults/d54ab72f-abf7-4acd-845c-467d2b1d0cd2?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazUxMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazgxNTMvb3BlcmF0aW9uUmVzdWx0cy9kNTRhYjcyZi1hYmY3LTRhY2QtODQ1Yy00NjdkMmIxZDBjZDI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4067/providers/Microsoft.Batch/batchAccounts/onesdk1725/operationResults/33c3f26e-0487-4092-8adc-9ae4095682b4?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQwNjcvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazE3MjUvb3BlcmF0aW9uUmVzdWx0cy8zM2MzZjI2ZS0wNDg3LTQwOTItOGFkYy05YWU0MDk1NjgyYjQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "177" ] }, "ResponseBody": "", @@ -598,37 +670,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:48:12 GMT" + "Wed, 15 Oct 2014 02:35:08 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "9a581e1a-f26f-4b00-a99b-fa4bc3cb171c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "08a4b7e3-6ba7-4089-b6a5-cb9d0e454552" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "31817" ], "x-ms-request-id": [ - "fc95eecf-75f5-45f6-8881-6a1d56490ebc" + "31968d64-7a4b-460b-8a8e-325ca51451b1" ], "x-ms-correlation-request-id": [ - "fc95eecf-75f5-45f6-8881-6a1d56490ebc" + "31968d64-7a4b-460b-8a8e-325ca51451b1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184812Z:fc95eecf-75f5-45f6-8881-6a1d56490ebc" + "CENTRALUS:20141015T023507Z:31968d64-7a4b-460b-8a8e-325ca51451b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:11 GMT" + "Wed, 15 Oct 2014 02:35:07 GMT" ], "ETag": [ - "0x8D2888EF130F82E" + "0x8D1B637C503EEF1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -637,13 +709,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5118?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazUxMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4067?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwNjc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" ] }, "ResponseBody": "", @@ -661,16 +736,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1142" ], "x-ms-request-id": [ - "9f29ccea-7ab0-402d-ae97-83ec98590912" + "16340b0b-a119-4181-a1aa-ba5e439fe23e" ], "x-ms-correlation-request-id": [ - "9f29ccea-7ab0-402d-ae97-83ec98590912" + "16340b0b-a119-4181-a1aa-ba5e439fe23e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184814Z:9f29ccea-7ab0-402d-ae97-83ec98590912" + "CENTRALUS:20141015T023508Z:16340b0b-a119-4181-a1aa-ba5e439fe23e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,17 +754,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:14 GMT" + "Wed, 15 Oct 2014 02:35:07 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNVEU0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -698,6 +773,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" ] }, "ResponseBody": "", @@ -715,16 +793,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "31815" ], "x-ms-request-id": [ - "1dcdc3c4-df2b-4aaa-ac37-e16b8f14af29" + "7a524daa-9dc1-406d-ade9-2d68e64b36a8" ], "x-ms-correlation-request-id": [ - "1dcdc3c4-df2b-4aaa-ac37-e16b8f14af29" + "7a524daa-9dc1-406d-ade9-2d68e64b36a8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184815Z:1dcdc3c4-df2b-4aaa-ac37-e16b8f14af29" + "CENTRALUS:20141015T023508Z:7a524daa-9dc1-406d-ade9-2d68e64b36a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -733,17 +811,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:14 GMT" + "Wed, 15 Oct 2014 02:35:07 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNVEU0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -752,6 +830,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" ] }, "ResponseBody": "", @@ -769,16 +850,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "31814" ], "x-ms-request-id": [ - "9434af75-2027-4579-9f1c-44a1f20810f3" + "4330e10a-d1d6-49b1-a9a4-89c77bf71ca2" ], "x-ms-correlation-request-id": [ - "9434af75-2027-4579-9f1c-44a1f20810f3" + "4330e10a-d1d6-49b1-a9a4-89c77bf71ca2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184830Z:9434af75-2027-4579-9f1c-44a1f20810f3" + "CENTRALUS:20141015T023523Z:4330e10a-d1d6-49b1-a9a4-89c77bf71ca2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -787,17 +868,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:29 GMT" + "Wed, 15 Oct 2014 02:35:23 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNVEU0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -806,6 +887,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" ] }, "ResponseBody": "", @@ -823,16 +907,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "31813" ], "x-ms-request-id": [ - "c582e705-f167-4f9b-8af9-2976027b533d" + "6ae71746-b515-442b-8923-1b390491353c" ], "x-ms-correlation-request-id": [ - "c582e705-f167-4f9b-8af9-2976027b533d" + "6ae71746-b515-442b-8923-1b390491353c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184846Z:c582e705-f167-4f9b-8af9-2976027b533d" + "CENTRALUS:20141015T023538Z:6ae71746-b515-442b-8923-1b390491353c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -841,17 +925,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:48:45 GMT" + "Wed, 15 Oct 2014 02:35:37 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MTE4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNVEU0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDY3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNRFkzTFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -860,6 +944,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "181" ] }, "ResponseBody": "", @@ -874,16 +961,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "31812" ], "x-ms-request-id": [ - "6553a0ff-e334-45b7-b57e-a2d61ccc8e11" + "c70a9ab7-b8a2-4d37-87e7-22e48b3c3df4" ], "x-ms-correlation-request-id": [ - "6553a0ff-e334-45b7-b57e-a2d61ccc8e11" + "c70a9ab7-b8a2-4d37-87e7-22e48b3c3df4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184901Z:6553a0ff-e334-45b7-b57e-a2d61ccc8e11" + "CENTRALUS:20141015T023553Z:c70a9ab7-b8a2-4d37-87e7-22e48b3c3df4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -892,7 +979,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:49:01 GMT" + "Wed, 15 Oct 2014 02:35:52 GMT" ] }, "StatusCode": 200 @@ -900,11 +987,11 @@ ], "Names": { "Test-CreateExistingBatchAccount": [ - "onesdk8153", - "onesdk5118" + "onesdk1725", + "onesdk4067" ] }, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json index 40adaaa564b8..ade22750bc28 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "56903" + "21795" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "31932" ], "x-ms-request-id": [ - "d3510849-4b63-441e-90fa-b06543df4cfe" + "a7c1fa4f-a518-4f8e-917d-f9a3c5c7ee7f" ], "x-ms-correlation-request-id": [ - "d3510849-4b63-441e-90fa-b06543df4cfe" + "a7c1fa4f-a518-4f8e-917d-f9a3c5c7ee7f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184405Z:d3510849-4b63-441e-90fa-b06543df4cfe" + "CENTRALUS:20141015T022652Z:a7c1fa4f-a518-4f8e-917d-f9a3c5c7ee7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:05 GMT" + "Wed, 15 Oct 2014 02:26:52 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk4006?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwMDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -72,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "31931" ], "x-ms-request-id": [ - "010c37c9-7c97-455c-a9df-37b1bea3175c" + "13a18930-ae1f-40ef-ab0a-db5b67493b35" ], "x-ms-correlation-request-id": [ - "010c37c9-7c97-455c-a9df-37b1bea3175c" + "13a18930-ae1f-40ef-ab0a-db5b67493b35" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184405Z:010c37c9-7c97-455c-a9df-37b1bea3175c" + "CENTRALUS:20141015T022652Z:13a18930-ae1f-40ef-ab0a-db5b67493b35" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -94,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:05 GMT" + "Wed, 15 Oct 2014 02:26:52 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk4006?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwMDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -121,16 +118,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "31923" ], "x-ms-request-id": [ - "d6413f40-76de-4463-8be3-26141da22742" + "0f73e67d-8556-4fad-8a30-ba846de21500" ], "x-ms-correlation-request-id": [ - "d6413f40-76de-4463-8be3-26141da22742" + "0f73e67d-8556-4fad-8a30-ba846de21500" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184447Z:d6413f40-76de-4463-8be3-26141da22742" + "CENTRALUS:20141015T022727Z:0f73e67d-8556-4fad-8a30-ba846de21500" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -139,31 +136,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:47 GMT" + "Wed, 15 Oct 2014 02:27:26 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk4006?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwMDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006\",\r\n \"name\": \"onesdk4006\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630\",\r\n \"name\": \"onesdk4630\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -175,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1169" ], "x-ms-request-id": [ - "59392f20-27b5-4aa9-9f5c-02ad5808d3f2" + "2950efa7-b634-4e65-bdb6-025d7ad6b2b2" ], "x-ms-correlation-request-id": [ - "59392f20-27b5-4aa9-9f5c-02ad5808d3f2" + "2950efa7-b634-4e65-bdb6-025d7ad6b2b2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184407Z:59392f20-27b5-4aa9-9f5c-02ad5808d3f2" + "CENTRALUS:20141015T022653Z:2950efa7-b634-4e65-bdb6-025d7ad6b2b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -193,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:07 GMT" + "Wed, 15 Oct 2014 02:26:53 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazQwMDYvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +220,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "31930" ], "x-ms-request-id": [ - "ecb7c963-f3da-4fe6-90fe-c3d170ce7d7a" + "cb8dac8a-5829-4863-91f8-945cf14c6a41" ], "x-ms-correlation-request-id": [ - "ecb7c963-f3da-4fe6-90fe-c3d170ce7d7a" + "cb8dac8a-5829-4863-91f8-945cf14c6a41" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184407Z:ecb7c963-f3da-4fe6-90fe-c3d170ce7d7a" + "CENTRALUS:20141015T022653Z:cb8dac8a-5829-4863-91f8-945cf14c6a41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -241,14 +238,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:07 GMT" + "Wed, 15 Oct 2014 02:26:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk4006/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -274,16 +271,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:8c7aba96-38da-436c-8895-4b9770a878a5" + "centralus:0bbad039-2597-432e-84af-1b46d71e8ce8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "31870" ], "x-ms-correlation-request-id": [ - "c97d51b3-caa3-4901-bd47-2265f974182a" + "6374c415-fee5-49ba-be69-d4498907da64" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184408Z:c97d51b3-caa3-4901-bd47-2265f974182a" + "CENTRALUS:20141015T022653Z:6374c415-fee5-49ba-be69-d4498907da64" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -292,14 +289,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:07 GMT" + "Wed, 15 Oct 2014 02:26:53 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -307,10 +304,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -322,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "31929" ], "x-ms-request-id": [ - "aafeba1b-3b28-4d18-bafa-23befb77d380" + "69ebda7a-303b-42f9-ac87-77e88a7bfa05" ], "x-ms-correlation-request-id": [ - "aafeba1b-3b28-4d18-bafa-23befb77d380" + "69ebda7a-303b-42f9-ac87-77e88a7bfa05" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184408Z:aafeba1b-3b28-4d18-bafa-23befb77d380" + "CENTRALUS:20141015T022653Z:69ebda7a-303b-42f9-ac87-77e88a7bfa05" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -340,25 +337,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:07 GMT" + "Wed, 15 Oct 2014 02:26:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazQwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazI1MTk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "78" + "74" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "71" ] }, "ResponseBody": "", @@ -376,31 +376,94 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1168" ], "request-id": [ - "29fb367f-63ef-46a3-aa8d-50ee14a076b5" + "33f2c7d3-9a40-4a54-a1c5-6b1228f68005" + ], + "x-ms-request-id": [ + "21d7b486-a50f-4793-98e0-9c2aa53e58fc" + ], + "x-ms-correlation-request-id": [ + "21d7b486-a50f-4793-98e0-9c2aa53e58fc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022655Z:21d7b486-a50f-4793-98e0-9c2aa53e58fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:26:55 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zM2YyYzdkMy05YTQwLTRhNTQtYTFjNS02YjEyMjhmNjgwMDU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "71" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9a8f148f-e9b7-400e-84ba-29ce64998b1f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31928" + ], "x-ms-request-id": [ - "c7c1c6c6-2b3a-431b-86f1-b5dd888ab346" + "f13157de-fcca-4e91-8400-3d077152d68e" ], "x-ms-correlation-request-id": [ - "c7c1c6c6-2b3a-431b-86f1-b5dd888ab346" + "f13157de-fcca-4e91-8400-3d077152d68e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184414Z:c7c1c6c6-2b3a-431b-86f1-b5dd888ab346" + "CENTRALUS:20141015T022655Z:f13157de-fcca-4e91-8400-3d077152d68e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:14 GMT" + "Wed, 15 Oct 2014 02:26:55 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519/operationResults/29fb367f-63ef-46a3-aa8d-50ee14a076b5?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -409,19 +472,22 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519/operationResults/29fb367f-63ef-46a3-aa8d-50ee14a076b5?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazQwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazI1MTkvb3BlcmF0aW9uUmVzdWx0cy8yOWZiMzY3Zi02M2VmLTQ2YTMtYWE4ZC01MGVlMTRhMDc2YjU/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/33f2c7d3-9a40-4a54-a1c5-6b1228f68005?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zM2YyYzdkMy05YTQwLTRhNTQtYTFjNS02YjEyMjhmNjgwMDU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "71" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk2519\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk2519.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4107\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4107.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "350" @@ -433,37 +499,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:44:14 GMT" + "Wed, 15 Oct 2014 02:27:11 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "47fe7f95-f638-41d4-8d97-5260d71bd367" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "33fce9aa-e9a3-495d-895a-31ecf3453170" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "31927" ], "x-ms-request-id": [ - "a484db49-8764-4864-9df1-22449f4fdec0" + "3bd45eb6-69c2-4a43-afa0-88dfacb64fe5" ], "x-ms-correlation-request-id": [ - "a484db49-8764-4864-9df1-22449f4fdec0" + "3bd45eb6-69c2-4a43-afa0-88dfacb64fe5" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184414Z:a484db49-8764-4864-9df1-22449f4fdec0" + "CENTRALUS:20141015T022710Z:3bd45eb6-69c2-4a43-afa0-88dfacb64fe5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:14 GMT" + "Wed, 15 Oct 2014 02:27:10 GMT" ], "ETag": [ - "0x8D2888E632831B8" + "0x8D1B636A8B6BE0F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -472,19 +538,19 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazQwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazI1MTk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk2519\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk2519.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4107\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4107.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "350" @@ -496,37 +562,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:44:45 GMT" + "Wed, 15 Oct 2014 02:27:11 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "20d026eb-b680-4869-8ec2-5379edd8a804" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "55a94aa6-11a3-4737-8551-bc194f9cd92d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "31926" ], "x-ms-request-id": [ - "fffe0b4c-dae8-4863-9cb7-7c6dca93d3d0" + "995a241c-c571-43fe-ae19-96bcf78c9d4a" ], "x-ms-correlation-request-id": [ - "fffe0b4c-dae8-4863-9cb7-7c6dca93d3d0" + "995a241c-c571-43fe-ae19-96bcf78c9d4a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184445Z:fffe0b4c-dae8-4863-9cb7-7c6dca93d3d0" + "CENTRALUS:20141015T022711Z:995a241c-c571-43fe-ae19-96bcf78c9d4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:44 GMT" + "Wed, 15 Oct 2014 02:27:10 GMT" ], "ETag": [ - "0x8D2888E75988E59" + "0x8D1B636A8E34FA6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -535,13 +601,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazQwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazI1MTk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "76" ] }, "ResponseBody": "", @@ -559,31 +628,94 @@ "15" ], "request-id": [ - "280c13c8-e40f-4939-aa71-713a857c6339" + "333ca3df-89bf-43cb-8b7e-91a1bd391f46" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1167" + ], + "x-ms-request-id": [ + "7f735a55-b298-4af0-a966-27569c4ffe78" + ], + "x-ms-correlation-request-id": [ + "7f735a55-b298-4af0-a966-27569c4ffe78" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022711Z:7f735a55-b298-4af0-a966-27569c4ffe78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:27:11 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zMzNjYTNkZi04OWJmLTQzY2ItOGI3ZS05MWExYmQzOTFmNDY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "76" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "659a9f71-dcfc-4726-8693-07ab05a26721" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31925" ], "x-ms-request-id": [ - "9da614bd-8569-4a63-914c-301b2b3fc58b" + "ca36518e-0e0d-4518-a35d-569cc75cb20e" ], "x-ms-correlation-request-id": [ - "9da614bd-8569-4a63-914c-301b2b3fc58b" + "ca36518e-0e0d-4518-a35d-569cc75cb20e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184447Z:9da614bd-8569-4a63-914c-301b2b3fc58b" + "CENTRALUS:20141015T022712Z:ca36518e-0e0d-4518-a35d-569cc75cb20e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:47 GMT" + "Wed, 15 Oct 2014 02:27:11 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519/operationResults/280c13c8-e40f-4939-aa71-713a857c6339?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -592,16 +724,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk4006/providers/Microsoft.Batch/batchAccounts/onesdk2519/operationResults/280c13c8-e40f-4939-aa71-713a857c6339?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazQwMDYvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazI1MTkvb3BlcmF0aW9uUmVzdWx0cy8yODBjMTNjOC1lNDBmLTQ5MzktYWE3MS03MTNhODU3YzYzMzk/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk4630/providers/Microsoft.Batch/batchAccounts/onesdk4107/operationResults/333ca3df-89bf-43cb-8b7e-91a1bd391f46?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazQ2MzAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQxMDcvb3BlcmF0aW9uUmVzdWx0cy8zMzNjYTNkZi04OWJmLTQzY2ItOGI3ZS05MWExYmQzOTFmNDY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "76" ] }, "ResponseBody": "", @@ -613,37 +748,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:44:47 GMT" + "Wed, 15 Oct 2014 02:27:27 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "c616885d-f8a0-433b-bd74-b660b7884ac6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "96be1e4d-d24b-4949-9b94-1332b9160191" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "31924" ], "x-ms-request-id": [ - "24ffe1fe-036c-4143-9553-8f9437a79c14" + "a3650292-3db7-44bb-9385-3d39b70ea3df" ], "x-ms-correlation-request-id": [ - "24ffe1fe-036c-4143-9553-8f9437a79c14" + "a3650292-3db7-44bb-9385-3d39b70ea3df" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184447Z:24ffe1fe-036c-4143-9553-8f9437a79c14" + "CENTRALUS:20141015T022727Z:a3650292-3db7-44bb-9385-3d39b70ea3df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:47 GMT" + "Wed, 15 Oct 2014 02:27:26 GMT" ], "ETag": [ - "0x8D2888E76C25C97" + "0x8D1B636B28057FE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -652,13 +787,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk4006?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazQwMDY/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk4630?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazQ2MzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" ] }, "ResponseBody": "", @@ -676,16 +814,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1166" ], "x-ms-request-id": [ - "555e661c-087f-4f1d-ae08-6f5efa0e7d29" + "fb20e93f-1ca4-4c0b-9719-78e2e589c3d4" ], "x-ms-correlation-request-id": [ - "555e661c-087f-4f1d-ae08-6f5efa0e7d29" + "fb20e93f-1ca4-4c0b-9719-78e2e589c3d4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184449Z:555e661c-087f-4f1d-ae08-6f5efa0e7d29" + "CENTRALUS:20141015T022727Z:fb20e93f-1ca4-4c0b-9719-78e2e589c3d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -694,17 +832,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:48 GMT" + "Wed, 15 Oct 2014 02:27:27 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNREEyTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -713,6 +851,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" ] }, "ResponseBody": "", @@ -730,16 +871,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "31922" ], "x-ms-request-id": [ - "aa10c5a0-b2bd-43c0-8ecc-5fda46ddf7c6" + "33c21537-b91e-43a7-876e-d69d3e667dbd" ], "x-ms-correlation-request-id": [ - "aa10c5a0-b2bd-43c0-8ecc-5fda46ddf7c6" + "33c21537-b91e-43a7-876e-d69d3e667dbd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184450Z:aa10c5a0-b2bd-43c0-8ecc-5fda46ddf7c6" + "CENTRALUS:20141015T022727Z:33c21537-b91e-43a7-876e-d69d3e667dbd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -748,17 +889,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:44:49 GMT" + "Wed, 15 Oct 2014 02:27:27 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNREEyTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -767,6 +908,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" ] }, "ResponseBody": "", @@ -784,16 +928,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "31921" ], "x-ms-request-id": [ - "db9ca2ba-8986-4f99-a627-1950f7319e49" + "4e3f38a9-b924-4fdb-b8d1-16219a83e78d" ], "x-ms-correlation-request-id": [ - "db9ca2ba-8986-4f99-a627-1950f7319e49" + "4e3f38a9-b924-4fdb-b8d1-16219a83e78d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184505Z:db9ca2ba-8986-4f99-a627-1950f7319e49" + "CENTRALUS:20141015T022742Z:4e3f38a9-b924-4fdb-b8d1-16219a83e78d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -802,17 +946,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:45:04 GMT" + "Wed, 15 Oct 2014 02:27:42 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNREEyTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -821,6 +965,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" ] }, "ResponseBody": "", @@ -838,16 +985,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "31920" ], "x-ms-request-id": [ - "b3483f4b-e97b-43bb-a3d2-ac6a53856c9d" + "1cbf168d-72b2-44a7-834b-326a7246ff65" ], "x-ms-correlation-request-id": [ - "b3483f4b-e97b-43bb-a3d2-ac6a53856c9d" + "1cbf168d-72b2-44a7-834b-326a7246ff65" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184520Z:b3483f4b-e97b-43bb-a3d2-ac6a53856c9d" + "CENTRALUS:20141015T022757Z:1cbf168d-72b2-44a7-834b-326a7246ff65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -856,17 +1003,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:45:20 GMT" + "Wed, 15 Oct 2014 02:27:57 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0MDA2LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBNREEyTFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs0NjMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczBOak13TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -875,6 +1022,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "81" ] }, "ResponseBody": "", @@ -889,16 +1039,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "31919" ], "x-ms-request-id": [ - "3088c2e7-c6c9-4a38-b3c1-64ac7475cf34" + "aa7cd990-18a5-4d93-a9a5-83c28a73ddb6" ], "x-ms-correlation-request-id": [ - "3088c2e7-c6c9-4a38-b3c1-64ac7475cf34" + "aa7cd990-18a5-4d93-a9a5-83c28a73ddb6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T184536Z:3088c2e7-c6c9-4a38-b3c1-64ac7475cf34" + "CENTRALUS:20141015T022813Z:aa7cd990-18a5-4d93-a9a5-83c28a73ddb6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -907,7 +1057,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:45:35 GMT" + "Wed, 15 Oct 2014 02:28:13 GMT" ] }, "StatusCode": 200 @@ -915,11 +1065,11 @@ ], "Names": { "Test-CreatesNewBatchAccount": [ - "onesdk2519", - "onesdk4006" + "onesdk4107", + "onesdk4630" ] }, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json index 3b784ec6f432..f37fea3ddba7 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "56903" + "21795" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "31854" ], "x-ms-request-id": [ - "6fa79acc-f788-4c99-860f-652249bb3c97" + "df714c85-281e-4da1-baa2-319375e07a56" ], "x-ms-correlation-request-id": [ - "6fa79acc-f788-4c99-860f-652249bb3c97" + "df714c85-281e-4da1-baa2-319375e07a56" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185541Z:6fa79acc-f788-4c99-860f-652249bb3c97" + "CENTRALUS:20141015T023022Z:df714c85-281e-4da1-baa2-319375e07a56" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,110 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:40 GMT" + "Wed, 15 Oct 2014 02:30:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "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/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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": [ - "56903" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], - "x-ms-request-id": [ - "07d88fbe-de25-439f-a9a9-63da49543af0" - ], - "x-ms-correlation-request-id": [ - "07d88fbe-de25-439f-a9a9-63da49543af0" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T185541Z:07d88fbe-de25-439f-a9a9-63da49543af0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 18:55:41 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "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/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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": [ - "56903" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" - ], - "x-ms-request-id": [ - "59d7a2f9-dca3-464b-91f1-8af7fecb5539" - ], - "x-ms-correlation-request-id": [ - "59d7a2f9-dca3-464b-91f1-8af7fecb5539" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T185542Z:59d7a2f9-dca3-464b-91f1-8af7fecb5539" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 18:55:41 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk9588?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -168,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "31853" ], "x-ms-request-id": [ - "70104dcf-9b18-40ee-93bd-cf5b455cd70b" + "59da3808-264a-401a-a012-5a3c4850ed70" ], "x-ms-correlation-request-id": [ - "70104dcf-9b18-40ee-93bd-cf5b455cd70b" + "59da3808-264a-401a-a012-5a3c4850ed70" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185542Z:70104dcf-9b18-40ee-93bd-cf5b455cd70b" + "CENTRALUS:20141015T023022Z:59da3808-264a-401a-a012-5a3c4850ed70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -190,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:41 GMT" + "Wed, 15 Oct 2014 02:30:22 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk9588?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -217,16 +118,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" + "31836" ], "x-ms-request-id": [ - "b0cc23e9-fc10-4182-898d-5003652bd2b7" + "04f6f9bd-a76f-4ae0-a3c6-9ac982269999" ], "x-ms-correlation-request-id": [ - "b0cc23e9-fc10-4182-898d-5003652bd2b7" + "04f6f9bd-a76f-4ae0-a3c6-9ac982269999" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185641Z:b0cc23e9-fc10-4182-898d-5003652bd2b7" + "CENTRALUS:20141015T023118Z:04f6f9bd-a76f-4ae0-a3c6-9ac982269999" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -235,31 +136,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:40 GMT" + "Wed, 15 Oct 2014 02:31:18 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk9588?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588\",\r\n \"name\": \"onesdk9588\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761\",\r\n \"name\": \"onesdk6761\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -271,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1157" ], "x-ms-request-id": [ - "29b9a80e-8b3a-49a8-bd39-0d38ca3ed7a3" + "6470c42f-c41f-4d2e-8716-84ade7b39adb" ], "x-ms-correlation-request-id": [ - "29b9a80e-8b3a-49a8-bd39-0d38ca3ed7a3" + "6470c42f-c41f-4d2e-8716-84ade7b39adb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185544Z:29b9a80e-8b3a-49a8-bd39-0d38ca3ed7a3" + "CENTRALUS:20141015T023022Z:6470c42f-c41f-4d2e-8716-84ade7b39adb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -289,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:44 GMT" + "Wed, 15 Oct 2014 02:30:22 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -319,16 +220,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "31852" ], "x-ms-request-id": [ - "8d51a7d4-6b73-4c13-b915-7751bddd2e5a" + "15b7e8d2-fbf5-4f66-bc2f-d017744078a3" ], "x-ms-correlation-request-id": [ - "8d51a7d4-6b73-4c13-b915-7751bddd2e5a" + "15b7e8d2-fbf5-4f66-bc2f-d017744078a3" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185544Z:8d51a7d4-6b73-4c13-b915-7751bddd2e5a" + "CENTRALUS:20141015T023022Z:15b7e8d2-fbf5-4f66-bc2f-d017744078a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -337,14 +238,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:44 GMT" + "Wed, 15 Oct 2014 02:30:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk9588/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -370,16 +271,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:0c484026-ecd8-4baf-b7dc-746ecdaf8a70" + "centralus:42c8839e-c020-403a-bbc3-3fc373ce79b2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31917" ], "x-ms-correlation-request-id": [ - "5d7a6592-a948-4b22-8d4d-32f53e1fb850" + "d1908d9a-7f79-4578-90db-e87bfc78119c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185544Z:5d7a6592-a948-4b22-8d4d-32f53e1fb850" + "CENTRALUS:20141015T023023Z:d1908d9a-7f79-4578-90db-e87bfc78119c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -388,14 +289,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:44 GMT" + "Wed, 15 Oct 2014 02:30:22 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5490?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazU0OTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -417,20 +318,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "31851" ], "x-ms-request-id": [ - "d27fc120-aec8-457c-8a59-b12172b3b3d6" + "6add3aa7-3534-4d0b-9fde-667aeb07a6ff" ], "x-ms-correlation-request-id": [ - "d27fc120-aec8-457c-8a59-b12172b3b3d6" + "6add3aa7-3534-4d0b-9fde-667aeb07a6ff" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185544Z:d27fc120-aec8-457c-8a59-b12172b3b3d6" + "CENTRALUS:20141015T023023Z:6add3aa7-3534-4d0b-9fde-667aeb07a6ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,14 +337,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:44 GMT" + "Wed, 15 Oct 2014 02:30:22 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5490?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazU0OTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -466,16 +364,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "31829" ], "x-ms-request-id": [ - "3863a57b-c4f4-499e-9626-69af87d11097" + "15e79a12-8d77-448c-a834-2dfa7e4777d2" ], "x-ms-correlation-request-id": [ - "3863a57b-c4f4-499e-9626-69af87d11097" + "15e79a12-8d77-448c-a834-2dfa7e4777d2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185735Z:3863a57b-c4f4-499e-9626-69af87d11097" + "CENTRALUS:20141015T023220Z:15e79a12-8d77-448c-a834-2dfa7e4777d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -484,31 +382,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:34 GMT" + "Wed, 15 Oct 2014 02:32:19 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5490?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazU0OTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490\",\r\n \"name\": \"onesdk5490\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390\",\r\n \"name\": \"onesdk1390\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -520,16 +418,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1156" ], "x-ms-request-id": [ - "80d0e8b6-e3fa-4212-a34d-bca3490203f6" + "5ee4df9b-e40b-4f94-b60c-c9f7178a5945" ], "x-ms-correlation-request-id": [ - "80d0e8b6-e3fa-4212-a34d-bca3490203f6" + "5ee4df9b-e40b-4f94-b60c-c9f7178a5945" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185545Z:80d0e8b6-e3fa-4212-a34d-bca3490203f6" + "CENTRALUS:20141015T023023Z:5ee4df9b-e40b-4f94-b60c-c9f7178a5945" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -538,14 +436,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:45 GMT" + "Wed, 15 Oct 2014 02:30:23 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazU0OTAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcmVzb3VyY2VzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -568,16 +466,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "31850" ], "x-ms-request-id": [ - "eff632c8-c724-461c-8662-acececaa9123" + "a94af083-22e2-423e-a834-c72ec0039aff" ], "x-ms-correlation-request-id": [ - "eff632c8-c724-461c-8662-acececaa9123" + "a94af083-22e2-423e-a834-c72ec0039aff" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185545Z:eff632c8-c724-461c-8662-acececaa9123" + "CENTRALUS:20141015T023023Z:a94af083-22e2-423e-a834-c72ec0039aff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -586,14 +484,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:45 GMT" + "Wed, 15 Oct 2014 02:30:23 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5490/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazU0OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -619,16 +517,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:1d32e802-9870-4553-88f7-f4bf19557dae" + "centralus:ba3fb959-5062-4eba-b243-018946cf5ded" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "31916" ], "x-ms-correlation-request-id": [ - "73c711e8-1712-4e64-8e74-0c09fe61de07" + "ec9a8c47-f25b-4ca8-8473-3821a83fe84b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185545Z:73c711e8-1712-4e64-8e74-0c09fe61de07" + "CENTRALUS:20141015T023023Z:ec9a8c47-f25b-4ca8-8473-3821a83fe84b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,14 +535,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:45 GMT" + "Wed, 15 Oct 2014 02:30:23 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -652,10 +550,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -667,16 +565,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "31849" ], "x-ms-request-id": [ - "5a1a9f3d-dea4-40d2-add3-45a057f539a3" + "d9c81b87-16a2-4af1-9b3e-4aa68013810b" ], "x-ms-correlation-request-id": [ - "5a1a9f3d-dea4-40d2-add3-45a057f539a3" + "d9c81b87-16a2-4af1-9b3e-4aa68013810b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185545Z:5a1a9f3d-dea4-40d2-add3-45a057f539a3" + "CENTRALUS:20141015T023023Z:d9c81b87-16a2-4af1-9b3e-4aa68013810b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -685,14 +583,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:45 GMT" + "Wed, 15 Oct 2014 02:30:23 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -700,10 +598,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -715,16 +613,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" + "31846" ], "x-ms-request-id": [ - "1bd5e85b-8acc-4f33-9db5-7a0b33c581f9" + "69f4b134-08cd-4801-8b0e-661e2d1c4175" ], "x-ms-correlation-request-id": [ - "1bd5e85b-8acc-4f33-9db5-7a0b33c581f9" + "69f4b134-08cd-4801-8b0e-661e2d1c4175" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185553Z:1bd5e85b-8acc-4f33-9db5-7a0b33c581f9" + "CENTRALUS:20141015T023041Z:69f4b134-08cd-4801-8b0e-661e2d1c4175" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -733,14 +631,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:53 GMT" + "Wed, 15 Oct 2014 02:30:41 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -748,10 +646,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"name\": \"onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12751" ], "Content-Type": [ "application/json; charset=utf-8" @@ -763,16 +661,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" + "31843" ], "x-ms-request-id": [ - "3a846344-1c85-41f8-8d52-a366bd646215" + "b8ac4d79-d215-478a-8834-486b961ade90" ], "x-ms-correlation-request-id": [ - "3a846344-1c85-41f8-8d52-a366bd646215" + "b8ac4d79-d215-478a-8834-486b961ade90" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185558Z:3a846344-1c85-41f8-8d52-a366bd646215" + "CENTRALUS:20141015T023058Z:b8ac4d79-d215-478a-8834-486b961ade90" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -781,25 +679,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:57 GMT" + "Wed, 15 Oct 2014 02:30:57 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk3OT9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "29" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "124" ] }, "ResponseBody": "", @@ -817,31 +718,94 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1155" ], "request-id": [ - "3c547500-26d5-4de7-b219-369033b35ed0" + "1ba9964c-fc4b-438d-aacb-11c2599c7442" + ], + "x-ms-request-id": [ + "d2ee41b6-ac67-458e-9571-aedef0a03ada" + ], + "x-ms-correlation-request-id": [ + "d2ee41b6-ac67-458e-9571-aedef0a03ada" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023025Z:d2ee41b6-ac67-458e-9571-aedef0a03ada" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:25 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy8xYmE5OTY0Yy1mYzRiLTQzOGQtYWFjYi0xMWMyNTk5Yzc0NDI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "124" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1eecdf94-5247-4592-928a-5ca68a556c6d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31848" + ], "x-ms-request-id": [ - "44f37fe3-b1f9-426b-88b5-47478c4f4686" + "3f319ea1-888d-41f2-8798-2a9c8f4bed73" ], "x-ms-correlation-request-id": [ - "44f37fe3-b1f9-426b-88b5-47478c4f4686" + "3f319ea1-888d-41f2-8798-2a9c8f4bed73" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185551Z:44f37fe3-b1f9-426b-88b5-47478c4f4686" + "CENTRALUS:20141015T023025Z:3f319ea1-888d-41f2-8798-2a9c8f4bed73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:50 GMT" + "Wed, 15 Oct 2014 02:30:25 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979/operationResults/3c547500-26d5-4de7-b219-369033b35ed0?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -850,22 +814,25 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979/operationResults/3c547500-26d5-4de7-b219-369033b35ed0?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk3OS9vcGVyYXRpb25SZXN1bHRzLzNjNTQ3NTAwLTI2ZDUtNGRlNy1iMjE5LTM2OTAzM2IzNWVkMD9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/1ba9964c-fc4b-438d-aacb-11c2599c7442?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy8xYmE5OTY0Yy1mYzRiLTQzOGQtYWFjYi0xMWMyNTk5Yzc0NDI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "124" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk979\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk979.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk4680\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4680.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "318" + "321" ], "Content-Type": [ "application/json; charset=utf-8" @@ -874,37 +841,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:55:51 GMT" + "Wed, 15 Oct 2014 02:30:40 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "2cc3e167-36e3-4181-b0cc-d10e9cfc6389" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "3ea44084-025e-4be3-8736-f7141d7ecb77" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "31847" ], "x-ms-request-id": [ - "f659262f-5bb0-4bf0-9dd0-6d19c80b646e" + "b64a14a2-290a-4818-a5c1-24544c8f7efd" ], "x-ms-correlation-request-id": [ - "f659262f-5bb0-4bf0-9dd0-6d19c80b646e" + "b64a14a2-290a-4818-a5c1-24544c8f7efd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185551Z:f659262f-5bb0-4bf0-9dd0-6d19c80b646e" + "CENTRALUS:20141015T023041Z:b64a14a2-290a-4818-a5c1-24544c8f7efd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:51 GMT" + "Wed, 15 Oct 2014 02:30:41 GMT" ], "ETag": [ - "0x8D2889002BD1111" + "0x8D1B63725B801A0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -913,10 +880,10 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazIyNT9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -926,6 +893,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "129" ] }, "ResponseBody": "", @@ -943,31 +913,94 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1154" ], "request-id": [ - "b4a4a523-7d59-44a1-986f-0d911c8a3474" + "8aa6ce46-ab51-4c19-890c-ec0035fb944f" + ], + "x-ms-request-id": [ + "aee3a36f-1df8-406f-bbca-4953c7e37a99" + ], + "x-ms-correlation-request-id": [ + "aee3a36f-1df8-406f-bbca-4953c7e37a99" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023042Z:aee3a36f-1df8-406f-bbca-4953c7e37a99" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:30:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzUvb3BlcmF0aW9uUmVzdWx0cy84YWE2Y2U0Ni1hYjUxLTRjMTktODkwYy1lYzAwMzVmYjk0NGY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "129" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d2c7b6ca-3d68-4b83-9e28-40e38e95ddab" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31845" + ], "x-ms-request-id": [ - "e00c123c-fa6e-48ba-9eaa-ab941e1fcc4c" + "979e75eb-7eb2-4fed-ab89-60b5c1b64be1" ], "x-ms-correlation-request-id": [ - "e00c123c-fa6e-48ba-9eaa-ab941e1fcc4c" + "979e75eb-7eb2-4fed-ab89-60b5c1b64be1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185557Z:e00c123c-fa6e-48ba-9eaa-ab941e1fcc4c" + "CENTRALUS:20141015T023043Z:979e75eb-7eb2-4fed-ab89-60b5c1b64be1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:56 GMT" + "Wed, 15 Oct 2014 02:30:42 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225/operationResults/b4a4a523-7d59-44a1-986f-0d911c8a3474?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -976,22 +1009,25 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225/operationResults/b4a4a523-7d59-44a1-986f-0d911c8a3474?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazIyNS9vcGVyYXRpb25SZXN1bHRzL2I0YTRhNTIzLTdkNTktNDRhMS05ODZmLTBkOTExYzhhMzQ3ND9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/8aa6ce46-ab51-4c19-890c-ec0035fb944f?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzUvb3BlcmF0aW9uUmVzdWx0cy84YWE2Y2U0Ni1hYjUxLTRjMTktODkwYy1lYzAwMzVmYjk0NGY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "129" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk225\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk225.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk3775\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3775.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "314" + "321" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1000,37 +1036,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:55:57 GMT" + "Wed, 15 Oct 2014 02:30:58 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "3c570990-7ac5-4ff7-bf2f-62e704bb6cd6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "a26011dd-af07-4e0f-b106-8b9c8ca515ea" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "31844" ], "x-ms-request-id": [ - "2b6a6450-caff-43ad-a83c-51e7c9576598" + "bbeeb4fb-b619-4b17-9ef5-d1fdf562c341" ], "x-ms-correlation-request-id": [ - "2b6a6450-caff-43ad-a83c-51e7c9576598" + "bbeeb4fb-b619-4b17-9ef5-d1fdf562c341" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185557Z:2b6a6450-caff-43ad-a83c-51e7c9576598" + "CENTRALUS:20141015T023058Z:bbeeb4fb-b619-4b17-9ef5-d1fdf562c341" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:55:56 GMT" + "Wed, 15 Oct 2014 02:30:57 GMT" ], "ETag": [ - "0x8D28890065C6FA4" + "0x8D1B637301192ED" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1039,19 +1075,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazU0OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM2NTg/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US 2\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "29" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "134" ] }, "ResponseBody": "", @@ -1069,31 +1108,31 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1153" ], "request-id": [ - "95ca2a77-0386-4f27-8fe8-bee72dd61a22" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "d46a42b7-9c9d-4306-96dd-530fd50b8693" ], "x-ms-request-id": [ - "876e5927-ff75-46d8-84b9-8ac1cd45a981" + "ed9617e3-9584-4ae2-be64-1e78391baae1" ], "x-ms-correlation-request-id": [ - "876e5927-ff75-46d8-84b9-8ac1cd45a981" + "ed9617e3-9584-4ae2-be64-1e78391baae1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185601Z:876e5927-ff75-46d8-84b9-8ac1cd45a981" + "CENTRALUS:20141015T023100Z:ed9617e3-9584-4ae2-be64-1e78391baae1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:01 GMT" + "Wed, 15 Oct 2014 02:31:00 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658/operationResults/95ca2a77-0386-4f27-8fe8-bee72dd61a22?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/d46a42b7-9c9d-4306-96dd-530fd50b8693?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1102,22 +1141,25 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658/operationResults/95ca2a77-0386-4f27-8fe8-bee72dd61a22?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazU0OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM2NTgvb3BlcmF0aW9uUmVzdWx0cy85NWNhMmE3Ny0wMzg2LTRmMjctOGZlOC1iZWU3MmRkNjFhMjI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/d46a42b7-9c9d-4306-96dd-530fd50b8693?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjMvb3BlcmF0aW9uUmVzdWx0cy9kNDZhNDJiNy05YzlkLTQzMDYtOTZkZC01MzBmZDUwYjg2OTM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "134" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk3658\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3658.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk1163\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1163.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "318" + "321" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1126,37 +1168,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:56:01 GMT" + "Wed, 15 Oct 2014 02:31:00 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "3d87f9f8-9e3c-495a-9272-5b6b1e8f5af1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "949d8f35-16ee-4104-bca8-76f71b7ea581" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "31842" ], "x-ms-request-id": [ - "61ba1d92-b6a5-49de-982c-ab889c961dab" + "e9cae999-b416-4c1c-adee-f7d08d10eda8" ], "x-ms-correlation-request-id": [ - "61ba1d92-b6a5-49de-982c-ab889c961dab" + "e9cae999-b416-4c1c-adee-f7d08d10eda8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185601Z:61ba1d92-b6a5-49de-982c-ab889c961dab" + "CENTRALUS:20141015T023100Z:e9cae999-b416-4c1c-adee-f7d08d10eda8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:01 GMT" + "Wed, 15 Oct 2014 02:31:00 GMT" ], "ETag": [ - "0x8D2889008C108A4" + "0x8D1B637313FBE6F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1165,22 +1207,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.Batch/batchAccounts?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch/batchAccounts?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk979\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk979.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk225\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk225.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk3658\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3658.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"adnanzh1\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"ppp\": \"kkkk\",\r\n \"abcd\": \"efgh\",\r\n \"abcde\": \"efgh\",\r\n \"cd\": \"efgh\",\r\n \"cde\": \"efgh\",\r\n \"aefgh\": \"acde\",\r\n \"adnan\": \"ped\",\r\n \"Ped\": \"Pune\",\r\n \"loc\": \"unknown\",\r\n \"jhsdgfjhabcd\": \"csfndhh\",\r\n \"segdfgkjdfjk\": \"jashdgfjshdf\",\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"adnanzh1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"azbacjnkyz\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"azbacjnkyz.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/default-azurebatch-westus/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"clw789\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"clw789.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk1163\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1163.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk3775\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3775.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk4680\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4680.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk916\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk916.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"wenwu1007a1\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"wenwu1007a1.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "964" + "3296" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1191,22 +1233,20 @@ "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "", - "" + "request-id": [ + "8d58ee0c-77c2-4ebb-8542-1c848b2d9956" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "31841" ], "x-ms-request-id": [ - "fea46986-6e7d-4599-8531-3166091471fd" + "496ccdfd-f301-45bc-813a-ff120e794eff" ], "x-ms-correlation-request-id": [ - "fea46986-6e7d-4599-8531-3166091471fd" + "496ccdfd-f301-45bc-813a-ff120e794eff" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185636Z:fea46986-6e7d-4599-8531-3166091471fd" + "CENTRALUS:20141015T023100Z:496ccdfd-f301-45bc-813a-ff120e794eff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1215,28 +1255,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:36 GMT" + "Wed, 15 Oct 2014 02:31:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzP2FwaS12ZXJzaW9uPTIwMTUtMDctMDE=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk979\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk979.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk225\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk225.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"onesdk3775\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk3775.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n },\r\n {\r\n \"name\": \"onesdk4680\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk4680.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "645" + "655" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1247,21 +1290,20 @@ "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "" + "request-id": [ + "2bb766cd-da13-4ff8-8e2e-b9bce1c3c64d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "31840" ], "x-ms-request-id": [ - "9407827c-2df3-4b13-9a9e-dd83ee7959ff" + "48570702-ab0b-43d4-84a0-fd6cbba00aa4" ], "x-ms-correlation-request-id": [ - "9407827c-2df3-4b13-9a9e-dd83ee7959ff" + "48570702-ab0b-43d4-84a0-fd6cbba00aa4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185637Z:9407827c-2df3-4b13-9a9e-dd83ee7959ff" + "CENTRALUS:20141015T023101Z:48570702-ab0b-43d4-84a0-fd6cbba00aa4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1270,19 +1312,25 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:36 GMT" + "Wed, 15 Oct 2014 02:31:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk3OT9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "139" ] }, "ResponseBody": "", @@ -1300,31 +1348,94 @@ "15" ], "request-id": [ - "135e3fc2-864e-4614-bfae-bdc6ae3e9906" + "855fad74-0228-4f8f-a400-7982b85f0162" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1152" + ], + "x-ms-request-id": [ + "b977801a-3236-4ddd-9fa5-bd331969f252" + ], + "x-ms-correlation-request-id": [ + "b977801a-3236-4ddd-9fa5-bd331969f252" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023101Z:b977801a-3236-4ddd-9fa5-bd331969f252" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:31:01 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy84NTVmYWQ3NC0wMjI4LTRmOGYtYTQwMC03OTgyYjg1ZjAxNjI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "139" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d39cd12a-8f7e-423e-acff-9a170ea4fa7e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31839" ], "x-ms-request-id": [ - "2e213649-19c8-4c48-8409-f83bcb54cdfe" + "eda41be7-c46d-44a2-990c-92351c124f8d" ], "x-ms-correlation-request-id": [ - "2e213649-19c8-4c48-8409-f83bcb54cdfe" + "eda41be7-c46d-44a2-990c-92351c124f8d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185638Z:2e213649-19c8-4c48-8409-f83bcb54cdfe" + "CENTRALUS:20141015T023102Z:eda41be7-c46d-44a2-990c-92351c124f8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:38 GMT" + "Wed, 15 Oct 2014 02:31:01 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979/operationResults/135e3fc2-864e-4614-bfae-bdc6ae3e9906?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1333,16 +1444,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk979/operationResults/135e3fc2-864e-4614-bfae-bdc6ae3e9906?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazk3OS9vcGVyYXRpb25SZXN1bHRzLzEzNWUzZmMyLTg2NGUtNDYxNC1iZmFlLWJkYzZhZTNlOTkwNj9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk4680/operationResults/855fad74-0228-4f8f-a400-7982b85f0162?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazQ2ODAvb3BlcmF0aW9uUmVzdWx0cy84NTVmYWQ3NC0wMjI4LTRmOGYtYTQwMC03OTgyYjg1ZjAxNjI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "139" ] }, "ResponseBody": "", @@ -1354,37 +1468,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:56:38 GMT" + "Wed, 15 Oct 2014 02:31:17 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "6d15d52a-ec2b-4431-ba27-cce4d4fbb076" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "849dd7fc-f7f2-4c1b-a5d9-10f33f3c504d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "31838" ], "x-ms-request-id": [ - "26c79d0a-e1b8-46dd-aceb-4c28843b77e5" + "c336d625-cbf9-4216-aaa8-adcfe1a907b4" ], "x-ms-correlation-request-id": [ - "26c79d0a-e1b8-46dd-aceb-4c28843b77e5" + "c336d625-cbf9-4216-aaa8-adcfe1a907b4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185639Z:26c79d0a-e1b8-46dd-aceb-4c28843b77e5" + "CENTRALUS:20141015T023117Z:c336d625-cbf9-4216-aaa8-adcfe1a907b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:38 GMT" + "Wed, 15 Oct 2014 02:31:16 GMT" ], "ETag": [ - "0x8D288901EE939D1" + "0x8D1B6373B5CB2A0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1393,13 +1507,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazIyNT9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "143" ] }, "ResponseBody": "", @@ -1417,31 +1534,31 @@ "15" ], "request-id": [ - "aa3af764-cb0d-418e-a64e-452c2846027e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "d04fcd33-8e98-4549-b331-0be3e2712d8c" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1151" ], "x-ms-request-id": [ - "c5ffafc5-2948-4ad8-9475-4a014f2673de" + "f12ff0a7-c202-4818-8fe2-0a8fd330d031" ], "x-ms-correlation-request-id": [ - "c5ffafc5-2948-4ad8-9475-4a014f2673de" + "f12ff0a7-c202-4818-8fe2-0a8fd330d031" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185640Z:c5ffafc5-2948-4ad8-9475-4a014f2673de" + "CENTRALUS:20141015T023118Z:f12ff0a7-c202-4818-8fe2-0a8fd330d031" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:40 GMT" + "Wed, 15 Oct 2014 02:31:18 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225/operationResults/aa3af764-cb0d-418e-a64e-452c2846027e?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/d04fcd33-8e98-4549-b331-0be3e2712d8c?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1450,16 +1567,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk9588/providers/Microsoft.Batch/batchAccounts/onesdk225/operationResults/aa3af764-cb0d-418e-a64e-452c2846027e?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazk1ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazIyNS9vcGVyYXRpb25SZXN1bHRzL2FhM2FmNzY0LWNiMGQtNDE4ZS1hNjRlLTQ1MmMyODQ2MDI3ZT9hcGktdmVyc2lvbj0yMDE1LTA3LTAx", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk6761/providers/Microsoft.Batch/batchAccounts/onesdk3775/operationResults/d04fcd33-8e98-4549-b331-0be3e2712d8c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazY3NjEvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM3NzUvb3BlcmF0aW9uUmVzdWx0cy9kMDRmY2QzMy04ZTk4LTQ1NDktYjMzMS0wYmUzZTI3MTJkOGM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "143" ] }, "ResponseBody": "", @@ -1471,37 +1591,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:56:41 GMT" + "Wed, 15 Oct 2014 02:31:18 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "4a4d4489-11ce-43fa-858b-4cded1cbad0f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "c6a87987-2b90-45cc-983e-10bf8e86bfc1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "31837" ], "x-ms-request-id": [ - "4561d756-d1f6-4f57-8df2-cb85edbadf66" + "e87b56f3-6577-46e5-9273-100c3dd032a6" ], "x-ms-correlation-request-id": [ - "4561d756-d1f6-4f57-8df2-cb85edbadf66" + "e87b56f3-6577-46e5-9273-100c3dd032a6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185641Z:4561d756-d1f6-4f57-8df2-cb85edbadf66" + "CENTRALUS:20141015T023118Z:e87b56f3-6577-46e5-9273-100c3dd032a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:40 GMT" + "Wed, 15 Oct 2014 02:31:18 GMT" ], "ETag": [ - "0x8D2889020654A28" + "0x8D1B6373BF4D918" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1510,13 +1630,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk9588?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazk1ODg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk6761?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazY3NjE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" ] }, "ResponseBody": "", @@ -1534,16 +1657,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1150" ], "x-ms-request-id": [ - "62802943-73b6-4916-b47e-00b71188ad2f" + "4ee8c3c2-bbba-4edc-be07-fb770e05fde2" ], "x-ms-correlation-request-id": [ - "62802943-73b6-4916-b47e-00b71188ad2f" + "4ee8c3c2-bbba-4edc-be07-fb770e05fde2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185644Z:62802943-73b6-4916-b47e-00b71188ad2f" + "CENTRALUS:20141015T023118Z:4ee8c3c2-bbba-4edc-be07-fb770e05fde2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1552,17 +1675,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:43 GMT" + "Wed, 15 Oct 2014 02:31:18 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVOVGc0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1571,6 +1694,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" ] }, "ResponseBody": "", @@ -1588,16 +1714,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "31835" ], "x-ms-request-id": [ - "52f9b6d0-6c01-4f6a-9da4-c2242ae846f9" + "f4bc51a5-3ec4-49a1-b14c-09a82c531a7f" ], "x-ms-correlation-request-id": [ - "52f9b6d0-6c01-4f6a-9da4-c2242ae846f9" + "f4bc51a5-3ec4-49a1-b14c-09a82c531a7f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185644Z:52f9b6d0-6c01-4f6a-9da4-c2242ae846f9" + "CENTRALUS:20141015T023118Z:f4bc51a5-3ec4-49a1-b14c-09a82c531a7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1606,17 +1732,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:44 GMT" + "Wed, 15 Oct 2014 02:31:18 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVOVGc0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1625,6 +1751,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" ] }, "ResponseBody": "", @@ -1642,16 +1771,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" + "31834" ], "x-ms-request-id": [ - "e86e9359-8502-4904-82ec-50dd48271d92" + "df7a2815-da37-4489-963f-bb2af8ddf476" ], "x-ms-correlation-request-id": [ - "e86e9359-8502-4904-82ec-50dd48271d92" + "df7a2815-da37-4489-963f-bb2af8ddf476" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185700Z:e86e9359-8502-4904-82ec-50dd48271d92" + "CENTRALUS:20141015T023133Z:df7a2815-da37-4489-963f-bb2af8ddf476" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1660,17 +1789,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:56:59 GMT" + "Wed, 15 Oct 2014 02:31:32 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVOVGc0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1679,6 +1808,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" ] }, "ResponseBody": "", @@ -1696,16 +1828,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "31833" ], "x-ms-request-id": [ - "080df769-d5fb-4ab4-8f07-41b27cf91555" + "55211f66-38d5-4c7f-bf4b-67e3562b2840" ], "x-ms-correlation-request-id": [ - "080df769-d5fb-4ab4-8f07-41b27cf91555" + "55211f66-38d5-4c7f-bf4b-67e3562b2840" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185715Z:080df769-d5fb-4ab4-8f07-41b27cf91555" + "CENTRALUS:20141015T023148Z:55211f66-38d5-4c7f-bf4b-67e3562b2840" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1714,17 +1846,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:15 GMT" + "Wed, 15 Oct 2014 02:31:48 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5NTg4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVOVGc0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs2NzYxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczJOell4TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1733,6 +1865,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "147" ] }, "ResponseBody": "", @@ -1747,16 +1882,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "31832" ], "x-ms-request-id": [ - "d5185e20-4aea-4f1e-94f4-104413213bbb" + "0bcb3f97-c40d-4a61-8f83-38a199ea6347" ], "x-ms-correlation-request-id": [ - "d5185e20-4aea-4f1e-94f4-104413213bbb" + "0bcb3f97-c40d-4a61-8f83-38a199ea6347" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185730Z:d5185e20-4aea-4f1e-94f4-104413213bbb" + "CENTRALUS:20141015T023203Z:0bcb3f97-c40d-4a61-8f83-38a199ea6347" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1765,19 +1900,22 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:30 GMT" + "Wed, 15 Oct 2014 02:32:03 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazU0OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM2NTg/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "153" ] }, "ResponseBody": "", @@ -1795,31 +1933,94 @@ "15" ], "request-id": [ - "352c3d7c-763a-4bcf-a36e-43eb8bf726cf" + "61037464-13cb-4dc3-b4c6-71e855f67eaf" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1149" + ], + "x-ms-request-id": [ + "e3a2fc9a-9285-47a9-8853-c0af735a630b" + ], + "x-ms-correlation-request-id": [ + "e3a2fc9a-9285-47a9-8853-c0af735a630b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T023204Z:e3a2fc9a-9285-47a9-8853-c0af735a630b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:32:03 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjMvb3BlcmF0aW9uUmVzdWx0cy82MTAzNzQ2NC0xM2NiLTRkYzMtYjRjNi03MWU4NTVmNjdlYWY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "153" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e3336b17-afe6-40bb-a624-428c96018f44" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31831" ], "x-ms-request-id": [ - "5e979411-4296-4dab-9cd5-0f86eb8aa244" + "9ec8cf31-589c-4d2a-9302-4d166419f178" ], "x-ms-correlation-request-id": [ - "5e979411-4296-4dab-9cd5-0f86eb8aa244" + "9ec8cf31-589c-4d2a-9302-4d166419f178" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185734Z:5e979411-4296-4dab-9cd5-0f86eb8aa244" + "CENTRALUS:20141015T023204Z:9ec8cf31-589c-4d2a-9302-4d166419f178" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:34 GMT" + "Wed, 15 Oct 2014 02:32:04 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658/operationResults/352c3d7c-763a-4bcf-a36e-43eb8bf726cf?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1828,16 +2029,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk5490/providers/Microsoft.Batch/batchAccounts/onesdk3658/operationResults/352c3d7c-763a-4bcf-a36e-43eb8bf726cf?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazU0OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazM2NTgvb3BlcmF0aW9uUmVzdWx0cy8zNTJjM2Q3Yy03NjNhLTRiY2YtYTM2ZS00M2ViOGJmNzI2Y2Y/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk1390/providers/Microsoft.Batch/batchAccounts/onesdk1163/operationResults/61037464-13cb-4dc3-b4c6-71e855f67eaf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazEzOTAvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazExNjMvb3BlcmF0aW9uUmVzdWx0cy82MTAzNzQ2NC0xM2NiLTRkYzMtYjRjNi03MWU4NTVmNjdlYWY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "153" ] }, "ResponseBody": "", @@ -1849,37 +2053,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 18:57:34 GMT" + "Wed, 15 Oct 2014 02:32:19 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "85bc3b37-7b92-41c2-b950-a76b3739ac96" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "8e3f4259-5abd-4d2e-9561-066a48b47de1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "31830" ], "x-ms-request-id": [ - "2b48f1e8-7b42-42bc-a304-2b66c4682109" + "f68c7e7e-9436-4f0a-bf83-e2942382b651" ], "x-ms-correlation-request-id": [ - "2b48f1e8-7b42-42bc-a304-2b66c4682109" + "f68c7e7e-9436-4f0a-bf83-e2942382b651" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185734Z:2b48f1e8-7b42-42bc-a304-2b66c4682109" + "CENTRALUS:20141015T023219Z:f68c7e7e-9436-4f0a-bf83-e2942382b651" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:34 GMT" + "Wed, 15 Oct 2014 02:32:19 GMT" ], "ETag": [ - "0x8D288904009ED68" + "0x8D1B63760AFC825" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1888,13 +2092,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk5490?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazU0OTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk1390?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazEzOTA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" ] }, "ResponseBody": "", @@ -1912,16 +2119,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1148" ], "x-ms-request-id": [ - "8dc37164-b992-4f82-8d94-dada3d6111f3" + "c453159f-9c94-4ded-b9bb-b7217e14afa8" ], "x-ms-correlation-request-id": [ - "8dc37164-b992-4f82-8d94-dada3d6111f3" + "c453159f-9c94-4ded-b9bb-b7217e14afa8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185737Z:8dc37164-b992-4f82-8d94-dada3d6111f3" + "CENTRALUS:20141015T023220Z:c453159f-9c94-4ded-b9bb-b7217e14afa8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1930,17 +2137,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:36 GMT" + "Wed, 15 Oct 2014 02:32:19 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFORGt3TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1949,6 +2156,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" ] }, "ResponseBody": "", @@ -1966,16 +2176,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "31828" ], "x-ms-request-id": [ - "ef9a3f96-1c26-49d1-9e6b-24e7e679b316" + "438e2dac-d34d-40ee-800e-43a22f8fb717" ], "x-ms-correlation-request-id": [ - "ef9a3f96-1c26-49d1-9e6b-24e7e679b316" + "438e2dac-d34d-40ee-800e-43a22f8fb717" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185737Z:ef9a3f96-1c26-49d1-9e6b-24e7e679b316" + "CENTRALUS:20141015T023220Z:438e2dac-d34d-40ee-800e-43a22f8fb717" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1984,17 +2194,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:36 GMT" + "Wed, 15 Oct 2014 02:32:19 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFORGt3TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2003,6 +2213,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" ] }, "ResponseBody": "", @@ -2020,16 +2233,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "31827" ], "x-ms-request-id": [ - "61a6da64-2da6-4d07-a9ea-ad9b4da9909a" + "7c28cf11-559a-4124-989f-4a6dd11f193f" ], "x-ms-correlation-request-id": [ - "61a6da64-2da6-4d07-a9ea-ad9b4da9909a" + "7c28cf11-559a-4124-989f-4a6dd11f193f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185752Z:61a6da64-2da6-4d07-a9ea-ad9b4da9909a" + "CENTRALUS:20141015T023235Z:7c28cf11-559a-4124-989f-4a6dd11f193f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2038,17 +2251,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:57:52 GMT" + "Wed, 15 Oct 2014 02:32:35 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFORGt3TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2057,6 +2270,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" ] }, "ResponseBody": "", @@ -2074,16 +2290,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "31826" ], "x-ms-request-id": [ - "1ba876d5-2a29-4011-b5a4-783855b96d0e" + "9e16b5e4-cca6-4ea0-ae1c-defd0f48766a" ], "x-ms-correlation-request-id": [ - "1ba876d5-2a29-4011-b5a4-783855b96d0e" + "9e16b5e4-cca6-4ea0-ae1c-defd0f48766a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185808Z:1ba876d5-2a29-4011-b5a4-783855b96d0e" + "CENTRALUS:20141015T023250Z:9e16b5e4-cca6-4ea0-ae1c-defd0f48766a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2092,17 +2308,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:58:07 GMT" + "Wed, 15 Oct 2014 02:32:50 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDkwLVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFORGt3TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0=?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hNemt3TFZkRlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2lkMlZ6ZEhWekluMD0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2111,6 +2327,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "158" ] }, "ResponseBody": "", @@ -2125,16 +2344,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "31825" ], "x-ms-request-id": [ - "78b52f94-605e-4e79-af28-0bb0b33d31c5" + "6d068225-bc88-418c-b2c6-ac1a9b582ca1" ], "x-ms-correlation-request-id": [ - "78b52f94-605e-4e79-af28-0bb0b33d31c5" + "6d068225-bc88-418c-b2c6-ac1a9b582ca1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T185823Z:78b52f94-605e-4e79-af28-0bb0b33d31c5" + "CENTRALUS:20141015T023305Z:6d068225-bc88-418c-b2c6-ac1a9b582ca1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2143,7 +2362,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:58:22 GMT" + "Wed, 15 Oct 2014 02:33:05 GMT" ] }, "StatusCode": 200 @@ -2151,14 +2370,14 @@ ], "Names": { "Test-GetBatchAccountsUnderResourceGroups": [ - "onesdk9588", - "onesdk5490", - "onesdk979", - "onesdk225", - "onesdk3658" + "onesdk6761", + "onesdk1390", + "onesdk4680", + "onesdk3775", + "onesdk1163" ] }, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json index e73a55324d0b..2d2dadadd81c 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "31892" ], "x-ms-request-id": [ - "48f50f6a-d361-43c9-b451-d9494b8ed4ea" + "363a283b-c30c-4b4c-aad5-c9e84f890aff" ], "x-ms-correlation-request-id": [ - "48f50f6a-d361-43c9-b451-d9494b8ed4ea" + "363a283b-c30c-4b4c-aad5-c9e84f890aff" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190213Z:48f50f6a-d361-43c9-b451-d9494b8ed4ea" + "CENTRALUS:20141015T022411Z:363a283b-c30c-4b4c-aad5-c9e84f890aff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:02:12 GMT" + "Wed, 15 Oct 2014 02:24:11 GMT" ] }, "StatusCode": 200 @@ -51,6 +51,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json index 80df45639767..781a38d316eb 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Japan West\",\r\n \"Southeast Asia\",\r\n \"South Central US\"\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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-03-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/microsoft.classicstorage\",\r\n \"namespace\": \"microsoft.classicstorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 \"East US\",\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"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 \"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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"2014-12-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 \"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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"2014-04\"\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 \"2014-04\"\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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 \"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 \"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 \"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 \"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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"Central US\",\r\n \"East Asia\",\r\n \"East US\"\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 \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"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 ],\r\n \"apiVersions\": [\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-05-01-preview\",\r\n \"2014-12-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-05-01-preview\",\r\n \"2014-12-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 \"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 \"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 \"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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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-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\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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-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-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-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-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-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\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"reports\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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-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-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-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-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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 ],\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 ],\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 ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"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 ],\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\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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-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-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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.EventHub\",\r\n \"namespace\": \"Microsoft.EventHub\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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 \"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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/providers/Microsoft.ServiceBus\",\r\n \"namespace\": \"Microsoft.ServiceBus\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 ],\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 \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metricDefinitions\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/resourcepools/metrics\",\r\n \"locations\": [\r\n \"Central US\"\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 ],\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 ],\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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\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-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 \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\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 ],\r\n \"apiVersions\": [\r\n \"2015-03-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/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 ],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Europe\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.intelligentsystems\",\r\n \"namespace\": \"microsoft.intelligentsystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.StreamAnalytics\",\r\n \"namespace\": \"Microsoft.StreamAnalytics\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"streamingjobs\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-08-01-preview.0.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"streamingjobs/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"South Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webquotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registering\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/biztalkservices\",\r\n \"namespace\": \"biztalkservices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"biztalk\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/mdp\",\r\n \"namespace\": \"mdp\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"environments\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BackupVaultRPNew\",\r\n \"namespace\": \"Microsoft.BackupVaultRPNew\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVaultNew\",\r\n \"locations\": [\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"North Central US\",\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Compute\",\r\n \"namespace\": \"Microsoft.Compute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/extensions\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operations\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\",\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"adfgated3\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DataWarehouse\",\r\n \"namespace\": \"Microsoft.DataWarehouse\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"datawarehouses\",\r\n \"locations\": [\r\n \"\",\r\n \"Central US\",\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.DWS\",\r\n \"namespace\": \"Microsoft.DWS\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights2\",\r\n \"namespace\": \"microsoft.insights2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.insights3\",\r\n \"namespace\": \"microsoft.insights3\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"centralus\",\r\n \"eastasia\",\r\n \"southeastasia\",\r\n \"eastus\",\r\n \"westus\",\r\n \"northcentralus\",\r\n \"southcentralus\",\r\n \"northeurope\",\r\n \"westeurope\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"searchServicesCit\",\r\n \"locations\": [\r\n \"\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailabilityCit\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.Storage\",\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageaccounts\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"1.0-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/microsoft.test\",\r\n \"namespace\": \"microsoft.test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"tests\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tests/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"North Europe\",\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio\",\r\n \"namespace\": \"Microsoft.VisualStudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Dev\",\r\n \"namespace\": \"Microsoft.VisualStudio.Dev\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Microsoft.VisualStudio.Test\",\r\n \"namespace\": \"Microsoft.VisualStudio.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/MicrosoftSql\",\r\n \"namespace\": \"MicrosoftSql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2.0\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"accounts/applications\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/Providers.Test\",\r\n \"namespace\": \"Providers.Test\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"statelessResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"statefulResources/nestedResources\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/sabanwebsites\",\r\n \"namespace\": \"sabanwebsites\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/pages\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/StressRP\",\r\n \"namespace\": \"StressRP\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"ResourceType1\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"ResourceType1/ResourceType2\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/providers/visualstudiov2\",\r\n \"namespace\": \"visualstudiov2\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"02\",\r\n \"01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "56903" + "21795" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "31869" ], "x-ms-request-id": [ - "7fe2dc25-5b0b-4c58-8616-f1e779f5a61f" + "9960a075-5e7d-45dd-8495-eeed8d403d7a" ], "x-ms-correlation-request-id": [ - "7fe2dc25-5b0b-4c58-8616-f1e779f5a61f" + "9960a075-5e7d-45dd-8495-eeed8d403d7a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190000Z:7fe2dc25-5b0b-4c58-8616-f1e779f5a61f" + "CENTRALUS:20141015T022836Z:9960a075-5e7d-45dd-8495-eeed8d403d7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 18:59:59 GMT" + "Wed, 15 Oct 2014 02:28:36 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1848?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE4NDg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -61,7 +61,7 @@ "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "102" + "101" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,20 +72,17 @@ "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ - "gateway" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "31868" ], "x-ms-request-id": [ - "8336d0c4-faa2-44c3-8351-ef5291fe3953" + "f757668c-90a1-40bf-8783-990e015480c2" ], "x-ms-correlation-request-id": [ - "8336d0c4-faa2-44c3-8351-ef5291fe3953" + "f757668c-90a1-40bf-8783-990e015480c2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190000Z:8336d0c4-faa2-44c3-8351-ef5291fe3953" + "CENTRALUS:20141015T022836Z:f757668c-90a1-40bf-8783-990e015480c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -94,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:00 GMT" + "Wed, 15 Oct 2014 02:28:36 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1848?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE4NDg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -121,16 +118,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "31859" ], "x-ms-request-id": [ - "cff26bcb-475f-4dbb-a392-0f23af4e634f" + "0579a7e2-a3af-4093-b46f-275c6ab4dfac" ], "x-ms-correlation-request-id": [ - "cff26bcb-475f-4dbb-a392-0f23af4e634f" + "0579a7e2-a3af-4093-b46f-275c6ab4dfac" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190103Z:cff26bcb-475f-4dbb-a392-0f23af4e634f" + "CENTRALUS:20141015T022912Z:0579a7e2-a3af-4093-b46f-275c6ab4dfac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -139,31 +136,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:01:02 GMT" + "Wed, 15 Oct 2014 02:29:12 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1848?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE4NDg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "44" ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848\",\r\n \"name\": \"onesdk1848\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764\",\r\n \"name\": \"onesdk764\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "177" + "181" ], "Content-Type": [ "application/json; charset=utf-8" @@ -175,16 +172,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1162" ], "x-ms-request-id": [ - "c030ac9a-aac6-463f-ab52-774e6aaa9fe8" + "f600fd98-521d-4b69-8fe7-c0aec473e645" ], "x-ms-correlation-request-id": [ - "c030ac9a-aac6-463f-ab52-774e6aaa9fe8" + "f600fd98-521d-4b69-8fe7-c0aec473e645" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190001Z:c030ac9a-aac6-463f-ab52-774e6aaa9fe8" + "CENTRALUS:20141015T022836Z:f600fd98-521d-4b69-8fe7-c0aec473e645" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -193,14 +190,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:01 GMT" + "Wed, 15 Oct 2014 02:28:36 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/resources?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +220,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "31867" ], "x-ms-request-id": [ - "8269deaa-4ca6-4aaa-ae86-0c8d2497c656" + "3ea672b1-2e71-4d87-8f66-688fbdb0e9d8" ], "x-ms-correlation-request-id": [ - "8269deaa-4ca6-4aaa-ae86-0c8d2497c656" + "3ea672b1-2e71-4d87-8f66-688fbdb0e9d8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190001Z:8269deaa-4ca6-4aaa-ae86-0c8d2497c656" + "CENTRALUS:20141015T022837Z:3ea672b1-2e71-4d87-8f66-688fbdb0e9d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -241,14 +238,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:01 GMT" + "Wed, 15 Oct 2014 02:28:36 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1848/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -274,16 +271,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:2f61c620-7432-486e-9fbe-25f1a031fa19" + "centralus:7b7d27e9-2698-4010-afb3-10537c404c14" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "31918" ], "x-ms-correlation-request-id": [ - "dd7d5132-4f47-403a-8c1b-f14c28cb6ac6" + "fb764e28-36e8-4f0e-af3c-28d064f38f12" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190002Z:dd7d5132-4f47-403a-8c1b-f14c28cb6ac6" + "CENTRALUS:20141015T022837Z:fb764e28-36e8-4f0e-af3c-28d064f38f12" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -292,14 +289,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:01 GMT" + "Wed, 15 Oct 2014 02:28:37 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==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -307,10 +304,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/azbacnhzf2\",\r\n \"name\": \"azbacnhzf2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaccn0mf1juw5garhbk9q3vxl8d7i\": \"azbacr3u6l8ga5f1w7tjsd0cvqbz4knmhexpio92y\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest1\",\r\n \"name\": \"aztest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-eus/providers/Microsoft.Batch/batchAccounts/aztest11\",\r\n \"name\": \"aztest11\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-ne/providers/Microsoft.Batch/batchAccounts/azbacykf2li0g\",\r\n \"name\": \"azbacykf2li0g\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbaczsgmy6p4a1c0il3b\": \"azbac9u1lydm6ebvs740kpgnowx8i52rctjf3qzah\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-we/providers/Microsoft.Batch/batchAccounts/azbac3mtkshf\",\r\n \"name\": \"azbac3mtkshf\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"azbac1s4853u9twc0yx7ihq2ej6nzdarokpmvlgbf\": \"azbaccg3l82tkpyzjoasn1f4vmq0d7u5he96briwx\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/azurebatch-wus/providers/Microsoft.Batch/batchAccounts/adnanzh1\",\r\n \"name\": \"adnanzh1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"adsdfgasujhd\": \"jdsfsdahgdfjheee\",\r\n \"adsdfgasujssshd\": \"jdsfsdahgdfjheeefgff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchwestus/providers/Microsoft.Batch/batchAccounts/wenwu1007a1\",\r\n \"name\": \"wenwu1007a1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151135\",\r\n \"name\": \"zfeng9151135\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151138\",\r\n \"name\": \"zfeng9151138\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151141\",\r\n \"name\": \"zfeng9151141\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9151157\",\r\n \"name\": \"zfeng9151157\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916114\",\r\n \"name\": \"zfeng916114\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161213\",\r\n \"name\": \"zfeng9161213\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161247\",\r\n \"name\": \"zfeng9161247\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161253\",\r\n \"name\": \"zfeng9161253\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng9161254\",\r\n \"name\": \"zfeng9161254\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916159\",\r\n \"name\": \"zfeng916159\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/batchWestUS/providers/Microsoft.Batch/batchAccounts/zfeng916735\",\r\n \"name\": \"zfeng916735\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/adnan\",\r\n \"name\": \"adnan\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/c123\",\r\n \"name\": \"c123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw\",\r\n \"name\": \"clw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k3\": \"v3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw1\",\r\n \"name\": \"clw1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw2\",\r\n \"name\": \"clw2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/clwtest/providers/Microsoft.Batch/batchAccounts/clw3\",\r\n \"name\": \"clw3\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"k11\": \"v11\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/azbacjnkyz\",\r\n \"name\": \"azbacjnkyz\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"azbac09duay1eb8ph5sloviz3crm4ngq7kjt6wx2f\": \"azbac5zjoxel6pb2yvsqh70dgmcu98t1r43nwkafi\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest1\",\r\n \"name\": \"clwtest1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/clwtest2\",\r\n \"name\": \"clwtest2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/Default-BatchService-WestUS/providers/Microsoft.Batch/batchAccounts/clw678\",\r\n \"name\": \"clw678\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk9501/providers/Microsoft.Batch/batchAccounts/onesdk916\",\r\n \"name\": \"onesdk916\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/testrpgroup/providers/Microsoft.Batch/batchAccounts/wenwu1007\",\r\n \"name\": \"wenwu1007\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567\",\r\n \"name\": \"clw567\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5671\",\r\n \"name\": \"clw5671\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123\",\r\n \"name\": \"clw567123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw567123456\",\r\n \"name\": \"clw567123456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5672\",\r\n \"name\": \"clw5672\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5673\",\r\n \"name\": \"clw5673\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5674\",\r\n \"name\": \"clw5674\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw5675\",\r\n \"name\": \"clw5675\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"k1\": \"\",\r\n \"k2\": \"v2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clw789\",\r\n \"name\": \"clw789\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest\",\r\n \"name\": \"clwtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest123\",\r\n \"name\": \"clwtest123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/clwtest456\",\r\n \"name\": \"clwtest456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng123\",\r\n \"name\": \"zfeng123\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng234\",\r\n \"name\": \"zfeng234\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng345\",\r\n \"name\": \"zfeng345\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng456\",\r\n \"name\": \"zfeng456\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng912118\",\r\n \"name\": \"zfeng912118\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng9121231\",\r\n \"name\": \"zfeng9121231\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng913306\",\r\n \"name\": \"zfeng913306\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915422\",\r\n \"name\": \"zfeng915422\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfeng915619\",\r\n \"name\": \"zfeng915619\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastasia\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengabc\",\r\n \"name\": \"zfengabc\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengbatch1\",\r\n \"name\": \"zfengbatch1\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengclw\",\r\n \"name\": \"zfengclw\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/zfeng/providers/Microsoft.Batch/batchAccounts/zfengs607\",\r\n \"name\": \"zfengs607\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westeurope\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "12" + "12534" ], "Content-Type": [ "application/json; charset=utf-8" @@ -322,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "31866" ], "x-ms-request-id": [ - "4d7b8466-35a2-4769-aee0-505ef09ea7d0" + "f69281d4-8bfc-4f8c-9743-e8e5e017bbc0" ], "x-ms-correlation-request-id": [ - "4d7b8466-35a2-4769-aee0-505ef09ea7d0" + "f69281d4-8bfc-4f8c-9743-e8e5e017bbc0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190002Z:4d7b8466-35a2-4769-aee0-505ef09ea7d0" + "CENTRALUS:20141015T022837Z:f69281d4-8bfc-4f8c-9743-e8e5e017bbc0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -340,25 +337,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:01 GMT" + "Wed, 15 Oct 2014 02:28:37 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "80" + "76" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "94" ] }, "ResponseBody": "", @@ -376,31 +376,31 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1161" ], "request-id": [ - "218f484e-00f8-4b0b-8b25-65c8eda59afa" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "773d87a1-b969-4264-85c4-e86d681420cf" ], "x-ms-request-id": [ - "9611c663-68e6-4f55-ab00-90baee78433e" + "b050a9c2-6d92-44f5-9fe9-13ebd1efc625" ], "x-ms-correlation-request-id": [ - "9611c663-68e6-4f55-ab00-90baee78433e" + "b050a9c2-6d92-44f5-9fe9-13ebd1efc625" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190007Z:9611c663-68e6-4f55-ab00-90baee78433e" + "CENTRALUS:20141015T022839Z:b050a9c2-6d92-44f5-9fe9-13ebd1efc625" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:07 GMT" + "Wed, 15 Oct 2014 02:28:38 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292/operationResults/218f484e-00f8-4b0b-8b25-65c8eda59afa?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -409,25 +409,28 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "79" + "75" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "99" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1292\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1292.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "352" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -436,37 +439,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:00:45 GMT" + "Wed, 15 Oct 2014 02:28:56 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "67b30f19-a670-46fa-850d-a6fe3faa5506" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "dcf760fa-b4ea-46e7-8426-863fc42852e4" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1160" ], "x-ms-request-id": [ - "099f178c-32a5-47ba-b785-7c0b5bb0e1c6" + "0ba3f126-c15e-44b7-91cf-b5ea8d935ef9" ], "x-ms-correlation-request-id": [ - "099f178c-32a5-47ba-b785-7c0b5bb0e1c6" + "0ba3f126-c15e-44b7-91cf-b5ea8d935ef9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190045Z:099f178c-32a5-47ba-b785-7c0b5bb0e1c6" + "CENTRALUS:20141015T022856Z:0ba3f126-c15e-44b7-91cf-b5ea8d935ef9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:45 GMT" + "Wed, 15 Oct 2014 02:28:56 GMT" ], "ETag": [ - "0x8D28890B1B221B4" + "0x8D1B636E759EFBD" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -475,22 +478,88 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292/operationResults/218f484e-00f8-4b0b-8b25-65c8eda59afa?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTIvb3BlcmF0aW9uUmVzdWx0cy8yMThmNDg0ZS0wMGY4LTRiMGItOGIyNS02NWM4ZWRhNTlhZmE/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvNzczZDg3YTEtYjk2OS00MjY0LTg1YzQtZTg2ZDY4MTQyMGNmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "94" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "34f31333-4a01-4958-9fee-49e1aff92a1c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31865" + ], + "x-ms-request-id": [ + "1415d364-afa6-4223-afea-0e001cd67681" + ], + "x-ms-correlation-request-id": [ + "1415d364-afa6-4223-afea-0e001cd67681" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022839Z:1415d364-afa6-4223-afea-0e001cd67681" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:28:38 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/773d87a1-b969-4264-85c4-e86d681420cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvNzczZDg3YTEtYjk2OS00MjY0LTg1YzQtZTg2ZDY4MTQyMGNmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "94" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1292\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1292.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "352" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -499,37 +568,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:00:09 GMT" + "Wed, 15 Oct 2014 02:28:54 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "880e2b83-a7dd-404b-a4b9-bc013891e484" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "6a892784-caa9-4455-91d3-377c4930c0b7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "31864" ], "x-ms-request-id": [ - "b693268d-f525-4c41-b49a-c3e001d44d72" + "0339522f-725c-4464-899a-e2b60fa5257a" ], "x-ms-correlation-request-id": [ - "b693268d-f525-4c41-b49a-c3e001d44d72" + "0339522f-725c-4464-899a-e2b60fa5257a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190008Z:b693268d-f525-4c41-b49a-c3e001d44d72" + "CENTRALUS:20141015T022854Z:0339522f-725c-4464-899a-e2b60fa5257a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:07 GMT" + "Wed, 15 Oct 2014 02:28:54 GMT" ], "ETag": [ - "0x8D288909C4F3D49" + "0x8D1B636E6753CAC" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -538,22 +607,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1292\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1292.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag1\": \"testval1\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "352" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -562,37 +631,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:00:43 GMT" + "Wed, 15 Oct 2014 02:28:55 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "6c6ea80a-532a-4174-8342-fc62a284b4c5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "c29f2803-fde6-4950-b20a-49ee5ad8118d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "31863" ], "x-ms-request-id": [ - "7b408af5-ea7f-4399-95b1-9cf395c5aafc" + "d7bfe2c0-586d-4493-a406-47ec15867bc2" ], "x-ms-correlation-request-id": [ - "7b408af5-ea7f-4399-95b1-9cf395c5aafc" + "d7bfe2c0-586d-4493-a406-47ec15867bc2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190042Z:7b408af5-ea7f-4399-95b1-9cf395c5aafc" + "CENTRALUS:20141015T022855Z:d7bfe2c0-586d-4493-a406-47ec15867bc2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:41 GMT" + "Wed, 15 Oct 2014 02:28:54 GMT" ], "ETag": [ - "0x8D28890B0865188" + "0x8D1B636E6A80F34" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -601,22 +670,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"onesdk1292\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk1292.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"onesdk631\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"testtag2\": \"testval2\"\r\n },\r\n \"properties\": {\r\n \"accountEndpoint\": \"onesdk631.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "352" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -625,37 +694,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:00:46 GMT" + "Wed, 15 Oct 2014 02:28:56 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "a6cc161c-9477-4037-a713-7023f71eca6c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "4c88dce8-e510-4071-9e7d-755929ae7dc7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "31862" ], "x-ms-request-id": [ - "c3a5ad2c-c0b4-447d-85ed-7f0ed620a121" + "2ce3e95e-afe3-48cb-a494-659a87146248" ], "x-ms-correlation-request-id": [ - "c3a5ad2c-c0b4-447d-85ed-7f0ed620a121" + "2ce3e95e-afe3-48cb-a494-659a87146248" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190045Z:c3a5ad2c-c0b4-447d-85ed-7f0ed620a121" + "CENTRALUS:20141015T022856Z:2ce3e95e-afe3-48cb-a494-659a87146248" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:45 GMT" + "Wed, 15 Oct 2014 02:28:56 GMT" ], "ETag": [ - "0x8D28890B2925069" + "0x8D1B636E7A0357E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -664,13 +733,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTI/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "102" ] }, "ResponseBody": "", @@ -688,31 +760,31 @@ "15" ], "request-id": [ - "2ed9df12-0e82-44c8-ae81-3fc63dd89244" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "156ce073-e10d-41db-ba97-3cd2df1e5046" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1159" ], "x-ms-request-id": [ - "8d75b470-10bd-46b1-9ed1-3e33c1e11692" + "f3ff98ed-8341-48f5-b9fe-3ec973422eca" ], "x-ms-correlation-request-id": [ - "8d75b470-10bd-46b1-9ed1-3e33c1e11692" + "f3ff98ed-8341-48f5-b9fe-3ec973422eca" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190047Z:8d75b470-10bd-46b1-9ed1-3e33c1e11692" + "CENTRALUS:20141015T022857Z:f3ff98ed-8341-48f5-b9fe-3ec973422eca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:47 GMT" + "Wed, 15 Oct 2014 02:28:56 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292/operationResults/2ed9df12-0e82-44c8-ae81-3fc63dd89244?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -721,16 +793,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292/operationResults/2ed9df12-0e82-44c8-ae81-3fc63dd89244?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTIvb3BlcmF0aW9uUmVzdWx0cy8yZWQ5ZGYxMi0wZTgyLTQ0YzgtYWU4MS0zZmM2M2RkODkyNDQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvMTU2Y2UwNzMtZTEwZC00MWRiLWJhOTctM2NkMmRmMWU1MDQ2P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "102" ] }, "ResponseBody": "", @@ -748,31 +823,31 @@ "15" ], "request-id": [ - "ef75c419-655b-4786-8e52-827530c3e4e9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "73eb703c-5de0-4606-ba24-6705c21f00b9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "31861" ], "x-ms-request-id": [ - "790f6d10-d3ca-45ba-abc9-0c744c5b60d2" + "bb8ccd81-35b9-4ecc-b82c-1d1cdf1a08d9" ], "x-ms-correlation-request-id": [ - "790f6d10-d3ca-45ba-abc9-0c744c5b60d2" + "bb8ccd81-35b9-4ecc-b82c-1d1cdf1a08d9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190047Z:790f6d10-d3ca-45ba-abc9-0c744c5b60d2" + "CENTRALUS:20141015T022857Z:bb8ccd81-35b9-4ecc-b82c-1d1cdf1a08d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:00:47 GMT" + "Wed, 15 Oct 2014 02:28:57 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292/operationResults/2ed9df12-0e82-44c8-ae81-3fc63dd89244?api-version=2015-07-01" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -781,16 +856,19 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/onesdk1848/providers/Microsoft.Batch/batchAccounts/onesdk1292/operationResults/2ed9df12-0e82-44c8-ae81-3fc63dd89244?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL29uZXNkazE4NDgvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL29uZXNkazEyOTIvb3BlcmF0aW9uUmVzdWx0cy8yZWQ5ZGYxMi0wZTgyLTQ0YzgtYWU4MS0zZmM2M2RkODkyNDQ/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourceGroups/onesdk764/providers/Microsoft.Batch/batchAccounts/onesdk631/operationResults/156ce073-e10d-41db-ba97-3cd2df1e5046?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvb25lc2RrNjMxL29wZXJhdGlvblJlc3VsdHMvMTU2Y2UwNzMtZTEwZC00MWRiLWJhOTctM2NkMmRmMWU1MDQ2P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ], + "client-tracking-id": [ + "102" ] }, "ResponseBody": "", @@ -802,37 +880,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:04 GMT" + "Wed, 15 Oct 2014 02:29:12 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "8e5a03f8-badd-4487-99f6-fa7535e012a4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "3ad0e717-84e5-495b-ae33-70bf0419a80c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "31860" ], "x-ms-request-id": [ - "fa0d2a14-2f2c-4261-8f5c-65ccc6a2a826" + "1ab2a75f-7f35-4dc4-9ac3-e618aa2f4b54" ], "x-ms-correlation-request-id": [ - "fa0d2a14-2f2c-4261-8f5c-65ccc6a2a826" + "1ab2a75f-7f35-4dc4-9ac3-e618aa2f4b54" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190103Z:fa0d2a14-2f2c-4261-8f5c-65ccc6a2a826" + "CENTRALUS:20141015T022912Z:1ab2a75f-7f35-4dc4-9ac3-e618aa2f4b54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:01:02 GMT" + "Wed, 15 Oct 2014 02:29:12 GMT" ], "ETag": [ - "0x8D28890BD0D69CB" + "0x8D1B636F134C0E6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -841,13 +919,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/onesdk1848?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL29uZXNkazE4NDg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/resourcegroups/onesdk764?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" ] }, "ResponseBody": "", @@ -865,16 +946,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1158" ], "x-ms-request-id": [ - "f7701be7-ab91-488c-96e4-5347cf527cdc" + "03f9a797-a4be-4fca-8979-3fd354171d9c" ], "x-ms-correlation-request-id": [ - "f7701be7-ab91-488c-96e4-5347cf527cdc" + "03f9a797-a4be-4fca-8979-3fd354171d9c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190105Z:f7701be7-ab91-488c-96e4-5347cf527cdc" + "CENTRALUS:20141015T022913Z:03f9a797-a4be-4fca-8979-3fd354171d9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -883,17 +964,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:01:05 GMT" + "Wed, 15 Oct 2014 02:29:13 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxODQ4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxODQ4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hPRFE0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -902,6 +983,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" ] }, "ResponseBody": "", @@ -919,16 +1003,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "31858" ], "x-ms-request-id": [ - "b474a46a-f8a9-4f2e-b8a8-7d9f8d5dc6e9" + "ccfe4c14-6bb0-4c47-9380-fe4654ecae76" ], "x-ms-correlation-request-id": [ - "b474a46a-f8a9-4f2e-b8a8-7d9f8d5dc6e9" + "ccfe4c14-6bb0-4c47-9380-fe4654ecae76" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190106Z:b474a46a-f8a9-4f2e-b8a8-7d9f8d5dc6e9" + "CENTRALUS:20141015T022913Z:ccfe4c14-6bb0-4c47-9380-fe4654ecae76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -937,17 +1021,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:01:06 GMT" + "Wed, 15 Oct 2014 02:29:13 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxODQ4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxODQ4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hPRFE0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -956,6 +1040,9 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" ] }, "ResponseBody": "", @@ -973,16 +1060,16 @@ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "31857" ], "x-ms-request-id": [ - "4a2c1495-bf7c-4126-a53b-fae9f03f819f" + "3fecc4be-96da-46e6-bb76-d26b850458f3" ], "x-ms-correlation-request-id": [ - "4a2c1495-bf7c-4126-a53b-fae9f03f819f" + "3fecc4be-96da-46e6-bb76-d26b850458f3" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190121Z:4a2c1495-bf7c-4126-a53b-fae9f03f819f" + "CENTRALUS:20141015T022928Z:3fecc4be-96da-46e6-bb76-d26b850458f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -991,17 +1078,17 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:01:21 GMT" + "Wed, 15 Oct 2014 02:29:28 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxODQ4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview" + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREsxODQ4LVdFU1RFVVJPUEUiLCJqb2JMb2NhdGlvbiI6Indlc3RldXJvcGUifQ?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFc3hPRFE0TFZkRlUxUkZWVkpQVUVVaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUmxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1010,6 +1097,66 @@ ], "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31856" + ], + "x-ms-request-id": [ + "7e968b87-e67b-40ff-a8e0-6f9e9b91c766" + ], + "x-ms-correlation-request-id": [ + "7e968b87-e67b-40ff-a8e0-6f9e9b91c766" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20141015T022943Z:7e968b87-e67b-40ff-a8e0-6f9e9b91c766" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 15 Oct 2014 02:29:42 GMT" + ], + "Location": [ + "https://api-current.resources.windows-int.net/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/4a06fe24-c197-4353-adc1-058d1a51924e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ==?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGEwNmZlMjQtYzE5Ny00MzUzLWFkYzEtMDU4ZDFhNTE5MjRlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalF0VjBWVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSjNaWE4wZFhNaWZRPT0/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ], + "client-tracking-id": [ + "107" ] }, "ResponseBody": "", @@ -1024,16 +1171,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "31855" ], "x-ms-request-id": [ - "0abd8392-3688-4267-946c-f9ede0a3aaa0" + "ae679df8-d434-4dc6-89a4-e87ea7bf199b" ], "x-ms-correlation-request-id": [ - "0abd8392-3688-4267-946c-f9ede0a3aaa0" + "ae679df8-d434-4dc6-89a4-e87ea7bf199b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190137Z:0abd8392-3688-4267-946c-f9ede0a3aaa0" + "CENTRALUS:20141015T022958Z:ae679df8-d434-4dc6-89a4-e87ea7bf199b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1042,7 +1189,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:01:37 GMT" + "Wed, 15 Oct 2014 02:29:58 GMT" ] }, "StatusCode": 200 @@ -1050,11 +1197,11 @@ ], "Names": { "Test-UpdatesExistingBatchAccount": [ - "onesdk1292", - "onesdk1848" + "onesdk631", + "onesdk764" ] }, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "4a06fe24-c197-4353-adc1-058d1a51924e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFileByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFileByName.json index 57d274261c8a..99384e91d2c8 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFileByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFileByName.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "31994" ], "x-ms-request-id": [ - "6e8e6142-e7bc-427f-bffe-4982fcd0ea2a" + "70bb227d-cd4e-4cc3-92f8-f5ecb57a42ee" ], "x-ms-correlation-request-id": [ - "6e8e6142-e7bc-427f-bffe-4982fcd0ea2a" + "70bb227d-cd4e-4cc3-92f8-f5ecb57a42ee" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191407Z:6e8e6142-e7bc-427f-bffe-4982fcd0ea2a" + "CENTRALUS:20150402T222109Z:70bb227d-cd4e-4cc3-92f8-f5ecb57a42ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:06 GMT" + "Thu, 02 Apr 2015 22:21: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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:10 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "582f15ca-0f31-4609-8fb8-1bca8ac24574" + "2f8e7cea-3c55-4b8b-9e22-39d812c6b512" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "31994" ], "x-ms-request-id": [ - "28968e0d-8665-4da3-a38d-b34f2d502951" + "c6c5ff9a-862d-4ce5-b0e5-b0dac7d5c164" ], "x-ms-correlation-request-id": [ - "28968e0d-8665-4da3-a38d-b34f2d502951" + "c6c5ff9a-862d-4ce5-b0e5-b0dac7d5c164" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191408Z:28968e0d-8665-4da3-a38d-b34f2d502951" + "CENTRALUS:20150402T222110Z:c6c5ff9a-862d-4ce5-b0e5-b0dac7d5c164" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:10 GMT" ], "ETag": [ - "0x8D28892909404EC" + "0x8D23BAA753859C4" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "019a89f5-e32c-4b46-85d3-c093e981909b" + "35047eab-0375-455d-ba7c-89874a4e373d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1178" + "1197" ], "x-ms-request-id": [ - "8ad1997a-d947-46ec-9706-52d61fbd7a77" + "e1b1d446-9233-499b-9c9c-149966bec2d2" ], "x-ms-correlation-request-id": [ - "8ad1997a-d947-46ec-9706-52d61fbd7a77" + "e1b1d446-9233-499b-9c9c-149966bec2d2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191408Z:8ad1997a-d947-46ec-9706-52d61fbd7a77" + "CENTRALUS:20150402T222111Z:e1b1d446-9233-499b-9c9c-149966bec2d2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/rdp?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3JkcD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/rdp?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L3JkcD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b9d7e128-6679-4c2d-b765-7f828047c5e5" + "1a49ced3-f6a1-4742-86c0-328e7419b961" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:11 GMT" ] }, - "ResponseBody": "full address:s:137.117.90.4\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", + "ResponseBody": "full address:s:207.46.233.184\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", "ResponseHeaders": { "Content-Type": [ "application/octet-stream" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "07f9f0eb-0994-4cf8-ad50-2dbaeb2fc456" + "e937477d-9894-44f2-a246-2f2256e1d6b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/rdp?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3JkcD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/rdp?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L3JkcD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6b0765a5-4bdf-46f9-9425-7741b5a44286" + "08c92cf1-f932-45a2-b8c9-454cb17dcac6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:11 GMT" ] }, - "ResponseBody": "full address:s:137.117.90.4\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", + "ResponseBody": "full address:s:207.46.233.184\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", "ResponseHeaders": { "Content-Type": [ "application/octet-stream" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "e85c2801-ccb0-4b43-b55b-a37f1d27a79c" + "d42b04ce-fb84-48a5-a8f9-d22f94e7895e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:08 GMT" + "Thu, 02 Apr 2015 22:21:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -261,6 +261,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFilePipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFilePipeline.json index 04a07526983a..ba2d50a1a8e9 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFilePipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRDPFilePipeline.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "31993" ], "x-ms-request-id": [ - "f1a7797b-9ab8-4719-862d-024a68f53554" + "49ad55c3-4b60-4630-9738-ff9e59d291f6" ], "x-ms-correlation-request-id": [ - "f1a7797b-9ab8-4719-862d-024a68f53554" + "49ad55c3-4b60-4630-9738-ff9e59d291f6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191609Z:f1a7797b-9ab8-4719-862d-024a68f53554" + "CENTRALUS:20150402T222145Z:49ad55c3-4b60-4630-9738-ff9e59d291f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:09 GMT" + "Thu, 02 Apr 2015 22:21:45 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:11 GMT" + "Thu, 02 Apr 2015 22:21:45 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "ed8f83a0-9014-43eb-8f85-9fe65ef44ac1" + "6f677d3d-9c21-4230-b4fd-a5ba7319857a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "31993" ], "x-ms-request-id": [ - "c178363c-ddfe-4504-adfa-d4b897bf2e94" + "465a0275-8fad-434b-b9fd-94c7ce063587" ], "x-ms-correlation-request-id": [ - "c178363c-ddfe-4504-adfa-d4b897bf2e94" + "465a0275-8fad-434b-b9fd-94c7ce063587" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191610Z:c178363c-ddfe-4504-adfa-d4b897bf2e94" + "CENTRALUS:20150402T222145Z:465a0275-8fad-434b-b9fd-94c7ce063587" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:10 GMT" + "Thu, 02 Apr 2015 22:21:44 GMT" ], "ETag": [ - "0x8D28892D9A04543" + "0x8D23BAA89F698EB" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "fe1b4dda-14c7-459c-9804-7620d9929cd9" + "965c4884-9b50-4f62-8de2-37288bc8167d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1196" ], "x-ms-request-id": [ - "a4f2060a-6780-4270-b31e-983e3e8f5820" + "df2919da-4198-4ee1-bd07-a9c3f263a83e" ], "x-ms-correlation-request-id": [ - "a4f2060a-6780-4270-b31e-983e3e8f5820" + "df2919da-4198-4ee1-bd07-a9c3f263a83e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191610Z:a4f2060a-6780-4270-b31e-983e3e8f5820" + "CENTRALUS:20150402T222146Z:df2919da-4198-4ee1-bd07-a9c3f263a83e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:10 GMT" + "Thu, 02 Apr 2015 22:21:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f951b4be-23ae-4d39-a61c-4f04ff3d872e" + "8645a688-0521-4974-8043-cff55f14384f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:10 GMT" + "Thu, 02 Apr 2015 22:21:46 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 9,\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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t200107z\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T20:05:49.9151074Z\",\r\n \"lastBootTime\": \"2015-03-31T20:05:49.7391087Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T20:01:07.1482714Z\",\r\n \"ipAddress\": \"100.77.160.57\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t200107z\",\r\n \"tvmSize\": \"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-03-31T20:05:49.9521089Z\",\r\n \"endTime\": \"2015-03-31T20:05:51.5957379Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "2736bb32-24ea-424c-83a7-7628b4c072c7" + "2e3f841f-c573-46d8-8c46-2fa348f69b2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:11 GMT" + "Thu, 02 Apr 2015 22:21:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/rdp?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3JkcD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/rdp?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L3JkcD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8cd4645b-21bb-43e9-9a66-6bfe13c6a30b" + "0bf784be-c34d-4924-8553-2d3129a1b2b6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:11 GMT" + "Thu, 02 Apr 2015 22:21:47 GMT" ] }, - "ResponseBody": "full address:s:137.117.90.4\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", + "ResponseBody": "full address:s:207.46.233.184\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", "ResponseHeaders": { "Content-Type": [ "application/octet-stream" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "37d1089f-5d5b-492b-a1fc-7b1dde7e65e6" + "35ca021f-d421-4685-8f10-9ddbaedbdaed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:11 GMT" + "Thu, 02 Apr 2015 22:21:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -261,6 +261,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileByName.json index fbbe6d6d30ef..2c45a1b53b5b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileByName.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "31994" ], "x-ms-request-id": [ - "585e15d8-c12b-4f14-9e9a-0fe355a08fe9" + "89fd4561-9a82-4e22-b91a-c7e3477e15be" ], "x-ms-correlation-request-id": [ - "585e15d8-c12b-4f14-9e9a-0fe355a08fe9" + "89fd4561-9a82-4e22-b91a-c7e3477e15be" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191451Z:585e15d8-c12b-4f14-9e9a-0fe355a08fe9" + "WESTUS:20150316T180449Z:89fd4561-9a82-4e22-b91a-c7e3477e15be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:50 GMT" + "Mon, 16 Mar 2015 18:04:49 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "31995" ], "x-ms-request-id": [ - "1f7cd35e-9ef1-4726-bc36-7bb38cd75d35" + "44c7ce6c-8d06-4ddf-9979-c3459f585ba8" ], "x-ms-correlation-request-id": [ - "1f7cd35e-9ef1-4726-bc36-7bb38cd75d35" + "44c7ce6c-8d06-4ddf-9979-c3459f585ba8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191457Z:1f7cd35e-9ef1-4726-bc36-7bb38cd75d35" + "WESTUS:20150316T180632Z:44c7ce6c-8d06-4ddf-9979-c3459f585ba8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:57 GMT" + "Mon, 16 Mar 2015 18:06:32 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:52 GMT" + "Mon, 16 Mar 2015 18:04:50 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d069a30e-baba-44b1-9c9c-a87ac37f3583" + "721f491d-0d1e-480a-8636-5dc4bc4b3770" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "31996" ], "x-ms-request-id": [ - "d95275b2-e614-4fd0-9257-583f4bbb6787" + "f64b3502-5173-4b3e-b824-3233905b394e" ], "x-ms-correlation-request-id": [ - "d95275b2-e614-4fd0-9257-583f4bbb6787" + "f64b3502-5173-4b3e-b824-3233905b394e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191452Z:d95275b2-e614-4fd0-9257-583f4bbb6787" + "WESTUS:20150316T180450Z:f64b3502-5173-4b3e-b824-3233905b394e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:52 GMT" + "Mon, 16 Mar 2015 18:04:50 GMT" ], "ETag": [ - "0x8D28892AB0331DB" + "0x8D22E2AD4CC3AB4" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:57 GMT" + "Mon, 16 Mar 2015 18:06:33 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "74975335-2e54-4a3e-bdec-b49a54629e9e" + "30e3b2d8-513b-4316-98fe-3dc0d3db034c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "31997" ], "x-ms-request-id": [ - "fcfd415e-dc4d-40e6-bf9e-09d99fa2427b" + "9af9b246-4183-4a0b-bc2e-6d426a17e2d2" ], "x-ms-correlation-request-id": [ - "fcfd415e-dc4d-40e6-bf9e-09d99fa2427b" + "9af9b246-4183-4a0b-bc2e-6d426a17e2d2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191457Z:fcfd415e-dc4d-40e6-bf9e-09d99fa2427b" + "WESTUS:20150316T180633Z:9af9b246-4183-4a0b-bc2e-6d426a17e2d2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:57 GMT" + "Mon, 16 Mar 2015 18:06:32 GMT" ], "ETag": [ - "0x8D28892ADE4BD9A" + "0x8D22E2B12363C80" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "d4aa3fd7-d0e4-4035-bf46-b53a6ccaf4b3" + "37cfa001-7a2f-47ca-8450-edf6d62da7be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1176" + "1197" ], "x-ms-request-id": [ - "bd8bbb03-4199-4562-9f9b-5262aa0c4038" + "4b8d6fdd-c3d2-477e-8cf0-897b71d8163c" ], "x-ms-correlation-request-id": [ - "bd8bbb03-4199-4562-9f9b-5262aa0c4038" + "4b8d6fdd-c3d2-477e-8cf0-897b71d8163c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191453Z:bd8bbb03-4199-4562-9f9b-5262aa0c4038" + "WESTUS:20150316T180450Z:4b8d6fdd-c3d2-477e-8cf0-897b71d8163c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:52 GMT" + "Mon, 16 Mar 2015 18:04:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "6524b7dd-de3e-48dd-9b22-8dba9aac6411" + "749b6891-ab88-4e5c-8899-0d0d00996e38" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1175" + "1199" ], "x-ms-request-id": [ - "5412e442-4894-40f1-82d7-012c8cdd7aaf" + "2f3b88e0-445a-4a20-ba26-616329d486e9" ], "x-ms-correlation-request-id": [ - "5412e442-4894-40f1-82d7-012c8cdd7aaf" + "2f3b88e0-445a-4a20-ba26-616329d486e9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191457Z:5412e442-4894-40f1-82d7-012c8cdd7aaf" + "WESTUS:20150316T180633Z:2f3b88e0-445a-4a20-ba26-616329d486e9" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:57 GMT" + "Mon, 16 Mar 2015 18:06:33 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2afd5344-bb35-418a-b1d2-20739046af4d" + "94102674-b1c4-47cc-b776-6f1508584172" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:04:51 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:04:48 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "94af0e2f-92cd-4bb5-b0c7-50d928977fdf" + "533f4333-4622-4101-be2f-6670057ab461" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI" ], "Date": [ - "Thu, 09 Jul 2015 19:14:52 GMT" + "Mon, 16 Mar 2015 18:04:51 GMT" ], "ETag": [ - "0x8D28892AB97974D" + "0x8D22E2AD340E771" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "55b43d40-2e91-46d8-b9f6-96f5369a7332" + "a83d69fd-c0ac-4b9e-a3c0-0e0021fe4b07" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:06:12 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testGetTaskFileWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI\",\r\n \"eTag\": \"0x8D28892AB97974D\",\r\n \"lastModified\": \"2015-07-09T19:14:53.8102605Z\",\r\n \"creationTime\": \"2015-07-09T19:14:53.8102605Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:14:53.8102605Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testGetTaskFileWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI\",\r\n \"eTag\": \"0x8D22E2AD340E771\",\r\n \"lastModified\": \"2015-03-16T18:04:48.0411505Z\",\r\n \"creationTime\": \"2015-03-16T18:04:48.0411505Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:04:48.0411505Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:04:48 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "867a6e78-70dd-4a45-bab3-86737e643bc9" + "cff2a68a-423b-4d7f-962c-79ac27db2cc9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:06:13 GMT" ], "ETag": [ - "0x8D28892AB97974D" + "0x8D22E2AD340E771" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -451,37 +451,37 @@ "RequestUri": "/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0R2V0VGFza0ZpbGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "4a1e7c46-9743-443a-8ee1-7dda0aa0f7b0" + "e5734963-950a-4652-8822-14eeecf25bce" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:06:19 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:54 GMT" + "Mon, 16 Mar 2015 18:06:18 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "0b65f5bf-5be1-49de-b476-934685742781" + "910d02db-85f8-4b96-843d-768b9da4eaae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:06:18 GMT" ], "ETag": [ - "0x8D28892ABC263A0" + "0x8D22E2B094D907F" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c627d79a-89a2-4720-8da9-e6bf82a1d66e" + "2cd85cb5-0b63-4116-9e9c-573c2da676f9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:54 GMT" + "Mon, 16 Mar 2015 18:06:22 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892ABC263A0\",\r\n \"creationTime\": \"2015-07-09T19:14:54.0907424Z\",\r\n \"lastModified\": \"2015-07-09T19:14:54.0907424Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:14:54.0907424Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2B094D907F\",\r\n \"creationTime\": \"2015-03-16T18:06:18.7210879Z\",\r\n \"lastModified\": \"2015-03-16T18:06:18.7210879Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-16T18:06:21.85067Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-03-16T18:06:21.7626712Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:06:21.7626712Z\",\r\n \"endTime\": \"2015-03-16T18:06:21.85067Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-3657382398_1-20150313t235640z\",\r\n \"tvmUrl\": \"https://filetests.batch.core.windows.net/pools/testPool/tvms/tvm-3657382398_1-20150313t235640z\",\r\n \"poolName\": \"testPool\",\r\n \"tvmName\": \"tvm-3657382398_1-20150313t235640z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:54 GMT" + "Mon, 16 Mar 2015 18:06:18 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "41903ded-b7c1-4279-8e70-04cb54c1ca3a" + "6755deac-8a47-49ec-b8e7-3addef84aba9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,100 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:53 GMT" + "Mon, 16 Mar 2015 18:06:23 GMT" ], "ETag": [ - "0x8D28892ABC263A0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$select=name%2Cstate&$filter=name%20eq%20'testTask'", - "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0R2V0VGFza0ZpbGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRzZWxlY3Q9bmFtZSUyQ3N0YXRlJiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3dGVzdFRhc2slMjc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "6f482c23-de88-49d8-8618-534c96c506e5" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:14:54 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "1b6b262f-4f27-441b-a342-603ac8fe9bb8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 19:14:54 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/workitems/testGetTaskFileWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$select=name%2Cstate&$filter=name%20eq%20'testTask'", - "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0R2V0VGFza0ZpbGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRzZWxlY3Q9bmFtZSUyQ3N0YXRlJiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3dGVzdFRhc2slMjc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "70804589-8d72-43e2-994c-706b6b79093b" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:14:57 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "613f33ac-df50-46a1-9a9a-b3df681e96ff" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 19:14:57 GMT" + "0x8D22E2B094D907F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -658,13 +568,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "31844d63-59e3-4d29-8603-d1351d8eeca8" + "c8461fcd-347d-4243-a693-8ec35b26899c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:57 GMT" + "Mon, 16 Mar 2015 18:06:33 GMT" ] }, "ResponseBody": "", @@ -676,10 +586,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:55 GMT" + "Mon, 16 Mar 2015 18:06:21 GMT" ], "request-id": [ - "4bbf3914-3385-47f8-8313-f56b6cdd456a" + "2a6f070b-0b61-4e5b-a733-4eab858b91d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,16 +598,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:14:55 GMT" + "Mon, 16 Mar 2015 18:06:21 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fstdout.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fstdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:14:58 GMT" + "Mon, 16 Mar 2015 18:06:44 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -715,13 +625,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "55bfa12a-b943-423e-a82e-7ce6a9a41002" + "f40587ea-f820-47c4-8f3b-a1c514321f8c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:58 GMT" + "Mon, 16 Mar 2015 18:06:55 GMT" ] }, "ResponseBody": "", @@ -733,10 +643,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:55 GMT" + "Mon, 16 Mar 2015 18:06:21 GMT" ], "request-id": [ - "21d69255-a2ab-4980-bea7-4dbdeb435d69" + "39272872-1742-44e2-bca0-11f44b836d06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -745,16 +655,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:14:55 GMT" + "Mon, 16 Mar 2015 18:06:21 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fstdout.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fstdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:14:58 GMT" + "Mon, 16 Mar 2015 18:07:16 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -772,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c02fa103-2e5a-4ea3-89a5-32a2dbe6b1d0" + "b1ded214-ce6c-4b24-9f74-9da0fc79a480" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:58 GMT" + "Mon, 16 Mar 2015 18:07:21 GMT" ] }, "ResponseBody": "", @@ -787,7 +697,7 @@ "chunked" ], "request-id": [ - "87ecd36a-0ef4-462f-b1fd-2e3809706ea8" + "e22fc414-dd7c-4215-845d-6c08e7ef2827" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -796,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:58 GMT" + "Mon, 16 Mar 2015 18:07:21 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentByName.json index 34e647dd4903..b1039ac8d532 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentByName.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "31996" ], "x-ms-request-id": [ - "e6c5e67b-107a-41cd-bec9-55a9520ce447" + "5a83fe94-62e1-4ec0-a5e0-d7ff4fbed728" ], "x-ms-correlation-request-id": [ - "e6c5e67b-107a-41cd-bec9-55a9520ce447" + "5a83fe94-62e1-4ec0-a5e0-d7ff4fbed728" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191853Z:e6c5e67b-107a-41cd-bec9-55a9520ce447" + "WESTUS:20150317T174903Z:5a83fe94-62e1-4ec0-a5e0-d7ff4fbed728" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:52 GMT" + "Tue, 17 Mar 2015 17:49:03 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" + "31995" ], "x-ms-request-id": [ - "a1e25e1e-9785-42a4-93ce-3cb01d21e521" + "4bf34e62-1cf7-41e8-bda5-fac5c95b26fe" ], "x-ms-correlation-request-id": [ - "a1e25e1e-9785-42a4-93ce-3cb01d21e521" + "4bf34e62-1cf7-41e8-bda5-fac5c95b26fe" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191858Z:a1e25e1e-9785-42a4-93ce-3cb01d21e521" + "WESTUS:20150317T174916Z:4bf34e62-1cf7-41e8-bda5-fac5c95b26fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:58 GMT" + "Tue, 17 Mar 2015 17:49:16 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:03 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d61a8f63-c0e2-4326-a6be-a7a7618a653f" + "e8f909d0-6a1e-47da-b16a-05a8638a0a9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "31993" ], "x-ms-request-id": [ - "d1c4ac70-a1ce-4b7d-9228-5a5761c512ad" + "ce502e33-89b3-4f0c-b4fa-9bc5845a0860" ], "x-ms-correlation-request-id": [ - "d1c4ac70-a1ce-4b7d-9228-5a5761c512ad" + "ce502e33-89b3-4f0c-b4fa-9bc5845a0860" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191854Z:d1c4ac70-a1ce-4b7d-9228-5a5761c512ad" + "WESTUS:20150317T174904Z:ce502e33-89b3-4f0c-b4fa-9bc5845a0860" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:04 GMT" ], "ETag": [ - "0x8D288933B0A57FD" + "0x8D22EF1CA8B3777" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:59 GMT" + "Tue, 17 Mar 2015 17:49:15 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "96ed1625-9113-4569-a68f-a1455e7111c0" + "8da3ed04-b5bd-489d-901a-aadeda0d55fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "31992" ], "x-ms-request-id": [ - "44e5e988-d3f0-423f-a5e7-57cec758ffac" + "97c2b26d-4025-412d-81ea-9cd41f3c8c79" ], "x-ms-correlation-request-id": [ - "44e5e988-d3f0-423f-a5e7-57cec758ffac" + "97c2b26d-4025-412d-81ea-9cd41f3c8c79" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191858Z:44e5e988-d3f0-423f-a5e7-57cec758ffac" + "WESTUS:20150317T174916Z:97c2b26d-4025-412d-81ea-9cd41f3c8c79" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:58 GMT" + "Tue, 17 Mar 2015 17:49:16 GMT" ], "ETag": [ - "0x8D288933DDF49EA" + "0x8D22EF1D18DB0E6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "cdb0fbbb-5f11-4c93-afd9-5cb3edd2a7c6" + "a970023d-4f2d-485a-9f2e-57516b59c28f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1170" + "1198" ], "x-ms-request-id": [ - "6816c517-062d-4742-affc-efc9ee325352" + "31309f8d-3246-40ad-bebd-b199b9fc1254" ], "x-ms-correlation-request-id": [ - "6816c517-062d-4742-affc-efc9ee325352" + "31309f8d-3246-40ad-bebd-b199b9fc1254" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191854Z:6816c517-062d-4742-affc-efc9ee325352" + "WESTUS:20150317T174905Z:31309f8d-3246-40ad-bebd-b199b9fc1254" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "ac6fca59-92af-48c8-bad1-a43a7f2123cd" + "a7d109a1-ba63-429d-ba92-5fc80355fa86" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1169" + "1197" ], "x-ms-request-id": [ - "07fbec2a-9703-49e2-9ec3-4e7ee614a0f1" + "ebe67176-39d0-49b8-b57f-9e58e08be84a" ], "x-ms-correlation-request-id": [ - "07fbec2a-9703-49e2-9ec3-4e7ee614a0f1" + "ebe67176-39d0-49b8-b57f-9e58e08be84a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191859Z:07fbec2a-9703-49e2-9ec3-4e7ee614a0f1" + "WESTUS:20150317T174917Z:ebe67176-39d0-49b8-b57f-9e58e08be84a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:58 GMT" + "Tue, 17 Mar 2015 17:49:16 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3859d7d6-7a6a-4e8c-b9a2-eb6a57f0db7d" + "399edbe5-0fb5-4377-ab55-86b66a21d066" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:05 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:05 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "31f1067d-8a55-4ce6-a995-a53fb7396a68" + "f45d2941-642e-4d6b-892e-c9b0ed4373d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI" ], "Date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:06 GMT" ], "ETag": [ - "0x8D288933B539F7A" + "0x8D22EF1CBA57BAA" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bbcce397-60f9-4b72-8eb4-9af1eab45b8d" + "962133af-b7da-435f-ba94-bfa9f9a0956d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:05 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testGetTaskFileContentWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI\",\r\n \"eTag\": \"0x8D288933B539F7A\",\r\n \"lastModified\": \"2015-07-09T19:18:54.9567354Z\",\r\n \"creationTime\": \"2015-07-09T19:18:54.9567354Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:18:54.9567354Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testGetTaskFileContentWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI\",\r\n \"eTag\": \"0x8D22EF1CBA57BAA\",\r\n \"lastModified\": \"2015-03-17T17:49:05.1277226Z\",\r\n \"creationTime\": \"2015-03-17T17:49:05.1277226Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-17T17:49:05.1277226Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:05 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "17b19f54-c05d-4b2e-afeb-7c20ec9ec129" + "d40cc1c6-085f-4f80-be0e-1b0f6c4e8f07" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:06 GMT" ], "ETag": [ - "0x8D288933B539F7A" + "0x8D22EF1CBA57BAA" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -463,25 +463,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1ef5950f-bd7c-41a0-891e-f1f21640fc28" + "ca74de9f-71ab-430a-ae29-b4a2b9d7541e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:54 GMT" + "Tue, 17 Mar 2015 17:49:06 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:55 GMT" + "Tue, 17 Mar 2015 17:49:07 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "90af8502-55ab-4dca-9595-6072e485990c" + "834a8309-c3cb-46b3-a24e-868b7385aa53" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:18:55 GMT" + "Tue, 17 Mar 2015 17:49:07 GMT" ], "ETag": [ - "0x8D288933B79FD31" + "0x8D22EF1CD07A64B" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "26d20d99-7be0-407d-9e2d-0c17d4d14f64" + "f2d97629-e7ac-49db-bacf-2b295d9d0c9b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:55 GMT" + "Tue, 17 Mar 2015 17:49:06 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D288933B79FD31\",\r\n \"creationTime\": \"2015-07-09T19:18:55.2081713Z\",\r\n \"lastModified\": \"2015-07-09T19:18:55.2081713Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:18:55.2081713Z\",\r\n \"commandLine\": \"cmd /c echo test file contents > testFile.txt\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22EF1CD07A64B\",\r\n \"creationTime\": \"2015-03-17T17:49:07.4487883Z\",\r\n \"lastModified\": \"2015-03-17T17:49:07.4487883Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-17T17:49:07.4487883Z\",\r\n \"commandLine\": \"cmd /c echo test file contents > testFile.txt\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:18:55 GMT" + "Tue, 17 Mar 2015 17:49:07 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d4ad419e-5ebb-4d8f-9d80-84c9215dff67" + "16f3d061-da8a-4c3e-bd0e-8dd0699dc4e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:18:55 GMT" + "Tue, 17 Mar 2015 17:49:07 GMT" ], "ETag": [ - "0x8D288933B79FD31" + "0x8D22EF1CD07A64B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,16 +568,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "76e96768-fac1-4769-8362-3289afbf3f65" + "9e14b839-d202-4baf-b56d-b8248d18c9b3" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:55 GMT" + "Tue, 17 Mar 2015 17:49:07 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -586,7 +586,7 @@ "chunked" ], "request-id": [ - "ba9a924c-9e03-4c2b-8b8a-b5256227fa07" + "3e865f9b-6f1e-4c6f-a372-2ca72d3dc2d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +595,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:09 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -613,16 +613,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "79693159-6475-4b97-9866-8f9d2e732571" + "b89a66dd-00da-49a2-ab10-899a6a0ed0d7" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:58 GMT" + "Tue, 17 Mar 2015 17:49:09 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -631,7 +631,7 @@ "chunked" ], "request-id": [ - "3ab03bd4-d0de-4dce-b288-9cda892cd537" + "b5830eea-69ae-4995-811b-ace826009dd3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +640,97 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:18:58 GMT" + "Tue, 17 Mar 2015 17:49:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$select=name%2Cstate&$filter=name%20eq%20'testTask'", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0R2V0VGFza0ZpbGVDb250ZW50V0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkc2VsZWN0PW5hbWUlMkNzdGF0ZSYkZmlsdGVyPW5hbWUlMjBlcSUyMCUyN3Rlc3RUYXNrJTI3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "c758280b-2444-42f8-9078-8267a4526cd7" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Tue, 17 Mar 2015 17:49:12 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"running\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "423569dd-eb1a-45e3-aa5c-b8c3d83d0fa2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Tue, 17 Mar 2015 17:49:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testGetTaskFileContentWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$select=name%2Cstate&$filter=name%20eq%20'testTask'", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0R2V0VGFza0ZpbGVDb250ZW50V0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkc2VsZWN0PW5hbWUlMkNzdGF0ZSYkZmlsdGVyPW5hbWUlMjBlcSUyMCUyN3Rlc3RUYXNrJTI3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "9ef2f7d8-3725-4245-85e1-a0f5e35cd5e7" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Tue, 17 Mar 2015 17:49:14 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "ba646f20-c535-4f6c-8818-1acd09fd56a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Tue, 17 Mar 2015 17:49:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -658,13 +748,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "99267815-c702-4380-a3b2-ab1e4993e644" + "a4475a2a-7699-4a29-8858-65db9f9fa661" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:58 GMT" + "Tue, 17 Mar 2015 17:49:17 GMT" ] }, "ResponseBody": "", @@ -676,10 +766,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "request-id": [ - "cfde246e-3b55-4b9f-bde3-f9f2fb8e11d6" + "fd173814-a719-4f40-a39b-72da2280c2a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -688,16 +778,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:59 GMT" + "Tue, 17 Mar 2015 17:49:35 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -715,13 +805,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "075185d4-076f-4d56-8b18-a2be2de08eee" + "d41a094a-e0d6-451a-a394-b24b7a4e285f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:59 GMT" + "Tue, 17 Mar 2015 17:49:59 GMT" ] }, "ResponseBody": "", @@ -733,10 +823,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "request-id": [ - "2ffd6051-2296-4772-82ec-d4f96b654073" + "2e7fa1d0-b9fc-45ed-8ce7-97e7ceb28c19" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -745,16 +835,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:59 GMT" + "Tue, 17 Mar 2015 17:50:23 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -772,13 +862,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "77a258f1-a15a-4364-95c2-7dfcf51b4efa" + "28185e9c-3316-4ac8-9fa0-199ef8b72097" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:59 GMT" + "Tue, 17 Mar 2015 17:49:37 GMT" ] }, "ResponseBody": "test file contents \r\n", @@ -787,13 +877,13 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "732f91bc-0163-42ff-9a46-9954342ee493" + "9b9d19f7-2f8e-431a-ac2f-dff40372a1e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -802,16 +892,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:59 GMT" + "Tue, 17 Mar 2015 17:50:02 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -829,13 +919,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "fa3de7bf-deb2-4119-9103-506cfc5c3251" + "4d487cf4-b0d8-402d-b5d0-c76ec0d8ca50" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:00 GMT" + "Tue, 17 Mar 2015 17:50:23 GMT" ] }, "ResponseBody": "test file contents \r\n", @@ -844,13 +934,13 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "49449e3e-0310-45d3-b359-4b47a4323cbb" + "5dfc879f-05e2-45c9-8c24-763baf93f0cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -859,16 +949,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:18:56 GMT" + "Tue, 17 Mar 2015 17:49:11 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTaskFileContentWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:19:00 GMT" + "Tue, 17 Mar 2015 17:50:42 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -886,13 +976,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "89b45082-fc15-429b-b41d-4dcfc7a806ab" + "9ae088fc-e87d-45b0-a587-603140f1a56f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:00 GMT" + "Tue, 17 Mar 2015 17:50:42 GMT" ] }, "ResponseBody": "", @@ -901,7 +991,7 @@ "chunked" ], "request-id": [ - "08eb294e-1b4b-4208-be22-c1bad3560a54" + "c1256100-33d4-462b-933e-58fe445942ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -910,7 +1000,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:01 GMT" + "Tue, 17 Mar 2015 17:50:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentPipeline.json index 174d526976ad..3c740f775503 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetTaskFileContentPipeline.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "31993" ], "x-ms-request-id": [ - "babde362-f7a4-47b9-a6a2-52b8a95a2616" + "57724122-accb-4beb-8f12-c5f97928b024" ], "x-ms-correlation-request-id": [ - "babde362-f7a4-47b9-a6a2-52b8a95a2616" + "57724122-accb-4beb-8f12-c5f97928b024" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191946Z:babde362-f7a4-47b9-a6a2-52b8a95a2616" + "WESTUS:20150317T175653Z:57724122-accb-4beb-8f12-c5f97928b024" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:46 GMT" + "Tue, 17 Mar 2015 17:56:53 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" + "31992" ], "x-ms-request-id": [ - "4c3b03a4-25c6-4c1e-9a05-53f0d45f68c7" + "047e4a6c-22c1-4fc3-bef3-cf26828b9325" ], "x-ms-correlation-request-id": [ - "4c3b03a4-25c6-4c1e-9a05-53f0d45f68c7" + "047e4a6c-22c1-4fc3-bef3-cf26828b9325" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191949Z:4c3b03a4-25c6-4c1e-9a05-53f0d45f68c7" + "WESTUS:20150317T175703Z:047e4a6c-22c1-4fc3-bef3-cf26828b9325" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:02 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:47 GMT" + "Tue, 17 Mar 2015 17:56:55 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "b8bc1e9c-a86e-4473-bc73-c9a0825bb94e" + "c5b341af-0b5c-419c-b490-3d28462c9e0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "31998" ], "x-ms-request-id": [ - "7da12741-c7ab-4359-9e5a-abc96c489181" + "14e73ec1-83f7-4603-8c9c-df20e1742016" ], "x-ms-correlation-request-id": [ - "7da12741-c7ab-4359-9e5a-abc96c489181" + "14e73ec1-83f7-4603-8c9c-df20e1742016" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191947Z:7da12741-c7ab-4359-9e5a-abc96c489181" + "WESTUS:20150317T175654Z:14e73ec1-83f7-4603-8c9c-df20e1742016" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:46 GMT" + "Tue, 17 Mar 2015 17:56:53 GMT" ], "ETag": [ - "0x8D288935A773035" + "0x8D22EF2E3D5C1FB" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:04 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d1166633-f6e7-41c7-951e-e7fef622b29b" + "3a777b15-fee2-4e2b-9ba6-7e8605a3b024" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "31997" ], "x-ms-request-id": [ - "6d5f3ce0-fa0d-4b99-86f2-f56c939950d8" + "c82bd250-8a29-4d4c-8dbf-d3c4c7ebf88f" ], "x-ms-correlation-request-id": [ - "6d5f3ce0-fa0d-4b99-86f2-f56c939950d8" + "c82bd250-8a29-4d4c-8dbf-d3c4c7ebf88f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191949Z:6d5f3ce0-fa0d-4b99-86f2-f56c939950d8" + "WESTUS:20150317T175703Z:c82bd250-8a29-4d4c-8dbf-d3c4c7ebf88f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:03 GMT" ], "ETag": [ - "0x8D288935C104907" + "0x8D22EF2E9351DD9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "78e4663e-4977-4318-a3fc-80ddfec8b22e" + "d1c86454-73b9-4747-baf2-196a012017cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1198" ], "x-ms-request-id": [ - "f15bed2f-4cfd-4564-8a74-2eac93500ec7" + "c5e3859d-7ae8-4844-8da6-6124849594d9" ], "x-ms-correlation-request-id": [ - "f15bed2f-4cfd-4564-8a74-2eac93500ec7" + "c5e3859d-7ae8-4844-8da6-6124849594d9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191947Z:f15bed2f-4cfd-4564-8a74-2eac93500ec7" + "WESTUS:20150317T175654Z:c5e3859d-7ae8-4844-8da6-6124849594d9" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:47 GMT" + "Tue, 17 Mar 2015 17:56:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "62f287d8-0c63-4736-bee9-dd77ae0e0068" + "25d48edb-4514-4a3b-b072-fd70b9e53a93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1197" ], "x-ms-request-id": [ - "37e4aaee-27cd-4ffe-a908-b36e638077d4" + "e1f0580f-b32d-45cd-b238-3e85e41e49b6" ], "x-ms-correlation-request-id": [ - "37e4aaee-27cd-4ffe-a908-b36e638077d4" + "e1f0580f-b32d-45cd-b238-3e85e41e49b6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191950Z:37e4aaee-27cd-4ffe-a908-b36e638077d4" + "WESTUS:20150317T175703Z:e1f0580f-b32d-45cd-b238-3e85e41e49b6" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:03 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "55dc45e6-c169-40d1-8303-db55a5a50ed1" + "b88eaea7-bca2-4601-813c-d18e9f394fc0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:47 GMT" + "Tue, 17 Mar 2015 17:56:54 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:56:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "961c8c93-f9c8-4846-8afb-8761e97448c0" + "1b860b46-1332-451f-8b5a-fa04842482cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI" + "https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI" ], "Date": [ - "Thu, 09 Jul 2015 19:19:46 GMT" + "Tue, 17 Mar 2015 17:56:57 GMT" ], "ETag": [ - "0x8D288935B0DF116" + "0x8D22EF2E483905E" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI" + "https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "03f9a61d-a44e-4aeb-ac11-dcf475f8a2aa" + "e2e1912a-1136-44d5-bf07-4b3c933f8cf7" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:47 GMT" + "Tue, 17 Mar 2015 17:56:57 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testGetTFContentPipeWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI\",\r\n \"eTag\": \"0x8D288935B0DF116\",\r\n \"lastModified\": \"2015-07-09T19:19:48.1871638Z\",\r\n \"creationTime\": \"2015-07-09T19:19:48.1871638Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:19:48.1871638Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testGetTFContentPipeWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI\",\r\n \"eTag\": \"0x8D22EF2E483905E\",\r\n \"lastModified\": \"2015-03-17T17:56:56.3451998Z\",\r\n \"creationTime\": \"2015-03-17T17:56:56.3451998Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-17T17:56:56.3451998Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:56:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b92ee383-b434-4b97-94bd-c6ecf8c6169d" + "25be47f1-ec80-46b6-81e9-dbcec24917b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:47 GMT" + "Tue, 17 Mar 2015 17:56:59 GMT" ], "ETag": [ - "0x8D288935B0DF116" + "0x8D22EF2E483905E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -463,25 +463,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7a2371a9-6ef7-4c0a-9865-66d21ced8056" + "04fa315c-fb76-4a58-8ffb-9954b3b5d846" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:56:57 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c32a6d6a-3225-43f0-ab50-70d863cae7d6" + "6350a27c-4e18-424e-8300-6e8048484890" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "ETag": [ - "0x8D288935B495AD3" + "0x8D22EF2E735A5A3" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e1a382c3-0e0a-4512-aa74-5c7d553c330a" + "8975d3f0-e7e2-4922-bc11-9429998beaf4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:56:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D288935B495AD3\",\r\n \"creationTime\": \"2015-07-09T19:19:48.5765331Z\",\r\n \"lastModified\": \"2015-07-09T19:19:48.5765331Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:19:48.5765331Z\",\r\n \"commandLine\": \"cmd /c echo test file contents > testFile.txt\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22EF2E735A5A3\",\r\n \"creationTime\": \"2015-03-17T17:57:00.8677283Z\",\r\n \"lastModified\": \"2015-03-17T17:57:00.8677283Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-17T17:57:00.8677283Z\",\r\n \"commandLine\": \"cmd /c echo test file contents > testFile.txt\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:19:48 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "830eed05-17f2-4f18-8496-b407580e8a45" + "0ac04915-fe41-4c55-9e69-e1452dbcd3a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:56:57 GMT" ], "ETag": [ - "0x8D288935B495AD3" + "0x8D22EF2E735A5A3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,16 +568,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7740611c-b38f-4c50-9341-ca918383b9f7" + "aa01ef02-fa0a-47c8-a0c9-f195d2b8eb6f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:56:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -586,7 +586,7 @@ "chunked" ], "request-id": [ - "7b59522f-7010-42ea-b454-386541596dd2" + "7bf4f8f8-ee7e-4aba-9e4e-0a8f607569cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +595,52 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:56:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testGetTFContentPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$select=name%2Cstate&$filter=name%20eq%20'testTask'", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0R2V0VEZDb250ZW50UGlwZVdJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjAmJHNlbGVjdD1uYW1lJTJDc3RhdGUmJGZpbHRlcj1uYW1lJTIwZXElMjAlMjd0ZXN0VGFzayUyNw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "cd5d417f-078e-4cc7-94e9-bb971e7b27f0" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Tue, 17 Mar 2015 17:57:01 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "495a3a83-d6b4-496d-8e68-13aedea2cf14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Tue, 17 Mar 2015 17:56:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -613,13 +658,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "65fb382e-533e-4558-9e36-e2762df6b4d0" + "fb911233-f404-4f41-bc94-147fb83c6958" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:03 GMT" ] }, "ResponseBody": "", @@ -631,10 +676,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "request-id": [ - "403923f9-f4c5-46f7-b0a2-f1407f4796a7" + "5066be99-453b-467f-9e0e-cd02002d502c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -643,16 +688,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTFContentPipeWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTFContentPipeWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:19:50 GMT" + "Tue, 17 Mar 2015 17:57:23 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -670,13 +715,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5b3373da-6f83-47cb-b6f3-d276e8f845d3" + "8d79deae-2087-4d16-9925-3a371255d632" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:50 GMT" + "Tue, 17 Mar 2015 17:57:23 GMT" ] }, "ResponseBody": "test file contents \r\n", @@ -685,13 +730,13 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "9e0f9a46-67a4-4e5e-81ef-9222ff72b026" + "25259253-7c05-4366-a2df-8b397d5dbbab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -700,16 +745,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:19:49 GMT" + "Tue, 17 Mar 2015 17:57:00 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fworkitems%2FtestGetTFContentPipeWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" + "https%3A%2F%2Ffiletests.batch.core.windows.net%2Fworkitems%2FtestGetTFContentPipeWI%2Fjobs%2Fjob-0000000001%2Ftasks%2FtestTask%2Ffiles%2Fwd%2FtestFile.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:19:50 GMT" + "Tue, 17 Mar 2015 17:57:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -727,13 +772,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c8dd6c6c-8735-4842-b602-80dbad7a3069" + "031bd77b-6e86-4eb0-8906-27de0021abbd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:51 GMT" + "Tue, 17 Mar 2015 17:57:43 GMT" ] }, "ResponseBody": "", @@ -742,7 +787,7 @@ "chunked" ], "request-id": [ - "62d606bb-6355-4448-a0f3-c826ecf56669" + "5ca1041e-9ff8-4150-9b44-a3b3d7f1e5c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -751,7 +796,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:50 GMT" + "Tue, 17 Mar 2015 17:57:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileByName.json index 90a311ecc01e..2c918b155aca 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileByName.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "31988" ], "x-ms-request-id": [ - "c2961d48-3f18-4eb6-b6d0-15e35a284c7d" + "efbe8134-8e50-406a-b3d7-f7ae34126a42" ], "x-ms-correlation-request-id": [ - "c2961d48-3f18-4eb6-b6d0-15e35a284c7d" + "efbe8134-8e50-406a-b3d7-f7ae34126a42" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192035Z:c2961d48-3f18-4eb6-b6d0-15e35a284c7d" + "CENTRALUS:20150331T212735Z:efbe8134-8e50-406a-b3d7-f7ae34126a42" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:35 GMT" + "Tue, 31 Mar 2015 21:27:34 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:37 GMT" + "Tue, 31 Mar 2015 21:27:37 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "39730de0-e727-4af6-b63a-3a3e15ab5461" + "8f15f1a7-6acd-471c-8d90-5d96ae56767f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "31988" ], "x-ms-request-id": [ - "fdba840d-6eef-4a4f-941c-19d089856c80" + "fd01fb78-8bb1-4379-b490-2fcf4ada50d9" ], "x-ms-correlation-request-id": [ - "fdba840d-6eef-4a4f-941c-19d089856c80" + "fd01fb78-8bb1-4379-b490-2fcf4ada50d9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192037Z:fdba840d-6eef-4a4f-941c-19d089856c80" + "CENTRALUS:20150331T212737Z:fd01fb78-8bb1-4379-b490-2fcf4ada50d9" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:36 GMT" + "Tue, 31 Mar 2015 21:27:36 GMT" ], "ETag": [ - "0x8D28893782E02AD" + "0x8D23A10A519503F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "1482b401-fa80-4aed-972e-dfd138952086" + "a0653381-10cb-4cc2-b22c-7eaf47932d3f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1194" ], "x-ms-request-id": [ - "2d294c49-0812-480c-b0d8-f46d8a5b2d77" + "6e87b766-6746-4484-886d-1db60e46fe66" ], "x-ms-correlation-request-id": [ - "2d294c49-0812-480c-b0d8-f46d8a5b2d77" + "6e87b766-6746-4484-886d-1db60e46fe66" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192037Z:2d294c49-0812-480c-b0d8-f46d8a5b2d77" + "CENTRALUS:20150331T212737Z:6e87b766-6746-4484-886d-1db60e46fe66" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:37 GMT" + "Tue, 31 Mar 2015 21:27:36 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -178,13 +178,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e129b747-fdd5-4fd6-86f0-b4381152ef7b" + "e96085e2-dab6-49da-9c63-018e867a62b5" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:37 GMT" + "Tue, 31 Mar 2015 21:27:37 GMT" ] }, "ResponseBody": "", @@ -196,10 +196,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "request-id": [ - "441b645a-4116-4a8b-a7bb-c9d0b956f6a6" + "2016e009-83e8-4740-ba48-1af3b2a88b5b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,16 +208,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:20:37 GMT" + "Tue, 31 Mar 2015 21:27:37 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -226,8 +226,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -235,13 +235,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2f017206-dbb6-4daa-b738-82699c04922f" + "7e60ccae-ffca-4b7f-a4f6-d7b0a6f94c6a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:38 GMT" + "Tue, 31 Mar 2015 21:27:38 GMT" ] }, "ResponseBody": "", @@ -253,10 +253,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "request-id": [ - "9f70a0b5-7efa-4995-90a1-0d8aecd2311c" + "1785afde-b760-40d7-bb05-4473d2c2c696" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -265,16 +265,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:20:38 GMT" + "Tue, 31 Mar 2015 21:27:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -285,6 +285,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentByName.json index e5cb7ad151ce..50108f209a12 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentByName.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "31999" ], "x-ms-request-id": [ - "94fb1db2-14df-41a4-a9a3-c9c14c405951" + "0e54c7a4-ced9-42cd-bc6b-523191eba6ef" ], "x-ms-correlation-request-id": [ - "94fb1db2-14df-41a4-a9a3-c9c14c405951" + "0e54c7a4-ced9-42cd-bc6b-523191eba6ef" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191807Z:94fb1db2-14df-41a4-a9a3-c9c14c405951" + "CENTRALUS:20150402T215701Z:0e54c7a4-ced9-42cd-bc6b-523191eba6ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:07 GMT" + "Thu, 02 Apr 2015 21:57:01 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:09 GMT" + "Thu, 02 Apr 2015 21:57:03 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "b6a29508-267a-4889-9eac-3e4ac3dfde40" + "8208e62a-cc6d-422e-bb50-4adfabf5b518" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "31999" ], "x-ms-request-id": [ - "fe962535-9599-49ea-82a9-7e66fb928e49" + "d3149844-a0d7-47c4-953f-4c05a06ef160" ], "x-ms-correlation-request-id": [ - "fe962535-9599-49ea-82a9-7e66fb928e49" + "d3149844-a0d7-47c4-953f-4c05a06ef160" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191808Z:fe962535-9599-49ea-82a9-7e66fb928e49" + "CENTRALUS:20150402T215702Z:d3149844-a0d7-47c4-953f-4c05a06ef160" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:08 GMT" + "Thu, 02 Apr 2015 21:57:02 GMT" ], "ETag": [ - "0x8D28893200CCE9B" + "0x8D23BA716461F69" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "449927b4-b99d-4483-9f30-f12842ec00eb" + "32995b3c-3dfe-40d8-adbb-d9503a531ff7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1171" + "1199" ], "x-ms-request-id": [ - "9ee56171-4ba2-4760-88b6-67571a8a8383" + "1ee2655f-738f-47e2-b62a-3ae9892fae1e" ], "x-ms-correlation-request-id": [ - "9ee56171-4ba2-4760-88b6-67571a8a8383" + "1ee2655f-738f-47e2-b62a-3ae9892fae1e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191809Z:9ee56171-4ba2-4760-88b6-67571a8a8383" + "CENTRALUS:20150402T215703Z:1ee2655f-738f-47e2-b62a-3ae9892fae1e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:08 GMT" + "Thu, 02 Apr 2015 21:57:02 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -178,13 +178,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e51a5691-901b-4628-883f-fbb4497507d1" + "fe5afa08-c62f-4093-9bb1-79ef445f887d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:08 GMT" + "Thu, 02 Apr 2015 21:57:03 GMT" ] }, "ResponseBody": "", @@ -196,10 +196,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "request-id": [ - "bd309d44-4a2e-43c8-b132-05b6a6c8873f" + "afbf84cc-bce9-42c7-9fb4-6d39063abfdf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,16 +208,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:08 GMT" + "Thu, 02 Apr 2015 21:57:24 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -226,8 +226,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -235,13 +235,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "99ee3f6f-0723-4ace-89ae-1cbf17e8861b" + "3eedecc2-1b5f-467e-bccd-b6a5bf8de54b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:09 GMT" + "Thu, 02 Apr 2015 21:57:24 GMT" ] }, "ResponseBody": "", @@ -253,10 +253,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "request-id": [ - "7ec9d845-f676-433d-850a-c4bb2b1e85d7" + "c13ec8e8-d9b2-47ac-8b83-58dd0fce95c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -265,16 +265,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:10 GMT" + "Thu, 02 Apr 2015 21:57:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -283,8 +283,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -292,13 +292,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0417cbdc-6e5c-4f9c-90c5-b2bb545510db" + "d1d743ae-cdcd-4d63-a070-7577d9479cbd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:09 GMT" + "Thu, 02 Apr 2015 21:57:24 GMT" ] }, "ResponseBody": "hello\r\n", @@ -307,13 +307,13 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a4736254-b5a0-4e3c-9a48-158ed3092bcf" + "cb5e15b2-7919-4a6d-b486-dacb129d56a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -322,16 +322,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:08 GMT" + "Thu, 02 Apr 2015 21:57:25 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,8 +340,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -349,13 +349,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "22fd7cb4-e8c4-48dd-99ee-e9ac809a9063" + "36dff641-f75c-4edb-87c5-b2877e578d89" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:10 GMT" + "Thu, 02 Apr 2015 21:57:45 GMT" ] }, "ResponseBody": "hello\r\n", @@ -364,13 +364,13 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c10e6082-d0c3-4c23-83c5-b92c87039366" + "9832b6af-4cda-4b4e-a903-25fb0d204ba2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:09 GMT" + "Thu, 02 Apr 2015 21:57:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -399,6 +399,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentPipeline.json index 1672a8f0ff40..0b48cb38d30e 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetVMFileContentPipeline.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "31998" ], "x-ms-request-id": [ - "64826166-ee26-4884-a4bc-d589451f4ee9" + "e43f5efc-f91e-4f2e-9fb8-222b7380a5eb" ], "x-ms-correlation-request-id": [ - "64826166-ee26-4884-a4bc-d589451f4ee9" + "e43f5efc-f91e-4f2e-9fb8-222b7380a5eb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191830Z:64826166-ee26-4884-a4bc-d589451f4ee9" + "CENTRALUS:20150402T215805Z:e43f5efc-f91e-4f2e-9fb8-222b7380a5eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:30 GMT" + "Thu, 02 Apr 2015 21:58:04 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:18:31 GMT" + "Thu, 02 Apr 2015 21:58:06 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "e441b99c-3d71-4cf4-84fa-fbdb336b781b" + "19fa5e95-ce71-4a2f-9255-7e19df0a2910" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "31998" ], "x-ms-request-id": [ - "46834423-53e4-42db-aab1-b74c3dbaa1ba" + "28e6c78a-4d01-4568-be68-3af3b49017cb" ], "x-ms-correlation-request-id": [ - "46834423-53e4-42db-aab1-b74c3dbaa1ba" + "28e6c78a-4d01-4568-be68-3af3b49017cb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191831Z:46834423-53e4-42db-aab1-b74c3dbaa1ba" + "CENTRALUS:20150402T215806Z:28e6c78a-4d01-4568-be68-3af3b49017cb" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:30 GMT" + "Thu, 02 Apr 2015 21:58:06 GMT" ], "ETag": [ - "0x8D288932D725D69" + "0x8D23BA73C39E897" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "c4ea44f6-0c51-4bf9-b984-c3be390c89ba" + "b2c44e26-0376-4b68-b9d7-d3f52a97c3d1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1198" ], "x-ms-request-id": [ - "8bd99a37-8f9e-4a6a-a806-7da45af9e8e3" + "0b056e69-e6a2-49e5-9e2e-548e476e3c11" ], "x-ms-correlation-request-id": [ - "8bd99a37-8f9e-4a6a-a806-7da45af9e8e3" + "0b056e69-e6a2-49e5-9e2e-548e476e3c11" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191831Z:8bd99a37-8f9e-4a6a-a806-7da45af9e8e3" + "CENTRALUS:20150402T215809Z:0b056e69-e6a2-49e5-9e2e-548e476e3c11" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:18:31 GMT" + "Thu, 02 Apr 2015 21:58:09 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { @@ -178,13 +178,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "48dc74cc-4424-4d9e-aae4-139a9b3ea0d4" + "90b5a518-5ccd-4a14-94e2-7e9a28f0af38" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:31 GMT" + "Thu, 02 Apr 2015 21:58:09 GMT" ] }, "ResponseBody": "", @@ -196,10 +196,10 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "request-id": [ - "2e47041e-d016-4cf2-ac40-2d3423fd6116" + "118edc8c-78f9-47a8-925b-45eaf20c0258" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -208,16 +208,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:32 GMT" + "Thu, 02 Apr 2015 21:58:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -226,8 +226,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup/stdout.txt?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzL3N0YXJ0dXAvc3Rkb3V0LnR4dD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -235,13 +235,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "481882d7-5e90-4d87-ac8c-56cd46ac89b3" + "0ffb9f88-b111-4aba-8f9c-c3600ca70c27" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:18:32 GMT" + "Thu, 02 Apr 2015 21:58:30 GMT" ] }, "ResponseBody": "hello\r\n", @@ -250,13 +250,13 @@ "application/octet-stream" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "6a6b5479-9345-4974-8c1e-37e33878add3" + "89209043-4e75-4f8b-851d-014246c1c002" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -265,16 +265,16 @@ "3.0" ], "ocp-creation-time": [ - "Thu, 09 Jul 2015 19:08:36 GMT" + "Tue, 31 Mar 2015 20:05:51 GMT" ], "ocp-batch-file-isdirectory": [ "False" ], "ocp-batch-file-url": [ - "https%3A%2F%2Fpstests.batch.core.windows.net%2Fpools%2FtestPool%2Ftvms%2Ftvm-4155946844_1-20150709t190321z%2Ffiles%2Fstartup%2Fstdout.txt" + "https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup/stdout.txt" ], "Date": [ - "Thu, 09 Jul 2015 19:18:32 GMT" + "Thu, 02 Apr 2015 21:58:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -285,6 +285,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllTaskFiles.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllTaskFiles.json index 4af3cc304c87..7715cf5917ac 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllTaskFiles.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllTaskFiles.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" + "31991" ], "x-ms-request-id": [ - "c0f31186-48e7-41ec-b0b0-7d10a9757e33" + "2a7077ca-3a3d-488a-a663-8179d6ccbbd4" ], "x-ms-correlation-request-id": [ - "c0f31186-48e7-41ec-b0b0-7d10a9757e33" + "2a7077ca-3a3d-488a-a663-8179d6ccbbd4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192010Z:c0f31186-48e7-41ec-b0b0-7d10a9757e33" + "WESTUS:20150316T183431Z:2a7077ca-3a3d-488a-a663-8179d6ccbbd4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:09 GMT" + "Mon, 16 Mar 2015 18:34:31 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" + "31990" ], "x-ms-request-id": [ - "5f543c79-4788-4967-896a-3fc4b16849bd" + "5952fa64-40c6-4695-a050-b2915d34185c" ], "x-ms-correlation-request-id": [ - "5f543c79-4788-4967-896a-3fc4b16849bd" + "5952fa64-40c6-4695-a050-b2915d34185c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192015Z:5f543c79-4788-4967-896a-3fc4b16849bd" + "WESTUS:20150316T183440Z:5952fa64-40c6-4695-a050-b2915d34185c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:14 GMT" + "Mon, 16 Mar 2015 18:34:40 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "09e5b89b-1e83-4f29-8b9c-4ed0c1d09e14" + "0f027df1-9ef7-4291-9ec9-75c7d0310e10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "31998" ], "x-ms-request-id": [ - "11e0b21d-28fd-4971-ac0c-491a415e9d1f" + "1f25b9de-9b5d-4ad1-a36d-88e449515972" ], "x-ms-correlation-request-id": [ - "11e0b21d-28fd-4971-ac0c-491a415e9d1f" + "1f25b9de-9b5d-4ad1-a36d-88e449515972" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192010Z:11e0b21d-28fd-4971-ac0c-491a415e9d1f" + "WESTUS:20150316T183433Z:1f25b9de-9b5d-4ad1-a36d-88e449515972" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:10 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "ETag": [ - "0x8D2889368A90F58" + "0x8D22E2EFB8F0A5B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:15 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "c39e58da-6129-4317-9a8a-3063b0a3bace" + "6a3c278f-efa7-4568-bebc-90db6b91383a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "31997" ], "x-ms-request-id": [ - "f8018bca-f0d4-479f-91b7-9fb4a11b6a34" + "4e8cc1f6-d0e6-4764-a615-fd54ade0ad0f" ], "x-ms-correlation-request-id": [ - "f8018bca-f0d4-479f-91b7-9fb4a11b6a34" + "4e8cc1f6-d0e6-4764-a615-fd54ade0ad0f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192015Z:f8018bca-f0d4-479f-91b7-9fb4a11b6a34" + "WESTUS:20150316T183441Z:4e8cc1f6-d0e6-4764-a615-fd54ade0ad0f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:14 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ], "ETag": [ - "0x8D288936B7E563C" + "0x8D22E2F00221371" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "5d70e279-f664-4365-b4a7-e7ffd6cff1b4" + "9026e92e-e399-4856-aef6-c41b6e403a9e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1167" + "1198" ], "x-ms-request-id": [ - "6b874324-c653-4680-97ce-bdbf036b9cdd" + "6d7577c6-b4bc-41a3-9640-60e445261cbb" ], "x-ms-correlation-request-id": [ - "6b874324-c653-4680-97ce-bdbf036b9cdd" + "6d7577c6-b4bc-41a3-9640-60e445261cbb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192010Z:6b874324-c653-4680-97ce-bdbf036b9cdd" + "WESTUS:20150316T183433Z:6d7577c6-b4bc-41a3-9640-60e445261cbb" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:10 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "650d3816-6cd0-428d-8156-ee38481f492f" + "ea895e42-1e46-41c4-8d8c-ca961eaa275c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1166" + "1197" ], "x-ms-request-id": [ - "d4e74649-64e2-4e5a-be0a-6885a8bd98bc" + "64d7b362-0e98-44a1-b680-85bb0f0c891e" ], "x-ms-correlation-request-id": [ - "d4e74649-64e2-4e5a-be0a-6885a8bd98bc" + "64d7b362-0e98-44a1-b680-85bb0f0c891e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192015Z:d4e74649-64e2-4e5a-be0a-6885a8bd98bc" + "WESTUS:20150316T183441Z:64d7b362-0e98-44a1-b680-85bb0f0c891e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:14 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3a816b1c-49c1-41c9-b7f5-3e8c167f9332" + "09fcfb7f-a528-4beb-9e4c-a56088bc4c7f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:10 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:31 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a890eac6-3501-497f-b0a3-0a32bcff5152" + "501b9733-94ec-471a-8abe-a8af93cd59fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileWI" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileWI" ], "Date": [ - "Thu, 09 Jul 2015 19:20:10 GMT" + "Mon, 16 Mar 2015 18:34:35 GMT" ], "ETag": [ - "0x8D2889368EFB41E" + "0x8D22E2EFA5591B6" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileWI" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3d90e432-c3ea-4c35-8234-334403dbee63" + "24e4ffb4-cbca-46b1-8aa4-efcf7075afcc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:34 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskFileWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI\",\r\n \"eTag\": \"0x8D2889368EFB41E\",\r\n \"lastModified\": \"2015-07-09T19:20:11.4770974Z\",\r\n \"creationTime\": \"2015-07-09T19:20:11.4770974Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:20:11.4770974Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskFileWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI\",\r\n \"eTag\": \"0x8D22E2EFA5591B6\",\r\n \"lastModified\": \"2015-03-16T18:34:31.5946422Z\",\r\n \"creationTime\": \"2015-03-16T18:34:31.5946422Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:34:31.5946422Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:31 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ac2c789c-da75-425c-aab6-80ebaa659057" + "f9d88af4-3e78-4b91-94e5-462564899656" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:10 GMT" + "Mon, 16 Mar 2015 18:34:34 GMT" ], "ETag": [ - "0x8D2889368EFB41E" + "0x8D22E2EFA5591B6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -463,25 +463,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "81c08938-9b22-4f37-8734-49069a60cc00" + "5995cc6e-c1df-4653-a115-afe3abd9c4dc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:35 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:12 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b43f8443-a9b0-4bbe-b12b-47622c97ad04" + "094c9da2-2c8d-4608-8110-7262e8aff1ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "ETag": [ - "0x8D2889369559F65" + "0x8D22E2EFB897B75" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "85b5c047-cf85-4e10-b857-2f8d7e5d3618" + "102c494d-4f63-4932-86fb-81c5d78f6b41" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:11 GMT" + "Mon, 16 Mar 2015 18:34:35 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889369559F65\",\r\n \"creationTime\": \"2015-07-09T19:20:12.1450341Z\",\r\n \"lastModified\": \"2015-07-09T19:20:12.1450341Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:20:12.1450341Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2EFB897B75\",\r\n \"creationTime\": \"2015-03-16T18:34:33.6125813Z\",\r\n \"lastModified\": \"2015-03-16T18:34:33.6125813Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:34:33.6125813Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:20:12 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8bf3241b-5adc-4757-b1be-b8ed474f146b" + "664b3880-f809-4650-b2d5-653f3ffc8b93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:12 GMT" + "Mon, 16 Mar 2015 18:34:35 GMT" ], "ETag": [ - "0x8D2889369559F65" + "0x8D22E2EFB897B75" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "05b1c94f-e81a-4513-b782-343e36dc5c8e" + "78342a8d-b8c0-40fc-be34-c9707ae5a380" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:16 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889369559F65\",\r\n \"creationTime\": \"2015-07-09T19:20:12.1450341Z\",\r\n \"lastModified\": \"2015-07-09T19:20:12.1450341Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:20:13.0896145Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:20:12.9946197Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:20:12.9946197Z\",\r\n \"endTime\": \"2015-07-09T19:20:13.0896145Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2EFB897B75\",\r\n \"creationTime\": \"2015-03-16T18:34:33.6125813Z\",\r\n \"lastModified\": \"2015-03-16T18:34:33.6125813Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-16T18:34:36.3601605Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-03-16T18:34:36.2651615Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:34:36.2651615Z\",\r\n \"endTime\": \"2015-03-16T18:34:36.3601605Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-3657382398_1-20150313t235640z\",\r\n \"tvmUrl\": \"https://filetests.batch.core.windows.net/pools/testPool/tvms/tvm-3657382398_1-20150313t235640z\",\r\n \"poolName\": \"testPool\",\r\n \"tvmName\": \"tvm-3657382398_1-20150313t235640z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:20:12 GMT" + "Mon, 16 Mar 2015 18:34:33 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "3de68743-3cb7-443c-af8f-f766510521ff" + "8b596a1c-b15b-4e60-96f1-c4df8f94f9b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:15 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ], "ETag": [ - "0x8D2889369559F65" + "0x8D22E2EFB897B75" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -619,16 +619,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "33e490a9-db37-458d-8b43-5ecbe476810c" + "15c327c0-e389-478f-b48a-67c234a27215" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:12 GMT" + "Mon, 16 Mar 2015 18:34:36 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -637,7 +637,7 @@ "chunked" ], "request-id": [ - "e07c1a3b-1034-4840-9f38-f54724b4e16f" + "437b8398-f915-40fe-a7fa-10f61ba97e19" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -646,7 +646,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:12 GMT" + "Mon, 16 Mar 2015 18:34:35 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -664,16 +664,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f7d2323b-c718-4c7c-a018-558c71685aa8" + "5f706900-60e9-4e92-a2d3-6b2fcc295612" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:14 GMT" + "Mon, 16 Mar 2015 18:34:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -682,7 +682,7 @@ "chunked" ], "request-id": [ - "aadd3a67-c047-4c6d-8df7-d68141715147" + "592d8f9a-c9b0-4446-bea2-27fcd6022806" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +691,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:14 GMT" + "Mon, 16 Mar 2015 18:34:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -709,16 +709,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4f09c0d2-2950-499d-a718-bc56e5931922" + "0952a1a8-48c0-4d1a-b37c-0329e525e132" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:15 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:20:13.0716142Z\",\r\n \"lastModified\": \"2015-07-09T19:20:13.0716142Z\",\r\n \"contentLength\": \"2471\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:20:13.0056142Z\",\r\n \"lastModified\": \"2015-07-09T19:20:13.0056142Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:20:13.0056142Z\",\r\n \"lastModified\": \"2015-07-09T19:20:13.0806143Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:34:36.3381608Z\",\r\n \"lastModified\": \"2015-03-16T18:34:36.3381608Z\",\r\n \"contentLength\": \"1938\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:34:36.2751622Z\",\r\n \"lastModified\": \"2015-03-16T18:34:36.2751622Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:34:36.2751622Z\",\r\n \"lastModified\": \"2015-03-16T18:34:36.346161Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -727,7 +727,7 @@ "chunked" ], "request-id": [ - "6efa9ff6-91c2-4760-afc2-f23a39d288e5" + "95f68237-b5e3-4844-9b42-74789e6d42f1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +736,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:15 GMT" + "Mon, 16 Mar 2015 18:34:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -754,16 +754,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6bf0402a-a44d-4245-bf39-72eba055d34a" + "77c08e9d-7a32-4059-a778-47ce5606a5ad" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:16 GMT" + "Mon, 16 Mar 2015 18:34:42 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:20:13.0716142Z\",\r\n \"lastModified\": \"2015-07-09T19:20:13.0716142Z\",\r\n \"contentLength\": \"2471\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:20:13.0056142Z\",\r\n \"lastModified\": \"2015-07-09T19:20:13.0056142Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:20:13.0056142Z\",\r\n \"lastModified\": \"2015-07-09T19:20:13.0806143Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:34:36.3381608Z\",\r\n \"lastModified\": \"2015-03-16T18:34:36.3381608Z\",\r\n \"contentLength\": \"1938\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:34:36.2751622Z\",\r\n \"lastModified\": \"2015-03-16T18:34:36.2751622Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:34:36.2751622Z\",\r\n \"lastModified\": \"2015-03-16T18:34:36.346161Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -772,7 +772,7 @@ "chunked" ], "request-id": [ - "5a8d4de6-a655-4918-80c8-959411c918e5" + "9645cee6-9092-422a-b151-c15cb18ac12d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -781,7 +781,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:16 GMT" + "Mon, 16 Mar 2015 18:35:03 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -799,13 +799,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "640d8a25-c602-4503-bf9a-6f096174daf1" + "45873f77-bb68-4a7e-8eea-bc7eaea137c0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:20:16 GMT" + "Mon, 16 Mar 2015 18:35:02 GMT" ] }, "ResponseBody": "", @@ -814,7 +814,7 @@ "chunked" ], "request-id": [ - "73fa86b0-cec5-4dc7-87c7-5e7964511983" + "6ea718af-db5c-46e6-8fda-7b5d9efa0109" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -823,7 +823,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:16 GMT" + "Mon, 16 Mar 2015 18:35:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllVMFiles.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllVMFiles.json index bbe3e7bda23e..10f06be9708c 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllVMFiles.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllVMFiles.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "31987" ], "x-ms-request-id": [ - "1dd5ab89-c1b1-403f-88b8-ef4940183442" + "aa169b53-ddeb-464f-8948-b5983d7e2305" ], "x-ms-correlation-request-id": [ - "1dd5ab89-c1b1-403f-88b8-ef4940183442" + "aa169b53-ddeb-464f-8948-b5983d7e2305" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191429Z:1dd5ab89-c1b1-403f-88b8-ef4940183442" + "CENTRALUS:20150331T212742Z:aa169b53-ddeb-464f-8948-b5983d7e2305" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:29 GMT" + "Tue, 31 Mar 2015 21:27: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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:14:31 GMT" + "Tue, 31 Mar 2015 21:27:43 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "75e929a9-d8f5-4a77-add8-5202fcb657ed" + "3ef79012-af76-44f4-8ce1-92ae5d16a42e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "31987" ], "x-ms-request-id": [ - "77e4ab52-191e-48fa-b4fe-3323c9f3ba4b" + "1c3cbb1d-93b8-41d8-a0dd-fa4abcf9bc73" ], "x-ms-correlation-request-id": [ - "77e4ab52-191e-48fa-b4fe-3323c9f3ba4b" + "1c3cbb1d-93b8-41d8-a0dd-fa4abcf9bc73" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191431Z:77e4ab52-191e-48fa-b4fe-3323c9f3ba4b" + "CENTRALUS:20150331T212742Z:1c3cbb1d-93b8-41d8-a0dd-fa4abcf9bc73" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:30 GMT" + "Tue, 31 Mar 2015 21:27:42 GMT" ], "ETag": [ - "0x8D288929E0C8B9D" + "0x8D23A10A877B5BF" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "dfe070af-b67d-45bd-a9f9-96a0f18b842a" + "0957d326-aa1b-48c5-9d4a-576f2528461e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1193" ], "x-ms-request-id": [ - "2e579f57-ca48-4a25-8652-95f597aae043" + "8861f07f-3a75-4072-94a8-cd4c8717a392" ], "x-ms-correlation-request-id": [ - "2e579f57-ca48-4a25-8652-95f597aae043" + "8861f07f-3a75-4072-94a8-cd4c8717a392" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191431Z:2e579f57-ca48-4a25-8652-95f597aae043" + "CENTRALUS:20150331T212743Z:8861f07f-3a75-4072-94a8-cd4c8717a392" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:14:30 GMT" + "Tue, 31 Mar 2015 21:27:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "592c42a9-6da8-4d0c-add5-f0fd2a7b3e65" + "cac06e6b-6968-4313-8741-b5fb58574ce0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:31 GMT" + "Tue, 31 Mar 2015 21:27:43 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "c1fd0bbf-0594-44b0-a14f-d78d95eeb6de" + "9a4d7d7b-a7b5-4a3a-8cb5-27c048f6d52b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:32 GMT" + "Tue, 31 Mar 2015 21:27:44 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "dc6bc935-854a-4872-9c83-aa060469562c" + "388764c6-19f5-4d7c-8521-6ed55771b2f4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:32 GMT" + "Tue, 31 Mar 2015 21:27:44 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "402f550f-aaf0-4540-a2f1-09f296981c1b" + "775dc8f2-c373-4522-b951-edc5dd7ce3f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:31 GMT" + "Tue, 31 Mar 2015 21:27:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -259,8 +259,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -268,16 +268,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6cb12a57-1d3b-43b9-ad57-d2cdbe4b2ec6" + "2b23f277-eba0-42eb-8094-3ed6048f24b1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:14:31 GMT" + "Tue, 31 Mar 2015 21:27:43 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 6,\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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t200107z\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T20:05:49.9151074Z\",\r\n \"lastBootTime\": \"2015-03-31T20:05:49.7391087Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T20:01:07.1482714Z\",\r\n \"ipAddress\": \"100.77.160.57\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t200107z\",\r\n \"tvmSize\": \"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-03-31T20:05:49.9521089Z\",\r\n \"endTime\": \"2015-03-31T20:05:51.5957379Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -286,7 +286,7 @@ "chunked" ], "request-id": [ - "06fe22d9-c2d3-4ea3-b6f2-b53e0d7977d7" + "cea3c72e-1180-4772-873a-ba0bcac4a1e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -295,7 +295,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:14:32 GMT" + "Tue, 31 Mar 2015 21:27:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -306,6 +306,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilePipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilePipeline.json index b4b6f42bd79b..6064bc94f9ed 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilePipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilePipeline.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "31989" ], "x-ms-request-id": [ - "07e3dccd-4e81-495c-aba1-38bfef23e939" + "161ec686-fa07-4940-9c99-da3f2bc7a388" ], "x-ms-correlation-request-id": [ - "07e3dccd-4e81-495c-aba1-38bfef23e939" + "161ec686-fa07-4940-9c99-da3f2bc7a388" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191630Z:07e3dccd-4e81-495c-aba1-38bfef23e939" + "WESTUS:20150316T184438Z:161ec686-fa07-4940-9c99-da3f2bc7a388" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:29 GMT" + "Mon, 16 Mar 2015 18:44:37 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "31988" ], "x-ms-request-id": [ - "e1e33be3-46f0-4983-bbaf-04a8cefb0f5b" + "63c45cdd-2365-46c5-b84d-805f994756fa" ], "x-ms-correlation-request-id": [ - "e1e33be3-46f0-4983-bbaf-04a8cefb0f5b" + "63c45cdd-2365-46c5-b84d-805f994756fa" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191635Z:e1e33be3-46f0-4983-bbaf-04a8cefb0f5b" + "WESTUS:20150316T184447Z:63c45cdd-2365-46c5-b84d-805f994756fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:34 GMT" + "Mon, 16 Mar 2015 18:44:47 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:39 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "f97987b1-9295-4fdf-97bf-890a00541b7c" + "e85190ab-23e6-452e-a383-9928211a340a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "31996" ], "x-ms-request-id": [ - "98f8fc5b-83b9-43bc-86be-31208458909a" + "afd1fd67-ebd1-4203-8396-6dc3a4630e26" ], "x-ms-correlation-request-id": [ - "98f8fc5b-83b9-43bc-86be-31208458909a" + "afd1fd67-ebd1-4203-8396-6dc3a4630e26" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191631Z:98f8fc5b-83b9-43bc-86be-31208458909a" + "WESTUS:20150316T184439Z:afd1fd67-ebd1-4203-8396-6dc3a4630e26" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:30 GMT" + "Mon, 16 Mar 2015 18:44:39 GMT" ], "ETag": [ - "0x8D28892E5A62A15" + "0x8D22E3064E48FAC" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:36 GMT" + "Mon, 16 Mar 2015 18:44:47 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "f4a0baeb-6127-4b60-9c19-bba0878a41dc" + "ac167047-06de-4924-8c63-08dc39ab07e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31995" ], "x-ms-request-id": [ - "ccb5a504-a092-4ace-90b7-bd07e1accf91" + "12a8a6d0-f055-4b7e-9c04-81d2a2a62b94" ], "x-ms-correlation-request-id": [ - "ccb5a504-a092-4ace-90b7-bd07e1accf91" + "12a8a6d0-f055-4b7e-9c04-81d2a2a62b94" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191635Z:ccb5a504-a092-4ace-90b7-bd07e1accf91" + "WESTUS:20150316T184447Z:12a8a6d0-f055-4b7e-9c04-81d2a2a62b94" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:34 GMT" + "Mon, 16 Mar 2015 18:44:46 GMT" ], "ETag": [ - "0x8D28892E88889FA" + "0x8D22E306990F417" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "b3909a3f-42fc-4f76-b510-c72875819ac6" + "b5e73171-c55c-4a85-96a5-d3c7fd4bf003" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1196" ], "x-ms-request-id": [ - "0b62e477-2747-444e-b835-c56750e19d69" + "5c8f2d7b-feca-465b-81e2-15a664559e6b" ], "x-ms-correlation-request-id": [ - "0b62e477-2747-444e-b835-c56750e19d69" + "5c8f2d7b-feca-465b-81e2-15a664559e6b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191631Z:0b62e477-2747-444e-b835-c56750e19d69" + "WESTUS:20150316T184439Z:5c8f2d7b-feca-465b-81e2-15a664559e6b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:30 GMT" + "Mon, 16 Mar 2015 18:44:39 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "26cf3f95-870b-4033-9ac1-c892f6238a18" + "8ce1f61b-28cc-46f2-b2c0-5acd11d78e28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1195" ], "x-ms-request-id": [ - "ea4593a3-07a2-4a89-a017-e23a7354ed3f" + "2415e9b4-0ea6-490d-b802-18e2b811d456" ], "x-ms-correlation-request-id": [ - "ea4593a3-07a2-4a89-a017-e23a7354ed3f" + "2415e9b4-0ea6-490d-b802-18e2b811d456" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191635Z:ea4593a3-07a2-4a89-a017-e23a7354ed3f" + "WESTUS:20150316T184448Z:2415e9b4-0ea6-490d-b802-18e2b811d456" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:35 GMT" + "Mon, 16 Mar 2015 18:44:48 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "dc346937-a902-4f3c-8644-2c84bab88f66" + "c33a4bdf-7642-4195-839b-47a765531aee" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:40 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:37 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8aa5b0a6-4776-41d8-8456-6d5da7a76b2f" + "2ebccfd0-ea02-4fb7-821f-1d6144e6afd9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI" + "https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI" ], "Date": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:40 GMT" ], "ETag": [ - "0x8D28892E6040C11" + "0x8D22E3063470F10" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI" + "https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "93e82b85-6e83-4366-b198-4e0fe5d32e97" + "7d154be0-8cc3-4038-8925-c44b5d62d48c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:40 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskPipeWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI\",\r\n \"eTag\": \"0x8D28892E6040C11\",\r\n \"lastModified\": \"2015-07-09T19:16:31.8288913Z\",\r\n \"creationTime\": \"2015-07-09T19:16:31.8288913Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:16:31.8288913Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskPipeWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI\",\r\n \"eTag\": \"0x8D22E3063470F10\",\r\n \"lastModified\": \"2015-03-16T18:44:37.1570448Z\",\r\n \"creationTime\": \"2015-03-16T18:44:37.1570448Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:44:37.1570448Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:37 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "59ec968e-4953-44f5-b207-9bf231cdffc2" + "5e01d161-8553-4a44-a660-8617529ab4fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:40 GMT" ], "ETag": [ - "0x8D28892E6040C11" + "0x8D22E3063470F10" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,28 +457,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b5e02626-b090-4c64-9d3b-db5188cac096" + "cd14b1f0-40ed-433f-8e91-81a0dd1d0a69" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:36 GMT" + "Mon, 16 Mar 2015 18:45:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskPipeWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI\",\r\n \"eTag\": \"0x8D28892E6040C11\",\r\n \"lastModified\": \"2015-07-09T19:16:31.8288913Z\",\r\n \"creationTime\": \"2015-07-09T19:16:31.8288913Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:16:31.8288913Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskPipeWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI\",\r\n \"eTag\": \"0x8D22E3063470F10\",\r\n \"lastModified\": \"2015-03-16T18:44:37.1570448Z\",\r\n \"creationTime\": \"2015-03-16T18:44:37.1570448Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:44:37.1570448Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:37 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "99f607e9-f501-4b32-b644-9c16174a92a7" + "540dfb39-b449-4ea3-b030-dc276b33fc36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +487,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:36 GMT" + "Mon, 16 Mar 2015 18:45:01 GMT" ], "ETag": [ - "0x8D28892E6040C11" + "0x8D22E3063470F10" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -514,25 +514,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2ec11812-c301-4147-b13a-a18adbfdae4c" + "e8d75cce-3429-4ad1-b224-8be96cefa716" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:41 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c1e14423-6150-4610-b2ee-820d1c934a8e" + "4c8f8669-a3c8-4878-ab9d-d2cf3f3a0c79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -541,16 +541,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:16:31 GMT" + "Mon, 16 Mar 2015 18:44:43 GMT" ], "ETag": [ - "0x8D28892E673DB7C" + "0x8D22E3066D8882F" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4241ee15-9c67-45e1-bc2d-4822007dfd14" + "f770e538-449c-4c95-a517-33860bbefc55" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:41 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892E673DB7C\",\r\n \"creationTime\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E3066D8882F\",\r\n \"creationTime\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"lastModified\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "7ec2ed3d-e375-4e9c-b875-6d96ad115904" + "b5c001d9-9d63-46ec-93d7-eb37d8c04549" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:41 GMT" ], "ETag": [ - "0x8D28892E673DB7C" + "0x8D22E3066D8882F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -619,28 +619,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "90b3120d-f0bf-4206-91c7-bcea8e72abd9" + "0d32dc62-d2c8-41ca-a287-ab13a8ac8920" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:35 GMT" + "Mon, 16 Mar 2015 18:44:48 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892E673DB7C\",\r\n \"creationTime\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:16:32.7978126Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:16:32.6976001Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:16:32.6976001Z\",\r\n \"endTime\": \"2015-07-09T19:16:32.7978126Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E3066D8882F\",\r\n \"creationTime\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"lastModified\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-16T18:44:42.2585591Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-03-16T18:44:42.1681739Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:44:42.1681739Z\",\r\n \"endTime\": \"2015-03-16T18:44:42.2585591Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-3657382398_1-20150313t235640z\",\r\n \"tvmUrl\": \"https://filetests.batch.core.windows.net/pools/testPool/tvms/tvm-3657382398_1-20150313t235640z\",\r\n \"poolName\": \"testPool\",\r\n \"tvmName\": \"tvm-3657382398_1-20150313t235640z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fc2426e0-b0fd-45da-9e7c-e85c789fc95a" + "88cf9499-cac9-423b-9c6b-ccccc9b7ee41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -649,10 +649,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:35 GMT" + "Mon, 16 Mar 2015 18:44:47 GMT" ], "ETag": [ - "0x8D28892E673DB7C" + "0x8D22E3066D8882F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -670,16 +670,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "792c62c6-c7d2-4aa8-8033-acdd1eb97806" + "8f36691f-1f30-47ca-9f62-61085383c488" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:42 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"running\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -688,7 +688,7 @@ "chunked" ], "request-id": [ - "a35a1ed3-3031-4db7-8f1c-33fc1514d763" + "d05c3566-be3b-4ed2-880d-a2cc61ff735b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -697,7 +697,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:32 GMT" + "Mon, 16 Mar 2015 18:44:42 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -715,16 +715,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5d51c887-ae56-4ec6-8148-57bcd9d80fb6" + "7b0bcb06-0566-4f8e-9efb-02034215266f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:35 GMT" + "Mon, 16 Mar 2015 18:44:44 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -733,7 +733,7 @@ "chunked" ], "request-id": [ - "019d6549-6c94-495a-bed3-24ccf258cb46" + "8fa908cb-693a-4e66-81de-f499c25ea71e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -742,7 +742,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:34 GMT" + "Mon, 16 Mar 2015 18:44:44 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -760,16 +760,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ad663dcb-15e6-4ac0-a9a2-4ca72f9d55e3" + "83cb0582-18dc-4841-8e1e-7eb3220e602e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:36 GMT" + "Mon, 16 Mar 2015 18:44:48 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:16:32.7808149Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.7808149Z\",\r\n \"contentLength\": \"2471\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:16:32.7158137Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.7158137Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:16:32.7158137Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.7888122Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:44:42.2405582Z\",\r\n \"lastModified\": \"2015-03-16T18:44:42.2405582Z\",\r\n \"contentLength\": \"1938\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:44:42.1775983Z\",\r\n \"lastModified\": \"2015-03-16T18:44:42.1775983Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:44:42.1775983Z\",\r\n \"lastModified\": \"2015-03-16T18:44:42.2475589Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -778,7 +778,7 @@ "chunked" ], "request-id": [ - "e848a8cc-c4b5-49cf-af4f-2439cd17e6c4" + "79baa03a-0245-4512-9788-497caaf509cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -787,7 +787,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:35 GMT" + "Mon, 16 Mar 2015 18:45:00 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -805,16 +805,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "9ae55278-fec1-4ec3-965a-33b0ecdc27e5" + "563a0316-111a-4310-b054-255d27c28083" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:38 GMT" + "Mon, 16 Mar 2015 18:45:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:16:32.7808149Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.7808149Z\",\r\n \"contentLength\": \"2471\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:16:32.7158137Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.7158137Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:16:32.7158137Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.7888122Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:44:42.2405582Z\",\r\n \"lastModified\": \"2015-03-16T18:44:42.2405582Z\",\r\n \"contentLength\": \"1938\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:44:42.1775983Z\",\r\n \"lastModified\": \"2015-03-16T18:44:42.1775983Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:44:42.1775983Z\",\r\n \"lastModified\": \"2015-03-16T18:44:42.2475589Z\",\r\n \"contentLength\": \"419\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -823,7 +823,7 @@ "chunked" ], "request-id": [ - "ad07ca52-f419-4a04-b8d7-0ad6f2c456e3" + "9f8fad69-d5f8-41f7-81c1-ad1fba3667ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -832,7 +832,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:38 GMT" + "Mon, 16 Mar 2015 18:45:22 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -850,16 +850,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1ef3fc62-ea56-47fa-ad14-1f20f907678f" + "39c72d2a-1adb-4da1-9697-1d1e3add5d7a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:37 GMT" + "Mon, 16 Mar 2015 18:45:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28892E614800E\",\r\n \"lastModified\": \"2015-07-09T19:16:31.9367182Z\",\r\n \"creationTime\": \"2015-07-09T19:16:31.9177107Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:16:31.9367182Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:16:31.9367182Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D22E30635C605C\",\r\n \"lastModified\": \"2015-03-16T18:44:37.2967516Z\",\r\n \"creationTime\": \"2015-03-16T18:44:37.2637323Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:44:37.2967516Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:44:37.2967516Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -868,7 +868,7 @@ "chunked" ], "request-id": [ - "6586ee0e-df9d-4c88-8928-6c063cd470a7" + "8ec0fc66-e878-4729-adc4-98dff2635190" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -877,7 +877,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:36 GMT" + "Mon, 16 Mar 2015 18:45:01 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -895,16 +895,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "258a0463-c274-4d53-9e24-41680449146b" + "172a5cb0-56dc-4b61-89d5-1e4f3f9a3507" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:37 GMT" + "Mon, 16 Mar 2015 18:45:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892E673DB7C\",\r\n \"creationTime\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"lastModified\": \"2015-07-09T19:16:32.5616508Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:16:32.7978126Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:16:32.6976001Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:16:32.6976001Z\",\r\n \"endTime\": \"2015-07-09T19:16:32.7978126Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E3066D8882F\",\r\n \"creationTime\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"lastModified\": \"2015-03-16T18:44:43.1435823Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-16T18:44:42.2585591Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-03-16T18:44:42.1681739Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:44:42.1681739Z\",\r\n \"endTime\": \"2015-03-16T18:44:42.2585591Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-3657382398_1-20150313t235640z\",\r\n \"tvmUrl\": \"https://filetests.batch.core.windows.net/pools/testPool/tvms/tvm-3657382398_1-20150313t235640z\",\r\n \"poolName\": \"testPool\",\r\n \"tvmName\": \"tvm-3657382398_1-20150313t235640z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -913,7 +913,7 @@ "chunked" ], "request-id": [ - "82688b1d-941c-4d09-94ea-5e61dcb9d34a" + "3919eb86-49cc-4ada-b1f2-4a428465c02e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -922,7 +922,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:37 GMT" + "Mon, 16 Mar 2015 18:45:01 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -940,13 +940,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f2f3c209-278e-4e18-a4c4-cd404d0572f2" + "f504693e-8351-4194-8546-9e0304ab7023" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:38 GMT" + "Mon, 16 Mar 2015 18:45:22 GMT" ] }, "ResponseBody": "", @@ -955,7 +955,7 @@ "chunked" ], "request-id": [ - "6201c7cb-abf7-4f7d-90a2-8ed880ede66e" + "937136d5-8d0d-45a7-b9f7-3b544a8f0636" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -964,7 +964,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:39 GMT" + "Mon, 16 Mar 2015 18:45:24 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesByFilter.json index dd4e77d97375..90c82432ca9b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesByFilter.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "31997" ], "x-ms-request-id": [ - "2870229b-2cf1-45be-917c-52a40bb57195" + "ad31eb09-5000-49ac-9e5e-0e29c5b07f17" ], "x-ms-correlation-request-id": [ - "2870229b-2cf1-45be-917c-52a40bb57195" + "ad31eb09-5000-49ac-9e5e-0e29c5b07f17" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191543Z:2870229b-2cf1-45be-917c-52a40bb57195" + "WESTUS:20150316T181439Z:ad31eb09-5000-49ac-9e5e-0e29c5b07f17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:42 GMT" + "Mon, 16 Mar 2015 18:14:39 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "31996" ], "x-ms-request-id": [ - "de0d68d8-8def-40fb-a0a8-17a65680cac5" + "cee97250-b2fa-49cf-8370-c617edb4f02b" ], "x-ms-correlation-request-id": [ - "de0d68d8-8def-40fb-a0a8-17a65680cac5" + "cee97250-b2fa-49cf-8370-c617edb4f02b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191549Z:de0d68d8-8def-40fb-a0a8-17a65680cac5" + "WESTUS:20150316T181448Z:cee97250-b2fa-49cf-8370-c617edb4f02b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:49 GMT" + "Mon, 16 Mar 2015 18:14:47 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:44 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "330b16cc-5666-4f53-a267-349d094396eb" + "90ceba17-c78d-41db-b136-6c00dadc41c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "31995" ], "x-ms-request-id": [ - "6dcae16b-4241-4844-af14-cf7cd850e31c" + "245609d8-2c72-45ae-ae45-62792c788f76" ], "x-ms-correlation-request-id": [ - "6dcae16b-4241-4844-af14-cf7cd850e31c" + "245609d8-2c72-45ae-ae45-62792c788f76" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191544Z:6dcae16b-4241-4844-af14-cf7cd850e31c" + "WESTUS:20150316T181440Z:245609d8-2c72-45ae-ae45-62792c788f76" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:43 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "ETag": [ - "0x8D28892C9CCF4B3" + "0x8D22E2C3431B271" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:49 GMT" + "Mon, 16 Mar 2015 18:14:48 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "46e955ef-ee51-494d-8b94-07695237e3a7" + "8335fb0b-f399-4a5d-b45c-af53e078ab24" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "31994" ], "x-ms-request-id": [ - "083d8ccc-4dd2-4f92-8428-cb99026393eb" + "ca5819a1-4d64-41d8-841f-5589384dab27" ], "x-ms-correlation-request-id": [ - "083d8ccc-4dd2-4f92-8428-cb99026393eb" + "ca5819a1-4d64-41d8-841f-5589384dab27" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191549Z:083d8ccc-4dd2-4f92-8428-cb99026393eb" + "WESTUS:20150316T181448Z:ca5819a1-4d64-41d8-841f-5589384dab27" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:48 GMT" + "Mon, 16 Mar 2015 18:14:47 GMT" ], "ETag": [ - "0x8D28892CC978AEF" + "0x8D22E2C38F85CDC" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "8dec9441-3cfb-4724-96a4-e40e61ba6493" + "fb35c4c1-6fae-42e1-bf8a-d340675fcef3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1198" ], "x-ms-request-id": [ - "b30b14b2-c9fd-44cf-9c87-b4847109db86" + "c6d77ecb-67f0-4536-9e4b-9fa858e0c2fb" ], "x-ms-correlation-request-id": [ - "b30b14b2-c9fd-44cf-9c87-b4847109db86" + "c6d77ecb-67f0-4536-9e4b-9fa858e0c2fb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191544Z:b30b14b2-c9fd-44cf-9c87-b4847109db86" + "WESTUS:20150316T181440Z:c6d77ecb-67f0-4536-9e4b-9fa858e0c2fb" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:44 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "c13e8576-b7d7-47af-9869-e0d2c0c585d0" + "ed286ac2-bff2-4c92-9641-964b113ed32f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1197" ], "x-ms-request-id": [ - "bd73f64b-6337-4429-bdfa-9fcd424fe6cb" + "89a9be39-97db-4c5b-b7e5-c30d4172aad0" ], "x-ms-correlation-request-id": [ - "bd73f64b-6337-4429-bdfa-9fcd424fe6cb" + "89a9be39-97db-4c5b-b7e5-c30d4172aad0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191549Z:bd73f64b-6337-4429-bdfa-9fcd424fe6cb" + "WESTUS:20150316T181448Z:89a9be39-97db-4c5b-b7e5-c30d4172aad0" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:48 GMT" + "Mon, 16 Mar 2015 18:14:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ff24d528-0ccf-4f4e-b0a3-6b8d7c287060" + "81ee4898-616a-431e-9d0e-330f359d716e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:44 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:39 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "53d8d807-0547-45ae-9dd2-b2e88f1a544b" + "3d20802a-4b43-4e5b-b634-fd9e7af8e7ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI" ], "Date": [ - "Thu, 09 Jul 2015 19:15:44 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "ETag": [ - "0x8D28892CA459289" + "0x8D22E2C33B84885" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "78aff494-0aa9-48c4-aab2-aa6a8aa178bb" + "ff5e92e5-15ef-495d-9803-66db237654db" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:44 GMT" + "Mon, 16 Mar 2015 18:14:41 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskFileFilterWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI\",\r\n \"eTag\": \"0x8D28892CA459289\",\r\n \"lastModified\": \"2015-07-09T19:15:45.2821129Z\",\r\n \"creationTime\": \"2015-07-09T19:15:45.2821129Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:15:45.2821129Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTaskFileFilterWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI\",\r\n \"eTag\": \"0x8D22E2C33B84885\",\r\n \"lastModified\": \"2015-03-16T18:14:39.3815173Z\",\r\n \"creationTime\": \"2015-03-16T18:14:39.3815173Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:14:39.3815173Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:39 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "51c5fb7b-1e2e-450c-86a3-5432844bf83e" + "f491034c-e879-4762-b4d6-4d3e4db6cf12" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:44 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "ETag": [ - "0x8D28892CA459289" + "0x8D22E2C33B84885" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -451,37 +451,37 @@ "RequestUri": "/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TGlzdFRhc2tGaWxlRmlsdGVyV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "362cfe12-f827-42b3-97e0-4872b267b53f" + "fb381ccd-0470-4b22-a8b2-3ea8b656a710" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:42 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "28df353e-1b6b-489c-a99d-e1ae5c79a9ce" + "e4560589-b3d3-4194-a65a-a988a6ea92a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "ETag": [ - "0x8D28892CAAF21F5" + "0x8D22E2C34A26835" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f0d650ce-2446-411d-888d-4086e149916e" + "b62d4598-7479-411e-8690-825553e4c251" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:42 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892CAAF21F5\",\r\n \"creationTime\": \"2015-07-09T19:15:45.9739125Z\",\r\n \"lastModified\": \"2015-07-09T19:15:45.9739125Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:15:45.9739125Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2C34A26835\",\r\n \"creationTime\": \"2015-03-16T18:14:40.9158709Z\",\r\n \"lastModified\": \"2015-03-16T18:14:40.9158709Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:14:40.9158709Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b512e90a-d9c4-4958-90f1-fa8684c8c764" + "9fe0dda2-9e8a-49d8-9875-6688a4a9f15c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:46 GMT" + "Mon, 16 Mar 2015 18:14:43 GMT" ], "ETag": [ - "0x8D28892CAAF21F5" + "0x8D22E2C34A26835" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e01e594c-3f6c-42c7-bd2f-0fe3cccf2f25" + "add03a13-4711-444d-a54c-6f09a71ce665" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:49 GMT" + "Mon, 16 Mar 2015 18:15:12 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892CAAF21F5\",\r\n \"creationTime\": \"2015-07-09T19:15:45.9739125Z\",\r\n \"lastModified\": \"2015-07-09T19:15:45.9739125Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:15:46.4572447Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:15:46.3532477Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:15:46.3532477Z\",\r\n \"endTime\": \"2015-07-09T19:15:46.4572447Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2C34A26835\",\r\n \"creationTime\": \"2015-03-16T18:14:40.9158709Z\",\r\n \"lastModified\": \"2015-03-16T18:14:40.9158709Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-16T18:14:43.5598669Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-03-16T18:14:43.4708787Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:14:43.4708787Z\",\r\n \"endTime\": \"2015-03-16T18:14:43.5598669Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-3657382398_1-20150313t235640z\",\r\n \"tvmUrl\": \"https://filetests.batch.core.windows.net/pools/testPool/tvms/tvm-3657382398_1-20150313t235640z\",\r\n \"poolName\": \"testPool\",\r\n \"tvmName\": \"tvm-3657382398_1-20150313t235640z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:45 GMT" + "Mon, 16 Mar 2015 18:14:40 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e4282c95-7ca2-4085-9b77-2609f4d4b8c5" + "9d2895c9-f4f3-4a92-bd26-87d927d9cf06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:49 GMT" + "Mon, 16 Mar 2015 18:15:11 GMT" ], "ETag": [ - "0x8D28892CAAF21F5" + "0x8D22E2C34A26835" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -619,16 +619,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "486a826d-26d3-4beb-92d5-bcac2702c922" + "c64a1080-8e9d-4195-8579-636c0c10edd7" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:46 GMT" + "Mon, 16 Mar 2015 18:14:43 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -637,7 +637,7 @@ "chunked" ], "request-id": [ - "92498806-f60e-4d08-bdf5-db3f671e57b1" + "8a0b6336-d441-4c90-a1ca-6f8860fa0097" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -646,7 +646,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:46 GMT" + "Mon, 16 Mar 2015 18:14:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -664,16 +664,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "119efc79-7203-467a-bef0-86c5cdd3ee4a" + "cabf5b9d-b4aa-47e4-b0da-2a21cddd5c86" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:48 GMT" + "Mon, 16 Mar 2015 18:14:45 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -682,7 +682,7 @@ "chunked" ], "request-id": [ - "2d5f947c-bf36-4d4e-a66a-39636a2386e4" + "c22416b5-6da2-4770-8ee8-73c00210d207" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +691,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:48 GMT" + "Mon, 16 Mar 2015 18:14:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -709,16 +709,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "afd9604d-f82c-43f5-96a9-aa48b77a4356" + "263836ad-6f79-4b1f-b835-cf5666a577a4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:49 GMT" + "Mon, 16 Mar 2015 18:14:48 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:46.3632448Z\",\r\n \"lastModified\": \"2015-07-09T19:15:46.3632448Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:46.362245Z\",\r\n \"lastModified\": \"2015-07-09T19:15:46.4332452Z\",\r\n \"contentLength\": \"425\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:14:43.4798735Z\",\r\n \"lastModified\": \"2015-03-16T18:14:43.4798735Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:14:43.4798735Z\",\r\n \"lastModified\": \"2015-03-16T18:14:43.5428711Z\",\r\n \"contentLength\": \"425\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -727,7 +727,7 @@ "chunked" ], "request-id": [ - "54aac630-2dd8-4c01-8bbb-a29bb583debd" + "d769ff9c-89a7-49ac-8fa5-5b3333f54d23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +736,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:49 GMT" + "Mon, 16 Mar 2015 18:15:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -754,16 +754,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a1f28ac6-e74c-420e-99a9-a82426b7c8b6" + "ead21ac9-1f97-4ac6-8210-104cc83f356a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:50 GMT" + "Mon, 16 Mar 2015 18:15:12 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:46.3632448Z\",\r\n \"lastModified\": \"2015-07-09T19:15:46.3632448Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:46.362245Z\",\r\n \"lastModified\": \"2015-07-09T19:15:46.4332452Z\",\r\n \"contentLength\": \"425\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:14:43.4798735Z\",\r\n \"lastModified\": \"2015-03-16T18:14:43.4798735Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTaskFileFilterWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:14:43.4798735Z\",\r\n \"lastModified\": \"2015-03-16T18:14:43.5428711Z\",\r\n \"contentLength\": \"425\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -772,7 +772,7 @@ "chunked" ], "request-id": [ - "645b7f22-b6a6-4f49-ad16-9bb0acff3af8" + "55d9a65a-f34f-4c90-b149-7f0a987b3fbc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -781,7 +781,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:50 GMT" + "Mon, 16 Mar 2015 18:15:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -799,13 +799,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "75ccb2d7-97ca-4406-bb9c-a6e78a08cec6" + "95d98a95-0e9a-4c2d-8d1c-852a0805dc89" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:50 GMT" + "Mon, 16 Mar 2015 18:15:13 GMT" ] }, "ResponseBody": "", @@ -814,7 +814,7 @@ "chunked" ], "request-id": [ - "a46bbf0f-5a33-4f18-ad23-f2913b8ca5d0" + "5e7a94ae-ac4d-40ad-bd6a-30a6553500ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -823,7 +823,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:50 GMT" + "Mon, 16 Mar 2015 18:15:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesRecursive.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesRecursive.json index 52da17a40eb7..01857b74b462 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesRecursive.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesRecursive.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "31994" ], "x-ms-request-id": [ - "374fd330-153a-4e80-8600-3117e2e9e92c" + "ff12a99a-2455-42fc-b7ff-b6ef7b78d1b0" ], "x-ms-correlation-request-id": [ - "374fd330-153a-4e80-8600-3117e2e9e92c" + "ff12a99a-2455-42fc-b7ff-b6ef7b78d1b0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191740Z:374fd330-153a-4e80-8600-3117e2e9e92c" + "WESTUS:20150316T185853Z:ff12a99a-2455-42fc-b7ff-b6ef7b78d1b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:39 GMT" + "Mon, 16 Mar 2015 18:58:53 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "31993" ], "x-ms-request-id": [ - "cffa3e1c-098c-4b5a-965e-7785df0d0c44" + "13028389-ee3e-4c24-b8d6-40e07bf79b4e" ], "x-ms-correlation-request-id": [ - "cffa3e1c-098c-4b5a-965e-7785df0d0c44" + "13028389-ee3e-4c24-b8d6-40e07bf79b4e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191745Z:cffa3e1c-098c-4b5a-965e-7785df0d0c44" + "WESTUS:20150316T185902Z:13028389-ee3e-4c24-b8d6-40e07bf79b4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:44 GMT" + "Mon, 16 Mar 2015 18:59:01 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:55 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "aa27ab32-0ec8-42e6-8f80-06fb2d38a148" + "24444018-8c16-4d92-9b7a-a55ccccddb1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "31997" ], "x-ms-request-id": [ - "24e3743c-0519-4566-b1c1-f3e5a45c6a68" + "0b645ce5-49d2-474a-ad9a-0b5999de0680" ], "x-ms-correlation-request-id": [ - "24e3743c-0519-4566-b1c1-f3e5a45c6a68" + "0b645ce5-49d2-474a-ad9a-0b5999de0680" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191741Z:24e3743c-0519-4566-b1c1-f3e5a45c6a68" + "WESTUS:20150316T185855Z:0b645ce5-49d2-474a-ad9a-0b5999de0680" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:40 GMT" + "Mon, 16 Mar 2015 18:58:54 GMT" ], "ETag": [ - "0x8D288930F77B503" + "0x8D22E3262DA7637" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:17:46 GMT" + "Mon, 16 Mar 2015 18:59:02 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "5753459b-00c1-47f5-b06c-7d34e7800a66" + "cae44da2-a996-4ce2-a628-adc33cb950ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "31996" ], "x-ms-request-id": [ - "b8a9231c-390a-4e56-b951-8e7795ba0122" + "6f3d8093-2d72-4ae5-b8d4-a5c4d3588c33" ], "x-ms-correlation-request-id": [ - "b8a9231c-390a-4e56-b951-8e7795ba0122" + "6f3d8093-2d72-4ae5-b8d4-a5c4d3588c33" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191745Z:b8a9231c-390a-4e56-b951-8e7795ba0122" + "WESTUS:20150316T185902Z:6f3d8093-2d72-4ae5-b8d4-a5c4d3588c33" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:45 GMT" + "Mon, 16 Mar 2015 18:59:01 GMT" ], "ETag": [ - "0x8D2889312518078" + "0x8D22E32673707F8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "47e0ab43-1fe3-4281-a9d5-feda2678127d" + "8a2d4bc6-0a9d-4664-8689-a209f62552eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1199" ], "x-ms-request-id": [ - "d706b5bd-8d5d-49db-835c-d10d1f5b1f92" + "7c0c6b5e-826c-4a26-a6aa-b44e753483ba" ], "x-ms-correlation-request-id": [ - "d706b5bd-8d5d-49db-835c-d10d1f5b1f92" + "7c0c6b5e-826c-4a26-a6aa-b44e753483ba" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191741Z:d706b5bd-8d5d-49db-835c-d10d1f5b1f92" + "WESTUS:20150316T185855Z:7c0c6b5e-826c-4a26-a6aa-b44e753483ba" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:40 GMT" + "Mon, 16 Mar 2015 18:58:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "1284ebae-a1a9-4e5e-bb51-0e1e66ce565d" + "12db14f5-05f3-4d9a-9819-5ff203cff40b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1198" ], "x-ms-request-id": [ - "1e8baf5d-a3ba-42bc-a8b5-4ba3827ee7d3" + "9cf9c452-4039-4503-b609-41ba763140e9" ], "x-ms-correlation-request-id": [ - "1e8baf5d-a3ba-42bc-a8b5-4ba3827ee7d3" + "9cf9c452-4039-4503-b609-41ba763140e9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191745Z:1e8baf5d-a3ba-42bc-a8b5-4ba3827ee7d3" + "WESTUS:20150316T185902Z:9cf9c452-4039-4503-b609-41ba763140e9" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:45 GMT" + "Mon, 16 Mar 2015 18:59:02 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bc3a48bd-08b5-4fa9-a14d-604e89cfcbed" + "13b5898a-3244-43a5-a731-df6af6ff0b09" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:55 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:52 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "220687f1-7aa5-4500-bcdd-a6e3e7b3474b" + "ab38d7ff-abd6-4c2e-95b7-687fa8feb795" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI" + "https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI" ], "Date": [ - "Thu, 09 Jul 2015 19:17:40 GMT" + "Mon, 16 Mar 2015 18:58:54 GMT" ], "ETag": [ - "0x8D288930FBFD620" + "0x8D22E3260E58DDD" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI" + "https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5858cd66-6985-465f-baac-aa12b8fe5d78" + "9f7cd407-7e5d-421e-878c-3e247b8003c7" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:56 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTFRecursiveWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI\",\r\n \"eTag\": \"0x8D288930FBFD620\",\r\n \"lastModified\": \"2015-07-09T19:17:41.8461728Z\",\r\n \"creationTime\": \"2015-07-09T19:17:41.8461728Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:17:41.8461728Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testListTFRecursiveWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI\",\r\n \"eTag\": \"0x8D22E3260E58DDD\",\r\n \"lastModified\": \"2015-03-16T18:58:52.1560541Z\",\r\n \"creationTime\": \"2015-03-16T18:58:52.1560541Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:58:52.1560541Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:52 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "77dd58e7-3f19-4992-b114-f85a0a600590" + "21282a85-45b2-4744-8936-02a3d269b29d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:54 GMT" ], "ETag": [ - "0x8D288930FBFD620" + "0x8D22E3260E58DDD" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -463,25 +463,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f30a5581-8f11-4343-8196-faa998b3f613" + "673c4ca0-a4f5-4e4c-8803-9487cb4484e3" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:41 GMT" + "Mon, 16 Mar 2015 18:58:56 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "5301e6b7-264d-4ba3-8b4b-9509d33fc3e4" + "413345b0-c43b-47c7-8938-2b0443aa28a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:56 GMT" ], "ETag": [ - "0x8D288931028614F" + "0x8D22E3263C2F800" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6959a4c9-17c5-4afe-8682-52a3c644fecc" + "4ef80757-a4d3-4bee-8151-eb08a9e4e66e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:57 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D288931028614F\",\r\n \"creationTime\": \"2015-07-09T19:17:42.5313103Z\",\r\n \"lastModified\": \"2015-07-09T19:17:42.5313103Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:17:42.5313103Z\",\r\n \"commandLine\": \"cmd /c echo \\\"test file\\\" > testFile.txt\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E3263C2F800\",\r\n \"creationTime\": \"2015-03-16T18:58:56.96256Z\",\r\n \"lastModified\": \"2015-03-16T18:58:56.96256Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:58:56.96256Z\",\r\n \"commandLine\": \"cmd /c echo \\\"test file\\\" > testFile.txt\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8db9a67f-c23d-4e51-aad7-cfd1c62e3e45" + "435cbc51-62e9-4d58-9067-a299f5f09df3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:57 GMT" ], "ETag": [ - "0x8D288931028614F" + "0x8D22E3263C2F800" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,16 +568,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "364dcb82-0a9c-4e86-9ff3-dce5ad631cbf" + "568224f2-f228-43c4-8491-95ae682c1be1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:57 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"running\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -586,7 +586,7 @@ "chunked" ], "request-id": [ - "ba76e9bd-fc56-4183-817c-5daaa56f3e41" + "b533b177-fb78-4f3e-bc5a-ffb10885bd58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +595,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:42 GMT" + "Mon, 16 Mar 2015 18:58:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -613,16 +613,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "83d622e4-b126-4d1b-ac75-81ebbf8f841c" + "8e41d765-a7a8-40bd-a0f9-9da682c64ce8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:45 GMT" + "Mon, 16 Mar 2015 18:58:59 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -631,7 +631,7 @@ "chunked" ], "request-id": [ - "fbe74b08-9a2a-4a15-a6c3-c497019d05ef" + "b094c2ab-efb1-42d5-9939-deac7a847676" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +640,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:45 GMT" + "Mon, 16 Mar 2015 18:58:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -658,16 +658,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "68f7de0f-e9f6-4f46-8c96-f803b2333f53" + "b041fee2-c066-4ec6-8e2c-5282e1261cf2" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:45 GMT" + "Mon, 16 Mar 2015 18:59:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -676,7 +676,7 @@ "chunked" ], "request-id": [ - "9141d702-6630-4949-ac53-c738c2774c90" + "675e8d3e-d694-44fe-96e2-10e15172f27e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -685,7 +685,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:46 GMT" + "Mon, 16 Mar 2015 18:59:22 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -703,16 +703,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "33d853c3-7e44-4f5f-9a68-0f4d55995d9f" + "759d49e0-b708-4ad4-b859-e8b698c4ba8f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:46 GMT" + "Mon, 16 Mar 2015 18:59:22 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"wd\\\\testFile.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask/files/wd\\\\testFile.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:17:43.1674558Z\",\r\n \"lastModified\": \"2015-07-09T19:17:43.1674558Z\",\r\n \"contentLength\": \"14\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"wd\\\\testFile.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testListTFRecursiveWI/jobs/job-0000000001/tasks/testTask/files/wd\\\\testFile.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:58:57.2355836Z\",\r\n \"lastModified\": \"2015-03-16T18:58:57.2355836Z\",\r\n \"contentLength\": \"14\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -721,7 +721,7 @@ "chunked" ], "request-id": [ - "530e12bb-36d0-457e-b452-a2f75851adf7" + "542bf565-281e-497e-874e-fc69fa7eab1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -730,7 +730,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:45 GMT" + "Mon, 16 Mar 2015 18:59:25 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -748,13 +748,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cc1ab08a-8e2c-4de3-a433-8615027b6528" + "e2d68dd4-f1a5-45bf-aaa4-24bf5c5d6c30" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:46 GMT" + "Mon, 16 Mar 2015 18:59:23 GMT" ] }, "ResponseBody": "", @@ -763,7 +763,7 @@ "chunked" ], "request-id": [ - "0dcebced-60a5-4e63-993d-9b23c6ce3ae6" + "d37b0180-917e-4158-aa4c-d5123c7202e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -772,7 +772,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:46 GMT" + "Mon, 16 Mar 2015 18:59:22 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesWithMaxCount.json index 98344d2039e5..225a1451ecbb 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListTaskFilesWithMaxCount.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "31993" ], "x-ms-request-id": [ - "794e5f38-cac4-427a-af7c-bb595e84f1d7" + "af5e7a87-0ffd-43d7-91a0-2bdb6c028277" ], "x-ms-correlation-request-id": [ - "794e5f38-cac4-427a-af7c-bb595e84f1d7" + "af5e7a87-0ffd-43d7-91a0-2bdb6c028277" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191517Z:794e5f38-cac4-427a-af7c-bb595e84f1d7" + "WESTUS:20150316T181855Z:af5e7a87-0ffd-43d7-91a0-2bdb6c028277" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:17 GMT" + "Mon, 16 Mar 2015 18:18:55 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "740" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "31992" ], "x-ms-request-id": [ - "4565c9ff-a064-4e08-8a0b-fc249d49efb8" + "a07fbfc6-4be5-4a97-9206-64639adf4ef2" ], "x-ms-correlation-request-id": [ - "4565c9ff-a064-4e08-8a0b-fc249d49efb8" + "a07fbfc6-4be5-4a97-9206-64639adf4ef2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191523Z:4565c9ff-a064-4e08-8a0b-fc249d49efb8" + "WESTUS:20150316T181904Z:a07fbfc6-4be5-4a97-9206-64639adf4ef2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:22 GMT" + "Mon, 16 Mar 2015 18:19:04 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:18 GMT" + "Mon, 16 Mar 2015 18:18:54 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "e4dcafd5-4811-48f9-808b-27edaed18983" + "59905e73-c58c-43a4-9c79-607c5e93677f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "31995" ], "x-ms-request-id": [ - "22da4047-03a2-40f3-98f6-5b0fb3e6b576" + "2ebb0573-74bc-4afb-bee8-398bef7a8d8b" ], "x-ms-correlation-request-id": [ - "22da4047-03a2-40f3-98f6-5b0fb3e6b576" + "2ebb0573-74bc-4afb-bee8-398bef7a8d8b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191518Z:22da4047-03a2-40f3-98f6-5b0fb3e6b576" + "WESTUS:20150316T181857Z:2ebb0573-74bc-4afb-bee8-398bef7a8d8b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:17 GMT" + "Mon, 16 Mar 2015 18:18:56 GMT" ], "ETag": [ - "0x8D28892BA283B5C" + "0x8D22E2CCB9B224B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "314" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:01 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "bed4c52e-f03c-4a00-9382-3eccf4de1445" + "3e74be26-a931-4c1e-8d37-b8ea01d95c76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "31994" ], "x-ms-request-id": [ - "54b070d1-60e3-47e6-9545-c3ae61791ea8" + "4b2bf7eb-0c29-4964-9508-cfe042bd7241" ], "x-ms-correlation-request-id": [ - "54b070d1-60e3-47e6-9545-c3ae61791ea8" + "4b2bf7eb-0c29-4964-9508-cfe042bd7241" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191523Z:54b070d1-60e3-47e6-9545-c3ae61791ea8" + "WESTUS:20150316T181904Z:4b2bf7eb-0c29-4964-9508-cfe042bd7241" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:04 GMT" ], "ETag": [ - "0x8D28892BD056037" + "0x8D22E2CD01A6F98" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "4d802655-af84-44ef-bb51-fb5ee4afaa65" + "0c4e3c6e-2396-4def-9aab-b36bcaaf4453" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1174" + "1196" ], "x-ms-request-id": [ - "1683eb9c-5633-4555-a82f-993cda407abe" + "2c52299a-c808-4a63-8299-3679d4263b2a" ], "x-ms-correlation-request-id": [ - "1683eb9c-5633-4555-a82f-993cda407abe" + "2c52299a-c808-4a63-8299-3679d4263b2a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191518Z:1683eb9c-5633-4555-a82f-993cda407abe" + "WESTUS:20150316T181857Z:2c52299a-c808-4a63-8299-3679d4263b2a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:17 GMT" + "Mon, 16 Mar 2015 18:18:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/file-tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2ZpbGUtdGVzdHMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL2ZpbGV0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"gs6pQ+s1o6fhgUkmhoPWOR2ulrziKOTOCAsNEPaS3YudZqQdsz5srX2xMr3BVAMyeznOFeHEfWn6j03Rsf9dzw==\",\r\n \"secondary\": \"25FU/EyZDPgajbyq5nSjTwY29dIMn+ilBl/v9lxnObv4r8cxFto4iiTxNSCjyJEeeoWzvTxL9VXQpNc0Z+ce8A==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "8ec73bc8-c7ba-4324-9cb1-69bfdfbc2257" + "394a4b74-1412-4d48-bacb-47e5159ff4f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1173" + "1195" ], "x-ms-request-id": [ - "b5492b28-e5f1-4183-8633-d4a7697df32f" + "9e9acb76-9f57-4ef6-9fdf-7b0b7dd40702" ], "x-ms-correlation-request-id": [ - "b5492b28-e5f1-4183-8633-d4a7697df32f" + "9e9acb76-9f57-4ef6-9fdf-7b0b7dd40702" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191523Z:b5492b28-e5f1-4183-8633-d4a7697df32f" + "WESTUS:20150316T181904Z:9e9acb76-9f57-4ef6-9fdf-7b0b7dd40702" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +352,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "45ce2b34-c113-4c19-99f8-ad7348b019f3" + "f598c37d-e078-4fdf-a298-4f4dd45549bf" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:18 GMT" + "Mon, 16 Mar 2015 18:18:57 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:18:55 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ab0b585f-4328-4cd2-93d3-574c5efe35e0" + "22c0c444-e417-4375-8cd1-d08f408840bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +379,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI" + "https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI" ], "Date": [ - "Thu, 09 Jul 2015 19:15:18 GMT" + "Mon, 16 Mar 2015 18:18:58 GMT" ], "ETag": [ - "0x8D28892BAB5821A" + "0x8D22E2CCC7CDA4C" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI" + "https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +406,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ca032581-707e-4eaf-b87e-615d29bf669e" + "6738eaee-5ec4-4749-908f-38314594103d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:18 GMT" + "Mon, 16 Mar 2015 18:18:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testTaskFileMaxWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI\",\r\n \"eTag\": \"0x8D28892BAB5821A\",\r\n \"lastModified\": \"2015-07-09T19:15:19.1721498Z\",\r\n \"creationTime\": \"2015-07-09T19:15:19.1721498Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:15:19.1721498Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testTaskFileMaxWI\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI\",\r\n \"eTag\": \"0x8D22E2CCC7CDA4C\",\r\n \"lastModified\": \"2015-03-16T18:18:55.683438Z\",\r\n \"creationTime\": \"2015-03-16T18:18:55.683438Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:18:55.683438Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:18:55 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "870cf570-6a52-4ae6-a16e-df586f688585" + "33260187-655c-4a77-aa19-2a9d6218ce32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +436,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:18:58 GMT" ], "ETag": [ - "0x8D28892BAB5821A" + "0x8D22E2CCC7CDA4C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -451,37 +451,37 @@ "RequestUri": "/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0VGFza0ZpbGVNYXhXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "057283f4-1c7b-4d50-8c63-eb9647bb4582" + "2f681832-ac61-4487-acf9-faaf9d7566e8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:18:58 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:19:00 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a1fcbfd8-734e-4e21-8f20-18e366ee78fb" + "3a0d4479-0ce2-459d-a3d8-f7068f24f2b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +490,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:19:00 GMT" ], "ETag": [ - "0x8D28892BB17730E" + "0x8D22E2CCF983BF9" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask" + "https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a8e392d5-ec2d-4447-b38e-14b48f353e17" + "94605271-7e69-4cfe-88d1-06a22ce21bbc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:18:59 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892BB17730E\",\r\n \"creationTime\": \"2015-07-09T19:15:19.8140174Z\",\r\n \"lastModified\": \"2015-07-09T19:15:19.8140174Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:15:19.8140174Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2CCF983BF9\",\r\n \"creationTime\": \"2015-03-16T18:19:00.8960505Z\",\r\n \"lastModified\": \"2015-03-16T18:19:00.8960505Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-16T18:19:00.8960505Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:19:00 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "85872ada-5f5c-4939-a30d-6621f4aeb55c" + "d7b167b1-1bdf-4913-aa09-aeb651c79b17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:20 GMT" + "Mon, 16 Mar 2015 18:18:59 GMT" ], "ETag": [ - "0x8D28892BB17730E" + "0x8D22E2CCF983BF9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b606be1e-ea5c-4fba-9282-85389f614eba" + "0aa13470-1cf2-4358-908f-600d6fe61a40" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:28 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D28892BB17730E\",\r\n \"creationTime\": \"2015-07-09T19:15:19.8140174Z\",\r\n \"lastModified\": \"2015-07-09T19:15:19.8140174Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:15:21.1613669Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:15:21.0683519Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:15:21.0683519Z\",\r\n \"endTime\": \"2015-07-09T19:15:21.1613669Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22E2CCF983BF9\",\r\n \"creationTime\": \"2015-03-16T18:19:00.8960505Z\",\r\n \"lastModified\": \"2015-03-16T18:19:00.8960505Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-16T18:18:59.6896328Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-03-16T18:18:59.6006332Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-16T18:18:59.6006332Z\",\r\n \"endTime\": \"2015-03-16T18:18:59.6896328Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-3657382398_1-20150313t235640z\",\r\n \"tvmUrl\": \"https://filetests.batch.core.windows.net/pools/testPool/tvms/tvm-3657382398_1-20150313t235640z\",\r\n \"poolName\": \"testPool\",\r\n \"tvmName\": \"tvm-3657382398_1-20150313t235640z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:19:00 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e3b302be-3a58-41a6-983e-52e2c738b220" + "0a9bd169-68ab-4b6c-88ca-7f5ba3a9341e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:27 GMT" ], "ETag": [ - "0x8D28892BB17730E" + "0x8D22E2CCF983BF9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -619,16 +619,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5cc1f117-0a59-4e05-a480-89fff1d4ca2b" + "72bac535-fec9-4d06-aac8-0e07d6fa1d87" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:18:59 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"active\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -637,7 +637,7 @@ "chunked" ], "request-id": [ - "d6cecfb4-08cd-4903-ba30-9a6ce1d7ac6b" + "a8480f10-19b9-4fef-b3fa-499abcffa546" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -646,7 +646,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:19 GMT" + "Mon, 16 Mar 2015 18:19:00 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -664,16 +664,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "023676fe-7a54-4d43-96d0-3e8c5cb5ff96" + "0966d75f-3c79-4460-8acf-1ef498fde4f5" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:22 GMT" + "Mon, 16 Mar 2015 18:19:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"state\": \"completed\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -682,7 +682,7 @@ "chunked" ], "request-id": [ - "90fb9c75-9739-4c7a-b15b-641d0e5057e2" + "6b0a8979-0b68-449d-90c5-a10828238470" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +691,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:22 GMT" + "Mon, 16 Mar 2015 18:19:02 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -709,16 +709,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c6bc01a6-7b71-425c-9aa0-d7ffe66d593e" + "4573ebaf-9c62-44d7-81cf-4eff5dc05a76" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:04 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:21.1413682Z\",\r\n \"lastModified\": \"2015-07-09T19:15:21.1423675Z\",\r\n \"contentLength\": \"2461\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:21.0783673Z\",\r\n \"lastModified\": \"2015-07-09T19:15:21.0783673Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:21.0773658Z\",\r\n \"lastModified\": \"2015-07-09T19:15:21.1493677Z\",\r\n \"contentLength\": \"418\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:18:59.6656343Z\",\r\n \"lastModified\": \"2015-03-16T18:18:59.6666337Z\",\r\n \"contentLength\": \"1931\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:18:59.6106559Z\",\r\n \"lastModified\": \"2015-03-16T18:18:59.6106559Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:18:59.6106559Z\",\r\n \"lastModified\": \"2015-03-16T18:18:59.6746341Z\",\r\n \"contentLength\": \"418\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -727,7 +727,7 @@ "chunked" ], "request-id": [ - "61dd311e-8fce-42d4-b62e-7b849a00a077" + "321ca16b-7dec-46bf-841a-a92ff7c4a6ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +736,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:23 GMT" + "Mon, 16 Mar 2015 18:19:25 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -754,16 +754,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "11511e54-111b-4350-81d5-693a233b9326" + "b0d47cba-9212-46f2-8c09-30b16c87385b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:24 GMT" + "Mon, 16 Mar 2015 18:19:28 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:21.1413682Z\",\r\n \"lastModified\": \"2015-07-09T19:15:21.1423675Z\",\r\n \"contentLength\": \"2461\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:21.0783673Z\",\r\n \"lastModified\": \"2015-07-09T19:15:21.0783673Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:15:21.0773658Z\",\r\n \"lastModified\": \"2015-07-09T19:15:21.1493677Z\",\r\n \"contentLength\": \"418\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:18:59.6656343Z\",\r\n \"lastModified\": \"2015-03-16T18:18:59.6666337Z\",\r\n \"contentLength\": \"1931\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stderr.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:18:59.6106559Z\",\r\n \"lastModified\": \"2015-03-16T18:18:59.6106559Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"stdout.txt\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-16T18:18:59.6106559Z\",\r\n \"lastModified\": \"2015-03-16T18:18:59.6746341Z\",\r\n \"contentLength\": \"418\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"wd\",\r\n \"url\": \"https://filetests.batch.core.windows.net/workitems/testTaskFileMaxWI/jobs/job-0000000001/tasks/testTask/files/wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -772,7 +772,7 @@ "chunked" ], "request-id": [ - "ad134e8b-49d9-4af5-bfde-170f1a6ea293" + "2a999db5-9d75-4b46-a891-6abe356881db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -781,7 +781,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:24 GMT" + "Mon, 16 Mar 2015 18:19:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -799,13 +799,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "45c05cda-86df-4624-9cb4-0f7180be66a6" + "4f7d94a8-7b9b-4086-80d6-cbdd93b5f439" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:15:24 GMT" + "Mon, 16 Mar 2015 18:19:29 GMT" ] }, "ResponseBody": "", @@ -814,7 +814,7 @@ "chunked" ], "request-id": [ - "18b52f59-41a2-4abc-95bd-b3ec3b4d5c3d" + "26e0d0d3-2075-4ccf-82dd-c28bca3fce8d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -823,7 +823,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:15:24 GMT" + "Mon, 16 Mar 2015 18:19:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilePipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilePipeline.json index 50f69b614123..bb1fa646a71d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilePipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilePipeline.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "31990" ], "x-ms-request-id": [ - "abf884c0-4077-474d-8df7-89f11e19ede5" + "a4864a61-7911-4538-a995-4204b4805df0" ], "x-ms-correlation-request-id": [ - "abf884c0-4077-474d-8df7-89f11e19ede5" + "a4864a61-7911-4538-a995-4204b4805df0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191720Z:abf884c0-4077-474d-8df7-89f11e19ede5" + "CENTRALUS:20150331T212723Z:a4864a61-7911-4538-a995-4204b4805df0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:20 GMT" + "Tue, 31 Mar 2015 21:27:23 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:17:21 GMT" + "Tue, 31 Mar 2015 21:27:23 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d1e3c874-f8e5-412c-9cb9-acf051cf2b86" + "dda73c49-cd29-4f21-b877-40a3d928586f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31990" ], "x-ms-request-id": [ - "456dac2a-e887-4e52-a31b-d102f752e9ec" + "dbb86bc9-ea0d-4254-b5f8-5fcda6b6660b" ], "x-ms-correlation-request-id": [ - "456dac2a-e887-4e52-a31b-d102f752e9ec" + "dbb86bc9-ea0d-4254-b5f8-5fcda6b6660b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191721Z:456dac2a-e887-4e52-a31b-d102f752e9ec" + "CENTRALUS:20150331T212723Z:dbb86bc9-ea0d-4254-b5f8-5fcda6b6660b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:20 GMT" + "Tue, 31 Mar 2015 21:27:23 GMT" ], "ETag": [ - "0x8D2889303E00CA3" + "0x8D23A109CB1BD3D" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "369d9273-03b4-4545-8cb2-e5ddbfc300b0" + "7d2d4f6d-420d-4083-8aed-c9faeefbc625" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1195" ], "x-ms-request-id": [ - "51eb70b2-d38d-43d6-884a-b2a8b5e4d506" + "4bb98bf0-a96a-4a6a-9583-8b759514082f" ], "x-ms-correlation-request-id": [ - "51eb70b2-d38d-43d6-884a-b2a8b5e4d506" + "4bb98bf0-a96a-4a6a-9583-8b759514082f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191721Z:51eb70b2-d38d-43d6-884a-b2a8b5e4d506" + "CENTRALUS:20150331T212723Z:4bb98bf0-a96a-4a6a-9583-8b759514082f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:17:20 GMT" + "Tue, 31 Mar 2015 21:27:23 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1d080909-39fc-4a8f-925a-10eeb82a44f4" + "0436f984-51f3-440c-a225-cab7f943f995" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:21 GMT" + "Tue, 31 Mar 2015 21:27:23 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 10,\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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t200107z\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T20:05:49.9151074Z\",\r\n \"lastBootTime\": \"2015-03-31T20:05:49.7391087Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T20:01:07.1482714Z\",\r\n \"ipAddress\": \"100.77.160.57\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t200107z\",\r\n \"tvmSize\": \"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-03-31T20:05:49.9521089Z\",\r\n \"endTime\": \"2015-03-31T20:05:51.5957379Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "15a711b2-a151-473b-aff3-17e02a35014c" + "045be308-ad12-4b4c-a3e8-10d21ef81648" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:21 GMT" + "Tue, 31 Mar 2015 21:27:24 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b4a9420d-556b-4fd2-976b-42c213586cc5" + "fce35c88-7f38-4d80-a202-6854c4cf819a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:22 GMT" + "Tue, 31 Mar 2015 21:27:24 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "825a61b0-f58d-4463-93a5-4cba092cddb0" + "c71a3d36-44fc-465a-a687-8c09c4080a95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:21 GMT" + "Tue, 31 Mar 2015 21:27:25 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -261,6 +261,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesByFilter.json index 436f3ab02cf4..05da22fbc289 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesByFilter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "31989" ], "x-ms-request-id": [ - "db0c8a74-9127-4f8e-8429-5c110b88c062" + "a8df4612-33e1-4eca-981f-e779db665877" ], "x-ms-correlation-request-id": [ - "db0c8a74-9127-4f8e-8429-5c110b88c062" + "a8df4612-33e1-4eca-981f-e779db665877" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191658Z:db0c8a74-9127-4f8e-8429-5c110b88c062" + "CENTRALUS:20150331T212729Z:a8df4612-33e1-4eca-981f-e779db665877" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:57 GMT" + "Tue, 31 Mar 2015 21:27:28 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:16:59 GMT" + "Tue, 31 Mar 2015 21:27:29 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "fa09da7a-23df-4bc3-a4f1-98e5e0c6d072" + "fa928d82-7b2d-4a83-a1a9-95b880acd4bf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "31989" ], "x-ms-request-id": [ - "488b0862-6087-4382-b495-df2e6825ee6f" + "fcc313a2-8abc-4945-9e34-63cffb310092" ], "x-ms-correlation-request-id": [ - "488b0862-6087-4382-b495-df2e6825ee6f" + "fcc313a2-8abc-4945-9e34-63cffb310092" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191659Z:488b0862-6087-4382-b495-df2e6825ee6f" + "CENTRALUS:20150331T212729Z:fcc313a2-8abc-4945-9e34-63cffb310092" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:58 GMT" + "Tue, 31 Mar 2015 21:27:28 GMT" ], "ETag": [ - "0x8D28892F6A1E423" + "0x8D23A10A045F96F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "57cabe46-0bb4-4534-b4bc-3b1427c56b76" + "9fc24be1-3ce3-4c99-85c7-89980eddc90f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1172" + "1194" ], "x-ms-request-id": [ - "0ba2f925-acfa-4892-971a-294ba5bca537" + "a016a274-7d70-40fa-a117-c4c459acd95f" ], "x-ms-correlation-request-id": [ - "0ba2f925-acfa-4892-971a-294ba5bca537" + "a016a274-7d70-40fa-a117-c4c459acd95f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191659Z:0ba2f925-acfa-4892-971a-294ba5bca537" + "CENTRALUS:20150331T212729Z:a016a274-7d70-40fa-a117-c4c459acd95f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:16:58 GMT" + "Tue, 31 Mar 2015 21:27:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False&$filter=startswith(name%2C's')", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZSYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3cyUyNyUyOQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False&$filter=startswith(name%2C's')", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZSYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3cyUyNyUyOQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "03114fa8-6dbd-4b95-b583-c8cd891a9766" + "6b06b37f-dc1c-477d-9be4-773021dd7320" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:16:59 GMT" + "Tue, 31 Mar 2015 21:27:29 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "95867e68-c55c-43e9-9d6d-a25111b3e372" + "f8726a18-4e3f-4ad7-9d14-6a07f351dc30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:16:59 GMT" + "Tue, 31 Mar 2015 21:27:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False&$filter=startswith(name%2C's')", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZSYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3cyUyNyUyOQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False&$filter=startswith(name%2C's')", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZSYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3cyUyNyUyOQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "46c65920-151e-4030-b37c-3e7967660636" + "1ef7837a-97eb-462a-b347-9ff36cc3f23e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:00 GMT" + "Tue, 31 Mar 2015 21:27:31 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "84e69a53-822b-4293-bd43-fcd7418d4651" + "1313cb9a-f363-4d67-aa86-305b5f159748" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:00 GMT" + "Tue, 31 Mar 2015 21:27:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -259,8 +259,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -268,16 +268,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "45abb274-7b02-4ab8-8d57-1738f6f6a64d" + "6d8bab8d-7330-436b-95a5-f79f8238d57c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:17:00 GMT" + "Tue, 31 Mar 2015 21:27:30 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 10,\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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t200107z\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T20:05:49.9151074Z\",\r\n \"lastBootTime\": \"2015-03-31T20:05:49.7391087Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T20:01:07.1482714Z\",\r\n \"ipAddress\": \"100.77.160.57\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t200107z\",\r\n \"tvmSize\": \"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-03-31T20:05:49.9521089Z\",\r\n \"endTime\": \"2015-03-31T20:05:51.5957379Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -286,7 +286,7 @@ "chunked" ], "request-id": [ - "bf56409b-c89e-44b0-8c4f-83dbec276eeb" + "402b81fa-666a-4384-816e-17b1c60be8b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -295,7 +295,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:17:00 GMT" + "Tue, 31 Mar 2015 21:27:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -306,6 +306,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesRecursive.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesRecursive.json index f7c8f0ffc855..9189a1dbd340 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesRecursive.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesRecursive.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" + "31984" ], "x-ms-request-id": [ - "12e2bc47-533e-48c9-b2e0-28aa5c6f5d65" + "2f52dc1d-87bd-4092-8814-8e74bafd6660" ], "x-ms-correlation-request-id": [ - "12e2bc47-533e-48c9-b2e0-28aa5c6f5d65" + "2f52dc1d-87bd-4092-8814-8e74bafd6660" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191926Z:12e2bc47-533e-48c9-b2e0-28aa5c6f5d65" + "CENTRALUS:20150331T212835Z:2f52dc1d-87bd-4092-8814-8e74bafd6660" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:26 GMT" + "Tue, 31 Mar 2015 21:28:35 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:19:27 GMT" + "Tue, 31 Mar 2015 21:28:36 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "c1bfa957-f1bd-4ec4-8871-958cb4b34503" + "d075dcc1-b2b8-4130-9876-3b9b57e2d5ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "31984" ], "x-ms-request-id": [ - "086ec9a0-9b4c-45df-9213-7fa5e870de9b" + "2aeb4796-1d74-45fb-a614-cfa85eed2a9a" ], "x-ms-correlation-request-id": [ - "086ec9a0-9b4c-45df-9213-7fa5e870de9b" + "2aeb4796-1d74-45fb-a614-cfa85eed2a9a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191927Z:086ec9a0-9b4c-45df-9213-7fa5e870de9b" + "CENTRALUS:20150331T212836Z:2aeb4796-1d74-45fb-a614-cfa85eed2a9a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:26 GMT" + "Tue, 31 Mar 2015 21:28:35 GMT" ], "ETag": [ - "0x8D288934ED760E9" + "0x8D23A10C816B715" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "dd43aea6-840d-4a67-9da5-3a132368c127" + "833e984f-d99e-4f26-ac1f-193db5573157" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1168" + "1191" ], "x-ms-request-id": [ - "cd9aab7b-c152-4b95-92c4-c45f18b00585" + "5c128f89-38e2-4f0a-bc2c-24d2915eb14b" ], "x-ms-correlation-request-id": [ - "cd9aab7b-c152-4b95-92c4-c45f18b00585" + "5c128f89-38e2-4f0a-bc2c-24d2915eb14b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191927Z:cd9aab7b-c152-4b95-92c4-c45f18b00585" + "CENTRALUS:20150331T212836Z:5c128f89-38e2-4f0a-bc2c-24d2915eb14b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:19:26 GMT" + "Tue, 31 Mar 2015 21:28:36 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False&$filter=startswith(name%2C'startup')", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZSYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3c3RhcnR1cCUyNyUyOQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False&$filter=startswith(name%2C'startup')", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZSYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3c3RhcnR1cCUyNyUyOQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2941e257-3903-43e4-8933-3308a0da0e19" + "7e37b813-4da5-4444-ada1-a52c789a4071" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:27 GMT" + "Tue, 31 Mar 2015 21:28:36 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "c716e8a2-24a3-45d6-ba64-20f59b3e61b4" + "e83a1446-7569-4704-bf9a-eafb21e73fdc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:27 GMT" + "Tue, 31 Mar 2015 21:28:40 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=True&$filter=startswith(name%2C'startup')", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1UcnVlJiRmaWx0ZXI9c3RhcnRzd2l0aCUyOG5hbWUlMkMlMjdzdGFydHVwJTI3JTI5", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=True&$filter=startswith(name%2C'startup')", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1UcnVlJiRmaWx0ZXI9c3RhcnRzd2l0aCUyOG5hbWUlMkMlMjdzdGFydHVwJTI3JTI5", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2e654afe-6a26-4193-bd87-1bfae2009ebb" + "2fcd23da-804a-4b10-bdad-d9d058caf01d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:19:27 GMT" + "Tue, 31 Mar 2015 21:28:37 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\\\\ProcessEnv.cmd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\\\\ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:08:36.470202Z\",\r\n \"lastModified\": \"2015-07-09T19:08:36.4722005Z\",\r\n \"contentLength\": \"1749\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"startup\\\\stderr.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\\\\stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:08:36.3016231Z\",\r\n \"lastModified\": \"2015-07-09T19:08:36.3016231Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"startup\\\\stdout.txt\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\\\\stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-07-09T19:08:36.2966236Z\",\r\n \"lastModified\": \"2015-07-09T19:08:36.4822017Z\",\r\n \"contentLength\": \"7\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"startup\\\\wd\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\\\\wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\\\\ProcessEnv.cmd\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\\\\ProcessEnv.cmd\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-31T20:05:51.5577376Z\",\r\n \"lastModified\": \"2015-03-31T20:05:51.5587377Z\",\r\n \"contentLength\": \"1751\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"startup\\\\stderr.txt\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\\\\stderr.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-31T20:05:51.3017377Z\",\r\n \"lastModified\": \"2015-03-31T20:05:51.3017377Z\",\r\n \"contentLength\": \"0\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"startup\\\\stdout.txt\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\\\\stdout.txt\",\r\n \"isDirectory\": false,\r\n \"properties\": {\r\n \"creationTime\": \"2015-03-31T20:05:51.3017377Z\",\r\n \"lastModified\": \"2015-03-31T20:05:51.5687359Z\",\r\n \"contentLength\": \"7\",\r\n \"contentType\": \"application/octet-stream\"\r\n }\r\n },\r\n {\r\n \"name\": \"startup\\\\wd\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\\\\wd\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "8f20f49e-32dc-4776-8943-6f1008148c84" + "44cb2a3a-fb02-472d-8322-80318a0d8a3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:19:27 GMT" + "Tue, 31 Mar 2015 21:28:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -261,6 +261,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesWithMaxCount.json index 19733b00e309..e7af1a9f1894 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListVMFilesWithMaxCount.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "31985" ], "x-ms-request-id": [ - "cfd43064-9d8d-43fb-ab98-0aff95869af6" + "fdd06e69-436c-40f3-b4ff-48463f2eae47" ], "x-ms-correlation-request-id": [ - "cfd43064-9d8d-43fb-ab98-0aff95869af6" + "fdd06e69-436c-40f3-b4ff-48463f2eae47" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192058Z:cfd43064-9d8d-43fb-ab98-0aff95869af6" + "CENTRALUS:20150331T212754Z:fdd06e69-436c-40f3-b4ff-48463f2eae47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:57 GMT" + "Tue, 31 Mar 2015 21:27:53 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"filetests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"filetests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:00 GMT" + "Tue, 31 Mar 2015 21:27:54 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "975d7056-c4ab-42e3-b3bc-8c3bde814141" + "a9208f0b-2a92-4f2e-a7ff-c5f67b562d58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" + "31985" ], "x-ms-request-id": [ - "3a7fc130-5c26-48f5-a404-2a71386138cc" + "569c84e4-325c-4724-b16e-bba9c3546ec2" ], "x-ms-correlation-request-id": [ - "3a7fc130-5c26-48f5-a404-2a71386138cc" + "569c84e4-325c-4724-b16e-bba9c3546ec2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192100Z:3a7fc130-5c26-48f5-a404-2a71386138cc" + "CENTRALUS:20150331T212754Z:569c84e4-325c-4724-b16e-bba9c3546ec2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:59 GMT" + "Tue, 31 Mar 2015 21:27:54 GMT" ], "ETag": [ - "0x8D2889385EE4A1F" + "0x8D23A10AF56BC8C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +112,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9maWxldGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"filetests\",\r\n \"primary\": \"Gw2XrSTG+Z3A2G6CZkDy61gKKhkeV5hWXXsshX/0Esh+DZFysFAE3mUY7sYC4v3HXZ8vi/HHDWpluMiWyyxB0Q==\",\r\n \"secondary\": \"wXBCVweqkm13+Nb/xq4QXqBaEMem6ZRfJNrSm44s1yY3sfNZFhz0fHmSjqEDpvgHq7ab9knTh4M3Ay6wQh0bAQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "bea9e07a-aa8d-4ca5-94ef-3c354c2e9bdf" + "709b06fe-590f-42bd-a7d8-9a113982d8ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1177" + "1192" ], "x-ms-request-id": [ - "62fec282-c7b0-41bd-852d-81bddf549416" + "87956a7c-2832-4bea-939e-146b05ce5dee" ], "x-ms-correlation-request-id": [ - "62fec282-c7b0-41bd-852d-81bddf549416" + "87956a7c-2832-4bea-939e-146b05ce5dee" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192100Z:62fec282-c7b0-41bd-852d-81bddf549416" + "CENTRALUS:20150331T212755Z:87956a7c-2832-4bea-939e-146b05ce5dee" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:20:59 GMT" + "Tue, 31 Mar 2015 21:27:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -169,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "19f3ec37-f583-4676-98c0-22db3f3880c8" + "5989cb2b-c22f-486d-adc5-2d3da4b62cc9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:00 GMT" + "Tue, 31 Mar 2015 21:27:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "16c1ad12-e746-4ea0-b16b-a5eb65bc9304" + "d366b712-eb10-42fb-91ad-ee0b0fe12633" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:20:59 GMT" + "Tue, 31 Mar 2015 21:27:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files?api-version=2014-10-01.1.0&recursive=False", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files?api-version=2014-10-01.1.0&recursive=False", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6L2ZpbGVzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJnJlY3Vyc2l2ZT1GYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bec3d9ba-a55a-4a0d-b3ec-bbdcda3d4c84" + "28b655b7-fdf3-4672-b7d1-137518a754af" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:01 GMT" + "Tue, 31 Mar 2015 21:27:56 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#files\",\r\n \"value\": [\r\n {\r\n \"name\": \"shared\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/shared\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"startup\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/startup\",\r\n \"isDirectory\": true\r\n },\r\n {\r\n \"name\": \"workitems\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z/files/workitems\",\r\n \"isDirectory\": true\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "b05d392f-93e2-4b8d-9ee4-9d5365bad856" + "a1dd53ad-3ad4-47f6-89d2-347607f3b554" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:01 GMT" + "Tue, 31 Mar 2015 21:27:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -259,8 +259,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQyMDAxMDd6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -268,16 +268,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a2f01768-e18e-4466-a33e-4ff994cc3c9a" + "3b88a487-7b5f-4fc3-bb47-a079fe3f1590" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:00 GMT" + "Tue, 31 Mar 2015 21:27:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 14,\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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://filetests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t200107z\",\r\n \"url\": \"https://filetests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t200107z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T20:05:49.9151074Z\",\r\n \"lastBootTime\": \"2015-03-31T20:05:49.7391087Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T20:01:07.1482714Z\",\r\n \"ipAddress\": \"100.77.160.57\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t200107z\",\r\n \"tvmSize\": \"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-03-31T20:05:49.9521089Z\",\r\n \"endTime\": \"2015-03-31T20:05:51.5957379Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -286,7 +286,7 @@ "chunked" ], "request-id": [ - "9c55803a-62a5-4011-a3b9-f62ce6cbc29f" + "2f44455b-57fa-47af-b801-b7a056ec2600" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -295,7 +295,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:00 GMT" + "Tue, 31 Mar 2015 21:27:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -306,6 +306,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json index a61e66443366..5e5773fc670d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLWpvYj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" - ], - "x-ms-request-id": [ - "ec06dd1b-3b77-4938-84b0-ca9a3ebead0c" - ], - "x-ms-correlation-request-id": [ - "ec06dd1b-3b77-4938-84b0-ca9a3ebead0c" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192553Z:ec06dd1b-3b77-4938-84b0-ca9a3ebead0c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:25:52 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job\",\r\n \"name\": \"test-delete-job\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "183" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14926" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" ], "x-ms-request-id": [ - "e678dbcc-3b73-492f-a53e-bd5230c100b6" + "f44e9d47-8301-4e72-b97d-6423b6a9aab8" ], "x-ms-correlation-request-id": [ - "e678dbcc-3b73-492f-a53e-bd5230c100b6" + "f44e9d47-8301-4e72-b97d-6423b6a9aab8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192555Z:e678dbcc-3b73-492f-a53e-bd5230c100b6" + "WESTUS:20150304T191407Z:f44e9d47-8301-4e72-b97d-6423b6a9aab8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:54 GMT" + "Wed, 04 Mar 2015 19:14:07 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:25:54 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], "request-id": [ - "0498b738-1f35-4e16-b6c1-15828bb05cca" + "955968c6-b5c4-4e8c-8763-7a0d980469df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" - ], "x-ms-request-id": [ - "6924abfa-9686-4d9c-8985-3d7248666a25" + "aaaf3c7d-41ac-4c98-9ae9-2e64055d629c" ], "x-ms-correlation-request-id": [ - "6924abfa-9686-4d9c-8985-3d7248666a25" + "aaaf3c7d-41ac-4c98-9ae9-2e64055d629c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192554Z:6924abfa-9686-4d9c-8985-3d7248666a25" + "WESTUS:20150304T191412Z:aaaf3c7d-41ac-4c98-9ae9-2e64055d629c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:53 GMT" + "Wed, 04 Mar 2015 19:14:11 GMT" ], - "ETag": [ - "0x8D288943595A96A" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob/operationResults/955968c6-b5c4-4e8c-8763-7a0d980469df?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob/operationResults/955968c6-b5c4-4e8c-8763-7a0d980469df?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYi9vcGVyYXRpb25SZXN1bHRzLzk1NTk2OGM2LWI1YzQtNGU4Yy04NzYzLTdhMGQ5ODA0NjlkZj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletejob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletejob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "331" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:25:56 GMT" + "Wed, 04 Mar 2015 19:14:11 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "aa54202e-6d2a-4850-b384-2a7245255e0e" + "b390cd16-40f6-4461-8c69-54b8f10bc9d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "31989" ], "x-ms-request-id": [ - "2ad310d6-78b9-443d-9856-064596c73f0a" + "f6e05dc4-34ff-401e-8e36-6b81a6607e3a" ], "x-ms-correlation-request-id": [ - "2ad310d6-78b9-443d-9856-064596c73f0a" + "f6e05dc4-34ff-401e-8e36-6b81a6607e3a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192555Z:2ad310d6-78b9-443d-9856-064596c73f0a" + "WESTUS:20150304T191412Z:f6e05dc4-34ff-401e-8e36-6b81a6607e3a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:14:12 GMT" ], "ETag": [ - "0x8D288943665333A" + "0x8D224C687EF03EE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletejob\",\r\n \"primary\": \"/ae3hUFoxdhReJoGqbvRS8+mXKFBmvtJbGZYovlEZIxWMWS6ac+x7O4vxtIE2M+CgULsZhA2MenGjD28Pv1SzA==\",\r\n \"secondary\": \"/3GWkeitTBeorZRZrOjELm8FypbTicPbMVXgSDIPhXMqOesS5LN0tK7Vrz/BiOGBfTgCaxdnI6CibeEEyBHH3Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "235" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "aa3fb879-cf06-466d-b146-da778045b81e" + "b5f65f9d-dab4-4dd4-9fc3-738426f1fe1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1162" + "1193" ], "x-ms-request-id": [ - "cf91a6fe-a03d-4ec5-9286-bee5d74d6598" + "25468a62-1d73-443e-b023-33b98db365ed" ], "x-ms-correlation-request-id": [ - "cf91a6fe-a03d-4ec5-9286-bee5d74d6598" + "25468a62-1d73-443e-b023-33b98db365ed" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192554Z:cf91a6fe-a03d-4ec5-9286-bee5d74d6598" + "WESTUS:20150304T191412Z:25468a62-1d73-443e-b023-33b98db365ed" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:53 GMT" + "Wed, 04 Mar 2015 19:14:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletejob\",\r\n \"primary\": \"/ae3hUFoxdhReJoGqbvRS8+mXKFBmvtJbGZYovlEZIxWMWS6ac+x7O4vxtIE2M+CgULsZhA2MenGjD28Pv1SzA==\",\r\n \"secondary\": \"/3GWkeitTBeorZRZrOjELm8FypbTicPbMVXgSDIPhXMqOesS5LN0tK7Vrz/BiOGBfTgCaxdnI6CibeEEyBHH3Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "235" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "3d99f567-b4d1-45b5-b2de-3f05e0525ffc" + "d765a072-d411-465f-ba3f-52b2ff56a8bf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1161" + "1192" ], "x-ms-request-id": [ - "434c3175-ea47-4ff5-ab28-4d97269abea1" + "6137e7f8-aa35-4ad7-b8b1-0ec5742f545c" ], "x-ms-correlation-request-id": [ - "434c3175-ea47-4ff5-ab28-4d97269abea1" + "6137e7f8-aa35-4ad7-b8b1-0ec5742f545c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192556Z:434c3175-ea47-4ff5-ab28-4d97269abea1" + "WESTUS:20150304T191523Z:6137e7f8-aa35-4ad7-b8b1-0ec5742f545c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:15:23 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b88df7fe-c825-431f-abce-91bc0a634a2c" + "1bda50f6-7f5b-4e27-b1ba-8a9c8789bf3e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:54 GMT" + "Wed, 04 Mar 2015 19:14:56 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:14:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "775b133a-d073-462c-90b8-6b32c3902c27" + "e62a54e0-4e76-4406-8fb9-4fb38828cf4d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testdeletejob.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:14:56 GMT" ], "ETag": [ - "0x8D2889435FF7C01" + "0x8D224C6A2C5AA36" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testdeletejob.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c6ee54ac-545b-4120-ae49-b323da12598f" + "07fb56eb-9ca2-44aa-88dc-5b72317e5cc6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:15:17 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2889435FF7C01\",\r\n \"lastModified\": \"2015-07-09T19:25:55.5134465Z\",\r\n \"creationTime\": \"2015-07-09T19:25:55.5134465Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:25:55.5134465Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletejob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224C6A2C5AA36\",\r\n \"lastModified\": \"2015-03-04T19:14:56.564895Z\",\r\n \"creationTime\": \"2015-03-04T19:14:56.564895Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T19:14:56.564895Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletejob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:14:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "89126c6a-9fcd-47c6-b036-ff7d3d80cb94" + "10a1ba42-a9ac-441b-8763-61c33e27eb0b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,121 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:54 GMT" + "Wed, 04 Mar 2015 19:15:16 GMT" + ], + "ETag": [ + "0x8D224C6A2C5AA36" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob\",\r\n \"name\": \"testdeletejob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "753" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "bf348fc9-6fc6-4ca4-b620-171100cbbaaf" + ], + "x-ms-correlation-request-id": [ + "bf348fc9-6fc6-4ca4-b620-171100cbbaaf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191522Z:bf348fc9-6fc6-4ca4-b620-171100cbbaaf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:15:21 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testdeletejob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletejob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "331" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 19:15:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4615841d-34e7-46ad-ad15-bc73294f9c6f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "0ca0fede-da25-4e1e-8441-90bf81854558" + ], + "x-ms-correlation-request-id": [ + "0ca0fede-da25-4e1e-8441-90bf81854558" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191523Z:0ca0fede-da25-4e1e-8441-90bf81854558" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:15:23 GMT" ], "ETag": [ - "0x8D2889435FF7C01" + "0x8D224C6B2255D2C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,16 +526,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "88a4aaf0-989d-4784-858f-535d7ca0c614" + "a185aca8-5642-45a1-8ea6-248540dc40e8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:56 GMT" + "Wed, 04 Mar 2015 19:15:27 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D288943609521C\",\r\n \"lastModified\": \"2015-07-09T19:25:55.57791Z\",\r\n \"creationTime\": \"2015-07-09T19:25:55.5591985Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:25:55.57791Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:25:55.57791Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejob.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testdeletejob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224C6A2D03173\",\r\n \"lastModified\": \"2015-03-04T19:14:56.6338931Z\",\r\n \"creationTime\": \"2015-03-04T19:14:56.5988856Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T19:14:56.6338931Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T19:14:56.6338931Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -475,7 +544,7 @@ "chunked" ], "request-id": [ - "c78612fb-cbcd-4b59-ba0d-36a2489f1c3d" + "84610676-cb62-4b0a-ac9b-3f9e40b9d4ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -484,7 +553,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:55 GMT" + "Wed, 04 Mar 2015 19:15:26 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -502,16 +571,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "23f02ef5-5a36-49af-a493-e30f739f98db" + "9df0c1f8-5546-4c3d-8a78-cf337e3f9973" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:57 GMT" + "Wed, 04 Mar 2015 19:15:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D288943609521C\",\r\n \"lastModified\": \"2015-07-09T19:25:55.57791Z\",\r\n \"creationTime\": \"2015-07-09T19:25:55.5591985Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:25:57.3704568Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:25:55.57791Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:25:55.57791Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejob.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -520,7 +589,7 @@ "chunked" ], "request-id": [ - "2b261348-70a8-4fe7-abdf-322aa3697f38" + "8212efc9-2f90-4365-82cf-5c28faf3ecaa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -529,7 +598,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:57 GMT" + "Wed, 04 Mar 2015 19:15:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -547,13 +616,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "de95d2fb-c8e1-4842-a279-567bd88a37f1" + "e3e5ffc6-5846-41ed-bdd3-dac6481dfa89" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:56 GMT" + "Wed, 04 Mar 2015 19:15:34 GMT" ] }, "ResponseBody": "", @@ -562,7 +631,7 @@ "chunked" ], "request-id": [ - "f54bd960-dece-44d3-ab93-0713ad4f3544" + "06d79677-584e-4a6e-a79f-bd75a7b213b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -571,7 +640,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:56 GMT" + "Wed, 04 Mar 2015 19:15:34 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -589,13 +658,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c8c18fe1-1dc2-47b4-93f7-d0680a61807a" + "4fd370c8-b9dc-4004-b236-be43b19a7516" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:57 GMT" + "Wed, 04 Mar 2015 19:15:43 GMT" ] }, "ResponseBody": "", @@ -604,7 +673,7 @@ "chunked" ], "request-id": [ - "e217d6ba-f13c-4171-81ef-5cc59b316cac" + "cf441bf9-6dac-4267-a867-43485c696e94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -613,13 +682,337 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:57 GMT" + "Wed, 04 Mar 2015 19:15:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "270c2e87-15be-4da3-bcd3-1ff7f1b7c2b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "8bc85972-9f9a-4548-b2c2-ee6e4985e76a" + ], + "x-ms-correlation-request-id": [ + "8bc85972-9f9a-4548-b2c2-ee6e4985e76a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191546Z:8bc85972-9f9a-4548-b2c2-ee6e4985e76a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:15:45 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob/operationResults/270c2e87-15be-4da3-bcd3-1ff7f1b7c2b3?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job/providers/Microsoft.Batch/batchAccounts/testdeletejob/operationResults/270c2e87-15be-4da3-bcd3-1ff7f1b7c2b3?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZWpvYi9vcGVyYXRpb25SZXN1bHRzLzI3MGMyZTg3LTE1YmUtNGRhMy1iY2QzLTFmZjdmMWI3YzJiMz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 19:15:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a73a5532-4fda-42c6-8167-e38c1d90f9e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "306e1e11-6673-4107-b26f-0c90efe4eba4" + ], + "x-ms-correlation-request-id": [ + "306e1e11-6673-4107-b26f-0c90efe4eba4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191546Z:306e1e11-6673-4107-b26f-0c90efe4eba4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:15:45 GMT" + ], + "ETag": [ + "0x8D224C6C004C812" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLWpvYj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-request-id": [ + "15e326ac-9361-4974-b9ba-bf51897aaae2" + ], + "x-ms-correlation-request-id": [ + "15e326ac-9361-4974-b9ba-bf51897aaae2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191548Z:15e326ac-9361-4974-b9ba-bf51897aaae2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:15:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVTazlDTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "db12bda8-e0f8-451e-ac01-a4f13f043d66" + ], + "x-ms-correlation-request-id": [ + "db12bda8-e0f8-451e-ac01-a4f13f043d66" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191548Z:db12bda8-e0f8-451e-ac01-a4f13f043d66" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:15:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVTazlDTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "c1b9c521-ed27-4c46-985a-7632311d3915" + ], + "x-ms-correlation-request-id": [ + "c1b9c521-ed27-4c46-985a-7632311d3915" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191603Z:c1b9c521-ed27-4c46-985a-7632311d3915" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:16:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVTazlDTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "eae409dd-eb4b-4611-abf5-eeb36792a597" + ], + "x-ms-correlation-request-id": [ + "eae409dd-eb4b-4611-abf5-eeb36792a597" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T191618Z:eae409dd-eb4b-4611-abf5-eeb36792a597" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:16:18 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json index 526bb2c8124f..b6bfc1cf115e 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-job-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14924" - ], - "x-ms-request-id": [ - "c3ce66eb-2f87-41d3-bcdf-05f58f3f880a" - ], - "x-ms-correlation-request-id": [ - "c3ce66eb-2f87-41d3-bcdf-05f58f3f880a" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T193029Z:c3ce66eb-2f87-41d3-bcdf-05f58f3f880a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:30:29 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe\",\r\n \"name\": \"test-delete-job-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "193" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14923" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" ], "x-ms-request-id": [ - "e17e9879-addf-4fc9-9e19-b7f7e6939a59" + "522fe081-9786-44b6-a9e5-2bdf64077991" ], "x-ms-correlation-request-id": [ - "e17e9879-addf-4fc9-9e19-b7f7e6939a59" + "522fe081-9786-44b6-a9e5-2bdf64077991" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193031Z:e17e9879-addf-4fc9-9e19-b7f7e6939a59" + "WESTUS:20150304T192220Z:522fe081-9786-44b6-a9e5-2bdf64077991" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:22:19 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:30 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], "request-id": [ - "998c63f7-1bb2-4f6a-9a0c-44aae55d1ecb" + "d51ed99e-d1e6-40ec-9586-5db7a86a9ae2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" - ], "x-ms-request-id": [ - "84588649-c078-46cf-891c-3d54d26c516a" + "23ec10dd-8701-475a-956e-809ae93d2f6b" ], "x-ms-correlation-request-id": [ - "84588649-c078-46cf-891c-3d54d26c516a" + "23ec10dd-8701-475a-956e-809ae93d2f6b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193030Z:84588649-c078-46cf-891c-3d54d26c516a" + "WESTUS:20150304T192224Z:23ec10dd-8701-475a-956e-809ae93d2f6b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:30 GMT" + "Wed, 04 Mar 2015 19:22:24 GMT" ], - "ETag": [ - "0x8D28894D9CF3B56" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe/operationResults/d51ed99e-d1e6-40ec-9586-5db7a86a9ae2?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe/operationResults/d51ed99e-d1e6-40ec-9586-5db7a86a9ae2?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZS9vcGVyYXRpb25SZXN1bHRzL2Q1MWVkOTllLWQxZTYtNDBlYy05NTg2LTVkYjdhODZhOWFlMj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletejobpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletejobpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:22:24 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "20c6e229-0772-4cc9-a3e8-3244d49a7c74" + "059b77dc-bc33-4aa0-b5ee-f871e11ab76e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" + "31985" ], "x-ms-request-id": [ - "b6da6950-5254-4989-9838-dbc7b1d00667" + "c9ef20f7-e1c5-41b9-a740-e7f8d81948d8" ], "x-ms-correlation-request-id": [ - "b6da6950-5254-4989-9838-dbc7b1d00667" + "c9ef20f7-e1c5-41b9-a740-e7f8d81948d8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193031Z:b6da6950-5254-4989-9838-dbc7b1d00667" + "WESTUS:20150304T192225Z:c9ef20f7-e1c5-41b9-a740-e7f8d81948d8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:22:24 GMT" ], "ETag": [ - "0x8D28894DA8E8AA4" + "0x8D224C7ADE64195" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletejobpipe\",\r\n \"primary\": \"ZLk02t8d8AbA1HtY/53v7WjuxOYXd26xNTY6DE3CABwCXPbaP93isMaRHfvPyShZMCYf3Rf8HKBU8ZydlBzrEg==\",\r\n \"secondary\": \"c318DCoHTdYojGfsSl8HYLKmWIVvszQla54MnG3tng4IbzEC+gYenun2Yjr1kB1YwzNYzaD7NjgKsoi6Dw9elg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "239" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "a1e6d4b4-d273-4eff-af53-631ef5e7637f" + "fd663374-ff6a-472f-a01c-37b0485ac0ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1161" + "1186" ], "x-ms-request-id": [ - "885b2e68-f6f4-4b46-a528-42bc7c51187b" + "e60d242e-134b-48c6-9a19-c6db3afa3556" ], "x-ms-correlation-request-id": [ - "885b2e68-f6f4-4b46-a528-42bc7c51187b" + "e60d242e-134b-48c6-9a19-c6db3afa3556" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193030Z:885b2e68-f6f4-4b46-a528-42bc7c51187b" + "WESTUS:20150304T192225Z:e60d242e-134b-48c6-9a19-c6db3afa3556" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:30 GMT" + "Wed, 04 Mar 2015 19:22:24 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletejobpipe\",\r\n \"primary\": \"ZLk02t8d8AbA1HtY/53v7WjuxOYXd26xNTY6DE3CABwCXPbaP93isMaRHfvPyShZMCYf3Rf8HKBU8ZydlBzrEg==\",\r\n \"secondary\": \"c318DCoHTdYojGfsSl8HYLKmWIVvszQla54MnG3tng4IbzEC+gYenun2Yjr1kB1YwzNYzaD7NjgKsoi6Dw9elg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "239" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "e4a4bb72-0ccf-4b8d-bdad-faab315ebd5e" + "c6a49e50-6f5b-4b7e-9c3f-1c406ccbd86b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1160" + "1185" ], "x-ms-request-id": [ - "ab352243-2b97-4491-a40a-9e639aff039a" + "7528443e-cbbc-42ad-8972-ade969d0cc9d" ], "x-ms-correlation-request-id": [ - "ab352243-2b97-4491-a40a-9e639aff039a" + "7528443e-cbbc-42ad-8972-ade969d0cc9d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193031Z:ab352243-2b97-4491-a40a-9e639aff039a" + "WESTUS:20150304T192358Z:7528443e-cbbc-42ad-8972-ade969d0cc9d" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:23:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6dae8c7a-7ccd-4080-a957-d7e05b75bdac" + "942eacad-e898-41ad-b38e-2830f85f6261" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:30 GMT" + "Wed, 04 Mar 2015 19:23:55 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:23:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c9e8e3d7-57bf-490f-a796-fe15706fca44" + "6bc92b40-c930-40d9-9c33-edd7b563a7e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testdeletejobpipe.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:23:54 GMT" ], "ETag": [ - "0x8D28894DA52625A" + "0x8D224C7E3A8B797" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testdeletejobpipe.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "9245b8ac-2ebf-447f-82e9-28ad9f145328" + "6fc01662-a439-4cec-87a0-7f2fd5df06bf" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:30 GMT" + "Wed, 04 Mar 2015 19:23:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894DA52625A\",\r\n \"lastModified\": \"2015-07-09T19:30:31.203081Z\",\r\n \"creationTime\": \"2015-07-09T19:30:31.203081Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:31.203081Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejobpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletejobpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224C7E3A8B797\",\r\n \"lastModified\": \"2015-03-04T19:23:54.9238167Z\",\r\n \"creationTime\": \"2015-03-04T19:23:54.9238167Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T19:23:54.9238167Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletejobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:23:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8a0fd325-a47c-4559-87ca-84cd79410694" + "f3b39cab-be85-4f2c-bad9-a5a4cdbb5d3d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,121 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:30 GMT" + "Wed, 04 Mar 2015 19:23:54 GMT" + ], + "ETag": [ + "0x8D224C7E3A8B797" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe\",\r\n \"name\": \"testdeletejobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "766" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "1cf139d5-f0a0-4904-be86-78c19a2b2f41" + ], + "x-ms-correlation-request-id": [ + "1cf139d5-f0a0-4904-be86-78c19a2b2f41" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192357Z:1cf139d5-f0a0-4904-be86-78c19a2b2f41" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:23:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testdeletejobpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletejobpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 19:23:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "76d82980-8740-4296-b6fc-920e26a3637e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "c69d47df-d299-4d24-84ef-111fe4b5214e" + ], + "x-ms-correlation-request-id": [ + "c69d47df-d299-4d24-84ef-111fe4b5214e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192358Z:c69d47df-d299-4d24-84ef-111fe4b5214e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:23:57 GMT" ], "ETag": [ - "0x8D28894DA52625A" + "0x8D224C7E54D6FD5" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,16 +526,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "670ee320-91b8-46c9-bf6d-33b44f963658" + "09d5de03-2a35-41de-be67-82fd85da9629" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:23:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28894DA5BB130\",\r\n \"lastModified\": \"2015-07-09T19:30:31.2640816Z\",\r\n \"creationTime\": \"2015-07-09T19:30:31.2400729Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:31.2640816Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:30:31.2640816Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejobpipe.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testdeletejobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224C7E3B081A7\",\r\n \"lastModified\": \"2015-03-04T19:23:54.9748647Z\",\r\n \"creationTime\": \"2015-03-04T19:23:54.9578377Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T19:23:54.9748647Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T19:23:54.9748647Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -475,7 +544,7 @@ "chunked" ], "request-id": [ - "1d169475-43de-408c-9548-60e5839e813d" + "e7d0e4c2-3dd9-49d2-b4f9-8819275ad843" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -484,7 +553,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -502,16 +571,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "284f1f71-4aa2-4422-9e0c-36598a1a4b66" + "51d937a3-6e34-427d-905a-a0ad129ff1fe" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:59 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28894DA5BB130\",\r\n \"lastModified\": \"2015-07-09T19:30:31.2640816Z\",\r\n \"creationTime\": \"2015-07-09T19:30:31.2400729Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:33.1659099Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:30:31.2640816Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:30:31.2640816Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejobpipe.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -520,7 +589,7 @@ "chunked" ], "request-id": [ - "45604776-fd4d-44c1-a659-335b32ced53d" + "e31347d6-a71d-4463-8983-821d7e71c6c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -529,7 +598,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -547,28 +616,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "030b6b1e-9375-489a-8659-e6e3ff475f58" + "aea4156c-17c7-4e0e-bfcc-e5f31c10a57a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28894DA5BB130\",\r\n \"lastModified\": \"2015-07-09T19:30:31.2640816Z\",\r\n \"creationTime\": \"2015-07-09T19:30:31.2400729Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:31.2640816Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:30:31.2640816Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletejobpipe.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testdeletejobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224C7E3B081A7\",\r\n \"lastModified\": \"2015-03-04T19:23:54.9748647Z\",\r\n \"creationTime\": \"2015-03-04T19:23:54.9578377Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T19:23:54.9748647Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T19:23:54.9748647Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:31 GMT" + "Wed, 04 Mar 2015 19:23:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e4fde3f3-0d0d-4b86-9a3d-24247127fb23" + "fae2b61b-0186-40f8-ba02-fa4dce7f8ed5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -577,10 +646,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:58 GMT" ], "ETag": [ - "0x8D28894DA5BB130" + "0x8D224C7E3B081A7" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -598,13 +667,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "acad34a9-c40c-4e94-a6aa-2d8143d83068" + "bfdd5637-6512-4930-aef7-c34123a91887" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:59 GMT" ] }, "ResponseBody": "", @@ -613,7 +682,7 @@ "chunked" ], "request-id": [ - "89e63f8f-3e40-4d5e-8012-aa1f8db1b025" + "94d61805-dfee-4203-9c3b-1a7498891ae6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -622,7 +691,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:32 GMT" + "Wed, 04 Mar 2015 19:23:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -640,13 +709,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6aa1c040-b68e-4e6f-9b6b-195fa58cbe4a" + "9028e426-8fa6-4c00-830e-fc71e3c73115" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:33 GMT" + "Wed, 04 Mar 2015 19:24:00 GMT" ] }, "ResponseBody": "", @@ -655,7 +724,7 @@ "chunked" ], "request-id": [ - "d85d5d19-7709-45ab-8009-bc84cdafdec5" + "07a38f9b-38b2-483d-8391-4014bd877993" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -664,13 +733,337 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:33 GMT" + "Wed, 04 Mar 2015 19:24:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "4baaba83-a7f4-42e0-80a1-89dee8e60077" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-request-id": [ + "bff6af76-09fb-4fa3-a26a-8e07dd3d5aad" + ], + "x-ms-correlation-request-id": [ + "bff6af76-09fb-4fa3-a26a-8e07dd3d5aad" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192402Z:bff6af76-09fb-4fa3-a26a-8e07dd3d5aad" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:24:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe/operationResults/4baaba83-a7f4-42e0-80a1-89dee8e60077?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-job-pipe/providers/Microsoft.Batch/batchAccounts/testdeletejobpipe/operationResults/4baaba83-a7f4-42e0-80a1-89dee8e60077?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRlam9icGlwZS9vcGVyYXRpb25SZXN1bHRzLzRiYWFiYTgzLWE3ZjQtNDJlMC04MGExLTg5ZGVlOGU2MDA3Nz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 19:24:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3d6a3968-14cc-4e99-99c5-74e1c02ce802" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "1d9e2020-60a8-49ef-8475-727a94fea8c4" + ], + "x-ms-correlation-request-id": [ + "1d9e2020-60a8-49ef-8475-727a94fea8c4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192402Z:1d9e2020-60a8-49ef-8475-727a94fea8c4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:24:02 GMT" + ], + "ETag": [ + "0x8D224C7E82DF813" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-job-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLWpvYi1waXBlP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "15f777fa-31b8-4757-bb0c-2a1b8ae4c274" + ], + "x-ms-correlation-request-id": [ + "15f777fa-31b8-4757-bb0c-2a1b8ae4c274" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192404Z:15f777fa-31b8-4757-bb0c-2a1b8ae4c274" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:24:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9COjJEUElQRS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9COjJEUElQRS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVTazlDT2pKRVVFbFFSUzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "74143145-f4f0-4624-bc85-ae2973d9042a" + ], + "x-ms-correlation-request-id": [ + "74143145-f4f0-4624-bc85-ae2973d9042a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192404Z:74143145-f4f0-4624-bc85-ae2973d9042a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:24:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9COjJEUElQRS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9COjJEUElQRS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVTazlDT2pKRVVFbFFSUzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "21af834a-021f-4656-be1b-5c5fa46279bf" + ], + "x-ms-correlation-request-id": [ + "21af834a-021f-4656-be1b-5c5fa46279bf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192419Z:21af834a-021f-4656-be1b-5c5fa46279bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:24:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9COjJEUElQRS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJESk9COjJEUElQRS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVTazlDT2pKRVVFbFFSUzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "fdb6f41c-6835-469f-a71f-2ee5e40728ba" + ], + "x-ms-correlation-request-id": [ + "fdb6f41c-6835-469f-a71f-2ee5e40728ba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T192434Z:fdb6f41c-6835-469f-a71f-2ee5e40728ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 19:24:34 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json index 812f1d928f76..f881cfb597e1 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" - ], - "x-ms-request-id": [ - "3eb63431-752d-4391-9f4b-cb70a5d7c23f" - ], - "x-ms-correlation-request-id": [ - "3eb63431-752d-4391-9f4b-cb70a5d7c23f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192616Z:3eb63431-752d-4391-9f4b-cb70a5d7c23f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:26:15 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job\",\r\n \"name\": \"test-get-job\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "177" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" ], "x-ms-request-id": [ - "c19679f4-0836-4a45-af3c-f5d313db6b46" + "8780a26d-34f6-4fa3-a29f-746fe1ca3510" ], "x-ms-correlation-request-id": [ - "c19679f4-0836-4a45-af3c-f5d313db6b46" + "8780a26d-34f6-4fa3-a29f-746fe1ca3510" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192618Z:c19679f4-0836-4a45-af3c-f5d313db6b46" + "WESTUS:20150304T224347Z:8780a26d-34f6-4fa3-a29f-746fe1ca3510" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:43:46 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:17 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], "request-id": [ - "234f8b21-b13a-4e76-9e6e-74577f8d4abc" + "717bc21c-580d-42d1-a40a-d572827a01e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14925" - ], "x-ms-request-id": [ - "81adc78c-78c5-4ed2-ac79-e5a1a6713746" + "91ea8f64-ca22-46fa-a3c5-58df305df8f1" ], "x-ms-correlation-request-id": [ - "81adc78c-78c5-4ed2-ac79-e5a1a6713746" + "91ea8f64-ca22-46fa-a3c5-58df305df8f1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192617Z:81adc78c-78c5-4ed2-ac79-e5a1a6713746" + "WESTUS:20150304T224351Z:91ea8f64-ca22-46fa-a3c5-58df305df8f1" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:17 GMT" + "Wed, 04 Mar 2015 22:43:50 GMT" ], - "ETag": [ - "0x8D288944349B6D8" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/717bc21c-580d-42d1-a40a-d572827a01e7?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/717bc21c-580d-42d1-a40a-d572827a01e7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9vcGVyYXRpb25SZXN1bHRzLzcxN2JjMjFjLTU4MGQtNDJkMS1hNDBhLWQ1NzI4MjdhMDFlNz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testgetjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "319" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:43:50 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "9d5f83f2-50e9-4616-971b-9de2d49c0fb8" + "4d75121d-ce5f-4dde-a074-df46370106a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14924" + "31990" ], "x-ms-request-id": [ - "59d9bed4-2e25-43ae-81d8-3d1205d884af" + "c6744245-553d-4ffd-b5de-43192aa55161" ], "x-ms-correlation-request-id": [ - "59d9bed4-2e25-43ae-81d8-3d1205d884af" + "c6744245-553d-4ffd-b5de-43192aa55161" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192618Z:59d9bed4-2e25-43ae-81d8-3d1205d884af" + "WESTUS:20150304T224351Z:c6744245-553d-4ffd-b5de-43192aa55161" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:43:50 GMT" ], "ETag": [ - "0x8D28894440F9331" + "0x8D224E3D1BBE45B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgetjob\",\r\n \"primary\": \"cMTeOF7tCBgGVzFLARCbJapNftd7psaC2+vU7yikP73WBSHQoQPTaDVlx1f6MoRNXg/Nwfh0Kor7QEe+kvc75A==\",\r\n \"secondary\": \"u6/r//THSDgP6tzBmHo58qNAK8pAgvypqPEFMdZtxrYh80hoRRkvPnliDDDI9UtNjO8T2GUBgKgdccA/LApm5w==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "0bf8d1db-e5a9-4294-9f21-474b3055c415" + "fbfdf7ee-8ab7-49d6-93ee-879593f81f7b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1191" ], "x-ms-request-id": [ - "b66f389e-efa8-491d-8f9d-304780757515" + "b7c366c8-7a75-49ec-99a9-643e15bb8e4f" ], "x-ms-correlation-request-id": [ - "b66f389e-efa8-491d-8f9d-304780757515" + "b7c366c8-7a75-49ec-99a9-643e15bb8e4f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192617Z:b66f389e-efa8-491d-8f9d-304780757515" + "WESTUS:20150304T224351Z:b7c366c8-7a75-49ec-99a9-643e15bb8e4f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:17 GMT" + "Wed, 04 Mar 2015 22:43:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgetjob\",\r\n \"primary\": \"cMTeOF7tCBgGVzFLARCbJapNftd7psaC2+vU7yikP73WBSHQoQPTaDVlx1f6MoRNXg/Nwfh0Kor7QEe+kvc75A==\",\r\n \"secondary\": \"u6/r//THSDgP6tzBmHo58qNAK8pAgvypqPEFMdZtxrYh80hoRRkvPnliDDDI9UtNjO8T2GUBgKgdccA/LApm5w==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "c9b4cd4f-3956-4d2f-8d94-cf2c6b758e17" + "e25411be-863f-4a24-95a5-d8cc5fd36f1d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1190" ], "x-ms-request-id": [ - "c8bacc8b-a950-430a-85d4-3fc1b0bb0bb5" + "a58301d4-0cb5-4133-ac12-84708fc10459" ], "x-ms-correlation-request-id": [ - "c8bacc8b-a950-430a-85d4-3fc1b0bb0bb5" + "a58301d4-0cb5-4133-ac12-84708fc10459" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192619Z:c8bacc8b-a950-430a-85d4-3fc1b0bb0bb5" + "WESTUS:20150304T224431Z:a58301d4-0cb5-4133-ac12-84708fc10459" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "828b9f98-4d88-4876-8611-b335381b366a" + "33789f48-1121-4507-91a4-db5a37f85351" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:26:17 GMT" + "Wed, 04 Mar 2015 22:44:28 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:28 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "548c5d54-adac-43a9-9ed0-b02a73a9d4f6" + "16327059-f244-414a-b05b-99c4604f6080" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName" + "https://testgetjob.batch.core.windows.net/workitems/testName" ], "Date": [ - "Thu, 09 Jul 2015 19:26:17 GMT" + "Wed, 04 Mar 2015 22:44:28 GMT" ], "ETag": [ - "0x8D2889443AB657D" + "0x8D224E3E822AD79" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName" + "https://testgetjob.batch.core.windows.net/workitems/testName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1f1b5a30-cd2a-456d-b40b-78bccb479fcd" + "5f2a08c4-6541-4e63-9a66-d4a9cdd036b1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:29 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D2889443AB657D\",\r\n \"lastModified\": \"2015-07-09T19:26:18.4504701Z\",\r\n \"creationTime\": \"2015-07-09T19:26:18.4504701Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:26:18.4504701Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D224E3E822AD79\",\r\n \"lastModified\": \"2015-03-04T22:44:28.3424121Z\",\r\n \"creationTime\": \"2015-03-04T22:44:28.3424121Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:44:28.3424121Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:28 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "3da6128e-3441-4f9b-8776-7f35df56ebff" + "c0c53540-8d3c-4a75-b0fe-a226be17aa19" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,121 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:29 GMT" ], "ETag": [ - "0x8D2889443AB657D" + "0x8D224E3E822AD79" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob\",\r\n \"name\": \"testgetjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "744" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "52819794-b585-4ec2-98b9-bc192101888c" + ], + "x-ms-correlation-request-id": [ + "52819794-b585-4ec2-98b9-bc192101888c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224431Z:52819794-b585-4ec2-98b9-bc192101888c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "319" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:44:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "64ff7f8c-e20a-4a26-a1c5-8805423174a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "da365b6e-2538-4f91-a6c6-10efa966c9c5" + ], + "x-ms-correlation-request-id": [ + "da365b6e-2538-4f91-a6c6-10efa966c9c5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224431Z:da365b6e-2538-4f91-a6c6-10efa966c9c5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:31 GMT" + ], + "ETag": [ + "0x8D224E3E99789DB" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,28 +526,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "be672192-4580-4b6d-bf66-5aa9fdfdfa28" + "8a2cde10-9829-42da-9ee4-384b66ac0fcc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:44:31 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889443B47949\",\r\n \"lastModified\": \"2015-07-09T19:26:18.5099593Z\",\r\n \"creationTime\": \"2015-07-09T19:26:18.4934719Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:26:18.5099593Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:26:18.5099593Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetjob.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E3E82E36D3\",\r\n \"lastModified\": \"2015-03-04T22:44:28.4180179Z\",\r\n \"creationTime\": \"2015-03-04T22:44:28.3990181Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:44:28.4180179Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T22:44:28.4180179Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:28 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "2387a893-e104-473f-bc30-e20e82a17560" + "7a65ac37-cafe-42ff-867b-1f54fee45a5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +556,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:44:30 GMT" ], "ETag": [ - "0x8D2889443B47949" + "0x8D224E3E82E36D3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,28 +577,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b7b91ccc-66ba-48a9-bce9-47083e05c69a" + "1fec7e00-7700-4c46-ac42-f505f64e364a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:44:31 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889443B47949\",\r\n \"lastModified\": \"2015-07-09T19:26:18.5099593Z\",\r\n \"creationTime\": \"2015-07-09T19:26:18.4934719Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:26:18.5099593Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:26:18.5099593Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetjob.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E3E82E36D3\",\r\n \"lastModified\": \"2015-03-04T22:44:28.4180179Z\",\r\n \"creationTime\": \"2015-03-04T22:44:28.3990181Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:44:28.4180179Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T22:44:28.4180179Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:18 GMT" + "Wed, 04 Mar 2015 22:44:28 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "df3a51c2-34e4-402d-bd4b-b6d0b6a1d97e" + "6bc7209c-61bc-4633-8893-f93e86b7e979" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -538,10 +607,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:44:30 GMT" ], "ETag": [ - "0x8D2889443B47949" + "0x8D224E3E82E36D3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,13 +628,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1352c2e2-6b05-40f6-b857-6f1bd8c5bf0c" + "394abf95-37ef-4e44-844a-bc05b7065c7d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:44:32 GMT" ] }, "ResponseBody": "", @@ -574,7 +643,7 @@ "chunked" ], "request-id": [ - "713d12ba-8ec9-4b7d-9c4d-49d9bdac4813" + "e0d31e13-185f-4925-8da4-7c17b435bbbc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -583,13 +652,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:26:19 GMT" + "Wed, 04 Mar 2015 22:44:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5e3de03e-6c8f-4904-bfaa-590a1256d496" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "bcaa4d43-3b01-4675-9d1f-df6061082c89" + ], + "x-ms-correlation-request-id": [ + "bcaa4d43-3b01-4675-9d1f-df6061082c89" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224435Z:bcaa4d43-3b01-4675-9d1f-df6061082c89" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/5e3de03e-6c8f-4904-bfaa-590a1256d496?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/5e3de03e-6c8f-4904-bfaa-590a1256d496?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9vcGVyYXRpb25SZXN1bHRzLzVlM2RlMDNlLTZjOGYtNDkwNC1iZmFhLTU5MGExMjU2ZDQ5Nj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:44:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "7358ab50-d752-4d03-98f9-96580870370d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "c9be7018-b4d3-4778-8086-f72c7f2b21d0" + ], + "x-ms-correlation-request-id": [ + "c9be7018-b4d3-4778-8086-f72c7f2b21d0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224435Z:c9be7018-b4d3-4778-8086-f72c7f2b21d0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:34 GMT" + ], + "ETag": [ + "0x8D224E3EBD617A9" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "c6ef5818-6c16-4d3f-96e4-73c2611f59fb" + ], + "x-ms-correlation-request-id": [ + "c6ef5818-6c16-4d3f-96e4-73c2611f59fb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224436Z:c6ef5818-6c16-4d3f-96e4-73c2611f59fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "b887aa57-2514-4d49-828b-9430b6284cfa" + ], + "x-ms-correlation-request-id": [ + "b887aa57-2514-4d49-828b-9430b6284cfa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224436Z:b887aa57-2514-4d49-828b-9430b6284cfa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "1948bb6d-c860-4d4a-80e6-ada29301e438" + ], + "x-ms-correlation-request-id": [ + "1948bb6d-c860-4d4a-80e6-ada29301e438" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224451Z:1948bb6d-c860-4d4a-80e6-ada29301e438" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:44:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "a941fe9e-5e2d-4b49-b952-88a1844f988b" + ], + "x-ms-correlation-request-id": [ + "a941fe9e-5e2d-4b49-b952-88a1844f988b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224506Z:a941fe9e-5e2d-4b49-b952-88a1844f988b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:45:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "1b82dd08-1243-4c59-be8a-c6ad6f6dc019" + ], + "x-ms-correlation-request-id": [ + "1b82dd08-1243-4c59-be8a-c6ad6f6dc019" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224522Z:1b82dd08-1243-4c59-be8a-c6ad6f6dc019" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:45:22 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json index 2af54be507b8..6eadc6878445 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json @@ -1,5 +1,299 @@ { "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params\",\r\n \"name\": \"test-get-job-params\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "191" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "7e0416ee-a9e0-485c-868f-a1fea1d77ff7" + ], + "x-ms-correlation-request-id": [ + "7e0416ee-a9e0-485c-868f-a1fea1d77ff7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201519Z:7e0416ee-a9e0-485c-868f-a1fea1d77ff7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:19 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "request-id": [ + "61da2213-ccc4-45df-a04e-c5f87a4c9634" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "12d60db5-5826-48b9-8565-9aecea7e5d91" + ], + "x-ms-correlation-request-id": [ + "12d60db5-5826-48b9-8565-9aecea7e5d91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201524Z:12d60db5-5826-48b9-8565-9aecea7e5d91" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/61da2213-ccc4-45df-a04e-c5f87a4c9634?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/61da2213-ccc4-45df-a04e-c5f87a4c9634?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvb3BlcmF0aW9uUmVzdWx0cy82MWRhMjIxMy1jY2M0LTQ1ZGYtYTA0ZS1jNWY4N2E0Yzk2MzQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetjobparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjobparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:15:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "aafb85f4-d05f-4004-a984-6fa1d391d67f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "ad01ba25-b1a1-4abe-bcc0-03c1ec5f2515" + ], + "x-ms-correlation-request-id": [ + "ad01ba25-b1a1-4abe-bcc0-03c1ec5f2515" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201525Z:ad01ba25-b1a1-4abe-bcc0-03c1ec5f2515" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:25 GMT" + ], + "ETag": [ + "0x8D21DBC97A8FCB1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetjobparams\",\r\n \"primary\": \"2i9VI2YUsUOLomfutlyH0Igt5UZcInjYIITSzFwESBDmpOtKTcZ+3g3LalPtBkIJ+nT3iCYxqP2i5re8s+j1kQ==\",\r\n \"secondary\": \"YHIGjtI7OPpPwd41e03r3ynbjL1e5ZbYQL+A0PwoAoJW1ZHyaWvFOfaB65+BOlVav4tPx5q5h2xj2JzCtMuwJA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d5911d13-985e-4b69-b8e6-db7fa0c23dd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "2fa08eca-5fc6-4d1e-a744-a7783976dd64" + ], + "x-ms-correlation-request-id": [ + "2fa08eca-5fc6-4d1e-a744-a7783976dd64" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201525Z:2fa08eca-5fc6-4d1e-a744-a7783976dd64" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:25 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetjobparams\",\r\n \"primary\": \"2i9VI2YUsUOLomfutlyH0Igt5UZcInjYIITSzFwESBDmpOtKTcZ+3g3LalPtBkIJ+nT3iCYxqP2i5re8s+j1kQ==\",\r\n \"secondary\": \"YHIGjtI7OPpPwd41e03r3ynbjL1e5ZbYQL+A0PwoAoJW1ZHyaWvFOfaB65+BOlVav4tPx5q5h2xj2JzCtMuwJA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d3bbc3a1-6f71-4064-a4a0-e20ac9f621a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "b2de9c96-6725-4c4e-b8f5-2a7dbf98b420" + ], + "x-ms-correlation-request-id": [ + "b2de9c96-6725-4c4e-b8f5-2a7dbf98b420" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201601Z:b2de9c96-6725-4c4e-b8f5-2a7dbf98b420" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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==", @@ -10,10 +304,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams\",\r\n \"name\": \"testgetjobparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "763" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "31999" ], "x-ms-request-id": [ - "ea1ad235-e654-4983-80f3-3a59b10edccf" + "c214e657-c892-47fc-9ba0-366ddfab0698" ], "x-ms-correlation-request-id": [ - "ea1ad235-e654-4983-80f3-3a59b10edccf" + "c214e657-c892-47fc-9ba0-366ddfab0698" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192641Z:ea1ad235-e654-4983-80f3-3a59b10edccf" + "WESTUS:20150223T201600Z:c214e657-c892-47fc-9ba0-366ddfab0698" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +337,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:41 GMT" + "Mon, 23 Feb 2015 20:16:00 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testgetjobparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjobparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "344" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +367,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:26:44 GMT" + "Mon, 23 Feb 2015 20:16:00 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "64788420-d2b3-4c99-9ddb-84bcbc3519ca" + "55ce598e-9a1c-4f24-b0d7-a03b7ff1c2c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "31998" ], "x-ms-request-id": [ - "09660411-7722-4878-9939-fc5a81c3c4e2" + "1a27751b-b6a0-4c79-8add-db307f56659c" ], "x-ms-correlation-request-id": [ - "09660411-7722-4878-9939-fc5a81c3c4e2" + "1a27751b-b6a0-4c79-8add-db307f56659c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192644Z:09660411-7722-4878-9939-fc5a81c3c4e2" + "WESTUS:20150223T201601Z:1a27751b-b6a0-4c79-8add-db307f56659c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:44 GMT" + "Mon, 23 Feb 2015 20:16:00 GMT" ], "ETag": [ - "0x8D2889453022B80" + "0x8D21DBCAD0C085F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,61 +406,382 @@ "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", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "be31d170-09b3-4148-add7-38304fb6f2d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "91ad66d6-7b13-4e28-8f51-313a21f980ac" + ], + "x-ms-correlation-request-id": [ + "91ad66d6-7b13-4e28-8f51-313a21f980ac" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201603Z:91ad66d6-7b13-4e28-8f51-313a21f980ac" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/be31d170-09b3-4148-add7-38304fb6f2d0?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/be31d170-09b3-4148-add7-38304fb6f2d0?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvb3BlcmF0aW9uUmVzdWx0cy9iZTMxZDE3MC0wOWIzLTQxNDgtYWRkNy0zODMwNGZiNmYyZDA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "229" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:16:02 GMT" + ], "Pragma": [ "no-cache" ], "request-id": [ - "1996edb8-63b0-40c1-8920-c28af65d96b0" + "a9cab41f-e344-4075-9f6c-c4cbe04ed91d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1173" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" ], "x-ms-request-id": [ - "c127f464-1694-488f-9dd0-cc6d57102d4f" + "02b50cc5-d598-47a8-b35c-0b067c9d5ca5" ], "x-ms-correlation-request-id": [ - "c127f464-1694-488f-9dd0-cc6d57102d4f" + "02b50cc5-d598-47a8-b35c-0b067c9d5ca5" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192645Z:c127f464-1694-488f-9dd0-cc6d57102d4f" + "WESTUS:20150223T201603Z:02b50cc5-d598-47a8-b35c-0b067c9d5ca5" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:26:45 GMT" + "Mon, 23 Feb 2015 20:16:02 GMT" + ], + "ETag": [ + "0x8D21DBCAE61E543" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "8d3d330d-c973-4a9a-9814-6b402d567011" + ], + "x-ms-correlation-request-id": [ + "8d3d330d-c973-4a9a-9814-6b402d567011" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201604Z:8d3d330d-c973-4a9a-9814-6b402d567011" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "ea76bc04-5bdd-4e31-ad96-1320aa6d8482" + ], + "x-ms-correlation-request-id": [ + "ea76bc04-5bdd-4e31-ad96-1320aa6d8482" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201604Z:ea76bc04-5bdd-4e31-ad96-1320aa6d8482" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "fe28b30c-638e-40be-999a-03bdea91752f" + ], + "x-ms-correlation-request-id": [ + "fe28b30c-638e-40be-999a-03bdea91752f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201619Z:fe28b30c-638e-40be-999a-03bdea91752f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "6fc5b43b-0fdd-471b-8da3-64e33791af08" + ], + "x-ms-correlation-request-id": [ + "6fc5b43b-0fdd-471b-8da3-64e33791af08" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201635Z:6fc5b43b-0fdd-471b-8da3-64e33791af08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "e8288bba-9265-47bf-9b10-54f982c50501" + ], + "x-ms-correlation-request-id": [ + "e8288bba-9265-47bf-9b10-54f982c50501" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201650Z:e8288bba-9265-47bf-9b10-54f982c50501" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:49 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json index 72d200d97184..2cb3d83bf015 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2I/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-request-id": [ - "802b96f0-46c2-4f09-8d64-88f745f8b7e3" - ], - "x-ms-correlation-request-id": [ - "802b96f0-46c2-4f09-8d64-88f745f8b7e3" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192424Z:802b96f0-46c2-4f09-8d64-88f745f8b7e3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:24:24 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job\",\r\n \"name\": \"test-list-job\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "179" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" ], "x-ms-request-id": [ - "ff033689-3163-4a55-b6ae-2c5b323b4178" + "c4e6cee4-a665-4636-91d8-f620b98e5b5f" ], "x-ms-correlation-request-id": [ - "ff033689-3163-4a55-b6ae-2c5b323b4178" + "c4e6cee4-a665-4636-91d8-f620b98e5b5f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192532Z:ff033689-3163-4a55-b6ae-2c5b323b4178" + "WESTUS:20150304T225530Z:c4e6cee4-a665-4636-91d8-f620b98e5b5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,88 +49,88 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:31 GMT" + "Wed, 04 Mar 2015 22:55:29 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:25 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], "request-id": [ - "6f558034-8d06-4518-aba1-49a4653ad012" + "958bbcc9-bbac-4adb-a726-806e29135615" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" - ], "x-ms-request-id": [ - "12e8c072-fb41-4c12-a321-59f1e83711ff" + "8abb6af6-b799-4e72-9a05-5c719e67854e" ], "x-ms-correlation-request-id": [ - "12e8c072-fb41-4c12-a321-59f1e83711ff" + "8abb6af6-b799-4e72-9a05-5c719e67854e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192425Z:12e8c072-fb41-4c12-a321-59f1e83711ff" + "WESTUS:20150304T225535Z:8abb6af6-b799-4e72-9a05-5c719e67854e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:25 GMT" + "Wed, 04 Mar 2015 22:55:35 GMT" ], - "ETag": [ - "0x8D288940062F845" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/958bbcc9-bbac-4adb-a726-806e29135615?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/958bbcc9-bbac-4adb-a726-806e29135615?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL29wZXJhdGlvblJlc3VsdHMvOTU4YmJjYzktYmJhYy00YWRiLWE3MjYtODA2ZTI5MTM1NjE1P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "323" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:25:32 GMT" + "Wed, 04 Mar 2015 22:55:34 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "dc5b39b7-4e3e-4ed5-89eb-f8583286ab29" + "a49792cd-f592-4f26-9387-e3d845447602" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" + "31982" ], "x-ms-request-id": [ - "63e031cf-1aac-41fe-9078-625fb4874677" + "0bb7eb9b-e9be-431b-95ee-46257db73426" ], "x-ms-correlation-request-id": [ - "63e031cf-1aac-41fe-9078-625fb4874677" + "0bb7eb9b-e9be-431b-95ee-46257db73426" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192532Z:63e031cf-1aac-41fe-9078-625fb4874677" + "WESTUS:20150304T225535Z:0bb7eb9b-e9be-431b-95ee-46257db73426" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:32 GMT" + "Wed, 04 Mar 2015 22:55:35 GMT" ], "ETag": [ - "0x8D2889428649AC4" + "0x8D224E5754B2F4D" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjob\",\r\n \"primary\": \"CKUOQktq0NQHxCUrWJLCoe2BFhYIbW5WYGuru5V55otpiC2VGVPI2qvmhykIGRP34dnLMdHkkXygL3qJzjuFYQ==\",\r\n \"secondary\": \"8j9r6xM9J9zHaVAHxwm9e1dTlNqOa5SfjrfrIKYtMU675O2SI5lD+Z2KfOyU65LEXKLiHDBz1kqFVg5rW/HEPw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "a27ff5da-5304-49fc-9f2e-0e9f72d4fbd9" + "7de590ce-88f5-4ad9-8abe-05a9ba75293e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1174" + "1185" ], "x-ms-request-id": [ - "8bbd5169-15f2-4207-9f0b-0dbfbe384b57" + "2c9ffe6d-a021-4f16-8f94-eb68481a63e6" ], "x-ms-correlation-request-id": [ - "8bbd5169-15f2-4207-9f0b-0dbfbe384b57" + "2c9ffe6d-a021-4f16-8f94-eb68481a63e6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192426Z:8bbd5169-15f2-4207-9f0b-0dbfbe384b57" + "WESTUS:20150304T225535Z:2c9ffe6d-a021-4f16-8f94-eb68481a63e6" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:55:35 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjob\",\r\n \"primary\": \"CKUOQktq0NQHxCUrWJLCoe2BFhYIbW5WYGuru5V55otpiC2VGVPI2qvmhykIGRP34dnLMdHkkXygL3qJzjuFYQ==\",\r\n \"secondary\": \"8j9r6xM9J9zHaVAHxwm9e1dTlNqOa5SfjrfrIKYtMU675O2SI5lD+Z2KfOyU65LEXKLiHDBz1kqFVg5rW/HEPw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "41406bee-b65a-4a1e-acbe-af7565325535" + "2e1a5c3e-d6bc-4df7-90cd-3d6727bcf0c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1174" + "1184" ], "x-ms-request-id": [ - "9b0523fc-b9a6-406e-bf27-334f1e14aec0" + "c10bf1d3-3d96-47af-9a05-77ea359940dd" ], "x-ms-correlation-request-id": [ - "9b0523fc-b9a6-406e-bf27-334f1e14aec0" + "c10bf1d3-3d96-47af-9a05-77ea359940dd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192533Z:9b0523fc-b9a6-406e-bf27-334f1e14aec0" + "WESTUS:20150304T225713Z:c10bf1d3-3d96-47af-9a05-77ea359940dd" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:32 GMT" + "Wed, 04 Mar 2015 22:57:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c2bdb930-e4df-4527-a521-dc0cdea5c0b6" + "f3e8e6e8-9c73-41fa-93ac-db1e0d8ca50e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:10 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "0bcdfc13-9a56-46dc-a124-ff027a3649d6" + "eaaafd22-1ea7-47e5-b2c0-79b5c4504683" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjob.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:10 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjob.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1f94ad9c-3222-4108-bc07-9aa7667cef68" + "9406881b-84b0-4240-ac17-5df8adb0bbaf" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:10 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e11d4b40-4005-4c62-a6f6-b251751a36b4" + "379a4644-5e8f-4c29-99e3-5f180bd8bc0b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:10 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,28 +415,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "09059329-e4e9-4da4-95a6-1ff9308d03d3" + "ae445860-fef5-4777-984e-4753cd4de002" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:27 GMT" + "Wed, 04 Mar 2015 22:56:11 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d7ecc334-8386-4f85-a201-1432ea64e34e" + "9e963d58-ce97-4a40-93ee-af9d52b3d0f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +445,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:27 GMT" + "Wed, 04 Mar 2015 22:56:10 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,28 +466,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d9e6bce9-6ec2-4042-b5f8-630121c8db1b" + "47f8418c-94a4-45c4-9e98-ca8f0bc59497" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:32 GMT" + "Wed, 04 Mar 2015 22:56:16 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e12332ef-5a77-4319-b3df-0fbc9fffa3f5" + "e46af10d-cdae-4df5-8031-a305c7074e91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -538,10 +496,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:33 GMT" + "Wed, 04 Mar 2015 22:56:16 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "70450220-90a7-43f6-b84a-0c21835ab60d" + "4eb458c3-4452-4950-8501-a72344ba3d75" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:38 GMT" + "Wed, 04 Mar 2015 22:56:22 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "10e24bcd-0c30-465f-b2eb-2c0c741a34da" + "c078c741-3796-40d2-9571-e5921a26df2c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -589,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:37 GMT" + "Wed, 04 Mar 2015 22:56:22 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -610,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "77f8b348-77a5-45ed-821a-7d1b0ed53df1" + "a1f8d5e1-630f-4ec1-afe0-8879c4a89a71" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:43 GMT" + "Wed, 04 Mar 2015 22:56:27 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ab02d0c0-7fe0-443d-9115-5844f128f194" + "2e829b25-31a7-4b7e-8921-e4cb0790088d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:43 GMT" + "Wed, 04 Mar 2015 22:56:27 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -661,28 +619,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cf4ad976-3170-46d9-adf1-c16c2962843c" + "ff2162b6-5a9c-4548-b37c-ca5ff696bc56" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:48 GMT" + "Wed, 04 Mar 2015 22:56:33 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "6487c167-3139-4424-9c21-856e7a2a47e9" + "4ed0c76c-e7ac-492a-800a-37684210e22a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,10 +649,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:48 GMT" + "Wed, 04 Mar 2015 22:56:32 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -712,28 +670,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a260b404-7300-466f-8cc9-e067dc7017e7" + "54c8a203-5319-4681-bef4-8882f8691137" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:54 GMT" + "Wed, 04 Mar 2015 22:56:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "062db519-de25-41e6-8687-ed389c80a438" + "ca4b72b9-6c99-4b6e-9d2d-79161a37b5a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -742,10 +700,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:54 GMT" + "Wed, 04 Mar 2015 22:56:37 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -763,28 +721,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6ced48e6-3988-4fe2-9251-d1651f782119" + "28c1e3f4-f75c-41fc-95bb-15b664fe8800" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:59 GMT" + "Wed, 04 Mar 2015 22:56:43 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "492a5836-fa26-49f7-8a8e-c1a2508ed54d" + "9d6ac1f8-68a4-4482-8818-0b360e26acea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -793,10 +751,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:59 GMT" + "Wed, 04 Mar 2015 22:56:43 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -814,28 +772,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0957eaf6-40a9-43fb-beef-062e71b10e4d" + "7f128ebc-2c5c-417a-9eb6-3a4c39165f83" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:04 GMT" + "Wed, 04 Mar 2015 22:56:49 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ddfecc53-50e5-47b6-bb73-4205981f630b" + "6d725274-3366-407b-9ad0-b4c5f25ca811" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -844,10 +802,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:05 GMT" + "Wed, 04 Mar 2015 22:56:49 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -865,28 +823,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "401fbf88-2b94-449e-93dc-51e153fb28bf" + "b0364a11-4139-420a-9b6a-f0c573ff30bb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:10 GMT" + "Wed, 04 Mar 2015 22:56:54 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "da44ac7e-ffba-47c9-9167-6db16c0dcc26" + "5eddacca-ce31-4f15-a1d2-602a28c7b6c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -895,10 +853,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:09 GMT" + "Wed, 04 Mar 2015 22:56:54 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -916,28 +874,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "67da34ec-0797-4b74-ad88-dff82f6abfd9" + "64ab6438-64c6-4e20-97cd-a2fb24a3aeb0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:15 GMT" + "Wed, 04 Mar 2015 22:56:59 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c5b884aa-9707-4736-8cbb-475729c7d3cf" + "f108515b-b779-4791-858c-b4bd48320aa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -946,10 +904,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:15 GMT" + "Wed, 04 Mar 2015 22:56:59 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -967,28 +925,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f641c7bf-7541-41c7-bba8-6dfc7143c538" + "1ecc6e51-b984-45bf-9df1-1bbda4e20b6e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:20 GMT" + "Wed, 04 Mar 2015 22:57:05 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:57:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fdbe55ef-1edd-4b05-a19f-d55bbba4d27a" + "f95edc27-15cf-4927-9133-1add38373fc4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -997,10 +955,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:20 GMT" + "Wed, 04 Mar 2015 22:57:04 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1018,28 +976,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7dd82edb-071e-4b48-96f3-7d8ee742554a" + "ecbee9c7-e140-4bfb-8be9-adb9a7d41f18" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:26 GMT" + "Wed, 04 Mar 2015 22:57:10 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:25:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:58:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "733119f9-4032-4555-a421-6a23d5fb70f8" + "0e1637f6-faa6-4e7a-85f8-4893218b357a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1048,10 +1006,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:26 GMT" + "Wed, 04 Mar 2015 22:57:10 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1069,28 +1027,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f417002a-c1de-4e86-82c2-81e7a2e1e3e4" + "4ebad7b0-cdc5-4cb3-bb4f-296bc8ddaafd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:31 GMT" + "Wed, 04 Mar 2015 22:57:13 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:26:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E58A3F33F9\",\r\n \"lastModified\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:09.8169849Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T22:58:09.8169849Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:56:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ff1a19c8-ecf0-474f-a00a-6bc95132385d" + "b7fcde39-b70a-44a1-91ec-ac722f3415ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1099,10 +1057,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:32 GMT" + "Wed, 04 Mar 2015 22:57:12 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E58A3F33F9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1111,49 +1069,109 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "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": [ - "WA-Batch/1.0" + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob\",\r\n \"name\": \"testlistjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "747" ], - "client-request-id": [ - "66677582-37b5-4022-b9b4-dc69ad0fab81" + "Content-Type": [ + "application/json; charset=utf-8" ], - "return-client-request-id": [ - "False" + "Expires": [ + "-1" ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "bd9dc902-ed4a-4c3b-b404-f7490b1b5c36" + ], + "x-ms-correlation-request-id": [ + "bd9dc902-ed4a-4c3b-b404-f7490b1b5c36" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225712Z:bd9dc902-ed4a-4c3b-b404-f7490b1b5c36" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288940133C046\",\r\n \"lastModified\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:26.9367366Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:26:26.9367366Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"testlistjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "323" + ], "Content-Type": [ - "application/json; odata=minimalmetadata" + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:26 GMT" + "Wed, 04 Mar 2015 22:57:12 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "request-id": [ - "25222882-5c38-47db-9289-73068f453d00" + "ea90deed-b568-48a8-9859-b3155f2b4eb6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "DataServiceVersion": [ - "3.0" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "78eb1335-d96c-403a-ad8e-3eae3a6730e3" + ], + "x-ms-correlation-request-id": [ + "78eb1335-d96c-403a-ad8e-3eae3a6730e3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225713Z:78eb1335-d96c-403a-ad8e-3eae3a6730e3" + ], + "Cache-Control": [ + "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Wed, 04 Mar 2015 22:57:12 GMT" ], "ETag": [ - "0x8D288940133C046" + "0x8D224E5AF904073" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1171,16 +1189,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a96c58a3-4956-4cdb-a392-322b62ad1fa2" + "355dce36-e7b7-4e56-b00f-19cf81cfb749" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:32 GMT" + "Wed, 04 Mar 2015 22:57:13 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D2889424F98774\",\r\n \"lastModified\": \"2015-07-09T19:25:26.9531508Z\",\r\n \"creationTime\": \"2015-07-09T19:25:26.9371428Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:25:26.9531508Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:25:26.9531508Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889401B9F8D6\",\r\n \"lastModified\": \"2015-07-09T19:24:27.816367Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.977735Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:28.4685017Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:24:26.9937263Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:24:26.9937263Z\",\r\n \"endTime\": \"2015-07-09T19:24:28.4685017Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D224E5AE064264\",\r\n \"lastModified\": \"2015-03-04T22:57:09.8417764Z\",\r\n \"creationTime\": \"2015-03-04T22:57:09.8177703Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:57:09.8417764Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T22:57:09.8417764Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E58AE9AD62\",\r\n \"lastModified\": \"2015-03-04T22:56:10.934205Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8509767Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:10.9668348Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-03-04T22:56:09.8883137Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T22:56:09.8883137Z\",\r\n \"endTime\": \"2015-03-04T22:56:10.9668348Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -1189,7 +1207,7 @@ "chunked" ], "request-id": [ - "ebafd00f-bbb4-4bf7-89b8-e8ba2461a80d" + "3283fd5e-628c-48a8-a9ae-6fa47ab59d92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1198,7 +1216,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Wed, 04 Mar 2015 22:57:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1216,16 +1234,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "eff70d6f-b6b4-429a-8352-2ba58511e764" + "c6e62a74-0d76-4a89-9743-fbdba472e80f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Wed, 04 Mar 2015 22:57:13 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D2889424F98774\",\r\n \"lastModified\": \"2015-07-09T19:25:26.9531508Z\",\r\n \"creationTime\": \"2015-07-09T19:25:26.9371428Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:25:26.9531508Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:25:26.9531508Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889401B9F8D6\",\r\n \"lastModified\": \"2015-07-09T19:24:27.816367Z\",\r\n \"creationTime\": \"2015-07-09T19:24:26.977735Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:28.4685017Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:24:26.9937263Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:24:26.9937263Z\",\r\n \"endTime\": \"2015-07-09T19:24:28.4685017Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D224E5AE064264\",\r\n \"lastModified\": \"2015-03-04T22:57:09.8417764Z\",\r\n \"creationTime\": \"2015-03-04T22:57:09.8177703Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:57:09.8417764Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T22:57:09.8417764Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E58AE9AD62\",\r\n \"lastModified\": \"2015-03-04T22:56:10.934205Z\",\r\n \"creationTime\": \"2015-03-04T22:56:09.8509767Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-04T22:56:10.9668348Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-03-04T22:56:09.8883137Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T22:56:09.8883137Z\",\r\n \"endTime\": \"2015-03-04T22:56:10.9668348Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -1234,7 +1252,7 @@ "chunked" ], "request-id": [ - "dccb6fd6-35a8-40e2-ae65-8883c7d1d8e4" + "c40c867f-dac6-44b1-a288-4ea5a516dd7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1243,7 +1261,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Wed, 04 Mar 2015 22:57:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1261,13 +1279,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "829c8c02-675f-4931-82b2-34e5a40530e7" + "7c76f028-6586-498c-b434-9242c800ad0f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Wed, 04 Mar 2015 22:57:14 GMT" ] }, "ResponseBody": "", @@ -1276,7 +1294,7 @@ "chunked" ], "request-id": [ - "d34e67df-66e2-4022-8d4e-b60a3391276f" + "07b06e31-4f5d-48db-942a-e35daf12da3d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1285,13 +1303,451 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:25:33 GMT" + "Wed, 04 Mar 2015 22:57:13 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "39155378-7601-49a3-8a65-27e67f041c9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "x-ms-request-id": [ + "34f9ea30-6294-45ae-9fec-05ec4a76ee37" + ], + "x-ms-correlation-request-id": [ + "34f9ea30-6294-45ae-9fec-05ec4a76ee37" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225717Z:34f9ea30-6294-45ae-9fec-05ec4a76ee37" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/39155378-7601-49a3-8a65-27e67f041c9b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/39155378-7601-49a3-8a65-27e67f041c9b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL29wZXJhdGlvblJlc3VsdHMvMzkxNTUzNzgtNzYwMS00OWEzLThhNjUtMjdlNjdmMDQxYzliP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "55cc66fc-934c-46bd-8a78-dd38e401eb4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "e95d689b-2045-4bcb-9b8e-4202cf0cfd5d" + ], + "x-ms-correlation-request-id": [ + "e95d689b-2045-4bcb-9b8e-4202cf0cfd5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225717Z:e95d689b-2045-4bcb-9b8e-4202cf0cfd5d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/39155378-7601-49a3-8a65-27e67f041c9b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/39155378-7601-49a3-8a65-27e67f041c9b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL29wZXJhdGlvblJlc3VsdHMvMzkxNTUzNzgtNzYwMS00OWEzLThhNjUtMjdlNjdmMDQxYzliP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:57:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "bfcb0838-50db-4fad-9e31-c5a772ff61f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "34cba33f-98fb-4f46-8a47-03c479f09871" + ], + "x-ms-correlation-request-id": [ + "34cba33f-98fb-4f46-8a47-03c479f09871" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225732Z:34cba33f-98fb-4f46-8a47-03c479f09871" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:31 GMT" + ], + "ETag": [ + "0x8D224E5BB44B673" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2I/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "62e524fa-6091-4d47-b1ac-76cd753062a7" + ], + "x-ms-correlation-request-id": [ + "62e524fa-6091-4d47-b1ac-76cd753062a7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225733Z:62e524fa-6091-4d47-b1ac-76cd753062a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "0b77ab00-0ef1-42cc-825a-7e81125d4be9" + ], + "x-ms-correlation-request-id": [ + "0b77ab00-0ef1-42cc-825a-7e81125d4be9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225733Z:0b77ab00-0ef1-42cc-825a-7e81125d4be9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "25392397-537c-4260-93d3-74a352526785" + ], + "x-ms-correlation-request-id": [ + "25392397-537c-4260-93d3-74a352526785" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225749Z:25392397-537c-4260-93d3-74a352526785" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:57:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "25e423d5-8a3a-42aa-b469-7c87aba02d98" + ], + "x-ms-correlation-request-id": [ + "25e423d5-8a3a-42aa-b469-7c87aba02d98" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225804Z:25e423d5-8a3a-42aa-b469-7c87aba02d98" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:58:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "553cf142-28cf-48cf-9098-a218321ce064" + ], + "x-ms-correlation-request-id": [ + "553cf142-28cf-48cf-9098-a218321ce064" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T225819Z:553cf142-28cf-48cf-9098-a218321ce064" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:58:19 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json index 4dcf4bddf10c..f67726756f6d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" - ], - "x-ms-request-id": [ - "c051c275-34f2-4c44-a0c8-7b683da54997" - ], - "x-ms-correlation-request-id": [ - "c051c275-34f2-4c44-a0c8-7b683da54997" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192837Z:c051c275-34f2-4c44-a0c8-7b683da54997" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:28:36 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe\",\r\n \"name\": \"test-list-job-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "189" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" ], "x-ms-request-id": [ - "b02f36b1-4cd9-458a-bd6c-a014d984dd03" + "4e93fe4b-cdbe-4a02-9dac-4c440b32709a" ], "x-ms-correlation-request-id": [ - "b02f36b1-4cd9-458a-bd6c-a014d984dd03" + "4e93fe4b-cdbe-4a02-9dac-4c440b32709a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192839Z:b02f36b1-4cd9-458a-bd6c-a014d984dd03" + "WESTUS:20150304T230544Z:4e93fe4b-cdbe-4a02-9dac-4c440b32709a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:38 GMT" + "Wed, 04 Mar 2015 23:05:44 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:28:37 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1177" + ], "request-id": [ - "9b364ecb-50d8-4a91-afc2-b6e13dd8d722" + "f66635fa-cb28-4c2d-b4dc-f660c9d2f476" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" - ], "x-ms-request-id": [ - "c7160666-7af5-4e42-810c-6711bc4b650b" + "caa23283-87f9-4a91-aeb4-5ec83bef3087" ], "x-ms-correlation-request-id": [ - "c7160666-7af5-4e42-810c-6711bc4b650b" + "caa23283-87f9-4a91-aeb4-5ec83bef3087" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192837Z:c7160666-7af5-4e42-810c-6711bc4b650b" + "WESTUS:20150304T230548Z:caa23283-87f9-4a91-aeb4-5ec83bef3087" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:37 GMT" + "Wed, 04 Mar 2015 23:05:48 GMT" ], - "ETag": [ - "0x8D28894969928B5" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/f66635fa-cb28-4c2d-b4dc-f660c9d2f476?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/f66635fa-cb28-4c2d-b4dc-f660c9d2f476?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL29wZXJhdGlvblJlc3VsdHMvZjY2NjM1ZmEtY2IyOC00YzJkLWI0ZGMtZjY2MGM5ZDJmNDc2P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistjobpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "340" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:05:48 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "423db144-6b52-4964-a9c4-4d824831b5aa" + "9ddd388e-3773-4fdd-8727-c2d10e2567de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "31975" ], "x-ms-request-id": [ - "52762205-8d0a-4263-aacb-f656c35e458c" + "d2ef9427-0931-42a1-825a-41bbe2cee7ff" ], "x-ms-correlation-request-id": [ - "52762205-8d0a-4263-aacb-f656c35e458c" + "d2ef9427-0931-42a1-825a-41bbe2cee7ff" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192839Z:52762205-8d0a-4263-aacb-f656c35e458c" + "WESTUS:20150304T230548Z:d2ef9427-0931-42a1-825a-41bbe2cee7ff" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:38 GMT" + "Wed, 04 Mar 2015 23:05:48 GMT" ], "ETag": [ - "0x8D28894977723F4" + "0x8D224E6E2F7E415" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjobpipe\",\r\n \"primary\": \"u84FHYAF6m6de25ULLJKI1nVJGO71p+cQxHzOWRQy2Bxe76lzgR98AKKykb8IYTAHDZoeo1DgPife59Z1D25ug==\",\r\n \"secondary\": \"hwa5j3bBOONLE4xMzdsf1FgLYner+h3nw8IjuVaJDtADPzNt/PVu5QkfNDzeSp3KX9xYiKEQzTKWqpXh/h+5wQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "237" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "d8d8ec9a-1f39-4d2e-bc65-e789f0395c00" + "0327a360-e85b-4152-8f1e-668742c3d068" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1176" ], "x-ms-request-id": [ - "3ecc87e1-c1b2-46a7-9986-0a4406031d1e" + "de73330b-e971-4e6a-8849-e23e61d88238" ], "x-ms-correlation-request-id": [ - "3ecc87e1-c1b2-46a7-9986-0a4406031d1e" + "de73330b-e971-4e6a-8849-e23e61d88238" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192838Z:3ecc87e1-c1b2-46a7-9986-0a4406031d1e" + "WESTUS:20150304T230549Z:de73330b-e971-4e6a-8849-e23e61d88238" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:37 GMT" + "Wed, 04 Mar 2015 23:05:48 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjobpipe\",\r\n \"primary\": \"u84FHYAF6m6de25ULLJKI1nVJGO71p+cQxHzOWRQy2Bxe76lzgR98AKKykb8IYTAHDZoeo1DgPife59Z1D25ug==\",\r\n \"secondary\": \"hwa5j3bBOONLE4xMzdsf1FgLYner+h3nw8IjuVaJDtADPzNt/PVu5QkfNDzeSp3KX9xYiKEQzTKWqpXh/h+5wQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "237" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "35abdd19-8abf-4b78-8726-204006d3acc2" + "d2abebdd-7cd9-4704-ad84-8eb17b8784a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1175" ], "x-ms-request-id": [ - "1a1562e5-18b2-45b3-ae7b-e5587a08d41e" + "33490538-2250-4bf9-ae5d-38ad41639f6c" ], "x-ms-correlation-request-id": [ - "1a1562e5-18b2-45b3-ae7b-e5587a08d41e" + "33490538-2250-4bf9-ae5d-38ad41639f6c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192839Z:1a1562e5-18b2-45b3-ae7b-e5587a08d41e" + "WESTUS:20150304T230632Z:33490538-2250-4bf9-ae5d-38ad41639f6c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:06:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f1d9420d-ba59-43fb-9544-112ba4937d13" + "8c49348a-b515-45c3-9f34-f84b02e09385" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:37 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:28:38 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "96d58f52-73cf-4e63-a175-736416298f8d" + "58d96bdb-b58b-4fbb-a482-91cceae18a3e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:28:37 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ], "ETag": [ - "0x8D2889497434D08" + "0x8D224E6FB558AC8" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1a25d110-5795-48d4-8994-ff9eb4e57ce5" + "c6023feb-c979-4781-961f-1aa4c23f9d76" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:38 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2889497434D08\",\r\n \"lastModified\": \"2015-07-09T19:28:38.696884Z\",\r\n \"creationTime\": \"2015-07-09T19:28:38.696884Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:28:38.696884Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E6FB558AC8\",\r\n \"lastModified\": \"2015-03-04T23:06:29.0426568Z\",\r\n \"creationTime\": \"2015-03-04T23:06:29.0426568Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:06:29.0426568Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:28:38 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4c9ea1a2-efe0-4a6c-98ba-64f805efd3ba" + "7ad653c9-7497-4ee5-aa6d-dc5cae54882c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:37 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ], "ETag": [ - "0x8D2889497434D08" + "0x8D224E6FB558AC8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,28 +415,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "59161d1d-8549-478f-a345-52e97b9aaf6a" + "1ed7128c-390e-4d00-be02-ccce940bcc52" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:06:32 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2889497434D08\",\r\n \"lastModified\": \"2015-07-09T19:28:38.696884Z\",\r\n \"creationTime\": \"2015-07-09T19:28:38.696884Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:28:38.696884Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E6FB558AC8\",\r\n \"lastModified\": \"2015-03-04T23:06:29.0426568Z\",\r\n \"creationTime\": \"2015-03-04T23:06:29.0426568Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:06:29.0426568Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:28:38 GMT" + "Wed, 04 Mar 2015 23:06:29 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "3381b69e-a931-421b-a8dc-94de5577d847" + "23c79031-592c-4c00-8c2c-f45fcc1bb4d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +445,121 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:06:32 GMT" + ], + "ETag": [ + "0x8D224E6FB558AC8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe\",\r\n \"name\": \"testlistjobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "760" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "3d331525-ea3e-4cd6-8ff5-93078425d600" + ], + "x-ms-correlation-request-id": [ + "3d331525-ea3e-4cd6-8ff5-93078425d600" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230631Z:3d331525-ea3e-4cd6-8ff5-93078425d600" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "340" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:06:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d3a20bbb-8d9e-4c1f-87ab-df267b32fa56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "f6aea34e-9208-4c2d-beb7-96d87000660c" + ], + "x-ms-correlation-request-id": [ + "f6aea34e-9208-4c2d-beb7-96d87000660c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230632Z:f6aea34e-9208-4c2d-beb7-96d87000660c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:31 GMT" ], "ETag": [ - "0x8D2889497434D08" + "0x8D224E6FCD629DE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,16 +577,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e86b1044-b8ce-4ef0-9dfe-9ebc0bede3f6" + "bb2426ef-e326-4d56-bf69-23130f0cb558" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:06:32 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28894974C4DFD\",\r\n \"lastModified\": \"2015-07-09T19:28:38.7558909Z\",\r\n \"creationTime\": \"2015-07-09T19:28:38.7388848Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:28:38.7558909Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:28:38.7558909Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobpipe.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E6FB668420\",\r\n \"lastModified\": \"2015-03-04T23:06:29.1538976Z\",\r\n \"creationTime\": \"2015-03-04T23:06:29.1236098Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:06:29.1538976Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:06:29.1538976Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -526,7 +595,7 @@ "chunked" ], "request-id": [ - "1fd2552b-782f-4bb2-8252-0422423808f3" + "a6d9946e-3de4-461d-b385-0c1d806b732a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -535,7 +604,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:06:32 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -553,13 +622,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4bd95e40-6a47-494a-9274-0cc7fa99aadb" + "da65d853-1ae2-478c-8840-226d5c20d860" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:39 GMT" + "Wed, 04 Mar 2015 23:06:33 GMT" ] }, "ResponseBody": "", @@ -568,7 +637,7 @@ "chunked" ], "request-id": [ - "6e54968c-51cc-4b59-924c-a5cf655f772f" + "8ffd5577-2b91-4235-a5b2-859fea94a67c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -577,13 +646,337 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:40 GMT" + "Wed, 04 Mar 2015 23:06:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d15e81e4-4e90-488b-a227-dd927342cf58" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1174" + ], + "x-ms-request-id": [ + "d34a47a7-5fe1-400a-861c-1c9a10ce5913" + ], + "x-ms-correlation-request-id": [ + "d34a47a7-5fe1-400a-861c-1c9a10ce5913" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230636Z:d34a47a7-5fe1-400a-861c-1c9a10ce5913" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/d15e81e4-4e90-488b-a227-dd927342cf58?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/d15e81e4-4e90-488b-a227-dd927342cf58?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL29wZXJhdGlvblJlc3VsdHMvZDE1ZTgxZTQtNGU5MC00ODhiLWEyMjctZGQ5MjczNDJjZjU4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:06:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5f954683-a20a-4183-b8c5-8c876985a383" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "9f942b12-b8dd-4e7b-a2fc-9e5ae7418996" + ], + "x-ms-correlation-request-id": [ + "9f942b12-b8dd-4e7b-a2fc-9e5ae7418996" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230636Z:9f942b12-b8dd-4e7b-a2fc-9e5ae7418996" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:35 GMT" + ], + "ETag": [ + "0x8D224E6FF40F549" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "x-ms-request-id": [ + "13b5f1b5-083e-4be2-80c2-8967a47c4d78" + ], + "x-ms-correlation-request-id": [ + "13b5f1b5-083e-4be2-80c2-8967a47c4d78" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230637Z:13b5f1b5-083e-4be2-80c2-8967a47c4d78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:36 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "af87c7d8-2739-4735-8086-977a75684504" + ], + "x-ms-correlation-request-id": [ + "af87c7d8-2739-4735-8086-977a75684504" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230637Z:af87c7d8-2739-4735-8086-977a75684504" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "48476151-fc1d-4886-a8e1-cdda65a8af0c" + ], + "x-ms-correlation-request-id": [ + "48476151-fc1d-4886-a8e1-cdda65a8af0c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230653Z:48476151-fc1d-4886-a8e1-cdda65a8af0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:06:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "2085eccd-d108-44c3-b4b8-17e50b20e89a" + ], + "x-ms-correlation-request-id": [ + "2085eccd-d108-44c3-b4b8-17e50b20e89a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230708Z:2085eccd-d108-44c3-b4b8-17e50b20e89a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:07:07 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json index a0393ed28993..5b0d68ea5f87 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" - ], - "x-ms-request-id": [ - "fcd2c209-d9ec-4e50-af64-1b57bb1d74a6" - ], - "x-ms-correlation-request-id": [ - "fcd2c209-d9ec-4e50-af64-1b57bb1d74a6" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192703Z:fcd2c209-d9ec-4e50-af64-1b57bb1d74a6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:27:02 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter\",\r\n \"name\": \"test-list-job-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "193" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" ], "x-ms-request-id": [ - "dd68b225-48ba-40f2-9361-d31c3d5857ee" + "1f125785-077d-428d-8338-54c1313696b9" ], "x-ms-correlation-request-id": [ - "dd68b225-48ba-40f2-9361-d31c3d5857ee" + "1f125785-077d-428d-8338-54c1313696b9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192810Z:dd68b225-48ba-40f2-9361-d31c3d5857ee" + "WESTUS:20150304T230822Z:1f125785-077d-428d-8338-54c1313696b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:10 GMT" + "Wed, 04 Mar 2015 23:08:21 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:04 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], "request-id": [ - "63183d5a-5194-4e76-9648-51fc88d01b4b" + "68f74289-1d23-495c-a5cc-8a2f6357f2f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], "x-ms-request-id": [ - "3028282d-5e12-4426-bb05-5a3d9272ac52" + "b885f0f4-c4b5-4cb7-87f8-12a61aaf8be6" ], "x-ms-correlation-request-id": [ - "3028282d-5e12-4426-bb05-5a3d9272ac52" + "b885f0f4-c4b5-4cb7-87f8-12a61aaf8be6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192704Z:3028282d-5e12-4426-bb05-5a3d9272ac52" + "WESTUS:20150304T230827Z:b885f0f4-c4b5-4cb7-87f8-12a61aaf8be6" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:27:04 GMT" + "Wed, 04 Mar 2015 23:08:26 GMT" ], - "ETag": [ - "0x8D288945F038ADE" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/68f74289-1d23-495c-a5cc-8a2f6357f2f3?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/68f74289-1d23-495c-a5cc-8a2f6357f2f3?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9vcGVyYXRpb25SZXN1bHRzLzY4Zjc0Mjg5LTFkMjMtNDk1Yy1hNWNjLThhMmY2MzU3ZjJmMz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistjobfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:28:11 GMT" + "Wed, 04 Mar 2015 23:08:26 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "b3a4884b-dfa5-4576-a7b6-3c0614ae286a" + "46c311f6-211f-444f-ab81-32b825d9004a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "31971" ], "x-ms-request-id": [ - "8b6f6596-369d-4496-93e8-d08cbbdea149" + "77aefd58-0865-451c-865e-82f4cc57b847" ], "x-ms-correlation-request-id": [ - "8b6f6596-369d-4496-93e8-d08cbbdea149" + "77aefd58-0865-451c-865e-82f4cc57b847" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192811Z:8b6f6596-369d-4496-93e8-d08cbbdea149" + "WESTUS:20150304T230827Z:77aefd58-0865-451c-865e-82f4cc57b847" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:10 GMT" + "Wed, 04 Mar 2015 23:08:26 GMT" ], "ETag": [ - "0x8D2889486D0A6B0" + "0x8D224E741482A33" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjobfilter\",\r\n \"primary\": \"iv8uXr0sg2kS5HlQDEflABsh5tgM0ngd+UtkfeXz8tvBENWR5hOOqqIjhk78f/ZGyUCC1Yo0VNICbxEL9SywiA==\",\r\n \"secondary\": \"3pssYZ1uQaPahxMa+FpVxTY+rSbp5+z56NjKmYPHmd8FMMM7Pk4ZyKQkP/2ARe6h6wfszgEka0DxRnmkLdXh0g==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "239" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,7 +208,7 @@ "no-cache" ], "request-id": [ - "c0178206-6225-4ac1-9e07-e80e985cf465" + "80f26f6a-560d-4cc3-b19e-4c7df376d979" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -259,19 +217,19 @@ "1180" ], "x-ms-request-id": [ - "ab04c51d-b226-4a0d-90a0-9a860ef0d14c" + "36e92f7d-1665-456e-8a24-8a774db4461e" ], "x-ms-correlation-request-id": [ - "ab04c51d-b226-4a0d-90a0-9a860ef0d14c" + "36e92f7d-1665-456e-8a24-8a774db4461e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192704Z:ab04c51d-b226-4a0d-90a0-9a860ef0d14c" + "WESTUS:20150304T230827Z:36e92f7d-1665-456e-8a24-8a774db4461e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:27:04 GMT" + "Wed, 04 Mar 2015 23:08:26 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjobfilter\",\r\n \"primary\": \"iv8uXr0sg2kS5HlQDEflABsh5tgM0ngd+UtkfeXz8tvBENWR5hOOqqIjhk78f/ZGyUCC1Yo0VNICbxEL9SywiA==\",\r\n \"secondary\": \"3pssYZ1uQaPahxMa+FpVxTY+rSbp5+z56NjKmYPHmd8FMMM7Pk4ZyKQkP/2ARe6h6wfszgEka0DxRnmkLdXh0g==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "239" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,7 +265,7 @@ "no-cache" ], "request-id": [ - "163b284f-e15e-48fe-8ef2-92a6cc76074d" + "5bb17f0e-7902-4fd2-abee-c9d6d0b52a22" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -316,19 +274,19 @@ "1179" ], "x-ms-request-id": [ - "14cfb262-0065-47e9-9db3-3aaadb4d2976" + "0a831933-550e-4ed8-b2d3-5020aae12b90" ], "x-ms-correlation-request-id": [ - "14cfb262-0065-47e9-9db3-3aaadb4d2976" + "0a831933-550e-4ed8-b2d3-5020aae12b90" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192811Z:14cfb262-0065-47e9-9db3-3aaadb4d2976" + "WESTUS:20150304T231005Z:0a831933-550e-4ed8-b2d3-5020aae12b90" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:10 GMT" + "Wed, 04 Mar 2015 23:10:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0cd716a9-bc92-4828-b31b-066117b51146" + "2f6369e1-b6f0-403f-b17d-a23ca38f55c5" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:04 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a6b8eb66-dba7-4059-a76d-1a365d6474ac" + "685906a7-386a-4ce3-8bcd-19fb14f5ad70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:27:04 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cf8f970a-958d-4bd0-9f4f-095009ca5905" + "b5786625-080e-4cf9-abd1-88300e0b95f6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "28f9418c-3a27-4155-a832-a7e4de485ce0" + "13dae758-a315-4936-b397-2b13b79f2848" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:02 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,28 +415,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4eabc734-fe54-40be-b926-883ca456d005" + "f39c0fde-3bdc-4223-88fa-d63c37823648" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:06 GMT" + "Wed, 04 Mar 2015 23:09:03 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ab470bac-d482-4386-81da-3b33e0f6031d" + "30397d5a-578f-4126-83cd-39ecc31d3443" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +445,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:06 GMT" + "Wed, 04 Mar 2015 23:09:03 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,28 +466,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "fc0b8509-d7cf-4954-ac90-3d8dda0402dc" + "ec215e7e-41db-45c0-a263-e3c23557bca3" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:11 GMT" + "Wed, 04 Mar 2015 23:09:08 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b487118b-217a-47e2-b559-86f866ce094e" + "41688500-27db-4c7d-b109-56edbb5dbb8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -538,10 +496,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:11 GMT" + "Wed, 04 Mar 2015 23:09:08 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ef9d8020-f931-44b9-8305-8d4a1e76d7dc" + "6b688aa0-01bb-474d-b957-23b47983c9c0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:16 GMT" + "Wed, 04 Mar 2015 23:09:13 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "790327ce-89fc-4f0a-88a4-b60e9f16b293" + "8302b23d-a621-4702-a40b-212620194273" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -589,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:16 GMT" + "Wed, 04 Mar 2015 23:09:13 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -610,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7fb86bd7-3748-4194-b978-e416ac607ffb" + "5195e161-cee6-4e86-bd18-56daece7edc8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:22 GMT" + "Wed, 04 Mar 2015 23:09:19 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "927d62dd-4ebf-439b-9503-570230e1f76d" + "bcdb7f8e-dcb6-4034-bee5-e302a2046c84" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:20 GMT" + "Wed, 04 Mar 2015 23:09:19 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -661,28 +619,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b185e4c8-67c4-4139-9490-9babe38df6c5" + "18ac5006-aa5b-4b5d-9a85-326adcc77af5" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:27 GMT" + "Wed, 04 Mar 2015 23:09:24 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "1c34d799-5867-4a11-b998-070e0d80b5f5" + "cb2ceee3-c082-4b23-91b8-bc20972f3fbf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,10 +649,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:27 GMT" + "Wed, 04 Mar 2015 23:09:24 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -712,28 +670,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "16060753-30bf-4875-8575-2650e91eafbc" + "31385e18-e8e7-4766-b7b8-4036d559ea47" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:32 GMT" + "Wed, 04 Mar 2015 23:09:29 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "301add79-b841-4683-ab67-039ff2c26772" + "4bdd59ed-ded6-4fa2-a2a7-2098acdd48a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -742,10 +700,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:32 GMT" + "Wed, 04 Mar 2015 23:09:29 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -763,28 +721,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "272de535-58c2-4f3b-9b9a-d2c639a26b6f" + "8e7c6ce0-c678-4674-95a2-2b0fed1dd92f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:38 GMT" + "Wed, 04 Mar 2015 23:09:35 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "06fcfe39-9b38-41ae-988a-cfbe43cb162f" + "32819ba6-70d4-4bd4-84de-f31d70428293" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -793,10 +751,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:37 GMT" + "Wed, 04 Mar 2015 23:09:35 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -814,28 +772,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "631f0f3d-8e27-4cca-917c-1cdcbd74abb8" + "fdf0cdd6-4baf-42d5-a97b-ebb4f550fa15" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:43 GMT" + "Wed, 04 Mar 2015 23:09:40 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "1d00e957-4720-462c-8329-b43ec7b0d1db" + "1eb09ed8-2a4b-4934-90b0-fd732bbafb86" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -844,10 +802,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:43 GMT" + "Wed, 04 Mar 2015 23:09:40 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -865,28 +823,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f8862225-8806-4338-bfe3-84f4fa2094a4" + "600caa72-60e9-4e03-85a1-3a4ee58e26ea" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:48 GMT" + "Wed, 04 Mar 2015 23:09:45 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "99626cf6-a069-4a25-b394-b57bec61d29b" + "6458bebd-35bf-41da-ba9a-20780986dd8c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -895,10 +853,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:48 GMT" + "Wed, 04 Mar 2015 23:09:45 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -916,28 +874,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "9df484fe-f714-45f3-8d0b-a535d2e31c53" + "ac4ba006-fa54-4736-af77-20fe32c29e0b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:54 GMT" + "Wed, 04 Mar 2015 23:09:51 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "17522028-0321-4bab-b9a0-fb3f95ecc25e" + "d0a71cb3-4f61-4364-85f2-c0d6c35c8d29" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -946,10 +904,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:54 GMT" + "Wed, 04 Mar 2015 23:09:50 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -967,28 +925,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0e087a78-ad21-4a08-b93e-9b651fd5c3ff" + "4b1d9d3d-d911-4572-acdf-c2c80e45bcc6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:27:59 GMT" + "Wed, 04 Mar 2015 23:09:56 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:10:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "3ab2c6f9-3e1e-47cc-9feb-2a974122cfd7" + "14887e80-6b28-4bae-91ae-d965a428da2e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -997,10 +955,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:27:59 GMT" + "Wed, 04 Mar 2015 23:09:56 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1018,28 +976,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a953f36f-0294-4d9b-a395-d26d230df2e7" + "3ee983a1-3bb8-45da-8123-7bae50948e47" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:04 GMT" + "Wed, 04 Mar 2015 23:10:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:28:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:11:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "5b0700e7-cf78-4b7c-a1ff-c94243fc15b5" + "848de004-9720-4301-852e-9cf362feeacf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1048,10 +1006,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:04 GMT" + "Wed, 04 Mar 2015 23:10:01 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1069,28 +1027,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1fba3510-2ccf-4d06-85f9-6edc22d7fb15" + "cdc011a3-f2a5-4b4f-958f-ce458c2f122f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:10 GMT" + "Wed, 04 Mar 2015 23:10:05 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:29:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E75649030E\",\r\n \"lastModified\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"creationTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:09:01.6332046Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:11:01.6332046Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:09:01 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d4de29cb-16a9-4163-8855-15d2885f05bc" + "928dc1ef-ad2d-4e3d-99e4-875c07044792" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1099,10 +1057,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:09 GMT" + "Wed, 04 Mar 2015 23:10:05 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E75649030E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1111,49 +1069,109 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "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": [ - "WA-Batch/1.0" + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter\",\r\n \"name\": \"testlistjobfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "766" ], - "client-request-id": [ - "c984e004-67cf-4097-b526-39b1747f5f56" + "Content-Type": [ + "application/json; charset=utf-8" ], - "return-client-request-id": [ - "False" + "Expires": [ + "-1" ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:28:11 GMT" + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "8e0025aa-d990-4e31-8f04-7a4e7c5d373f" + ], + "x-ms-correlation-request-id": [ + "8e0025aa-d990-4e31-8f04-7a4e7c5d373f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231004Z:8e0025aa-d990-4e31-8f04-7a4e7c5d373f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:03 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D288945FCFF753\",\r\n \"lastModified\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"creationTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:27:05.6663379Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:29:05.6663379Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "348" + ], "Content-Type": [ - "application/json; odata=minimalmetadata" + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:27:05 GMT" + "Wed, 04 Mar 2015 23:10:04 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "request-id": [ - "c657cbd7-cd2d-4a31-a2a1-d89e81cc3c5b" + "15e85675-40df-4b02-843f-3c2387ba5b10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "DataServiceVersion": [ - "3.0" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "a24ba613-c854-42e2-a138-508d7269ab4d" + ], + "x-ms-correlation-request-id": [ + "a24ba613-c854-42e2-a138-508d7269ab4d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231004Z:a24ba613-c854-42e2-a138-508d7269ab4d" + ], + "Cache-Control": [ + "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:28:11 GMT" + "Wed, 04 Mar 2015 23:10:04 GMT" ], "ETag": [ - "0x8D288945FCFF753" + "0x8D224E77B7E2C08" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1171,16 +1189,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b72514b9-f050-49cd-bfae-1ab2486ecbfd" + "35b9842d-6952-42db-a884-337f350c2f6a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:11 GMT" + "Wed, 04 Mar 2015 23:10:04 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D288948395892D\",\r\n \"lastModified\": \"2015-07-09T19:28:05.6813869Z\",\r\n \"creationTime\": \"2015-07-09T19:28:05.6663871Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:28:05.6813869Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:28:05.6813869Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D224E77A0EC716\",\r\n \"lastModified\": \"2015-03-04T23:10:01.6495382Z\",\r\n \"creationTime\": \"2015-03-04T23:10:01.6335375Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:10:01.6495382Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:10:01.6495382Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -1189,7 +1207,7 @@ "chunked" ], "request-id": [ - "fc32a6ca-1392-4a89-8c48-5fd4da0a4e3d" + "8a7d22c1-55da-421d-80e6-5de9419c683e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1198,7 +1216,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:10 GMT" + "Wed, 04 Mar 2015 23:10:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1216,16 +1234,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0cac3c1a-646a-4ee1-91a2-bb1bc0cf5de3" + "1b7ec0b4-0a72-4dd7-a0a6-48318d4f82a1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:11 GMT" + "Wed, 04 Mar 2015 23:10:05 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D288948395892D\",\r\n \"lastModified\": \"2015-07-09T19:28:05.6813869Z\",\r\n \"creationTime\": \"2015-07-09T19:28:05.6663871Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:28:05.6813869Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:28:05.6813869Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D224E77A0EC716\",\r\n \"lastModified\": \"2015-03-04T23:10:01.6495382Z\",\r\n \"creationTime\": \"2015-03-04T23:10:01.6335375Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:10:01.6495382Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:10:01.6495382Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -1234,7 +1252,7 @@ "chunked" ], "request-id": [ - "738abcc4-740b-4763-a7b1-bc3fb0dfe4b8" + "a57f6cb0-f936-4f55-9b3c-118c1b824339" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1243,7 +1261,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:11 GMT" + "Wed, 04 Mar 2015 23:10:05 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1261,13 +1279,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e98c7678-46f2-43dd-ac5f-65c2a3269fee" + "cbb833ac-8b91-4456-a290-97fc193616fa" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:28:12 GMT" + "Wed, 04 Mar 2015 23:10:06 GMT" ] }, "ResponseBody": "", @@ -1276,7 +1294,7 @@ "chunked" ], "request-id": [ - "f5f55185-7ffd-4fa4-9fa9-3b0c1fb89a71" + "e30a1567-fb37-4940-9698-35eba3be15a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1285,13 +1303,397 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:28:12 GMT" + "Wed, 04 Mar 2015 23:10:05 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "abc21db2-ed97-4684-831c-63e27542e694" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-request-id": [ + "5eb9c035-2baf-4a0a-867e-e4555ae3038b" + ], + "x-ms-correlation-request-id": [ + "5eb9c035-2baf-4a0a-867e-e4555ae3038b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231008Z:5eb9c035-2baf-4a0a-867e-e4555ae3038b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/abc21db2-ed97-4684-831c-63e27542e694?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/abc21db2-ed97-4684-831c-63e27542e694?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9vcGVyYXRpb25SZXN1bHRzL2FiYzIxZGIyLWVkOTctNDY4NC04MzFjLTYzZTI3NTQyZTY5ND9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b490639e-8265-4303-beee-d321a5092205" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "7a3cd1de-86d0-46b7-9418-fcf9e51ed623" + ], + "x-ms-correlation-request-id": [ + "7a3cd1de-86d0-46b7-9418-fcf9e51ed623" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231008Z:7a3cd1de-86d0-46b7-9418-fcf9e51ed623" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/abc21db2-ed97-4684-831c-63e27542e694?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/abc21db2-ed97-4684-831c-63e27542e694?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9vcGVyYXRpb25SZXN1bHRzL2FiYzIxZGIyLWVkOTctNDY4NC04MzFjLTYzZTI3NTQyZTY5ND9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:10:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "092c58f0-7ace-46c9-a9be-a9cc21f42d76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "26f906b6-275f-4349-9ac3-66b13cb0508b" + ], + "x-ms-correlation-request-id": [ + "26f906b6-275f-4349-9ac3-66b13cb0508b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231024Z:26f906b6-275f-4349-9ac3-66b13cb0508b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:23 GMT" + ], + "ETag": [ + "0x8D224E786E08F5A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "99c897a3-46af-41ae-952b-25511ec4524b" + ], + "x-ms-correlation-request-id": [ + "99c897a3-46af-41ae-952b-25511ec4524b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231025Z:99c897a3-46af-41ae-952b-25511ec4524b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "1d810963-38c0-4d95-b9bf-0ba363f4942d" + ], + "x-ms-correlation-request-id": [ + "1d810963-38c0-4d95-b9bf-0ba363f4942d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231025Z:1d810963-38c0-4d95-b9bf-0ba363f4942d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "f14bcf1c-88c3-4a7e-bfbf-4e62194ecc49" + ], + "x-ms-correlation-request-id": [ + "f14bcf1c-88c3-4a7e-bfbf-4e62194ecc49" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231040Z:f14bcf1c-88c3-4a7e-bfbf-4e62194ecc49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "48537e79-5af2-4cf7-a0b1-d2304822a07d" + ], + "x-ms-correlation-request-id": [ + "48537e79-5af2-4cf7-a0b1-d2304822a07d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231056Z:48537e79-5af2-4cf7-a0b1-d2304822a07d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:10:55 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json index c0e3e66753ab..840066e10056 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" - ], - "x-ms-request-id": [ - "bd0fc85d-779a-4261-953f-dd2be3b9c35f" - ], - "x-ms-correlation-request-id": [ - "bd0fc85d-779a-4261-953f-dd2be3b9c35f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192900Z:bd0fc85d-779a-4261-953f-dd2be3b9c35f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:29:00 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount\",\r\n \"name\": \"test-list-job-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "197" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1172" ], "x-ms-request-id": [ - "9d80910e-2ceb-4ed2-86d0-e5a32922fd25" + "e3d1b5a7-042d-4a4c-956d-f3649016793f" ], "x-ms-correlation-request-id": [ - "9d80910e-2ceb-4ed2-86d0-e5a32922fd25" + "e3d1b5a7-042d-4a4c-956d-f3649016793f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193007Z:9d80910e-2ceb-4ed2-86d0-e5a32922fd25" + "WESTUS:20150304T231209Z:e3d1b5a7-042d-4a4c-956d-f3649016793f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:07 GMT" + "Wed, 04 Mar 2015 23:12:09 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], "request-id": [ - "10653f3e-c281-4b35-a0b4-b1aaea11cbc7" + "e9a5bb5f-dfb4-4bc0-9047-f747640ad0a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" - ], "x-ms-request-id": [ - "0fa5977b-f5cb-4d32-a95f-f5a3fc8252d1" + "2286cfa7-7877-4122-96da-5288274155a5" ], "x-ms-correlation-request-id": [ - "0fa5977b-f5cb-4d32-a95f-f5a3fc8252d1" + "2286cfa7-7877-4122-96da-5288274155a5" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192901Z:0fa5977b-f5cb-4d32-a95f-f5a3fc8252d1" + "WESTUS:20150304T231213Z:2286cfa7-7877-4122-96da-5288274155a5" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:29:01 GMT" + "Wed, 04 Mar 2015 23:12:12 GMT" ], - "ETag": [ - "0x8D28894A544DC95" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/e9a5bb5f-dfb4-4bc0-9047-f747640ad0a5?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/e9a5bb5f-dfb4-4bc0-9047-f747640ad0a5?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvb3BlcmF0aW9uUmVzdWx0cy9lOWE1YmI1Zi1kZmI0LTRiYzAtOTA0Ny1mNzQ3NjQwYWQwYTU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistjobmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "356" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:08 GMT" + "Wed, 04 Mar 2015 23:12:12 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "8415c1b9-6b93-470f-8f25-98dbfd3f3296" + "d3042ea6-eff4-4760-a7db-23731237bf35" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "31996" ], "x-ms-request-id": [ - "89b045af-7138-47c5-9f95-7f411c0f1dee" + "48854591-fcbe-47ef-b64a-fd2a4b3623dc" ], "x-ms-correlation-request-id": [ - "89b045af-7138-47c5-9f95-7f411c0f1dee" + "48854591-fcbe-47ef-b64a-fd2a4b3623dc" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193008Z:89b045af-7138-47c5-9f95-7f411c0f1dee" + "WESTUS:20150304T231213Z:48854591-fcbe-47ef-b64a-fd2a4b3623dc" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:07 GMT" + "Wed, 04 Mar 2015 23:12:13 GMT" ], "ETag": [ - "0x8D28894CCD1CE62" + "0x8D224E7C8575A39" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjobmaxcount\",\r\n \"primary\": \"m0WaSscgEagKDfW6VzO+qbmeHayfjQsX/jQWhjLnKLgvEykQztlx7+/n/vdvLIfdigymRxrJTRBKeJ6DfkEidw==\",\r\n \"secondary\": \"F7E2UTDwDbGyNVUQ7/A33YdxE7nIHnGSinaytC3c4RLwA5RXTjlIJJbaJdpb1kMw4ZcrrmOljJJ8Vio5vfHI+Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "241" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "fac4caff-6203-4fc3-926f-c2431deed5d3" + "f7e748be-d55e-4b6f-9f46-3a38041cd508" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1191" ], "x-ms-request-id": [ - "818ac719-aa7a-448f-b8c6-6a51770aefc6" + "6e97b64a-de41-44ba-b01f-ab558fd95b6a" ], "x-ms-correlation-request-id": [ - "818ac719-aa7a-448f-b8c6-6a51770aefc6" + "6e97b64a-de41-44ba-b01f-ab558fd95b6a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192902Z:818ac719-aa7a-448f-b8c6-6a51770aefc6" + "WESTUS:20150304T231213Z:6e97b64a-de41-44ba-b01f-ab558fd95b6a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistjobmaxcount\",\r\n \"primary\": \"m0WaSscgEagKDfW6VzO+qbmeHayfjQsX/jQWhjLnKLgvEykQztlx7+/n/vdvLIfdigymRxrJTRBKeJ6DfkEidw==\",\r\n \"secondary\": \"F7E2UTDwDbGyNVUQ7/A33YdxE7nIHnGSinaytC3c4RLwA5RXTjlIJJbaJdpb1kMw4ZcrrmOljJJ8Vio5vfHI+Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "241" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "32be320a-4ce5-48a4-8df1-8c4d99e5a8a6" + "e9f48862-e8b7-4690-92eb-ed143f27291e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1182" ], "x-ms-request-id": [ - "e51e8680-669b-4681-8f49-f3e05c99e497" + "a495a995-2e3b-4714-9096-e1287996a493" ], "x-ms-correlation-request-id": [ - "e51e8680-669b-4681-8f49-f3e05c99e497" + "a495a995-2e3b-4714-9096-e1287996a493" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193008Z:e51e8680-669b-4681-8f49-f3e05c99e497" + "WESTUS:20150304T231401Z:a495a995-2e3b-4714-9096-e1287996a493" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:07 GMT" + "Wed, 04 Mar 2015 23:14:00 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "fe985cd2-efaf-4006-8490-71745b0d1a3d" + "9b536027-e2ce-4202-b45c-2cc93e86c2d8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "35867b6a-a110-4823-9514-659dcc49321a" + "d57b8152-dcee-4dff-92d8-1c553817418c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:29:01 GMT" + "Wed, 04 Mar 2015 23:12:53 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2f4cc6c6-46fb-4f2b-bb81-414ab6f44d36" + "7f0b7877-2005-48d0-8abb-9dac18087e86" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "bd052931-11e7-48fa-b141-eb09d553f60e" + "933c4c9a-f1b4-4845-b886-9d22b4f8272a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:03 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,28 +415,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5c862170-015a-4b2e-bb28-7a694760c331" + "0421c174-1172-4fcc-8ceb-4c363b8f769c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:03 GMT" + "Wed, 04 Mar 2015 23:12:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "134a0281-1082-4bae-a078-fb45c4848e66" + "4dbcc4ef-b58f-4344-8906-db5a76813021" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +445,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:03 GMT" + "Wed, 04 Mar 2015 23:12:55 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,28 +466,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "234e336d-25eb-4046-bdf9-6b8934d98064" + "51791e7d-c752-4860-9864-0517b467ac08" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:08 GMT" + "Wed, 04 Mar 2015 23:13:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "1fe46470-924f-4dfe-b234-59e93a9f5a53" + "90fd82d1-6c83-4922-8f60-73dcd80869cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -538,10 +496,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:08 GMT" + "Wed, 04 Mar 2015 23:13:00 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,28 +517,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0c1725a6-de2b-4284-b883-b2592d573e19" + "eb89cd73-b580-4730-b933-8d7fd7967b3d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:13 GMT" + "Wed, 04 Mar 2015 23:13:06 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c4ad02b8-4048-45a1-82b8-03233bea4ab4" + "1d363b8e-3548-4c9f-80bb-594828455014" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -589,10 +547,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:12 GMT" + "Wed, 04 Mar 2015 23:13:06 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -610,28 +568,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1fcd1113-7fb8-403d-ade6-5a22dd115328" + "d589597f-361f-47b4-b3d5-6f7d581b70ae" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:19 GMT" + "Wed, 04 Mar 2015 23:13:11 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d344e9db-e751-46c2-a145-d86932a3dc43" + "fa43374e-7152-43f7-b09f-dbc84aa8cf5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,10 +598,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:19 GMT" + "Wed, 04 Mar 2015 23:13:11 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -661,28 +619,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1adf673d-efbd-4bc0-9c18-65621b775d4a" + "77da3aaa-59ac-41be-8e3e-76e10dfd54c0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:24 GMT" + "Wed, 04 Mar 2015 23:13:17 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b652a791-dc69-4573-8c80-6434f58a263b" + "ce68e88e-24b9-4d2e-a9c5-a30c9fe302a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,10 +649,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:24 GMT" + "Wed, 04 Mar 2015 23:13:16 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -712,28 +670,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "67127205-4d86-4392-94f2-4703309f0bc6" + "4a43cedc-0268-488c-8623-f9a0920b7e51" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:29 GMT" + "Wed, 04 Mar 2015 23:13:22 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d4899ebd-a009-4ff7-8351-5f2758a6b28c" + "7aef4c4d-3292-411f-a40e-231abafa2905" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -742,10 +700,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:30 GMT" + "Wed, 04 Mar 2015 23:13:21 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -763,28 +721,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "03ed67cf-0e76-40ff-8ac0-b55e81bc21c5" + "8e5099b5-8659-4f5e-931f-a4bba8ba02d2" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:35 GMT" + "Wed, 04 Mar 2015 23:13:27 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a5e5b26c-797f-46ef-8db4-f5853c31ed73" + "9df46145-82b6-47f8-a53c-c63990d02907" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -793,10 +751,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:35 GMT" + "Wed, 04 Mar 2015 23:13:28 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -814,28 +772,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e9b027de-61e7-4ed5-be11-9ce14040bd06" + "4c2b78b7-4423-4fd0-bd51-7bfb2994e193" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:40 GMT" + "Wed, 04 Mar 2015 23:13:33 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4183a701-192e-4a47-85aa-54a4097640ff" + "a372ca26-939c-438b-bf35-009e688a86b6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -844,10 +802,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:41 GMT" + "Wed, 04 Mar 2015 23:13:33 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -865,28 +823,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5e326f85-e3d0-4648-8d9c-5349fbb31323" + "683857a0-47f4-4916-a80b-a7aeddb265ab" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:45 GMT" + "Wed, 04 Mar 2015 23:13:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "bb3d88ae-467a-4d5a-8690-8a8fbe21c821" + "b38e3581-8297-4990-8204-8a2fc7ad5d4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -895,10 +853,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:46 GMT" + "Wed, 04 Mar 2015 23:13:38 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -916,28 +874,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d4c007ac-c6dd-4e57-a791-535913a4b3c2" + "a15c86b7-1fdf-45b8-b153-9bc69401ebd0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:51 GMT" + "Wed, 04 Mar 2015 23:13:43 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a8480e44-94fd-4256-8eba-63724a7de436" + "541eba56-cb26-4938-8926-38cad1976f91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -946,10 +904,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:51 GMT" + "Wed, 04 Mar 2015 23:13:43 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -967,28 +925,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d8d08f03-ea90-49e7-8ed7-d4a7109c6163" + "92d6d195-3b53-4724-b0ef-ad28318f5ca1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:29:56 GMT" + "Wed, 04 Mar 2015 23:13:49 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:13:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ef5bb2b1-d292-4009-9bf9-9a979726941f" + "2555c3e7-b590-4cb8-ab3e-70cb19e9023d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -997,10 +955,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:29:56 GMT" + "Wed, 04 Mar 2015 23:13:48 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1018,28 +976,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "145372f7-2775-4614-97e3-884cc0976802" + "3240f8e6-efb1-4e5c-9c58-0480d7614d57" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:01 GMT" + "Wed, 04 Mar 2015 23:13:54 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:30:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:14:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b4ddee1a-599a-49d8-884d-047047962055" + "4c468ab4-2504-4611-8f6f-caf4b454519b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1048,10 +1006,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:00 GMT" + "Wed, 04 Mar 2015 23:13:53 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1069,28 +1027,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "40e00610-4d11-4114-bec6-3558c2157f69" + "40c6048c-5f60-4026-976c-8001485830f9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:07 GMT" + "Wed, 04 Mar 2015 23:14:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:31:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E7E0E7025F\",\r\n \"lastModified\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:54.1942367Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-04T23:14:54.1942367Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:12:54 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b917fff7-f6e8-49f3-be42-bb8be0489225" + "fbea628c-594f-406d-ab88-b876f99992ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1099,10 +1057,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:06 GMT" + "Wed, 04 Mar 2015 23:14:01 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E7E0E7025F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1111,49 +1069,109 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "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": [ - "WA-Batch/1.0" + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount\",\r\n \"name\": \"testlistjobmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "772" ], - "client-request-id": [ - "8e9c12fb-536c-40bf-8b41-02357082450f" + "Content-Type": [ + "application/json; charset=utf-8" ], - "return-client-request-id": [ - "False" + "Expires": [ + "-1" ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:30:08 GMT" + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "6506e300-8713-4923-a38d-32c9d1dabf9a" + ], + "x-ms-correlation-request-id": [ + "6506e300-8713-4923-a38d-32c9d1dabf9a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231400Z:6506e300-8713-4923-a38d-32c9d1dabf9a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:00 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28894A5A8A077\",\r\n \"lastModified\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:02.8490359Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-09T19:31:02.8490359Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "356" + ], "Content-Type": [ - "application/json; odata=minimalmetadata" + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:29:02 GMT" + "Wed, 04 Mar 2015 23:14:00 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "request-id": [ - "150556f2-5e79-4032-8ef9-8d472e2dd02a" + "4b0b75e2-a357-41b1-a7e0-81b5718c8eda" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "DataServiceVersion": [ - "3.0" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "b73ac77e-dcb7-4bfb-8624-0016d417efbc" + ], + "x-ms-correlation-request-id": [ + "b73ac77e-dcb7-4bfb-8624-0016d417efbc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231401Z:b73ac77e-dcb7-4bfb-8624-0016d417efbc" + ], + "Cache-Control": [ + "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:08 GMT" + "Wed, 04 Mar 2015 23:14:00 GMT" ], "ETag": [ - "0x8D28894A5A8A077" + "0x8D224E808A2A0D2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1171,16 +1189,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "985268a1-89eb-43de-af25-a37e2d7d5abd" + "ab878ab9-830c-4f34-9b47-b357f7503145" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:08 GMT" + "Wed, 04 Mar 2015 23:14:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D28894C96E9943\",\r\n \"lastModified\": \"2015-07-09T19:30:02.8667203Z\",\r\n \"creationTime\": \"2015-07-09T19:30:02.8494213Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:02.8667203Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:30:02.8667203Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28894A60FFFC2\",\r\n \"lastModified\": \"2015-07-09T19:29:03.5264962Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8873755Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:04.449729Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:29:02.9033103Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:29:02.9033103Z\",\r\n \"endTime\": \"2015-07-09T19:29:04.449729Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D224E804AF88AB\",\r\n \"lastModified\": \"2015-03-04T23:13:54.2286507Z\",\r\n \"creationTime\": \"2015-03-04T23:13:54.1952135Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:13:54.2286507Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:13:54.2286507Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E7E1693E75\",\r\n \"lastModified\": \"2015-03-04T23:12:55.0477429Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.2278252Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:55.0888993Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-03-04T23:12:54.2448243Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:12:54.2448243Z\",\r\n \"endTime\": \"2015-03-04T23:12:55.0888993Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -1189,7 +1207,7 @@ "chunked" ], "request-id": [ - "dbb06b71-aada-44d9-ae80-acf84c440cbc" + "d6c9e7ec-2137-4b2b-8153-bd462584a219" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1198,7 +1216,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:08 GMT" + "Wed, 04 Mar 2015 23:14:01 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1216,16 +1234,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7e30e0fd-e0dd-44a3-829b-cd8ba7d3f080" + "254cdc1c-504d-4df9-a624-b5e10d9e77bb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:09 GMT" + "Wed, 04 Mar 2015 23:14:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D28894C96E9943\",\r\n \"lastModified\": \"2015-07-09T19:30:02.8667203Z\",\r\n \"creationTime\": \"2015-07-09T19:30:02.8494213Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:02.8667203Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:30:02.8667203Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D28894A60FFFC2\",\r\n \"lastModified\": \"2015-07-09T19:29:03.5264962Z\",\r\n \"creationTime\": \"2015-07-09T19:29:02.8873755Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T19:29:04.449729Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:29:02.9033103Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T19:29:02.9033103Z\",\r\n \"endTime\": \"2015-07-09T19:29:04.449729Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D224E804AF88AB\",\r\n \"lastModified\": \"2015-03-04T23:13:54.2286507Z\",\r\n \"creationTime\": \"2015-03-04T23:13:54.1952135Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:13:54.2286507Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:13:54.2286507Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D224E7E1693E75\",\r\n \"lastModified\": \"2015-03-04T23:12:55.0477429Z\",\r\n \"creationTime\": \"2015-03-04T23:12:54.2278252Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-03-04T23:12:55.0888993Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-03-04T23:12:54.2448243Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-04T23:12:54.2448243Z\",\r\n \"endTime\": \"2015-03-04T23:12:55.0888993Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -1234,7 +1252,7 @@ "chunked" ], "request-id": [ - "4b93591a-459b-455e-84f6-a8b35e473572" + "09422772-d058-462d-a842-07e682b581dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1243,7 +1261,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:09 GMT" + "Wed, 04 Mar 2015 23:14:02 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1261,13 +1279,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "feb2e643-4c46-4ee4-82e8-18e10ea96148" + "7ab1c551-9004-4764-a276-fd62d970b752" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:09 GMT" + "Wed, 04 Mar 2015 23:14:02 GMT" ] }, "ResponseBody": "", @@ -1276,7 +1294,7 @@ "chunked" ], "request-id": [ - "e2cd96cc-2591-4ae3-ab31-5bd76066298a" + "287439de-2442-40b5-b59c-4ba985b14d1e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1285,13 +1303,397 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:09 GMT" + "Wed, 04 Mar 2015 23:14:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3d9d0f49-7e9f-4b96-9dd5-1e1c554f7e34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "c07ce4d5-66ea-4eae-94fe-7b812ecd995d" + ], + "x-ms-correlation-request-id": [ + "c07ce4d5-66ea-4eae-94fe-7b812ecd995d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231405Z:c07ce4d5-66ea-4eae-94fe-7b812ecd995d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/3d9d0f49-7e9f-4b96-9dd5-1e1c554f7e34?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/3d9d0f49-7e9f-4b96-9dd5-1e1c554f7e34?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvb3BlcmF0aW9uUmVzdWx0cy8zZDlkMGY0OS03ZTlmLTRiOTYtOWRkNS0xZTFjNTU0ZjdlMzQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "020fe2d7-e8b6-4c1e-9ff3-248d0d7d3d34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "a99843d8-f973-4fff-a619-35c1d8aad879" + ], + "x-ms-correlation-request-id": [ + "a99843d8-f973-4fff-a619-35c1d8aad879" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231405Z:a99843d8-f973-4fff-a619-35c1d8aad879" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/3d9d0f49-7e9f-4b96-9dd5-1e1c554f7e34?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/3d9d0f49-7e9f-4b96-9dd5-1e1c554f7e34?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvb3BlcmF0aW9uUmVzdWx0cy8zZDlkMGY0OS03ZTlmLTRiOTYtOWRkNS0xZTFjNTU0ZjdlMzQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:14:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b5d3d46d-8c32-43f8-ac17-c02d34741bc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "bcadc5c1-d67e-44eb-b785-14f6b6098335" + ], + "x-ms-correlation-request-id": [ + "bcadc5c1-d67e-44eb-b785-14f6b6098335" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231420Z:bcadc5c1-d67e-44eb-b785-14f6b6098335" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:20 GMT" + ], + "ETag": [ + "0x8D224E8142B2802" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "53779194-2d7f-43a1-a88f-a5c1e618a200" + ], + "x-ms-correlation-request-id": [ + "53779194-2d7f-43a1-a88f-a5c1e618a200" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231422Z:53779194-2d7f-43a1-a88f-a5c1e618a200" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "50f6ab02-1c1d-4e0d-a7ba-5f3b09aad406" + ], + "x-ms-correlation-request-id": [ + "50f6ab02-1c1d-4e0d-a7ba-5f3b09aad406" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231422Z:50f6ab02-1c1d-4e0d-a7ba-5f3b09aad406" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "922a6ecc-8273-4209-acaf-44e5313c895d" + ], + "x-ms-correlation-request-id": [ + "922a6ecc-8273-4209-acaf-44e5313c895d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231437Z:922a6ecc-8273-4209-acaf-44e5313c895d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "a9d95eca-0dee-4eb3-a220-454b96d918d2" + ], + "x-ms-correlation-request-id": [ + "a9d95eca-0dee-4eb3-a220-454b96d918d2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T231453Z:a9d95eca-0dee-4eb3-a220-454b96d918d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:14:52 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json index fc47365a3b00..22599c993d24 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json @@ -1,19 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool\",\r\n \"name\": \"test-delete-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "185" ], "Content-Type": [ "application/json; charset=utf-8" @@ -24,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" ], "x-ms-request-id": [ - "4cb09d50-9ef4-418a-aeb8-7f4f124b44a3" + "dd5bb06f-01e5-4405-a359-da929c370005" ], "x-ms-correlation-request-id": [ - "4cb09d50-9ef4-418a-aeb8-7f4f124b44a3" + "dd5bb06f-01e5-4405-a359-da929c370005" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210143Z:4cb09d50-9ef4-418a-aeb8-7f4f124b44a3" + "WESTUS:20150309T213931Z:dd5bb06f-01e5-4405-a359-da929c370005" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +49,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:43 GMT" + "Mon, 09 Mar 2015 21:39:31 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" @@ -72,47 +81,59 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "request-id": [ + "28398853-5ff1-4d69-9ba0-a2c808b9b162" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "843705c3-a119-41e2-8f2c-3db57c74e217" + "7cb0b8ec-02d9-4821-9d7f-b84e360de146" ], "x-ms-correlation-request-id": [ - "843705c3-a119-41e2-8f2c-3db57c74e217" + "7cb0b8ec-02d9-4821-9d7f-b84e360de146" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210146Z:843705c3-a119-41e2-8f2c-3db57c74e217" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS:20150309T213936Z:7cb0b8ec-02d9-4821-9d7f-b84e360de146" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:46 GMT" + "Mon, 09 Mar 2015 21:39:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/28398853-5ff1-4d69-9ba0-a2c808b9b162?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/28398853-5ff1-4d69-9ba0-a2c808b9b162?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvMjgzOTg4NTMtNWZmMS00ZDY5LTliYTAtYTJjODA4YjliMTYyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletepool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletepool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "335" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:01:44 GMT" + "Mon, 09 Mar 2015 21:39:34 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "ee8a3642-fa4b-4e7b-ba23-16ec6f8fdf9a" + "356e1697-5101-41bb-88d3-79764d8b9fda" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "31966" ], "x-ms-request-id": [ - "184b62a0-739d-4b85-b31f-6d099927922a" + "d569458d-9eaa-4474-b5e6-25b13e1d4088" ], "x-ms-correlation-request-id": [ - "184b62a0-739d-4b85-b31f-6d099927922a" + "d569458d-9eaa-4474-b5e6-25b13e1d4088" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210144Z:184b62a0-739d-4b85-b31f-6d099927922a" + "WESTUS:20150309T213936Z:d569458d-9eaa-4474-b5e6-25b13e1d4088" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:44 GMT" + "Mon, 09 Mar 2015 21:39:35 GMT" ], "ETag": [ - "0x8D288A198ADB96D" + "0x8D228C8AB440321" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +181,22 @@ "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", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletepool\",\r\n \"primary\": \"lp0zOuxBNxKOqyhfNQUiGCw8Xguw7jwGNoRed51uUD6q6QctdooB+XXO/zkntFR/2o+BVSzhMVcsAhDKqvpG9Q==\",\r\n \"secondary\": \"Z5nsQehm2swvCGlkv7y/XKGpZFleVgrIujAtmmcU0exJ/mg2eTiCT+GSkQFJCaK8sW669vOaxapI9+Dh/pARBQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "236" ], "Content-Type": [ "application/json; charset=utf-8" @@ -183,38 +204,32 @@ "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:01:46 GMT" - ], "Pragma": [ "no-cache" ], "request-id": [ - "46fee2ab-4c82-4924-8336-f6779030d7c0" + "48eb1e86-6521-4d6f-95a0-28a5f9049c4d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" ], "x-ms-request-id": [ - "3289f9f8-2ee1-4444-a387-d8ccba3ad3f8" + "52666dd4-7d5b-40c2-b2d0-f7c7c5a49c66" ], "x-ms-correlation-request-id": [ - "3289f9f8-2ee1-4444-a387-d8ccba3ad3f8" + "52666dd4-7d5b-40c2-b2d0-f7c7c5a49c66" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210146Z:3289f9f8-2ee1-4444-a387-d8ccba3ad3f8" + "WESTUS:20150309T213936Z:52666dd4-7d5b-40c2-b2d0-f7c7c5a49c66" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:46 GMT" - ], - "ETag": [ - "0x8D288A199DD35A9" + "Mon, 09 Mar 2015 21:39:36 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletepool\",\r\n \"primary\": \"lp0zOuxBNxKOqyhfNQUiGCw8Xguw7jwGNoRed51uUD6q6QctdooB+XXO/zkntFR/2o+BVSzhMVcsAhDKqvpG9Q==\",\r\n \"secondary\": \"Z5nsQehm2swvCGlkv7y/XKGpZFleVgrIujAtmmcU0exJ/mg2eTiCT+GSkQFJCaK8sW669vOaxapI9+Dh/pARBQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "236" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +265,28 @@ "no-cache" ], "request-id": [ - "48046a39-0292-44a8-9d41-5f2a5e05c1c8" + "2dbd6184-3a15-4c47-84b2-9e951fe9b115" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1190" ], "x-ms-request-id": [ - "ca3a221d-e4ab-43e8-9e1d-7fe4e6f4afd3" + "6b5091ab-d89c-49b0-89a6-e1e93e72aaa8" ], "x-ms-correlation-request-id": [ - "ca3a221d-e4ab-43e8-9e1d-7fe4e6f4afd3" + "6b5091ab-d89c-49b0-89a6-e1e93e72aaa8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210145Z:ca3a221d-e4ab-43e8-9e1d-7fe4e6f4afd3" + "WESTUS:20150309T214051Z:6b5091ab-d89c-49b0-89a6-e1e93e72aaa8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:44 GMT" + "Mon, 09 Mar 2015 21:40:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +295,130 @@ "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==", + "RequestUri": "/pools?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json;odata=minimalmetadata" + ], + "Content-Length": [ + "199" + ], + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "fe7bf9fe-74dd-4d5d-908c-b41fcd417b1e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 09 Mar 2015 21:40:48 GMT" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 09 Mar 2015 21:40:50 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "97a1d8ed-6b13-419b-b1b9-7dbb4d98534c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://testdeletepool.batch.core.windows.net/pools/testPool" + ], + "Date": [ + "Mon, 09 Mar 2015 21:40:47 GMT" + ], + "ETag": [ + "0x8D228C8D8917F2F" + ], + "Location": [ + "https://testdeletepool.batch.core.windows.net/pools/testPool" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool\",\r\n \"name\": \"testdeletepool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "756" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "00d61f7d-22d5-482b-bf49-5a44100f584d" + ], + "x-ms-correlation-request-id": [ + "00d61f7d-22d5-482b-bf49-5a44100f584d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214050Z:00d61f7d-22d5-482b-bf49-5a44100f584d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:40:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"testdeletepool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletepool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "335" ], "Content-Type": [ "application/json; charset=utf-8" @@ -303,32 +426,38 @@ "Expires": [ "-1" ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:40:47 GMT" + ], "Pragma": [ "no-cache" ], "request-id": [ - "c480e243-97dc-419e-a143-b88a5a1ee75e" + "28c609ac-c9e4-4c7e-bd9d-12dcac1a7f9e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" ], "x-ms-request-id": [ - "b3e08902-2851-41aa-8966-c9fac160af4b" + "f84669e9-97d6-4268-8d3f-f95d8cb150d1" ], "x-ms-correlation-request-id": [ - "b3e08902-2851-41aa-8966-c9fac160af4b" + "f84669e9-97d6-4268-8d3f-f95d8cb150d1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210146Z:b3e08902-2851-41aa-8966-c9fac160af4b" + "WESTUS:20150309T214051Z:f84669e9-97d6-4268-8d3f-f95d8cb150d1" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:46 GMT" + "Mon, 09 Mar 2015 21:40:50 GMT" + ], + "ETag": [ + "0x8D228C8D6F4FE80" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -339,38 +468,32 @@ { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testDelete\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json;odata=minimalmetadata" - ], - "Content-Length": [ - "201" - ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "b65d0361-ff29-4f78-b916-9ec383282842" + "34ab03ae-d026-43f6-80ed-bc7b497103ea" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:01:45 GMT" + "Mon, 09 Mar 2015 21:40:51 GMT" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletepool.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testPool\",\r\n \"url\": \"https://testdeletepool.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D228C8D8917F2F\",\r\n \"lastModified\": \"2015-03-09T21:40:50.4645423Z\",\r\n \"creationTime\": \"2015-03-09T21:40:50.4645423Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:40:50.4645423Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:40:50.4645423Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Last-Modified": [ - "Thu, 09 Jul 2015 21:01:46 GMT" + "Content-Type": [ + "application/json; odata=minimalmetadata" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "284976b0-fd1b-4637-85d4-a12fb01d61c6" + "721eff25-8af0-43fb-a703-dffba8a62ebe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -378,27 +501,18 @@ "DataServiceVersion": [ "3.0" ], - "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testDelete" - ], "Date": [ - "Thu, 09 Jul 2015 21:01:45 GMT" - ], - "ETag": [ - "0x8D288A1999610BE" - ], - "Location": [ - "https://pstests.batch.core.windows.net/pools/testDelete" + "Mon, 09 Mar 2015 21:40:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { - "RequestUri": "/pools/testDelete?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3REZWxldGU/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +520,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0588adaf-52e7-4cc9-9720-24da716c3725" + "69a4d17c-5dbf-46b5-9e11-fe148f8dfa37" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:01:46 GMT" + "Mon, 09 Mar 2015 21:40:52 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testDelete\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testDelete\",\r\n \"eTag\": \"0x8D288A1999610BE\",\r\n \"lastModified\": \"2015-07-09T21:01:46.0522174Z\",\r\n \"creationTime\": \"2015-07-09T21:01:46.0522174Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T21:01:46.0522174Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:01:46.1568298Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletepool.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testPool\",\r\n \"url\": \"https://testdeletepool.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D228C8DA8307E7\",\r\n \"lastModified\": \"2015-03-09T21:40:53.7251815Z\",\r\n \"creationTime\": \"2015-03-09T21:40:50.4645423Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-03-09T21:40:53.7251815Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:40:50.4645423Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:01:46 GMT" - ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "78bc60ad-1f0e-45d1-b33e-b3bc7d2ce8e8" + "eaba1bd6-008c-47ad-b056-3b67d3a1b9f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +547,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:01:47 GMT" - ], - "ETag": [ - "0x8D288A1999610BE" + "Mon, 09 Mar 2015 21:40:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,8 +556,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testDelete?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3REZWxldGU/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -457,13 +565,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ad44a58c-fd3b-414d-9d61-e99816a0afb8" + "580093ec-f8fb-42b7-b8b5-8aca099618e6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:01:47 GMT" + "Mon, 09 Mar 2015 21:40:51 GMT" ] }, "ResponseBody": "", @@ -472,7 +580,7 @@ "chunked" ], "request-id": [ - "f0e3c1fd-a24b-4694-a7b5-d42c9d989ef3" + "47e18aa0-e29f-49b8-937c-2271a96b5e86" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -481,7 +589,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:01:47 GMT" + "Mon, 09 Mar 2015 21:40:52 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -490,48 +598,1647 @@ "StatusCode": 202 }, { - "RequestUri": "/pools?api-version=2014-10-01.1.0&$filter=name%20eq%20'testDelete'", - "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3dGVzdERlbGV0ZSUyNw==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "WA-Batch/1.0" + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" ], - "client-request-id": [ - "245a7dd4-fa23-4a10-8ef9-cd34d81ab159" + "Expires": [ + "-1" ], - "return-client-request-id": [ - "False" + "Pragma": [ + "no-cache" ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:01:47 GMT" + "Retry-After": [ + "15" + ], + "request-id": [ + "765985b4-456f-4d9e-93c2-421b0007dfba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "88eeae3a-6270-4f21-9ddd-c9b0d896b205" + ], + "x-ms-correlation-request-id": [ + "88eeae3a-6270-4f21-9ddd-c9b0d896b205" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214056Z:88eeae3a-6270-4f21-9ddd-c9b0d896b205" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:40:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools\",\r\n \"value\": []\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" + "Content-Length": [ + "0" ], - "Transfer-Encoding": [ - "chunked" + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" ], "request-id": [ - "ee25b43f-a7cb-4641-aeac-13067fb098dd" + "85a01498-7e20-4700-b617-8630fd22b266" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "DataServiceVersion": [ - "3.0" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "f2a5c5c8-cdfa-4593-9193-d4fe39ae1722" + ], + "x-ms-correlation-request-id": [ + "f2a5c5c8-cdfa-4593-9193-d4fe39ae1722" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214056Z:f2a5c5c8-cdfa-4593-9193-d4fe39ae1722" + ], + "Cache-Control": [ + "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:01:47 GMT" + "Mon, 09 Mar 2015 21:40:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "967ae5fd-5d28-467d-b52a-a9955a0fe1ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "ac59731c-98e5-446e-bd83-e6b64c927605" + ], + "x-ms-correlation-request-id": [ + "ac59731c-98e5-446e-bd83-e6b64c927605" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214111Z:ac59731c-98e5-446e-bd83-e6b64c927605" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:41:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a124f469-3113-4955-9ce1-3c2f0c3bc0f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "2e9769b6-b391-49c6-ac01-57c46d6748bc" + ], + "x-ms-correlation-request-id": [ + "2e9769b6-b391-49c6-ac01-57c46d6748bc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214126Z:2e9769b6-b391-49c6-ac01-57c46d6748bc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:41:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b9018b9b-c738-4f48-ba11-ebf6df3854ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "8958964c-d868-494f-b6a0-8ee56c797ac7" + ], + "x-ms-correlation-request-id": [ + "8958964c-d868-494f-b6a0-8ee56c797ac7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214142Z:8958964c-d868-494f-b6a0-8ee56c797ac7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:41:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7f07a899-2570-486f-90ee-ce0da37c63c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "13d191eb-89c5-4d4b-88c3-e826361c83fc" + ], + "x-ms-correlation-request-id": [ + "13d191eb-89c5-4d4b-88c3-e826361c83fc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214157Z:13d191eb-89c5-4d4b-88c3-e826361c83fc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:41:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b97669c0-ca84-453b-a273-5a46aa3e0be2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "e195767f-dddf-4a9d-ae7b-90f0e0cc7e33" + ], + "x-ms-correlation-request-id": [ + "e195767f-dddf-4a9d-ae7b-90f0e0cc7e33" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214212Z:e195767f-dddf-4a9d-ae7b-90f0e0cc7e33" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:42:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ef6f1900-4ed0-43c2-a53e-01ab3ea35a49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "841f8229-aa7d-4541-b701-7fe5037fe198" + ], + "x-ms-correlation-request-id": [ + "841f8229-aa7d-4541-b701-7fe5037fe198" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214227Z:841f8229-aa7d-4541-b701-7fe5037fe198" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:42:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "082417f8-978d-4cb9-9ccd-c6dca6aadcba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31957" + ], + "x-ms-request-id": [ + "21c5bb9c-8c8d-40c4-86a2-9fdadc82d43e" + ], + "x-ms-correlation-request-id": [ + "21c5bb9c-8c8d-40c4-86a2-9fdadc82d43e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214242Z:21c5bb9c-8c8d-40c4-86a2-9fdadc82d43e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:42:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d582a1de-21b0-474a-9d94-bed6374690c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31956" + ], + "x-ms-request-id": [ + "e6954b85-ae14-4b39-86bc-541d3bb60cef" + ], + "x-ms-correlation-request-id": [ + "e6954b85-ae14-4b39-86bc-541d3bb60cef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214257Z:e6954b85-ae14-4b39-86bc-541d3bb60cef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:42:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e04519d1-bd8d-48a8-8ae6-84cdd2750b2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31955" + ], + "x-ms-request-id": [ + "ef454d6f-65b6-4851-b1dc-fc37dc19f4da" + ], + "x-ms-correlation-request-id": [ + "ef454d6f-65b6-4851-b1dc-fc37dc19f4da" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214313Z:ef454d6f-65b6-4851-b1dc-fc37dc19f4da" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:43:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "96134406-3543-4e29-9f7a-f6395988e3fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31954" + ], + "x-ms-request-id": [ + "530782ed-a9a0-4fd8-9e3f-8fb8509c9697" + ], + "x-ms-correlation-request-id": [ + "530782ed-a9a0-4fd8-9e3f-8fb8509c9697" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214328Z:530782ed-a9a0-4fd8-9e3f-8fb8509c9697" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:43:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "45390dec-069d-42e5-b412-36f90dcc44cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31953" + ], + "x-ms-request-id": [ + "bbc298bc-79be-4e26-bafb-f47c607bca7c" + ], + "x-ms-correlation-request-id": [ + "bbc298bc-79be-4e26-bafb-f47c607bca7c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214343Z:bbc298bc-79be-4e26-bafb-f47c607bca7c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:43:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "87ef8737-8c47-4dc7-adb2-d7b18553278d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31952" + ], + "x-ms-request-id": [ + "d5c2c383-068f-432a-9fdb-d85cd419bb13" + ], + "x-ms-correlation-request-id": [ + "d5c2c383-068f-432a-9fdb-d85cd419bb13" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214358Z:d5c2c383-068f-432a-9fdb-d85cd419bb13" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:43:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fee34479-ea21-46b9-9af8-6fd47276830c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31951" + ], + "x-ms-request-id": [ + "fb24a0b0-5e78-4e02-b993-41017948f9df" + ], + "x-ms-correlation-request-id": [ + "fb24a0b0-5e78-4e02-b993-41017948f9df" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214413Z:fb24a0b0-5e78-4e02-b993-41017948f9df" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:44:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f3a754be-174e-43f7-ba05-e5ba95b6ffe4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31950" + ], + "x-ms-request-id": [ + "7b68ee06-5582-4253-beaf-6d6140087e3e" + ], + "x-ms-correlation-request-id": [ + "7b68ee06-5582-4253-beaf-6d6140087e3e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214429Z:7b68ee06-5582-4253-beaf-6d6140087e3e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:44:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "bedb64c0-5331-4755-a9c4-80a0bd09e542" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31949" + ], + "x-ms-request-id": [ + "d42646e0-5e0e-48c8-ac31-c983ceea3e4d" + ], + "x-ms-correlation-request-id": [ + "d42646e0-5e0e-48c8-ac31-c983ceea3e4d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214444Z:d42646e0-5e0e-48c8-ac31-c983ceea3e4d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:44:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "10255dfc-5a31-45f0-b254-a546138d76dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31948" + ], + "x-ms-request-id": [ + "260e6d9a-054e-443f-9412-61ae432f9e74" + ], + "x-ms-correlation-request-id": [ + "260e6d9a-054e-443f-9412-61ae432f9e74" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214459Z:260e6d9a-054e-443f-9412-61ae432f9e74" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:44:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "85e9b9a1-5850-4471-9429-54f708b6ff7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31947" + ], + "x-ms-request-id": [ + "f83dbc3c-5f47-4c7b-97d7-b421d7180548" + ], + "x-ms-correlation-request-id": [ + "f83dbc3c-5f47-4c7b-97d7-b421d7180548" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214514Z:f83dbc3c-5f47-4c7b-97d7-b421d7180548" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:45:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "26d84c8b-786b-4b0c-bd4c-0d94ecdccc14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31946" + ], + "x-ms-request-id": [ + "4ddbdf6c-fe6e-4b25-bdb8-5ab1d88e3fd0" + ], + "x-ms-correlation-request-id": [ + "4ddbdf6c-fe6e-4b25-bdb8-5ab1d88e3fd0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214529Z:4ddbdf6c-fe6e-4b25-bdb8-5ab1d88e3fd0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:45:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "83deb40b-d0c8-41ed-94ec-00d741e08c2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31945" + ], + "x-ms-request-id": [ + "34c331e4-536a-422f-a6af-76d1d54beb56" + ], + "x-ms-correlation-request-id": [ + "34c331e4-536a-422f-a6af-76d1d54beb56" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214545Z:34c331e4-536a-422f-a6af-76d1d54beb56" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:45:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ad40e544-a166-40a8-b8c1-0ec76bbda6a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31944" + ], + "x-ms-request-id": [ + "59616273-d120-445e-a30f-399604ca66a8" + ], + "x-ms-correlation-request-id": [ + "59616273-d120-445e-a30f-399604ca66a8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214600Z:59616273-d120-445e-a30f-399604ca66a8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:46:00 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "239b650c-24ed-4b28-92c2-88ab694868e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31943" + ], + "x-ms-request-id": [ + "26507f56-fb07-4234-b960-4345dda4fd6a" + ], + "x-ms-correlation-request-id": [ + "26507f56-fb07-4234-b960-4345dda4fd6a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214615Z:26507f56-fb07-4234-b960-4345dda4fd6a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:46:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/765985b4-456f-4d9e-93c2-421b0007dfba?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvNzY1OTg1YjQtNDU2Zi00ZDllLTkzYzItNDIxYjAwMDdkZmJhP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:46:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2c37ca3a-e377-46c2-a178-5d9851719339" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31942" + ], + "x-ms-request-id": [ + "baf868ee-64ee-45fd-9326-6ecae324853f" + ], + "x-ms-correlation-request-id": [ + "baf868ee-64ee-45fd-9326-6ecae324853f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214630Z:baf868ee-64ee-45fd-9326-6ecae324853f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:46:29 GMT" + ], + "ETag": [ + "0x8D228C9A14F3BB9" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "2985277d-ced1-4e6d-b2dc-049ccada14ff" + ], + "x-ms-correlation-request-id": [ + "2985277d-ced1-4e6d-b2dc-049ccada14ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214632Z:2985277d-ced1-4e6d-b2dc-049ccada14ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:46:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "8867dd5e-4f4b-4d90-b9be-2e74100aa2b5" + ], + "x-ms-correlation-request-id": [ + "8867dd5e-4f4b-4d90-b9be-2e74100aa2b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214632Z:8867dd5e-4f4b-4d90-b9be-2e74100aa2b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:46:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "25a035f6-215c-4679-a92e-14624184f5ec" + ], + "x-ms-correlation-request-id": [ + "25a035f6-215c-4679-a92e-14624184f5ec" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214647Z:25a035f6-215c-4679-a92e-14624184f5ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:46:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "4624448d-4b68-4307-b8c8-11a5ebaf1e07" + ], + "x-ms-correlation-request-id": [ + "4624448d-4b68-4307-b8c8-11a5ebaf1e07" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214702Z:4624448d-4b68-4307-b8c8-11a5ebaf1e07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:47:02 GMT" + ] + }, "StatusCode": 200 } ], diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json index 02f6faaa849e..be276c309ddb 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json @@ -1,19 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool\",\r\n \"name\": \"test-delete-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "185" ], "Content-Type": [ "application/json; charset=utf-8" @@ -24,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" ], "x-ms-request-id": [ - "fa0e8b91-d658-41d8-a773-1ad886021572" + "bf305779-4997-476b-9865-c5f6768547aa" ], "x-ms-correlation-request-id": [ - "fa0e8b91-d658-41d8-a773-1ad886021572" + "bf305779-4997-476b-9865-c5f6768547aa" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210242Z:fa0e8b91-d658-41d8-a773-1ad886021572" + "WESTUS:20150309T214749Z:bf305779-4997-476b-9865-c5f6768547aa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +49,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:41 GMT" + "Mon, 09 Mar 2015 21:47:49 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" @@ -72,47 +81,59 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "request-id": [ + "26bf9c84-5be1-4daa-984b-fef8a0dbb5d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3174d756-4344-4bee-a1d8-91b5708de58d" + "9e472068-e900-499e-809a-5225a8534a89" ], "x-ms-correlation-request-id": [ - "3174d756-4344-4bee-a1d8-91b5708de58d" + "9e472068-e900-499e-809a-5225a8534a89" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210244Z:3174d756-4344-4bee-a1d8-91b5708de58d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS:20150309T214753Z:9e472068-e900-499e-809a-5225a8534a89" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:43 GMT" + "Mon, 09 Mar 2015 21:47:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/26bf9c84-5be1-4daa-984b-fef8a0dbb5d1?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/26bf9c84-5be1-4daa-984b-fef8a0dbb5d1?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvMjZiZjljODQtNWJlMS00ZGFhLTk4NGItZmVmOGEwZGJiNWQxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletepool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletepool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "335" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:02:43 GMT" + "Mon, 09 Mar 2015 21:47:52 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "7d9bce68-7392-4e25-bee3-b2036809b84e" + "d0c9fbf4-fdd6-42e2-8efa-0df912bbeb84" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "31999" ], "x-ms-request-id": [ - "7e3d2e4e-a822-4328-a59e-38335198b487" + "f61c84ad-8686-4995-8676-cc07c140cb9c" ], "x-ms-correlation-request-id": [ - "7e3d2e4e-a822-4328-a59e-38335198b487" + "f61c84ad-8686-4995-8676-cc07c140cb9c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210243Z:7e3d2e4e-a822-4328-a59e-38335198b487" + "WESTUS:20150309T214754Z:f61c84ad-8686-4995-8676-cc07c140cb9c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:42 GMT" + "Mon, 09 Mar 2015 21:47:53 GMT" ], "ETag": [ - "0x8D288A1BB911BD3" + "0x8D228C9D44317E0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +181,22 @@ "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", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletepool\",\r\n \"primary\": \"oVrwiMs/GMbdk8CvG5maQSysMmPckn5YBShsRQdBTAoezqt/qcyZ5ynFkywAxIiE1UU1L6ANblW2ES0Ew7chkQ==\",\r\n \"secondary\": \"qxfHq3iv9CPIYDZ7E24ncdc0hEt/NHt8FTK3qDxzIeIqsc7oFhCMUdIylrYwGVltmI784TOF0Gr5Vyr8ScMvgg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "236" ], "Content-Type": [ "application/json; charset=utf-8" @@ -183,38 +204,32 @@ "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:02:44 GMT" - ], "Pragma": [ "no-cache" ], "request-id": [ - "eca1ac95-71ef-476b-b2f2-807c871807b9" + "35d8520f-9829-4f74-a0cc-954fe7edec26" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-request-id": [ - "46bef400-915e-4827-bac9-2d8acc8e57a9" + "166259ae-ef21-4c63-9b95-8698f675a29a" ], "x-ms-correlation-request-id": [ - "46bef400-915e-4827-bac9-2d8acc8e57a9" + "166259ae-ef21-4c63-9b95-8698f675a29a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210244Z:46bef400-915e-4827-bac9-2d8acc8e57a9" + "WESTUS:20150309T214754Z:166259ae-ef21-4c63-9b95-8698f675a29a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:44 GMT" - ], - "ETag": [ - "0x8D288A1BCA062EF" + "Mon, 09 Mar 2015 21:47:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletepool\",\r\n \"primary\": \"oVrwiMs/GMbdk8CvG5maQSysMmPckn5YBShsRQdBTAoezqt/qcyZ5ynFkywAxIiE1UU1L6ANblW2ES0Ew7chkQ==\",\r\n \"secondary\": \"qxfHq3iv9CPIYDZ7E24ncdc0hEt/NHt8FTK3qDxzIeIqsc7oFhCMUdIylrYwGVltmI784TOF0Gr5Vyr8ScMvgg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "236" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +265,28 @@ "no-cache" ], "request-id": [ - "339af7f9-c43c-4023-8f8e-68cfb5703fd6" + "ff89fb0e-36dd-4c15-acce-915e25cc723a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1195" ], "x-ms-request-id": [ - "270ceea3-469e-4b2e-82d6-49fcb3022a8f" + "32afa613-464a-4964-8cf7-5f82c4e15017" ], "x-ms-correlation-request-id": [ - "270ceea3-469e-4b2e-82d6-49fcb3022a8f" + "32afa613-464a-4964-8cf7-5f82c4e15017" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210243Z:270ceea3-469e-4b2e-82d6-49fcb3022a8f" + "WESTUS:20150309T214843Z:32afa613-464a-4964-8cf7-5f82c4e15017" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:42 GMT" + "Mon, 09 Mar 2015 21:48:42 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +295,130 @@ "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==", + "RequestUri": "/pools?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json;odata=minimalmetadata" + ], + "Content-Length": [ + "199" + ], + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ef4a2de4-e272-4a5b-927a-27b8d402e41f" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 09 Mar 2015 21:48:40 GMT" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Mon, 09 Mar 2015 21:48:42 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0e1a7469-4d74-4099-9455-a55d018aae6f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://testdeletepool.batch.core.windows.net/pools/testPool" + ], + "Date": [ + "Mon, 09 Mar 2015 21:48:44 GMT" + ], + "ETag": [ + "0x8D228C9F224ECED" + ], + "Location": [ + "https://testdeletepool.batch.core.windows.net/pools/testPool" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool\",\r\n \"name\": \"testdeletepool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "756" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "a78c214f-bef9-4c85-842a-cfe43090eafe" + ], + "x-ms-correlation-request-id": [ + "a78c214f-bef9-4c85-842a-cfe43090eafe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214842Z:a78c214f-bef9-4c85-842a-cfe43090eafe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:48:42 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"testdeletepool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletepool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "335" ], "Content-Type": [ "application/json; charset=utf-8" @@ -303,32 +426,38 @@ "Expires": [ "-1" ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:48:41 GMT" + ], "Pragma": [ "no-cache" ], "request-id": [ - "4f453d7e-699d-427f-aba1-a94760258e8d" + "12c335ae-1295-47a0-a158-9c7110394a71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" ], "x-ms-request-id": [ - "09d8c5d6-7d30-4773-831d-34e22d0d43dd" + "4cacb972-f613-4997-b424-b6160e73baeb" ], "x-ms-correlation-request-id": [ - "09d8c5d6-7d30-4773-831d-34e22d0d43dd" + "4cacb972-f613-4997-b424-b6160e73baeb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210245Z:09d8c5d6-7d30-4773-831d-34e22d0d43dd" + "WESTUS:20150309T214843Z:4cacb972-f613-4997-b424-b6160e73baeb" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:44 GMT" + "Mon, 09 Mar 2015 21:48:42 GMT" + ], + "ETag": [ + "0x8D228C9F16670EC" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -339,38 +468,32 @@ { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testDeletePipe\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json;odata=minimalmetadata" - ], - "Content-Length": [ - "205" - ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "9974affc-0e48-4d2c-8dc9-f40cc45d8e42" + "662f1b86-7cbb-4e2e-9d2d-a54a0c0e07b9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:02:43 GMT" + "Mon, 09 Mar 2015 21:48:43 GMT" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletepool.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testPool\",\r\n \"url\": \"https://testdeletepool.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D228C9F224ECED\",\r\n \"lastModified\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"creationTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Last-Modified": [ - "Thu, 09 Jul 2015 21:02:44 GMT" + "Content-Type": [ + "application/json; odata=minimalmetadata" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "18df1f05-acd7-472b-9141-702e25f97c92" + "b38160f0-a629-4183-87ca-58a53d4b72f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -378,27 +501,18 @@ "DataServiceVersion": [ "3.0" ], - "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testDeletePipe" - ], "Date": [ - "Thu, 09 Jul 2015 21:02:43 GMT" - ], - "ETag": [ - "0x8D288A1BC580284" - ], - "Location": [ - "https://pstests.batch.core.windows.net/pools/testDeletePipe" + "Mon, 09 Mar 2015 21:48:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { - "RequestUri": "/pools/testDeletePipe?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3REZWxldGVQaXBlP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +520,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "55e80a90-7ac3-40ac-a610-607b95408abc" + "04030ba3-3e49-4868-a441-a0bee295061e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:02:45 GMT" + "Mon, 09 Mar 2015 21:48:44 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testDeletePipe\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testDeletePipe\",\r\n \"eTag\": \"0x8D288A1BC580284\",\r\n \"lastModified\": \"2015-07-09T21:02:44.365786Z\",\r\n \"creationTime\": \"2015-07-09T21:02:44.365786Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T21:02:44.365786Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:02:44.4557884Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletepool.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testPool\",\r\n \"url\": \"https://testdeletepool.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D228C9F3F0BE25\",\r\n \"lastModified\": \"2015-03-09T21:48:45.8839589Z\",\r\n \"creationTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-03-09T21:48:45.8839589Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:02:44 GMT" - ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "349833d8-0f12-42b7-87dc-a6bb5eba65db" + "048dcf79-0069-43b5-8888-dd0f799c2fa0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +547,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:02:45 GMT" - ], - "ETag": [ - "0x8D288A1BC580284" + "Mon, 09 Mar 2015 21:48:42 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,8 +556,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testDeletePipe?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3REZWxldGVQaXBlP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -457,28 +565,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2e62b6b4-a051-46f0-a01f-d1ea547fdd19" + "81c23a3b-5b6d-4843-bbee-8975c71c9bdd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:02:45 GMT" + "Mon, 09 Mar 2015 21:48:43 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testDeletePipe\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testDeletePipe\",\r\n \"eTag\": \"0x8D288A1BC580284\",\r\n \"lastModified\": \"2015-07-09T21:02:44.365786Z\",\r\n \"creationTime\": \"2015-07-09T21:02:44.365786Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T21:02:44.365786Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:02:44.4557884Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletepool.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://testdeletepool.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D228C9F224ECED\",\r\n \"lastModified\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"creationTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:48:42.8705005Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:02:44 GMT" + "Mon, 09 Mar 2015 21:48:42 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a4b162b7-b3a9-4576-ae32-f8df486326bf" + "fc0531dc-36cb-4d91-aff4-6d78a3c2b96b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +595,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:02:45 GMT" + "Mon, 09 Mar 2015 21:48:40 GMT" ], "ETag": [ - "0x8D288A1BC580284" + "0x8D228C9F224ECED" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -499,8 +607,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testDeletePipe?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3REZWxldGVQaXBlP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -508,13 +616,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6deb1797-a802-4b07-8ccb-e5a1357cbecb" + "7c6da735-cd63-4f6c-b9c8-8e99a3910f35" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:02:45 GMT" + "Mon, 09 Mar 2015 21:48:44 GMT" ] }, "ResponseBody": "", @@ -523,7 +631,7 @@ "chunked" ], "request-id": [ - "ed30105d-3836-448e-b366-2ac3c7c0f0e6" + "49a65dc1-a829-4f85-ab17-3e3d9e113f62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -532,7 +640,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:02:46 GMT" + "Mon, 09 Mar 2015 21:48:41 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -541,48 +649,1701 @@ "StatusCode": 202 }, { - "RequestUri": "/pools?api-version=2014-10-01.1.0&$filter=name%20eq%20'testDeletePipe'", - "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRmaWx0ZXI9bmFtZSUyMGVxJTIwJTI3dGVzdERlbGV0ZVBpcGUlMjc=", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "WA-Batch/1.0" + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" ], - "client-request-id": [ - "e98451c6-98d3-4e2a-9500-53246704dc07" + "Expires": [ + "-1" ], - "return-client-request-id": [ - "False" + "Pragma": [ + "no-cache" ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:02:46 GMT" + "Retry-After": [ + "15" + ], + "request-id": [ + "f3203261-3f8e-4a4b-994a-349303034378" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "e872546d-f76c-4407-9424-36b236f1e3de" + ], + "x-ms-correlation-request-id": [ + "e872546d-f76c-4407-9424-36b236f1e3de" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214847Z:e872546d-f76c-4407-9424-36b236f1e3de" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:48:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools\",\r\n \"value\": []\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" + "Content-Length": [ + "0" ], - "Transfer-Encoding": [ - "chunked" + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" ], "request-id": [ - "f0001806-55b2-4b72-8ba4-cd14823437ab" + "248d8338-9e84-4fbc-839f-c67b92fce823" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "DataServiceVersion": [ - "3.0" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "b6b59823-80ad-4cb6-b49c-e6fa3496d94d" + ], + "x-ms-correlation-request-id": [ + "b6b59823-80ad-4cb6-b49c-e6fa3496d94d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214847Z:b6b59823-80ad-4cb6-b49c-e6fa3496d94d" + ], + "Cache-Control": [ + "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:02:45 GMT" + "Mon, 09 Mar 2015 21:48:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b883143a-eefc-48b1-9e7f-9cbc85c05e98" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "14a4930e-cb86-4b53-ad1f-19a008d8f954" + ], + "x-ms-correlation-request-id": [ + "14a4930e-cb86-4b53-ad1f-19a008d8f954" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214902Z:14a4930e-cb86-4b53-ad1f-19a008d8f954" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:49:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1b4a4cd4-9197-4403-8a2e-d2dc2a15a843" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "0f1bc0af-f7cf-4568-8db5-e275511b419c" + ], + "x-ms-correlation-request-id": [ + "0f1bc0af-f7cf-4568-8db5-e275511b419c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214917Z:0f1bc0af-f7cf-4568-8db5-e275511b419c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:49:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8534343f-4133-4d2f-bae2-8613b0272a49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "657eef39-3e18-4972-9cea-4c05ce2ccfdb" + ], + "x-ms-correlation-request-id": [ + "657eef39-3e18-4972-9cea-4c05ce2ccfdb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214932Z:657eef39-3e18-4972-9cea-4c05ce2ccfdb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:49:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "59e907d2-7574-4468-9623-119926f514ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "1d707591-87ff-43c5-bd02-da5418f22a4e" + ], + "x-ms-correlation-request-id": [ + "1d707591-87ff-43c5-bd02-da5418f22a4e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T214947Z:1d707591-87ff-43c5-bd02-da5418f22a4e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:49:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c472f1e8-152a-47c4-92bb-e956ae3f2927" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "28a904ab-656e-421e-809e-0df06101dcc0" + ], + "x-ms-correlation-request-id": [ + "28a904ab-656e-421e-809e-0df06101dcc0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215003Z:28a904ab-656e-421e-809e-0df06101dcc0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:50:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9d4370f6-c8d8-418e-870a-74262f1fe5ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "2350c5c9-c44a-413e-9c8c-6a9d391aac01" + ], + "x-ms-correlation-request-id": [ + "2350c5c9-c44a-413e-9c8c-6a9d391aac01" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215018Z:2350c5c9-c44a-413e-9c8c-6a9d391aac01" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:50:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "310a0037-c845-41b4-bda0-41db1de5b7d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "eb350dba-d3cf-40ca-9d72-a089dd63fa7a" + ], + "x-ms-correlation-request-id": [ + "eb350dba-d3cf-40ca-9d72-a089dd63fa7a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215033Z:eb350dba-d3cf-40ca-9d72-a089dd63fa7a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:50:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "babf21c0-dee0-4a5e-8a9e-0e2f8b0ff221" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "2f5ed3cd-d756-4af1-9ece-671e0a91bb71" + ], + "x-ms-correlation-request-id": [ + "2f5ed3cd-d756-4af1-9ece-671e0a91bb71" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215048Z:2f5ed3cd-d756-4af1-9ece-671e0a91bb71" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:50:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e2f56b18-63b8-499d-9c0f-703542b5ab10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "d8c5fb73-18a0-4db7-8a62-3ee57f735fde" + ], + "x-ms-correlation-request-id": [ + "d8c5fb73-18a0-4db7-8a62-3ee57f735fde" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215103Z:d8c5fb73-18a0-4db7-8a62-3ee57f735fde" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:51:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "56dd4414-ea33-4024-a56a-9efade44f319" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "f7a665f4-c84d-4405-8342-af7aee6b2519" + ], + "x-ms-correlation-request-id": [ + "f7a665f4-c84d-4405-8342-af7aee6b2519" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215119Z:f7a665f4-c84d-4405-8342-af7aee6b2519" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:51:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "443431ce-d0a9-47be-b1b6-7db194f96726" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "2a7a0032-433f-4d0e-b75b-ecdc186f71bd" + ], + "x-ms-correlation-request-id": [ + "2a7a0032-433f-4d0e-b75b-ecdc186f71bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215134Z:2a7a0032-433f-4d0e-b75b-ecdc186f71bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:51:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ba9435e4-eef6-49a4-b858-6aec9c9b0b51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "509907ee-36ce-4d0e-bf00-95500873bcb2" + ], + "x-ms-correlation-request-id": [ + "509907ee-36ce-4d0e-bf00-95500873bcb2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215149Z:509907ee-36ce-4d0e-bf00-95500873bcb2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:51:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "bd88fc52-a281-460b-bcb5-826a099c358a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "21f277c2-8d28-4a3c-acdd-dfab6157cc88" + ], + "x-ms-correlation-request-id": [ + "21f277c2-8d28-4a3c-acdd-dfab6157cc88" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215204Z:21f277c2-8d28-4a3c-acdd-dfab6157cc88" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:52:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "16853cdb-7bd3-4129-8e3d-3ff9370f0fa7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "a5a203a6-78c6-40d3-b963-146ca79bbcf9" + ], + "x-ms-correlation-request-id": [ + "a5a203a6-78c6-40d3-b963-146ca79bbcf9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215219Z:a5a203a6-78c6-40d3-b963-146ca79bbcf9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:52:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e6339596-554b-4169-8f96-320e00f19948" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "8fbc0ba3-2cae-4992-940f-d1fb1b4a6862" + ], + "x-ms-correlation-request-id": [ + "8fbc0ba3-2cae-4992-940f-d1fb1b4a6862" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215234Z:8fbc0ba3-2cae-4992-940f-d1fb1b4a6862" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:52:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7db29aec-c62d-4f86-8f86-8fd937a7e70f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "89ab53ab-7e51-452e-977e-1d1a102408f0" + ], + "x-ms-correlation-request-id": [ + "89ab53ab-7e51-452e-977e-1d1a102408f0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215249Z:89ab53ab-7e51-452e-977e-1d1a102408f0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:52:49 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "65740b30-f916-4da4-8d3f-fa88f8272bce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "280aaa4d-b329-40f1-8217-03a25f9bd77b" + ], + "x-ms-correlation-request-id": [ + "280aaa4d-b329-40f1-8217-03a25f9bd77b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215305Z:280aaa4d-b329-40f1-8217-03a25f9bd77b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:53:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "70fcb010-303c-40c6-9b67-e16969a19074" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "4b8c751f-e1f8-45d8-8da1-a01e1e98becc" + ], + "x-ms-correlation-request-id": [ + "4b8c751f-e1f8-45d8-8da1-a01e1e98becc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215320Z:4b8c751f-e1f8-45d8-8da1-a01e1e98becc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:53:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c67a1900-a700-4792-b980-62e4d190db73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "9cd4946a-c97c-4248-9dbe-3106239c9005" + ], + "x-ms-correlation-request-id": [ + "9cd4946a-c97c-4248-9dbe-3106239c9005" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215335Z:9cd4946a-c97c-4248-9dbe-3106239c9005" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:53:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "aea6c006-5dbe-40f9-891f-28b467d950bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "2d8feb32-e424-43c3-9643-d5a44dd97ceb" + ], + "x-ms-correlation-request-id": [ + "2d8feb32-e424-43c3-9643-d5a44dd97ceb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215350Z:2d8feb32-e424-43c3-9643-d5a44dd97ceb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:53:49 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cf1c03fa-8c2e-4d03-8f09-e5fc1bd49601" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "4160e727-81f1-41f0-a616-440f8ac9ea4a" + ], + "x-ms-correlation-request-id": [ + "4160e727-81f1-41f0-a616-440f8ac9ea4a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215405Z:4160e727-81f1-41f0-a616-440f8ac9ea4a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:54:05 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-pool/providers/Microsoft.Batch/batchAccounts/testdeletepool/operationResults/f3203261-3f8e-4a4b-994a-349303034378?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGVwb29sL29wZXJhdGlvblJlc3VsdHMvZjMyMDMyNjEtM2Y4ZS00YTRiLTk5NGEtMzQ5MzAzMDM0Mzc4P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:54:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "78285067-f934-4df0-a6aa-c476a90699e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "140c7dad-e16b-4297-a89c-fff320ef90f6" + ], + "x-ms-correlation-request-id": [ + "140c7dad-e16b-4297-a89c-fff320ef90f6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215420Z:140c7dad-e16b-4297-a89c-fff320ef90f6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:54:19 GMT" + ], + "ETag": [ + "0x8D228CABAB6DEEF" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "776c0a1d-dc53-4bf5-b914-8940e2d599d0" + ], + "x-ms-correlation-request-id": [ + "776c0a1d-dc53-4bf5-b914-8940e2d599d0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215422Z:776c0a1d-dc53-4bf5-b914-8940e2d599d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:54:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31941" + ], + "x-ms-request-id": [ + "c63fd1f9-b611-4b64-9809-8da16b04cfa2" + ], + "x-ms-correlation-request-id": [ + "c63fd1f9-b611-4b64-9809-8da16b04cfa2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215422Z:c63fd1f9-b611-4b64-9809-8da16b04cfa2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:54:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31940" + ], + "x-ms-request-id": [ + "402e8d41-b7e1-4034-9140-16d4167a2931" + ], + "x-ms-correlation-request-id": [ + "402e8d41-b7e1-4034-9140-16d4167a2931" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215437Z:402e8d41-b7e1-4034-9140-16d4167a2931" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:54:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31939" + ], + "x-ms-request-id": [ + "a3b0a4d2-a592-4c48-adcd-ba5464709c5d" + ], + "x-ms-correlation-request-id": [ + "a3b0a4d2-a592-4c48-adcd-ba5464709c5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215453Z:a3b0a4d2-a592-4c48-adcd-ba5464709c5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:54:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVVRTlQVEMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31938" + ], + "x-ms-request-id": [ + "76f5569c-5ef0-42b2-92e7-38c9e929015c" + ], + "x-ms-correlation-request-id": [ + "76f5569c-5ef0-42b2-92e7-38c9e929015c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T215508Z:76f5569c-5ef0-42b2-92e7-38c9e929015c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:55:08 GMT" + ] + }, "StatusCode": 200 } ], diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json index ed0c6023f2ed..dda5c9836296 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], - "x-ms-request-id": [ - "7ce511b8-d0f1-4810-983c-301ab4b9c99d" - ], - "x-ms-correlation-request-id": [ - "7ce511b8-d0f1-4810-983c-301ab4b9c99d" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T193315Z:7ce511b8-d0f1-4810-983c-301ab4b9c99d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:33:14 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool\",\r\n \"name\": \"test-get-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "179" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-request-id": [ - "8482bc5c-e3e5-44e1-b5a5-7194ba602fc6" + "3a69c93b-9784-4c73-b590-7df014c40044" ], "x-ms-correlation-request-id": [ - "8482bc5c-e3e5-44e1-b5a5-7194ba602fc6" + "3a69c93b-9784-4c73-b590-7df014c40044" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193317Z:8482bc5c-e3e5-44e1-b5a5-7194ba602fc6" + "WESTUS:20150309T210728Z:3a69c93b-9784-4c73-b590-7df014c40044" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,88 +49,88 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:33:16 GMT" + "Mon, 09 Mar 2015 21:07:27 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:33:16 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], "request-id": [ - "bdcbd1af-3baf-42f8-a7a5-e93e68ee0aee" + "85562439-7b90-43c9-9b08-ff5dad173082" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], "x-ms-request-id": [ - "9501dc4a-bf9d-41cc-9393-f70b32bd2110" + "2361907a-f3aa-4814-aa12-4a3335b4ba1a" ], "x-ms-correlation-request-id": [ - "9501dc4a-bf9d-41cc-9393-f70b32bd2110" + "2361907a-f3aa-4814-aa12-4a3335b4ba1a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193316Z:9501dc4a-bf9d-41cc-9393-f70b32bd2110" + "WESTUS:20150309T210732Z:2361907a-f3aa-4814-aa12-4a3335b4ba1a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:33:16 GMT" + "Mon, 09 Mar 2015 21:07:31 GMT" ], - "ETag": [ - "0x8D288953CFE453E" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/85562439-7b90-43c9-9b08-ff5dad173082?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/85562439-7b90-43c9-9b08-ff5dad173082?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvODU1NjI0MzktN2I5MC00M2M5LTliMDgtZmY1ZGFkMTczMDgyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testgetpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "323" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:33:17 GMT" + "Mon, 09 Mar 2015 21:07:28 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "ad571bdf-3dad-45d0-8ecb-3b16abc319fa" + "1756de07-73ec-4ff5-a099-fef065bb58a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "31999" ], "x-ms-request-id": [ - "2d1db790-aee4-4a0d-9771-c503e3b161e7" + "109070c4-cf11-4468-8e45-8101205216db" ], "x-ms-correlation-request-id": [ - "2d1db790-aee4-4a0d-9771-c503e3b161e7" + "109070c4-cf11-4468-8e45-8101205216db" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193318Z:2d1db790-aee4-4a0d-9771-c503e3b161e7" + "WESTUS:20150309T210732Z:109070c4-cf11-4468-8e45-8101205216db" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:33:17 GMT" + "Mon, 09 Mar 2015 21:07:32 GMT" ], "ETag": [ - "0x8D288953DAABD37" + "0x8D228C42F94A40C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgetpool\",\r\n \"primary\": \"8vV4A3qercm8XS6jiJmb11zqs8gQEaIHTnCt51LxyhARg7FrrqlJyWeObbVX1fIVzHpbzQ8tsoJ3s1w9JFrx8Q==\",\r\n \"secondary\": \"s1WK2eDfEgaas8RUZP1tf88brA/Fo2aUt7yDldkPm2XoZLPc19FXXd8R23K1EcLKmiWUw+Hb9GuihGR9PjrEVQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "b18cbbf5-fbf2-40b2-b27d-bd3afb636170" + "dba35f36-3430-4cc0-840d-988103dd55dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" + "1198" ], "x-ms-request-id": [ - "40750e4f-c80a-4e53-85dd-bf0e33ed8a22" + "e9b5ff50-d556-4787-aab6-cee7af966633" ], "x-ms-correlation-request-id": [ - "40750e4f-c80a-4e53-85dd-bf0e33ed8a22" + "e9b5ff50-d556-4787-aab6-cee7af966633" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193317Z:40750e4f-c80a-4e53-85dd-bf0e33ed8a22" + "WESTUS:20150309T210732Z:e9b5ff50-d556-4787-aab6-cee7af966633" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:33:16 GMT" + "Mon, 09 Mar 2015 21:07:32 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgetpool\",\r\n \"primary\": \"8vV4A3qercm8XS6jiJmb11zqs8gQEaIHTnCt51LxyhARg7FrrqlJyWeObbVX1fIVzHpbzQ8tsoJ3s1w9JFrx8Q==\",\r\n \"secondary\": \"s1WK2eDfEgaas8RUZP1tf88brA/Fo2aUt7yDldkPm2XoZLPc19FXXd8R23K1EcLKmiWUw+Hb9GuihGR9PjrEVQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "6fc7095d-56aa-43a1-b4c6-71d51c7e33a5" + "6f41ef12-040e-43c6-a6fe-1830a050ccd0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1178" + "1197" ], "x-ms-request-id": [ - "98f8129b-5372-4a85-bdc0-b4fd7a135668" + "4405ebaf-a694-42b9-8e50-583bdfd118b1" ], "x-ms-correlation-request-id": [ - "98f8129b-5372-4a85-bdc0-b4fd7a135668" + "4405ebaf-a694-42b9-8e50-583bdfd118b1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193318Z:98f8129b-5372-4a85-bdc0-b4fd7a135668" + "WESTUS:20150309T210806Z:4405ebaf-a694-42b9-8e50-583bdfd118b1" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:33:17 GMT" + "Mon, 09 Mar 2015 21:08:05 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testGetPool\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "202" + "199" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "fb8e591c-b549-404b-b262-eb4616b897b5" + "56b37685-5083-46a6-8457-8fbaca419821" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:33:16 GMT" + "Mon, 09 Mar 2015 21:08:03 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:33:17 GMT" + "Mon, 09 Mar 2015 21:08:05 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "2261ba78-2278-4105-ae20-eb24db6a1d87" + "ecaae0de-a659-486f-8fbb-d82f91f1043d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testGetPool" + "https://testgetpool.batch.core.windows.net/pools/testName" ], "Date": [ - "Thu, 09 Jul 2015 19:33:16 GMT" + "Mon, 09 Mar 2015 21:08:03 GMT" ], "ETag": [ - "0x8D288953D7FCC60" + "0x8D228C44526BB41" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testGetPool" + "https://testgetpool.batch.core.windows.net/pools/testName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,119 @@ "StatusCode": 201 }, { - "RequestUri": "/pools/testGetPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RHZXRQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool\",\r\n \"name\": \"testgetpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "747" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "12478617-c9f4-422f-9109-db8a92b8a901" + ], + "x-ms-correlation-request-id": [ + "12478617-c9f4-422f-9109-db8a92b8a901" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210805Z:12478617-c9f4-422f-9109-db8a92b8a901" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:08:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "28810563-6e2b-4edd-bf3d-f12a23b0b960" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "b95a12e2-574c-47ed-9890-12baa021290a" + ], + "x-ms-correlation-request-id": [ + "b95a12e2-574c-47ed-9890-12baa021290a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210805Z:b95a12e2-574c-47ed-9890-12baa021290a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:05 GMT" + ], + "ETag": [ + "0x8D228C443A0EE1F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +475,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5fd0329f-84e0-4b09-81ba-c6cffaac232d" + "20023954-31d0-4495-bbe7-08c0aae2506d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:33:18 GMT" + "Mon, 09 Mar 2015 21:08:06 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testGetPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testGetPool\",\r\n \"eTag\": \"0x8D288953D7FCC60\",\r\n \"lastModified\": \"2015-07-09T19:33:17.5951456Z\",\r\n \"creationTime\": \"2015-07-09T19:33:17.5951456Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:33:17.5951456Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:33:17.6880992Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetpool.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgetpool.batch.core.windows.net/pools/testName\",\r\n \"eTag\": \"0x8D228C44526BB41\",\r\n \"lastModified\": \"2015-03-09T21:08:05.1528513Z\",\r\n \"creationTime\": \"2015-03-09T21:08:05.1528513Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:08:05.1528513Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:08:05.1528513Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:33:17 GMT" + "Mon, 09 Mar 2015 21:08:05 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "79218dde-7aaa-44f1-9f01-f913bff4716f" + "eea5868d-7848-4c5c-a540-d41438adbe0e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +505,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:33:17 GMT" + "Mon, 09 Mar 2015 21:08:10 GMT" ], "ETag": [ - "0x8D288953D7FCC60" + "0x8D228C44526BB41" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,8 +517,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testGetPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RHZXRQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -457,13 +526,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7b37767a-7eff-47ed-bb96-4a92d0f7fbb0" + "47051818-b595-4754-b8bd-e206a9a7a13c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:33:18 GMT" + "Mon, 09 Mar 2015 21:08:06 GMT" ] }, "ResponseBody": "", @@ -472,7 +541,7 @@ "chunked" ], "request-id": [ - "430c8888-6efc-43b6-98cb-98ed392dba0f" + "295573c6-9919-4420-9483-d8a6255aa5cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -481,13 +550,1657 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:33:18 GMT" + "Mon, 09 Mar 2015 21:08:07 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "595cf57b-1ac3-4947-838d-2319026b2b9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "aadd6871-2c38-45df-afa2-1fcc46f75305" + ], + "x-ms-correlation-request-id": [ + "aadd6871-2c38-45df-afa2-1fcc46f75305" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210809Z:aadd6871-2c38-45df-afa2-1fcc46f75305" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e6664977-8447-4359-b4c6-80e041172be3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "057830f9-acd3-42cd-91c5-a2a69cd3ac19" + ], + "x-ms-correlation-request-id": [ + "057830f9-acd3-42cd-91c5-a2a69cd3ac19" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210809Z:057830f9-acd3-42cd-91c5-a2a69cd3ac19" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a639db52-d75c-4eb2-8b49-a89c05b76404" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "885088a6-6da7-4293-b9e6-e5ce7e42c3e3" + ], + "x-ms-correlation-request-id": [ + "885088a6-6da7-4293-b9e6-e5ce7e42c3e3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210824Z:885088a6-6da7-4293-b9e6-e5ce7e42c3e3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:23 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5c4a89fd-6c67-49f8-951a-ac09668c2d27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "57b96820-7aa9-4e8e-97e7-7a2558ceee39" + ], + "x-ms-correlation-request-id": [ + "57b96820-7aa9-4e8e-97e7-7a2558ceee39" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210839Z:57b96820-7aa9-4e8e-97e7-7a2558ceee39" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9a574a1d-597d-47de-897d-399ffab373f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "89a421a2-5d67-429e-a26d-c9b405a4c868" + ], + "x-ms-correlation-request-id": [ + "89a421a2-5d67-429e-a26d-c9b405a4c868" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210854Z:89a421a2-5d67-429e-a26d-c9b405a4c868" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:08:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "70d904ec-e05f-4b3c-ad4a-5427cc6fc073" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "515faea7-d993-4965-9afc-c2b53a225a77" + ], + "x-ms-correlation-request-id": [ + "515faea7-d993-4965-9afc-c2b53a225a77" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210909Z:515faea7-d993-4965-9afc-c2b53a225a77" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:09:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fe26cf20-9a2a-4268-990e-c835cfd15af8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "79fcff13-5fe9-44db-81e0-5956ad478f46" + ], + "x-ms-correlation-request-id": [ + "79fcff13-5fe9-44db-81e0-5956ad478f46" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210924Z:79fcff13-5fe9-44db-81e0-5956ad478f46" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:09:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "30909175-7016-40c4-aff2-3b3f1752c396" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "466cc74c-c739-4fdf-bb4d-a2e56a5886c3" + ], + "x-ms-correlation-request-id": [ + "466cc74c-c739-4fdf-bb4d-a2e56a5886c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210940Z:466cc74c-c739-4fdf-bb4d-a2e56a5886c3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:09:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8f17b206-f142-4b87-9c96-ec15d2cf1a8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "172a1a27-a28e-4ff6-b14d-5c936a5e451d" + ], + "x-ms-correlation-request-id": [ + "172a1a27-a28e-4ff6-b14d-5c936a5e451d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T210955Z:172a1a27-a28e-4ff6-b14d-5c936a5e451d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:09:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "03b4e81c-76b7-4f0d-9b86-a4cf6c8791d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "c2bfef83-2ab5-4d3a-b175-01c526ccde24" + ], + "x-ms-correlation-request-id": [ + "c2bfef83-2ab5-4d3a-b175-01c526ccde24" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211010Z:c2bfef83-2ab5-4d3a-b175-01c526ccde24" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:10:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a81ec06a-5a7f-400c-88d3-c60082739b8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "85216d93-e4a0-47d2-b929-bf21d3f5b052" + ], + "x-ms-correlation-request-id": [ + "85216d93-e4a0-47d2-b929-bf21d3f5b052" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211025Z:85216d93-e4a0-47d2-b929-bf21d3f5b052" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:10:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d0646192-2bf2-4a0c-b8b0-cda4d95f0b43" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "b3be39de-6cc4-426c-9850-5bdd45ac19e0" + ], + "x-ms-correlation-request-id": [ + "b3be39de-6cc4-426c-9850-5bdd45ac19e0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211040Z:b3be39de-6cc4-426c-9850-5bdd45ac19e0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:10:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "613be36a-272b-4589-a2ef-ae1844426c1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "59c98d86-5761-4428-a871-450fcc287bdc" + ], + "x-ms-correlation-request-id": [ + "59c98d86-5761-4428-a871-450fcc287bdc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211055Z:59c98d86-5761-4428-a871-450fcc287bdc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:10:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "648ab14d-1d66-40c0-8f49-c2679d7cc174" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "443dde8b-c4dc-4612-a2d0-b271fefb67a0" + ], + "x-ms-correlation-request-id": [ + "443dde8b-c4dc-4612-a2d0-b271fefb67a0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211111Z:443dde8b-c4dc-4612-a2d0-b271fefb67a0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:11:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fefe3343-1b09-4e51-bdb0-d5252bec759c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "66ec8110-3c7f-4f0a-863f-a4e4542b28fc" + ], + "x-ms-correlation-request-id": [ + "66ec8110-3c7f-4f0a-863f-a4e4542b28fc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211126Z:66ec8110-3c7f-4f0a-863f-a4e4542b28fc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:11:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3ff739a3-7743-42d3-a2b1-c673e95f3c84" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "67e5f216-3397-4dfd-9781-be2f11778c7e" + ], + "x-ms-correlation-request-id": [ + "67e5f216-3397-4dfd-9781-be2f11778c7e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211141Z:67e5f216-3397-4dfd-9781-be2f11778c7e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:11:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a8d4b773-6f4b-41e2-828d-efc446d81e3b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "095af783-aba2-402a-b311-8be10e93e1ae" + ], + "x-ms-correlation-request-id": [ + "095af783-aba2-402a-b311-8be10e93e1ae" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211156Z:095af783-aba2-402a-b311-8be10e93e1ae" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:11:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "60b800aa-5bc4-49c1-a5c0-c7c69f5bda90" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "affd007b-b197-4daa-b0ae-127cc5a04e9a" + ], + "x-ms-correlation-request-id": [ + "affd007b-b197-4daa-b0ae-127cc5a04e9a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211211Z:affd007b-b197-4daa-b0ae-127cc5a04e9a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:12:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7bd9d3a5-ba29-4a85-a449-33ad51961fbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "5f42300b-8e47-4ab4-9256-62bfdc6d4d5d" + ], + "x-ms-correlation-request-id": [ + "5f42300b-8e47-4ab4-9256-62bfdc6d4d5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211226Z:5f42300b-8e47-4ab4-9256-62bfdc6d4d5d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:12:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2e87aca7-d1d5-4f7c-af97-453d55652acf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "475c5aa3-9cf8-4a3b-ac8b-76389880d094" + ], + "x-ms-correlation-request-id": [ + "475c5aa3-9cf8-4a3b-ac8b-76389880d094" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211241Z:475c5aa3-9cf8-4a3b-ac8b-76389880d094" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:12:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c9194f18-5bc5-46f0-b4f4-28672eb16e82" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "28c94335-f324-4a68-9d91-b7f568a004bb" + ], + "x-ms-correlation-request-id": [ + "28c94335-f324-4a68-9d91-b7f568a004bb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211257Z:28c94335-f324-4a68-9d91-b7f568a004bb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:12:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ca4671b1-8d3b-41e4-8eb7-15b7f2033470" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "59f112e7-f060-4bde-a0ac-9bf0767e166d" + ], + "x-ms-correlation-request-id": [ + "59f112e7-f060-4bde-a0ac-9bf0767e166d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211312Z:59f112e7-f060-4bde-a0ac-9bf0767e166d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:13:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d052118e-60b8-46ab-8431-8dca4e3ce2ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "7767e098-8e5a-4095-8df3-7d3a55cfe528" + ], + "x-ms-correlation-request-id": [ + "7767e098-8e5a-4095-8df3-7d3a55cfe528" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211327Z:7767e098-8e5a-4095-8df3-7d3a55cfe528" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:13:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/595cf57b-1ac3-4947-838d-2319026b2b9d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNTk1Y2Y1N2ItMWFjMy00OTQ3LTgzOGQtMjMxOTAyNmIyYjlkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:13:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "611b6c98-2b36-4fae-a12a-b25ccb07cd60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "bbecf1fc-ad5d-4d62-8f57-16f6e5435ae9" + ], + "x-ms-correlation-request-id": [ + "bbecf1fc-ad5d-4d62-8f57-16f6e5435ae9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211342Z:bbecf1fc-ad5d-4d62-8f57-16f6e5435ae9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:13:41 GMT" + ], + "ETag": [ + "0x8D228C50C56E61B" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "52a0c6b7-ad2a-4d5c-9ec1-fd188e325eaf" + ], + "x-ms-correlation-request-id": [ + "52a0c6b7-ad2a-4d5c-9ec1-fd188e325eaf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211344Z:52a0c6b7-ad2a-4d5c-9ec1-fd188e325eaf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:13:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "e92a4a09-447a-417c-ab15-5ade7abe3d7c" + ], + "x-ms-correlation-request-id": [ + "e92a4a09-447a-417c-ab15-5ade7abe3d7c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211344Z:e92a4a09-447a-417c-ab15-5ade7abe3d7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:13:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "89f67a93-b4d5-4fb4-8989-c6c1e4a61a6b" + ], + "x-ms-correlation-request-id": [ + "89f67a93-b4d5-4fb4-8989-c6c1e4a61a6b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211359Z:89f67a93-b4d5-4fb4-8989-c6c1e4a61a6b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:13:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "0b5f9b81-e014-46fe-9e41-d24d63ac8470" + ], + "x-ms-correlation-request-id": [ + "0b5f9b81-e014-46fe-9e41-d24d63ac8470" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211415Z:0b5f9b81-e014-46fe-9e41-d24d63ac8470" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:14:14 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json index 6fdc3d45cde9..d45383b8a999 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" - ], - "x-ms-request-id": [ - "31c8a4e1-22d6-4747-890d-85b2ce28534b" - ], - "x-ms-correlation-request-id": [ - "31c8a4e1-22d6-4747-890d-85b2ce28534b" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T212451Z:31c8a4e1-22d6-4747-890d-85b2ce28534b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 21:24:51 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool\",\r\n \"name\": \"test-list-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "181" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" ], "x-ms-request-id": [ - "1d8de408-3e2d-4aed-aa9e-e5a14b794633" + "3f5492b4-0da4-44d8-bc8d-5c7edec50b42" ], "x-ms-correlation-request-id": [ - "1d8de408-3e2d-4aed-aa9e-e5a14b794633" + "3f5492b4-0da4-44d8-bc8d-5c7edec50b42" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T212456Z:1d8de408-3e2d-4aed-aa9e-e5a14b794633" + "WESTUS:20150309T213127Z:3f5492b4-0da4-44d8-bc8d-5c7edec50b42" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:24:56 GMT" + "Mon, 09 Mar 2015 21:31:27 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2w/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:24:52 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], "request-id": [ - "276153cd-499e-4a8f-9ebd-ebf4bdc5f5fe" + "16226453-47b5-415b-ab52-932f1775f499" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" - ], "x-ms-request-id": [ - "ce615c40-311d-4e64-881e-1ff5a6f48c6e" + "34aaf14a-db8c-46a1-a348-4bbe29a78da2" ], "x-ms-correlation-request-id": [ - "ce615c40-311d-4e64-881e-1ff5a6f48c6e" + "34aaf14a-db8c-46a1-a348-4bbe29a78da2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T212452Z:ce615c40-311d-4e64-881e-1ff5a6f48c6e" + "WESTUS:20150309T213133Z:34aaf14a-db8c-46a1-a348-4bbe29a78da2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:24:52 GMT" + "Mon, 09 Mar 2015 21:31:33 GMT" ], - "ETag": [ - "0x8D288A4D3DE09C9" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/16226453-47b5-415b-ab52-932f1775f499?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/16226453-47b5-415b-ab52-932f1775f499?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy8xNjIyNjQ1My00N2I1LTQxNWItYWI1Mi05MzJmMTc3NWY0OTk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "327" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:24:56 GMT" + "Mon, 09 Mar 2015 21:31:31 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "1f8f75d3-ce83-4d75-9ac4-9b1dc6257cf1" + "dd38869b-4ed7-410c-a63d-7defc87ddaba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "31991" ], "x-ms-request-id": [ - "eb1c86d9-a76f-41ef-851a-3cd5abfca776" + "b4238350-c681-4ec9-a54e-9fa5405da9c0" ], "x-ms-correlation-request-id": [ - "eb1c86d9-a76f-41ef-851a-3cd5abfca776" + "b4238350-c681-4ec9-a54e-9fa5405da9c0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T212456Z:eb1c86d9-a76f-41ef-851a-3cd5abfca776" + "WESTUS:20150309T213134Z:b4238350-c681-4ec9-a54e-9fa5405da9c0" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:24:56 GMT" + "Mon, 09 Mar 2015 21:31:33 GMT" ], "ETag": [ - "0x8D288A4D66F8561" + "0x8D228C78BA991ED" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistpool\",\r\n \"primary\": \"6WI8qq3I9HcZoAHFWsHRM8RT5RSOf9Lx6BTI4jwPMssJbc2/ljCO9Xxil73w2csgpivaemK/+NDuRhkmbuGJIQ==\",\r\n \"secondary\": \"K235c2HXRmDMeCFXmaFz+gKeef1KV2qqlFDkpErSYnGXHcxQLrjFnYXJ2cH8ql2joRJ55K+2zk01YnW9mLdciQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "234" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "0cd2ab50-4097-4cf1-ab17-69f0e9a07f3c" + "f89d3dd5-6dec-4914-acf6-1655f9b9a434" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1195" ], "x-ms-request-id": [ - "96b1166b-1ad5-4221-ab63-28b15a8a056a" + "211c99d9-1f74-471b-9932-ab94d2a7bc6f" ], "x-ms-correlation-request-id": [ - "96b1166b-1ad5-4221-ab63-28b15a8a056a" + "211c99d9-1f74-471b-9932-ab94d2a7bc6f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T212452Z:96b1166b-1ad5-4221-ab63-28b15a8a056a" + "WESTUS:20150309T213134Z:211c99d9-1f74-471b-9932-ab94d2a7bc6f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:24:52 GMT" + "Mon, 09 Mar 2015 21:31:33 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistpool\",\r\n \"primary\": \"6WI8qq3I9HcZoAHFWsHRM8RT5RSOf9Lx6BTI4jwPMssJbc2/ljCO9Xxil73w2csgpivaemK/+NDuRhkmbuGJIQ==\",\r\n \"secondary\": \"K235c2HXRmDMeCFXmaFz+gKeef1KV2qqlFDkpErSYnGXHcxQLrjFnYXJ2cH8ql2joRJ55K+2zk01YnW9mLdciQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "234" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "bd31edd8-6392-4dd4-b384-3599b3209d2d" + "6b70c497-fe70-45c7-b329-557a3ad16ce9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1194" ], "x-ms-request-id": [ - "c1b168b3-9429-4fd3-8417-9abaea9e6c53" + "1d05a0c6-4cc6-4503-a9c8-4fe7cf410eab" ], "x-ms-correlation-request-id": [ - "c1b168b3-9429-4fd3-8417-9abaea9e6c53" + "1d05a0c6-4cc6-4503-a9c8-4fe7cf410eab" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T212456Z:c1b168b3-9429-4fd3-8417-9abaea9e6c53" + "WESTUS:20150309T213213Z:1d05a0c6-4cc6-4503-a9c8-4fe7cf410eab" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:24:56 GMT" + "Mon, 09 Mar 2015 21:32:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -339,32 +297,38 @@ { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName1\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json;odata=minimalmetadata" + ], + "Content-Length": [ + "200" + ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "5e8bce91-e177-4a11-82ad-e48d7408da43" + "c32f85fd-f32c-4745-8c77-485e2ec6324a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:52 GMT" + "Mon, 09 Mar 2015 21:32:07 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools\",\r\n \"value\": []\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" + "Last-Modified": [ + "Mon, 09 Mar 2015 21:32:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "36305c7d-275b-47ee-84df-35abd2508ef2" + "9287b447-d55e-4e89-a353-ccca57fd4b0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -372,44 +336,59 @@ "DataServiceVersion": [ "3.0" ], + "DataServiceId": [ + "https://testlistpool.batch.core.windows.net/pools/testName1" + ], "Date": [ - "Thu, 09 Jul 2015 21:24:53 GMT" + "Mon, 09 Mar 2015 21:32:08 GMT" + ], + "ETag": [ + "0x8D228C7A254DFBC" + ], + "Location": [ + "https://testlistpool.batch.core.windows.net/pools/testName1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName2\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json;odata=minimalmetadata" + ], + "Content-Length": [ + "200" + ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "59525f66-cc9c-44c0-80ca-483eb63f2c00" + "bc3df369-75cc-40ef-b4d9-4fd32116b5e9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:56 GMT" + "Mon, 09 Mar 2015 21:32:09 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testList1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testList1\",\r\n \"eTag\": \"0x8D288A4D56464D8\",\r\n \"lastModified\": \"2015-07-09T21:24:54.8801752Z\",\r\n \"creationTime\": \"2015-07-09T21:24:54.8801752Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T21:24:54.8801752Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:24:54.9774592Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testList2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testList2\",\r\n \"eTag\": \"0x8D288A4D5BA230F\",\r\n \"lastModified\": \"2015-07-09T21:24:55.4421007Z\",\r\n \"creationTime\": \"2015-07-09T21:24:55.4421007Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T21:24:55.4421007Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:24:55.5247104Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"thirdTestList\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/thirdTestList\",\r\n \"eTag\": \"0x8D288A4D60DAD11\",\r\n \"lastModified\": \"2015-07-09T21:24:55.9895825Z\",\r\n \"creationTime\": \"2015-07-09T21:24:55.9895825Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T21:24:55.9895825Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:24:56.0695725Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" + "Last-Modified": [ + "Mon, 09 Mar 2015 21:32:11 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d79fc9ea-1f56-4e3a-b2da-2155acfd5f33" + "e1278a3e-ccd5-48da-ab74-e51072e0a48c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -417,50 +396,59 @@ "DataServiceVersion": [ "3.0" ], + "DataServiceId": [ + "https://testlistpool.batch.core.windows.net/pools/testName2" + ], "Date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:13 GMT" + ], + "ETag": [ + "0x8D228C7A3650D1C" + ], + "Location": [ + "https://testlistpool.batch.core.windows.net/pools/testName2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testList1\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"thirdtestName\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "200" + "204" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "d3198e61-a91a-4315-8465-4948fe556188" + "dba1acfb-8280-4c6f-af56-77cb05372826" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:54 GMT" + "Mon, 09 Mar 2015 21:32:11 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:24:54 GMT" + "Mon, 09 Mar 2015 21:32:13 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "04241d13-3448-4d25-af04-98fc43fe85a1" + "18aa4b44-f9d0-4ad8-9b2f-afcce41ce69b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -469,16 +457,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testList1" + "https://testlistpool.batch.core.windows.net/pools/thirdtestName" ], "Date": [ - "Thu, 09 Jul 2015 21:24:54 GMT" + "Mon, 09 Mar 2015 21:32:10 GMT" ], "ETag": [ - "0x8D288A4D56464D8" + "0x8D228C7A42F175A" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testList1" + "https://testlistpool.batch.core.windows.net/pools/thirdtestName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -487,100 +475,145 @@ "StatusCode": 201 }, { - "RequestUri": "/pools?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testList2\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool\",\r\n \"name\": \"testlistpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "750" + ], "Content-Type": [ - "application/json;odata=minimalmetadata" + "application/json; charset=utf-8" ], - "Content-Length": [ - "200" + "Expires": [ + "-1" ], - "User-Agent": [ - "WA-Batch/1.0" + "Pragma": [ + "no-cache" ], - "client-request-id": [ - "3d049ab6-599e-4056-a675-3898bc678e34" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" ], - "return-client-request-id": [ - "False" + "x-ms-request-id": [ + "74fec67c-555a-40bf-82d4-99514fa08b37" ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:24:54 GMT" + "x-ms-correlation-request-id": [ + "74fec67c-555a-40bf-82d4-99514fa08b37" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213212Z:74fec67c-555a-40bf-82d4-99514fa08b37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:32:12 GMT" ] }, - "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2w/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:24:55 GMT" + "Mon, 09 Mar 2015 21:32:10 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "request-id": [ - "acb45f74-922f-4aca-8569-2cefed60a119" + "444f6134-6763-4d63-9eae-18998eca8f5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "DataServiceVersion": [ - "3.0" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" ], - "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testList2" + "x-ms-request-id": [ + "4c7a8921-ae7b-4769-8af0-6e1843e4da38" + ], + "x-ms-correlation-request-id": [ + "4c7a8921-ae7b-4769-8af0-6e1843e4da38" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213213Z:4c7a8921-ae7b-4769-8af0-6e1843e4da38" + ], + "Cache-Control": [ + "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:24:54 GMT" + "Mon, 09 Mar 2015 21:32:12 GMT" ], "ETag": [ - "0x8D288A4D5BA230F" - ], - "Location": [ - "https://pstests.batch.core.windows.net/pools/testList2" + "0x8D228C7A2E9B0DB" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"thirdTestList\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json;odata=minimalmetadata" - ], - "Content-Length": [ - "204" - ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "a3036f28-b39b-478c-bb28-90f35de993a3" + "461f3cce-2410-498b-9468-72797cc81323" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:55 GMT" + "Mon, 09 Mar 2015 21:32:13 GMT" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistpool.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistpool.batch.core.windows.net/pools/testName1\",\r\n \"eTag\": \"0x8D228C7A254DFBC\",\r\n \"lastModified\": \"2015-03-09T21:32:09.9735484Z\",\r\n \"creationTime\": \"2015-03-09T21:32:09.9735484Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:32:09.9735484Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:32:09.9735484Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistpool.batch.core.windows.net/pools/testName2\",\r\n \"eTag\": \"0x8D228C7A3650D1C\",\r\n \"lastModified\": \"2015-03-09T21:32:11.7572892Z\",\r\n \"creationTime\": \"2015-03-09T21:32:11.7572892Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:32:11.7572892Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:32:11.7572892Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistpool.batch.core.windows.net/pools/thirdtestName\",\r\n \"eTag\": \"0x8D228C7A42F175A\",\r\n \"lastModified\": \"2015-03-09T21:32:13.0813786Z\",\r\n \"creationTime\": \"2015-03-09T21:32:13.0813786Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:32:13.0813786Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:32:13.0813786Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Last-Modified": [ - "Thu, 09 Jul 2015 21:24:55 GMT" + "Content-Type": [ + "application/json; odata=minimalmetadata" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "de9ea0b8-5729-41c9-a1be-bf98eac12b42" + "ed3e4dad-6e59-45d8-85bf-17face5d84d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -588,27 +621,18 @@ "DataServiceVersion": [ "3.0" ], - "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/thirdTestList" - ], "Date": [ - "Thu, 09 Jul 2015 21:24:55 GMT" - ], - "ETag": [ - "0x8D288A4D60DAD11" - ], - "Location": [ - "https://pstests.batch.core.windows.net/pools/thirdTestList" + "Mon, 09 Mar 2015 21:32:11 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { - "RequestUri": "/pools/testList1?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RMaXN0MT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testName1?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -616,13 +640,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3de7bac1-2976-4ed8-9015-4c068490dbf3" + "e626ef58-11fb-4c1c-b28d-dcaa564ee207" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:13 GMT" ] }, "ResponseBody": "", @@ -631,7 +655,7 @@ "chunked" ], "request-id": [ - "c79f8676-030c-4f2e-b161-3c3417b7f326" + "d189f562-1318-4151-8b3f-cb2766122d32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -640,7 +664,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -649,8 +673,8 @@ "StatusCode": 202 }, { - "RequestUri": "/pools/testList2?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RMaXN0Mj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testName2?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -658,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "56df5a80-035d-4e69-9365-2725ae015c28" + "25e23343-63f2-4853-899f-120559eff66c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:14 GMT" ] }, "ResponseBody": "", @@ -673,7 +697,7 @@ "chunked" ], "request-id": [ - "acee9bae-92d3-49aa-a864-7ab3135ccedb" + "a14b94d9-7855-44d9-a3ab-f050ac3e88ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -682,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -691,8 +715,8 @@ "StatusCode": 202 }, { - "RequestUri": "/pools/thirdTestList?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3RoaXJkVGVzdExpc3Q/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools/thirdtestName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3RoaXJkdGVzdE5hbWU/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -700,13 +724,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f31ac337-fa73-41de-95b0-e116a52e06a5" + "00adb5c5-25e0-4d6e-a4f7-ad4e377fde0f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:14 GMT" ] }, "ResponseBody": "", @@ -715,7 +739,7 @@ "chunked" ], "request-id": [ - "3c84e03d-f13e-4de6-8cda-d011b229f230" + "40953ef9-754f-4684-bbe5-93612dbac0b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -724,13 +748,1711 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:24:57 GMT" + "Mon, 09 Mar 2015 21:32:18 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2w/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "794f3e02-d4cd-4f85-8149-b8875bc81ab7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "5d209d3c-7df9-454d-b5ee-c3f194878ade" + ], + "x-ms-correlation-request-id": [ + "5d209d3c-7df9-454d-b5ee-c3f194878ade" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213216Z:5d209d3c-7df9-454d-b5ee-c3f194878ade" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:32:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a0f74de6-9e7c-46cc-acca-a85d1ad4f67a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "284de937-acf9-45c1-8628-6e232c83fa4d" + ], + "x-ms-correlation-request-id": [ + "284de937-acf9-45c1-8628-6e232c83fa4d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213216Z:284de937-acf9-45c1-8628-6e232c83fa4d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:32:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a826e2ae-f87a-4e75-b549-43716e185e46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "5cad5c03-342e-4b4d-a8d6-9f0b973cbf7a" + ], + "x-ms-correlation-request-id": [ + "5cad5c03-342e-4b4d-a8d6-9f0b973cbf7a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213231Z:5cad5c03-342e-4b4d-a8d6-9f0b973cbf7a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:32:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "62b69d04-4772-4fc7-af4c-3956892e5b45" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "4c713c0d-7753-4053-9742-04de90ec2d4b" + ], + "x-ms-correlation-request-id": [ + "4c713c0d-7753-4053-9742-04de90ec2d4b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213246Z:4c713c0d-7753-4053-9742-04de90ec2d4b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:32:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "abb53f9e-a87d-4649-a6c1-920c7acdb3de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "90acff06-aca4-4ed4-8e20-1699cb3a61cb" + ], + "x-ms-correlation-request-id": [ + "90acff06-aca4-4ed4-8e20-1699cb3a61cb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213302Z:90acff06-aca4-4ed4-8e20-1699cb3a61cb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:33:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "eb39433b-f7ef-455f-b71b-122652c5fb96" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "a6a279bd-5d7d-4a70-86ac-af6b45090e16" + ], + "x-ms-correlation-request-id": [ + "a6a279bd-5d7d-4a70-86ac-af6b45090e16" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213317Z:a6a279bd-5d7d-4a70-86ac-af6b45090e16" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:33:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e9764080-e6d0-4d55-82da-025f12b652c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "0bcb8fcf-d427-461a-bff7-eae22f2f2361" + ], + "x-ms-correlation-request-id": [ + "0bcb8fcf-d427-461a-bff7-eae22f2f2361" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213332Z:0bcb8fcf-d427-461a-bff7-eae22f2f2361" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:33:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "51a8a850-7a30-4784-93d3-d84da02a4b7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "faef6a29-58f2-439b-a572-4c1b6e135118" + ], + "x-ms-correlation-request-id": [ + "faef6a29-58f2-439b-a572-4c1b6e135118" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213347Z:faef6a29-58f2-439b-a572-4c1b6e135118" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:33:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "863436ac-17af-4ef9-a7c7-e8ed2d0a9752" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "ffd1d438-b4b7-44e5-8e12-92c1d07af37b" + ], + "x-ms-correlation-request-id": [ + "ffd1d438-b4b7-44e5-8e12-92c1d07af37b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213402Z:ffd1d438-b4b7-44e5-8e12-92c1d07af37b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:34:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9a96f9fb-c2b0-4f2c-8b19-eb3c75abff18" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "27e3024c-b20c-410b-9920-475dc8184f93" + ], + "x-ms-correlation-request-id": [ + "27e3024c-b20c-410b-9920-475dc8184f93" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213417Z:27e3024c-b20c-410b-9920-475dc8184f93" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:34:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d4732d77-b2a3-46ea-b386-eea004955ae9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "9387c699-0001-45a4-a188-db36b5b09518" + ], + "x-ms-correlation-request-id": [ + "9387c699-0001-45a4-a188-db36b5b09518" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213433Z:9387c699-0001-45a4-a188-db36b5b09518" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:34:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "eef41c87-ae77-4243-9d62-6e7a4ffd545a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "dc6e841e-8032-44bc-9866-686c9a4062d2" + ], + "x-ms-correlation-request-id": [ + "dc6e841e-8032-44bc-9866-686c9a4062d2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213448Z:dc6e841e-8032-44bc-9866-686c9a4062d2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:34:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "00d37578-5e06-476d-aa8e-f7a5cb481f2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "8f9e3db6-2cd8-46f7-bad5-6f4e85dcbd57" + ], + "x-ms-correlation-request-id": [ + "8f9e3db6-2cd8-46f7-bad5-6f4e85dcbd57" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213503Z:8f9e3db6-2cd8-46f7-bad5-6f4e85dcbd57" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:35:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b10fd9fb-4ee8-4924-91fd-87b00ae6a646" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "202c69d7-1c53-42a3-983d-bce9e54d79e2" + ], + "x-ms-correlation-request-id": [ + "202c69d7-1c53-42a3-983d-bce9e54d79e2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213518Z:202c69d7-1c53-42a3-983d-bce9e54d79e2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:35:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cbc38c19-c9e8-40ae-8084-b8b1ea8b5c2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "3812aa0d-40e6-4eef-8401-41915583e4de" + ], + "x-ms-correlation-request-id": [ + "3812aa0d-40e6-4eef-8401-41915583e4de" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213533Z:3812aa0d-40e6-4eef-8401-41915583e4de" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:35:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6849ad97-8f68-460b-bf38-674ef15333f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "539a5bdc-d33a-4bc2-a154-d5d73fb08c49" + ], + "x-ms-correlation-request-id": [ + "539a5bdc-d33a-4bc2-a154-d5d73fb08c49" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213549Z:539a5bdc-d33a-4bc2-a154-d5d73fb08c49" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:35:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e7a95b27-6cb3-417e-928b-560f849f5ca2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "3eaf8dd8-a7b1-46e9-a29c-21cd4f9c58c8" + ], + "x-ms-correlation-request-id": [ + "3eaf8dd8-a7b1-46e9-a29c-21cd4f9c58c8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213604Z:3eaf8dd8-a7b1-46e9-a29c-21cd4f9c58c8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:36:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c42a1ef6-4bab-4760-8c29-b4b8dffee415" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "bed8b6c3-be13-41bb-bb68-7504aa720228" + ], + "x-ms-correlation-request-id": [ + "bed8b6c3-be13-41bb-bb68-7504aa720228" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213619Z:bed8b6c3-be13-41bb-bb68-7504aa720228" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:36:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d2f865f7-6dca-49b0-b497-ace7fede9a2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "fc85a59d-af39-4417-b82b-2d8bdac4374b" + ], + "x-ms-correlation-request-id": [ + "fc85a59d-af39-4417-b82b-2d8bdac4374b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213634Z:fc85a59d-af39-4417-b82b-2d8bdac4374b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:36:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b04a6a31-bae2-4f45-a866-f979fbcf9bed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "6feee0ab-2381-4c14-9766-3b86d1ed927b" + ], + "x-ms-correlation-request-id": [ + "6feee0ab-2381-4c14-9766-3b86d1ed927b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213649Z:6feee0ab-2381-4c14-9766-3b86d1ed927b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:36:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "53fe7165-9480-4567-a664-cd4b94137a8b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "b5eefe4e-7c01-497b-8a64-61ec7f7ac9f0" + ], + "x-ms-correlation-request-id": [ + "b5eefe4e-7c01-497b-8a64-61ec7f7ac9f0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213704Z:b5eefe4e-7c01-497b-8a64-61ec7f7ac9f0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:37:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c6b45d83-98af-48a5-8ed2-a55713f88fba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "b7ae9c3b-6121-41a3-a1a2-9ba0d17c044a" + ], + "x-ms-correlation-request-id": [ + "b7ae9c3b-6121-41a3-a1a2-9ba0d17c044a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213720Z:b7ae9c3b-6121-41a3-a1a2-9ba0d17c044a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:37:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "54d20bbe-8cb9-4a72-a483-0a4a46ab8acf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "abdb9ca2-66d8-41ca-89c4-6a95741b583e" + ], + "x-ms-correlation-request-id": [ + "abdb9ca2-66d8-41ca-89c4-6a95741b583e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213735Z:abdb9ca2-66d8-41ca-89c4-6a95741b583e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:37:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/794f3e02-d4cd-4f85-8149-b8875bc81ab7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy83OTRmM2UwMi1kNGNkLTRmODUtODE0OS1iODg3NWJjODFhYjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:37:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "fbeb2176-9bc4-496a-af2f-c153eba20d57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "8b14fb4c-ab29-478a-b618-7783b07ed108" + ], + "x-ms-correlation-request-id": [ + "8b14fb4c-ab29-478a-b618-7783b07ed108" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213750Z:8b14fb4c-ab29-478a-b618-7783b07ed108" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:37:49 GMT" + ], + "ETag": [ + "0x8D228C86BF21990" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "75e3ec88-9f7f-4375-bca7-edd68f70a003" + ], + "x-ms-correlation-request-id": [ + "75e3ec88-9f7f-4375-bca7-edd68f70a003" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213751Z:75e3ec88-9f7f-4375-bca7-edd68f70a003" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:37:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "2767b23f-9a1c-4f55-87cf-97f96e9fe2ab" + ], + "x-ms-correlation-request-id": [ + "2767b23f-9a1c-4f55-87cf-97f96e9fe2ab" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213751Z:2767b23f-9a1c-4f55-87cf-97f96e9fe2ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:37:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "f87fd3ff-3e8e-4ee2-b5a4-dc0c527fe53e" + ], + "x-ms-correlation-request-id": [ + "f87fd3ff-3e8e-4ee2-b5a4-dc0c527fe53e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213807Z:f87fd3ff-3e8e-4ee2-b5a4-dc0c527fe53e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:38:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "954ea419-2bc7-4cdc-bf72-8dff1a225537" + ], + "x-ms-correlation-request-id": [ + "954ea419-2bc7-4cdc-bf72-8dff1a225537" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213822Z:954ea419-2bc7-4cdc-bf72-8dff1a225537" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:38:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "67549037-dea2-40ef-99e9-346b423870ef" + ], + "x-ms-correlation-request-id": [ + "67549037-dea2-40ef-99e9-346b423870ef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213837Z:67549037-dea2-40ef-99e9-346b423870ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:38:37 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json index 0c30340cd296..0f5b870d92b3 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], - "x-ms-request-id": [ - "9d07f6a6-f6d8-460a-8c20-40ef0d7e3ad1" - ], - "x-ms-correlation-request-id": [ - "9d07f6a6-f6d8-460a-8c20-40ef0d7e3ad1" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T193206Z:9d07f6a6-f6d8-460a-8c20-40ef0d7e3ad1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:32: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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter\",\r\n \"name\": \"test-list-pool-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "195" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-request-id": [ - "8d5a243c-83bf-4a3c-a92f-534de35c7461" + "823b1f6a-9179-43dd-965f-a2e3824ab723" ], "x-ms-correlation-request-id": [ - "8d5a243c-83bf-4a3c-a92f-534de35c7461" + "823b1f6a-9179-43dd-965f-a2e3824ab723" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193209Z:8d5a243c-83bf-4a3c-a92f-534de35c7461" + "WESTUS:20150309T211503Z:823b1f6a-9179-43dd-965f-a2e3824ab723" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:32:09 GMT" + "Mon, 09 Mar 2015 21:15:02 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:32:07 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], "request-id": [ - "a31fce70-b6c9-4421-be8e-d85d6466b5d0" + "084694aa-eab6-4291-b1d8-2d5e29a76b49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], "x-ms-request-id": [ - "adb2a6da-f37e-4830-9770-189aa641ebc7" + "9990460a-9893-4c31-9b8f-c994e56aebd8" ], "x-ms-correlation-request-id": [ - "adb2a6da-f37e-4830-9770-189aa641ebc7" + "9990460a-9893-4c31-9b8f-c994e56aebd8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193207Z:adb2a6da-f37e-4830-9770-189aa641ebc7" + "WESTUS:20150309T211507Z:9990460a-9893-4c31-9b8f-c994e56aebd8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:32:06 GMT" + "Mon, 09 Mar 2015 21:15:07 GMT" ], - "ETag": [ - "0x8D2889513EDCA0D" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/084694aa-eab6-4291-b1d8-2d5e29a76b49?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/084694aa-eab6-4291-b1d8-2d5e29a76b49?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMDg0Njk0YWEtZWFiNi00MjkxLWIxZDgtMmQ1ZTI5YTc2YjQ5P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistpoolfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "352" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:32:09 GMT" + "Mon, 09 Mar 2015 21:15:06 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "dbc38435-b856-4bc6-b6eb-423b02f6e78b" + "53100357-2b17-481e-bd01-edc4d92776a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "31999" ], "x-ms-request-id": [ - "4856e516-130d-4c10-8035-1792348a39b2" + "f9c138c9-8443-4fc8-b668-64a7be63c018" ], "x-ms-correlation-request-id": [ - "4856e516-130d-4c10-8035-1792348a39b2" + "f9c138c9-8443-4fc8-b668-64a7be63c018" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193209Z:4856e516-130d-4c10-8035-1792348a39b2" + "WESTUS:20150309T211507Z:f9c138c9-8443-4fc8-b668-64a7be63c018" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:07 GMT" ], "ETag": [ - "0x8D2889515351FD2" + "0x8D228C5403D3C7A" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolfilter\",\r\n \"primary\": \"aeLkyyI0o/gYeJIPJsfroJiftqePsl7i4roJZm4Va6Q7IJfQzQs+pAoOOOfQLcbPLP6xcV2hC+OQxZ5MattoLw==\",\r\n \"secondary\": \"9JjdO8wTD+DYEqxFjSCJzlRYYkZdJbGB6gAskCSldoZIK8LgDskbE6oYLGspzeKSMCjJAoUmgJYQRTkpKpnH4Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "1d614c8b-41ac-445b-a3d1-4b0e964ad83b" + "cf65ab2c-89ed-4f55-9ac9-4bea12afdf56" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1198" ], "x-ms-request-id": [ - "c6dbdc19-0e85-4adb-b9f3-7a26da4ae307" + "38408e1f-0ed5-4b03-95d2-ad89e11ac799" ], "x-ms-correlation-request-id": [ - "c6dbdc19-0e85-4adb-b9f3-7a26da4ae307" + "38408e1f-0ed5-4b03-95d2-ad89e11ac799" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193207Z:c6dbdc19-0e85-4adb-b9f3-7a26da4ae307" + "WESTUS:20150309T211507Z:38408e1f-0ed5-4b03-95d2-ad89e11ac799" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:32:06 GMT" + "Mon, 09 Mar 2015 21:15:07 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolfilter\",\r\n \"primary\": \"aeLkyyI0o/gYeJIPJsfroJiftqePsl7i4roJZm4Va6Q7IJfQzQs+pAoOOOfQLcbPLP6xcV2hC+OQxZ5MattoLw==\",\r\n \"secondary\": \"9JjdO8wTD+DYEqxFjSCJzlRYYkZdJbGB6gAskCSldoZIK8LgDskbE6oYLGspzeKSMCjJAoUmgJYQRTkpKpnH4Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "53f4a9d5-8821-4c1c-a239-84618574d911" + "e814fba5-386a-4115-982a-eb7458063d0d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" + "1197" ], "x-ms-request-id": [ - "13c2488f-1ba5-417b-a5fa-53a05650ad21" + "6e5dd0ff-b0a4-49d6-ae30-322a28072674" ], "x-ms-correlation-request-id": [ - "13c2488f-1ba5-417b-a5fa-53a05650ad21" + "6e5dd0ff-b0a4-49d6-ae30-322a28072674" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193209Z:13c2488f-1ba5-417b-a5fa-53a05650ad21" + "WESTUS:20150309T211547Z:6e5dd0ff-b0a4-49d6-ae30-322a28072674" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:32:09 GMT" + "Mon, 09 Mar 2015 21:15:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testFilter1\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName1\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "202" + "200" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "eb0e4e2e-7213-468c-a3cf-9e10e364e3bf" + "74c9996d-d7fa-4a1a-8eab-80b83be0dc9b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:07 GMT" + "Mon, 09 Mar 2015 21:15:43 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "003a8ca7-a115-45be-9460-5aa3ec49bf40" + "d83cc150-51a2-445f-a973-ff0aadb567e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testFilter1" + "https://testlistpoolfilter.batch.core.windows.net/pools/testName1" ], "Date": [ - "Thu, 09 Jul 2015 19:32:07 GMT" + "Mon, 09 Mar 2015 21:15:40 GMT" ], "ETag": [ - "0x8D28895142ED964" + "0x8D228C5575D0C2D" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testFilter1" + "https://testlistpoolfilter.batch.core.windows.net/pools/testName1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -400,37 +358,37 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testFilter2\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName2\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "202" + "200" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "fe94277c-1e6d-4ae2-bcc0-b49a92d3b629" + "e6460f14-8123-4d6b-826d-1c1e39792b30" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:44 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:46 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f57850a7-f1c8-4372-ae08-01a077c5761d" + "d0e54e27-08ee-4a5e-a500-04c334b34a54" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,16 +397,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testFilter2" + "https://testlistpoolfilter.batch.core.windows.net/pools/testName2" ], "Date": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:42 GMT" ], "ETag": [ - "0x8D288951487E233" + "0x8D228C55827F8B3" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testFilter2" + "https://testlistpoolfilter.batch.core.windows.net/pools/testName2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -460,37 +418,37 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"thirdFilterTest\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"thirdtestName\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "206" + "204" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "117cdde8-d736-4cf1-b3a9-861daca14d02" + "c9f14ef8-76a7-497e-ab29-86252982b763" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:45 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:32:09 GMT" + "Mon, 09 Mar 2015 21:15:47 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a05a7314-bf22-49a6-aa69-840cefa62287" + "18fca5c0-ae0f-4e88-b167-3fb0c43026cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -499,16 +457,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/thirdFilterTest" + "https://testlistpoolfilter.batch.core.windows.net/pools/thirdtestName" ], "Date": [ - "Thu, 09 Jul 2015 19:32:09 GMT" + "Mon, 09 Mar 2015 21:15:44 GMT" ], "ETag": [ - "0x8D2889514DE9429" + "0x8D228C558D41BCE" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/thirdFilterTest" + "https://testlistpoolfilter.batch.core.windows.net/pools/thirdtestName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -517,8 +475,119 @@ "StatusCode": 201 }, { - "RequestUri": "/pools?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testFilter')", - "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRmaWx0ZXI9c3RhcnRzd2l0aCUyOG5hbWUlMkMlMjd0ZXN0RmlsdGVyJTI3JTI5", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter\",\r\n \"name\": \"testlistpoolfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "b9d407c1-79a8-46c8-b870-b4f0e03f61a2" + ], + "x-ms-correlation-request-id": [ + "b9d407c1-79a8-46c8-b870-b4f0e03f61a2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211547Z:b9d407c1-79a8-46c8-b870-b4f0e03f61a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:15:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpoolfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:15:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "88a72701-5e9f-48f4-be86-5fbd4a6df7e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "03b3198f-8f08-4173-b69f-dd185e2f7742" + ], + "x-ms-correlation-request-id": [ + "03b3198f-8f08-4173-b69f-dd185e2f7742" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211547Z:03b3198f-8f08-4173-b69f-dd185e2f7742" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:15:47 GMT" + ], + "ETag": [ + "0x8D228C557FCC0A7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testName')", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRmaWx0ZXI9c3RhcnRzd2l0aCUyOG5hbWUlMkMlMjd0ZXN0TmFtZSUyNyUyOQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -526,16 +595,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b39288b5-263e-4c12-8633-8b8434b0de35" + "da2a3905-8622-4a7e-ace5-3f1d15dc6fa6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:09 GMT" + "Mon, 09 Mar 2015 21:15:47 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testFilter1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testFilter1\",\r\n \"eTag\": \"0x8D28895142ED964\",\r\n \"lastModified\": \"2015-07-09T19:32:08.2780516Z\",\r\n \"creationTime\": \"2015-07-09T19:32:08.2780516Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:32:08.2780516Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:32:08.3720435Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testFilter2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testFilter2\",\r\n \"eTag\": \"0x8D288951487E233\",\r\n \"lastModified\": \"2015-07-09T19:32:08.8615475Z\",\r\n \"creationTime\": \"2015-07-09T19:32:08.8615475Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:32:08.8615475Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:32:08.9485495Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistpoolfilter.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistpoolfilter.batch.core.windows.net/pools/testName1\",\r\n \"eTag\": \"0x8D228C5575D0C2D\",\r\n \"lastModified\": \"2015-03-09T21:15:45.2045357Z\",\r\n \"creationTime\": \"2015-03-09T21:15:45.2045357Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:15:45.2045357Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:15:45.2045357Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistpoolfilter.batch.core.windows.net/pools/testName2\",\r\n \"eTag\": \"0x8D228C55827F8B3\",\r\n \"lastModified\": \"2015-03-09T21:15:46.5344179Z\",\r\n \"creationTime\": \"2015-03-09T21:15:46.5344179Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:15:46.5344179Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:15:46.5344179Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -544,7 +613,7 @@ "chunked" ], "request-id": [ - "a9559b90-3ef8-426e-a35f-367904d08310" + "93b2a220-114c-4725-8607-0d7db9f25104" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -553,7 +622,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:32:08 GMT" + "Mon, 09 Mar 2015 21:15:48 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -562,8 +631,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testFilter1?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RGaWx0ZXIxP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testName1?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -571,13 +640,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5a08d942-c052-4cb3-a4ce-cd2fe38b54ff" + "bef4bf4b-dc48-4bb7-a85d-8d04c814f806" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:10 GMT" + "Mon, 09 Mar 2015 21:15:48 GMT" ] }, "ResponseBody": "", @@ -586,7 +655,7 @@ "chunked" ], "request-id": [ - "a77540c4-eb99-4145-88e9-02b4d5f8d8d3" + "5da8f249-76b1-4cb6-a59b-580e8afa22e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +664,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:32:10 GMT" + "Mon, 09 Mar 2015 21:15:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -604,8 +673,8 @@ "StatusCode": 202 }, { - "RequestUri": "/pools/testFilter2?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RGaWx0ZXIyP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testName2?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -613,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "01906c97-08db-4f2b-9b7a-1d08b8b25e29" + "4913c06c-8dad-4aee-842c-264224f71bbc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:10 GMT" + "Mon, 09 Mar 2015 21:15:48 GMT" ] }, "ResponseBody": "", @@ -628,7 +697,7 @@ "chunked" ], "request-id": [ - "41713212-b250-4848-902a-6b5fe0ae8f83" + "5d153dfa-9fb6-482e-94be-75832000c1b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:32:11 GMT" + "Mon, 09 Mar 2015 21:15:48 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -646,8 +715,8 @@ "StatusCode": 202 }, { - "RequestUri": "/pools/thirdFilterTest?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3RoaXJkRmlsdGVyVGVzdD9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/thirdtestName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3RoaXJkdGVzdE5hbWU/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -655,13 +724,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3b647f0f-1e27-46ba-997c-537e3d95355b" + "6e542245-59e6-4833-a424-446ca9bc98d8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:32:10 GMT" + "Mon, 09 Mar 2015 21:15:49 GMT" ] }, "ResponseBody": "", @@ -670,7 +739,7 @@ "chunked" ], "request-id": [ - "09ad93d1-69f6-4fb2-9a94-fddf1857c254" + "874a80c9-e9cd-427f-a2e4-139503d5bc65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,13 +748,1711 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:32:10 GMT" + "Mon, 09 Mar 2015 21:15:53 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1c89a4ce-850f-454d-b9b8-24813d0a7883" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "e84379c8-c45d-4ab9-bb7c-03d04d598b78" + ], + "x-ms-correlation-request-id": [ + "e84379c8-c45d-4ab9-bb7c-03d04d598b78" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211550Z:e84379c8-c45d-4ab9-bb7c-03d04d598b78" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:15:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "18151046-4643-499d-8a65-80c6714ad4c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "05ae26cd-d444-415b-bc50-f2023fda5877" + ], + "x-ms-correlation-request-id": [ + "05ae26cd-d444-415b-bc50-f2023fda5877" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211551Z:05ae26cd-d444-415b-bc50-f2023fda5877" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:15:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "003e3900-b2df-4be5-a5c0-d8004566808d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "80a1492f-0593-45fe-aa15-2f72abac3429" + ], + "x-ms-correlation-request-id": [ + "80a1492f-0593-45fe-aa15-2f72abac3429" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211606Z:80a1492f-0593-45fe-aa15-2f72abac3429" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:16:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "189c7cc0-c3bb-40df-bcdf-eb8c077fc1fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "6b26c3ac-cb8b-4a77-99a2-4a99b554b415" + ], + "x-ms-correlation-request-id": [ + "6b26c3ac-cb8b-4a77-99a2-4a99b554b415" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211621Z:6b26c3ac-cb8b-4a77-99a2-4a99b554b415" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:16:20 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ce6570f3-0c9e-476f-b24b-b44a9c8b9f78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "dc9154cc-7389-4f73-a771-c40f40e7eb08" + ], + "x-ms-correlation-request-id": [ + "dc9154cc-7389-4f73-a771-c40f40e7eb08" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211636Z:dc9154cc-7389-4f73-a771-c40f40e7eb08" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:16:36 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "63d51693-bdc0-4492-a46e-e9170d3585de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "1d64e8e6-2c42-4caa-b520-fd42f2351ed2" + ], + "x-ms-correlation-request-id": [ + "1d64e8e6-2c42-4caa-b520-fd42f2351ed2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211651Z:1d64e8e6-2c42-4caa-b520-fd42f2351ed2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:16:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b0872d8e-7110-4f4c-a028-ba380eaa4ac4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "95ea1528-9c48-432a-980b-8d2e56f389ec" + ], + "x-ms-correlation-request-id": [ + "95ea1528-9c48-432a-980b-8d2e56f389ec" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211706Z:95ea1528-9c48-432a-980b-8d2e56f389ec" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:17:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7dbf5a60-9339-4d7f-a76b-24ef7d3e9a77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "3383edf1-8176-4a38-8f50-693e3b00a839" + ], + "x-ms-correlation-request-id": [ + "3383edf1-8176-4a38-8f50-693e3b00a839" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211722Z:3383edf1-8176-4a38-8f50-693e3b00a839" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:17:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0cfbdfec-027b-405f-8a91-b15db2ef9144" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "83b51e1f-12e9-4639-9cd5-187de0b200d3" + ], + "x-ms-correlation-request-id": [ + "83b51e1f-12e9-4639-9cd5-187de0b200d3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211737Z:83b51e1f-12e9-4639-9cd5-187de0b200d3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:17:36 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e9d2a61e-f815-4b3f-ac76-aebd36fe874e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "78053fa5-07cd-49e2-b7dc-00ce42b04646" + ], + "x-ms-correlation-request-id": [ + "78053fa5-07cd-49e2-b7dc-00ce42b04646" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211752Z:78053fa5-07cd-49e2-b7dc-00ce42b04646" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:17:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7ccd0bc4-3e60-44e4-83db-617913c8a243" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "7b66f25a-2e02-4c73-8aca-7c8caa3d9bc9" + ], + "x-ms-correlation-request-id": [ + "7b66f25a-2e02-4c73-8aca-7c8caa3d9bc9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211807Z:7b66f25a-2e02-4c73-8aca-7c8caa3d9bc9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:18:07 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f342cc43-7edc-4408-bbc2-330cb529ef74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "06614c00-a88f-47ce-a9bb-95a5c10fe172" + ], + "x-ms-correlation-request-id": [ + "06614c00-a88f-47ce-a9bb-95a5c10fe172" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211822Z:06614c00-a88f-47ce-a9bb-95a5c10fe172" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:18:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "22d05e26-50fe-48a7-a84c-1e6c2cb89945" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "33194783-3d4c-4bbe-954e-ca4b11c532e4" + ], + "x-ms-correlation-request-id": [ + "33194783-3d4c-4bbe-954e-ca4b11c532e4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211837Z:33194783-3d4c-4bbe-954e-ca4b11c532e4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:18:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8ea71fe9-f3fa-4712-ab2b-fb3683cef95f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "530805bd-1027-4bc3-9fc2-45754447582e" + ], + "x-ms-correlation-request-id": [ + "530805bd-1027-4bc3-9fc2-45754447582e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211853Z:530805bd-1027-4bc3-9fc2-45754447582e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:18:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a2d2ddb3-2af1-47c6-b4b1-14ba58016b80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "71928d01-2259-42ef-a73e-eead742eb151" + ], + "x-ms-correlation-request-id": [ + "71928d01-2259-42ef-a73e-eead742eb151" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211908Z:71928d01-2259-42ef-a73e-eead742eb151" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:19:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "410e456a-e142-4ad6-8bc4-61996928dca1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "a8a14d00-a4c0-4ef8-a517-08dc0b9a1a12" + ], + "x-ms-correlation-request-id": [ + "a8a14d00-a4c0-4ef8-a517-08dc0b9a1a12" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211923Z:a8a14d00-a4c0-4ef8-a517-08dc0b9a1a12" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:19:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "58f26c19-c683-4263-9857-761209fe7f0f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "73e4eac8-7c13-4a25-a0ca-ef548ffdb620" + ], + "x-ms-correlation-request-id": [ + "73e4eac8-7c13-4a25-a0ca-ef548ffdb620" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211938Z:73e4eac8-7c13-4a25-a0ca-ef548ffdb620" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:19:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "bea8ee61-9272-481c-9f4b-c032473d7556" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "26a61516-3861-45f2-8139-ac949f02b495" + ], + "x-ms-correlation-request-id": [ + "26a61516-3861-45f2-8139-ac949f02b495" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T211953Z:26a61516-3861-45f2-8139-ac949f02b495" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:19:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ec96c45b-b7db-41b8-a1aa-9abce58bfe92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "5f33f183-3835-4136-99f3-b0402dac335b" + ], + "x-ms-correlation-request-id": [ + "5f33f183-3835-4136-99f3-b0402dac335b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212008Z:5f33f183-3835-4136-99f3-b0402dac335b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:20:07 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8caadf8d-2ced-4502-8c3c-b57575057eb7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "725c6db9-545b-41ae-92c1-056f577a7706" + ], + "x-ms-correlation-request-id": [ + "725c6db9-545b-41ae-92c1-056f577a7706" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212023Z:725c6db9-545b-41ae-92c1-056f577a7706" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:20:23 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6014b7b8-9491-464d-9f6b-916be22abccb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "770ee0fe-7ed3-4fba-8f08-6626b815be16" + ], + "x-ms-correlation-request-id": [ + "770ee0fe-7ed3-4fba-8f08-6626b815be16" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212039Z:770ee0fe-7ed3-4fba-8f08-6626b815be16" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:20:38 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3383ab79-b3e8-4389-be05-b7419627a547" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "dc3527b0-d275-4fe0-b721-21668a3d9d12" + ], + "x-ms-correlation-request-id": [ + "dc3527b0-d275-4fe0-b721-21668a3d9d12" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212054Z:dc3527b0-d275-4fe0-b721-21668a3d9d12" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:20:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "33062d11-48f6-441b-903a-b1ded4fbf75f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "fdf6254d-4600-4e1d-8a50-de97dcd52121" + ], + "x-ms-correlation-request-id": [ + "fdf6254d-4600-4e1d-8a50-de97dcd52121" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212109Z:fdf6254d-4600-4e1d-8a50-de97dcd52121" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:21:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/1c89a4ce-850f-454d-b9b8-24813d0a7883?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMWM4OWE0Y2UtODUwZi00NTRkLWI5YjgtMjQ4MTNkMGE3ODgzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:21:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d58a82c4-967a-4b68-b5b5-61548a1a3dea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "9b878eac-8e7f-46b3-8c2d-8d75beb4a9c6" + ], + "x-ms-correlation-request-id": [ + "9b878eac-8e7f-46b3-8c2d-8d75beb4a9c6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212124Z:9b878eac-8e7f-46b3-8c2d-8d75beb4a9c6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:21:23 GMT" + ], + "ETag": [ + "0x8D228C620CE2731" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "f1529196-56dc-4de4-b9ea-faa26e79a917" + ], + "x-ms-correlation-request-id": [ + "f1529196-56dc-4de4-b9ea-faa26e79a917" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212127Z:f1529196-56dc-4de4-b9ea-faa26e79a917" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:21:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "476c9821-ae9f-4e0c-981a-3ce5201f8c19" + ], + "x-ms-correlation-request-id": [ + "476c9821-ae9f-4e0c-981a-3ce5201f8c19" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212127Z:476c9821-ae9f-4e0c-981a-3ce5201f8c19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:21:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "9a06d687-6032-46f6-88b1-ec817e511f37" + ], + "x-ms-correlation-request-id": [ + "9a06d687-6032-46f6-88b1-ec817e511f37" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212142Z:9a06d687-6032-46f6-88b1-ec817e511f37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:21:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "a80ca6e6-3f9f-4f24-9320-a18560fb796b" + ], + "x-ms-correlation-request-id": [ + "a80ca6e6-3f9f-4f24-9320-a18560fb796b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212158Z:a80ca6e6-3f9f-4f24-9320-a18560fb796b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:21:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "2b99b823-7603-42d2-a8e2-72bdda2e2b95" + ], + "x-ms-correlation-request-id": [ + "2b99b823-7603-42d2-a8e2-72bdda2e2b95" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212213Z:2b99b823-7603-42d2-a8e2-72bdda2e2b95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:22:12 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json index 148084184d4e..d53d02a3d3ff 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" - ], - "x-ms-request-id": [ - "a798c359-69eb-4436-8beb-31f0b6fc98d3" - ], - "x-ms-correlation-request-id": [ - "a798c359-69eb-4436-8beb-31f0b6fc98d3" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T193053Z:a798c359-69eb-4436-8beb-31f0b6fc98d3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:30:52 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount\",\r\n \"name\": \"test-list-pool-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "199" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14921" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" ], "x-ms-request-id": [ - "4fade442-a320-4f9b-8978-2246deda634b" + "5d3145f1-b8b1-41b6-b912-31634a7f80c8" ], "x-ms-correlation-request-id": [ - "4fade442-a320-4f9b-8978-2246deda634b" + "5d3145f1-b8b1-41b6-b912-31634a7f80c8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193056Z:4fade442-a320-4f9b-8978-2246deda634b" + "WESTUS:20150309T212301Z:5d3145f1-b8b1-41b6-b912-31634a7f80c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:01 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:53 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], "request-id": [ - "618e8156-2624-470c-901b-19887cdd3f68" + "7ebe5a0d-222c-469a-bc90-7385d65af5fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" - ], "x-ms-request-id": [ - "a9cd4286-e695-403e-bd74-ed6699feab94" + "5a35f1e4-ff54-4a64-bec5-fbe7547a3558" ], "x-ms-correlation-request-id": [ - "a9cd4286-e695-403e-bd74-ed6699feab94" + "5a35f1e4-ff54-4a64-bec5-fbe7547a3558" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193053Z:a9cd4286-e695-403e-bd74-ed6699feab94" + "WESTUS:20150309T212305Z:5a35f1e4-ff54-4a64-bec5-fbe7547a3558" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:53 GMT" + "Mon, 09 Mar 2015 21:23:05 GMT" ], - "ETag": [ - "0x8D28894E7C54969" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/7ebe5a0d-222c-469a-bc90-7385d65af5fb?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/7ebe5a0d-222c-469a-bc90-7385d65af5fb?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzdlYmU1YTBkLTIyMmMtNDY5YS1iYzkwLTczODVkNjVhZjVmYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistpoolmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "360" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:56 GMT" + "Mon, 09 Mar 2015 21:23:04 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "b3b2c067-26aa-4d75-b5b1-91a383eab4b4" + "157353f7-d2f2-426d-b403-84a66780da33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" + "31999" ], "x-ms-request-id": [ - "b664f5d6-d496-42e2-96e6-6f7d6c8fe160" + "9e5b52e8-58d3-4521-b4e2-a5bde980476f" ], "x-ms-correlation-request-id": [ - "b664f5d6-d496-42e2-96e6-6f7d6c8fe160" + "9e5b52e8-58d3-4521-b4e2-a5bde980476f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193056Z:b664f5d6-d496-42e2-96e6-6f7d6c8fe160" + "WESTUS:20150309T212305Z:9e5b52e8-58d3-4521-b4e2-a5bde980476f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:05 GMT" ], "ETag": [ - "0x8D28894E92B636A" + "0x8D228C65D5190AF" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolmaxcount\",\r\n \"primary\": \"2+e9MgrZJhJut6Gl/oGkcgvDFgHwaAXKB0O84f6t40lIdoykH0/NUebjCkFH9zOq7bY6+irtqj0rtm2kRTH8Tg==\",\r\n \"secondary\": \"dTjIU141l6mga3TtFOeFoacCcZx8abHpwIlcy5kmMgdYHfonRL1s7ATgLAet/y6YfZqOReeJ8WGQo64QpBzpyA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "242" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "a8b2aae7-1328-49e2-a60c-673f1fd96bf4" + "320bdc50-9998-4caf-bd04-5c64124efb91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1159" + "1198" ], "x-ms-request-id": [ - "3e0d58b4-e03c-4cd9-8b36-c0e4508cde61" + "ae17c09f-06d1-495c-b30a-4a67892d21ac" ], "x-ms-correlation-request-id": [ - "3e0d58b4-e03c-4cd9-8b36-c0e4508cde61" + "ae17c09f-06d1-495c-b30a-4a67892d21ac" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193054Z:3e0d58b4-e03c-4cd9-8b36-c0e4508cde61" + "WESTUS:20150309T212305Z:ae17c09f-06d1-495c-b30a-4a67892d21ac" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:53 GMT" + "Mon, 09 Mar 2015 21:23:05 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolmaxcount\",\r\n \"primary\": \"2+e9MgrZJhJut6Gl/oGkcgvDFgHwaAXKB0O84f6t40lIdoykH0/NUebjCkFH9zOq7bY6+irtqj0rtm2kRTH8Tg==\",\r\n \"secondary\": \"dTjIU141l6mga3TtFOeFoacCcZx8abHpwIlcy5kmMgdYHfonRL1s7ATgLAet/y6YfZqOReeJ8WGQo64QpBzpyA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "242" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "bb371899-8b6d-46d3-be4b-b1d2cf21c088" + "3c7acb53-d973-4af7-845a-d32b49136a33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1158" + "1197" ], "x-ms-request-id": [ - "0bf9e60e-d78a-40b5-ab32-720fca753e84" + "e1b07a1a-ae24-4d4e-9d06-9fc9fc378cd7" ], "x-ms-correlation-request-id": [ - "0bf9e60e-d78a-40b5-ab32-720fca753e84" + "e1b07a1a-ae24-4d4e-9d06-9fc9fc378cd7" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193056Z:0bf9e60e-d78a-40b5-ab32-720fca753e84" + "WESTUS:20150309T212352Z:e1b07a1a-ae24-4d4e-9d06-9fc9fc378cd7" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:52 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testMaxCount1\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName1\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "204" + "200" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "f415c31a-6940-4998-a51e-40ad04fd57bc" + "74590d71-e331-4d7a-8e4c-82efca72076e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:54 GMT" + "Mon, 09 Mar 2015 21:23:47 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:54 GMT" + "Mon, 09 Mar 2015 21:23:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "ea4eecae-afb0-4e19-94b7-975c19827151" + "5922df46-a5ff-4a60-bd71-f4f902aa3041" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testMaxCount1" + "https://testlistpoolmaxcount.batch.core.windows.net/pools/testName1" ], "Date": [ - "Thu, 09 Jul 2015 19:30:53 GMT" + "Mon, 09 Mar 2015 21:23:46 GMT" ], "ETag": [ - "0x8D28894E83C368A" + "0x8D228C677C997D0" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testMaxCount1" + "https://testlistpoolmaxcount.batch.core.windows.net/pools/testName1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -400,37 +358,37 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testMaxCount2\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName2\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "204" + "200" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "2b66d171-7b5c-4f3a-a587-73f9a0d1a90c" + "8228ce0e-4e10-46e0-a531-e92fad14524d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:54 GMT" + "Mon, 09 Mar 2015 21:23:49 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:51 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b4d115b4-214b-44a3-aecb-7e8344fde34c" + "6eb689b8-9b38-40e7-a8af-0b800a5b49a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,16 +397,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testMaxCount2" + "https://testlistpoolmaxcount.batch.core.windows.net/pools/testName2" ], "Date": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:50 GMT" ], "ETag": [ - "0x8D28894E8939293" + "0x8D228C6793F4EDF" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testMaxCount2" + "https://testlistpoolmaxcount.batch.core.windows.net/pools/testName2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -460,7 +418,7 @@ "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"thirdMaxCount\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"thirdtestName\",\r\n \"tvmSize\": \"small\",\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"osFamily\": \"4\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" @@ -472,25 +430,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3b1b169a-51ba-403b-a2e1-9e4225d379ec" + "58016c8b-df33-44b3-af15-a6fb176a26fd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:50 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:30:55 GMT" + "Mon, 09 Mar 2015 21:23:52 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "29c74d63-3038-473c-983b-88f2c985f739" + "98cccaba-12a4-4de9-8ac5-87a808f7f1c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -499,16 +457,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/thirdMaxCount" + "https://testlistpoolmaxcount.batch.core.windows.net/pools/thirdtestName" ], "Date": [ - "Thu, 09 Jul 2015 19:30:54 GMT" + "Mon, 09 Mar 2015 21:23:50 GMT" ], "ETag": [ - "0x8D28894E8E66C7F" + "0x8D228C679D822A0" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/thirdMaxCount" + "https://testlistpoolmaxcount.batch.core.windows.net/pools/thirdtestName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -516,6 +474,117 @@ }, "StatusCode": 201 }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount\",\r\n \"name\": \"testlistpoolmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "6a7f7731-289a-4317-b4d8-a29097298ef8" + ], + "x-ms-correlation-request-id": [ + "6a7f7731-289a-4317-b4d8-a29097298ef8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212352Z:6a7f7731-289a-4317-b4d8-a29097298ef8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:23:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpoolmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:23:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b15d58b6-4284-4f6d-b8ae-be4ba2db8631" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "0ea01da9-7085-43f2-838e-eb2cdeb7b4f5" + ], + "x-ms-correlation-request-id": [ + "0ea01da9-7085-43f2-838e-eb2cdeb7b4f5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212352Z:0ea01da9-7085-43f2-838e-eb2cdeb7b4f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:23:52 GMT" + ], + "ETag": [ + "0x8D228C6793B9899" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, { "RequestUri": "/pools?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", @@ -526,16 +595,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8d5a41ce-8eb5-4f36-b444-b38e70723362" + "6ef8c119-6bfc-4da8-880d-082879d852f0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:56 GMT" + "Mon, 09 Mar 2015 21:23:52 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testMaxCount1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testMaxCount1\",\r\n \"eTag\": \"0x8D28894E83C368A\",\r\n \"lastModified\": \"2015-07-09T19:30:54.5458826Z\",\r\n \"creationTime\": \"2015-07-09T19:30:54.5458826Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:54.5458826Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:30:54.6399771Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testMaxCount2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testMaxCount2\",\r\n \"eTag\": \"0x8D28894E8939293\",\r\n \"lastModified\": \"2015-07-09T19:30:55.1184019Z\",\r\n \"creationTime\": \"2015-07-09T19:30:55.1184019Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:55.1184019Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:30:55.1984015Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"thirdMaxCount\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/thirdMaxCount\",\r\n \"eTag\": \"0x8D28894E8E66C7F\",\r\n \"lastModified\": \"2015-07-09T19:30:55.6613759Z\",\r\n \"creationTime\": \"2015-07-09T19:30:55.6613759Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:30:55.6613759Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:30:55.7764366Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 0,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistpoolmaxcount.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistpoolmaxcount.batch.core.windows.net/pools/testName1\",\r\n \"eTag\": \"0x8D228C677C997D0\",\r\n \"lastModified\": \"2015-03-09T21:23:49.09972Z\",\r\n \"creationTime\": \"2015-03-09T21:23:49.09972Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:23:49.09972Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:23:49.09972Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistpoolmaxcount.batch.core.windows.net/pools/testName2\",\r\n \"eTag\": \"0x8D228C6793F4EDF\",\r\n \"lastModified\": \"2015-03-09T21:23:51.5488991Z\",\r\n \"creationTime\": \"2015-03-09T21:23:51.5488991Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:23:51.5488991Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:23:51.5488991Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistpoolmaxcount.batch.core.windows.net/pools/thirdtestName\",\r\n \"eTag\": \"0x8D228C679D822A0\",\r\n \"lastModified\": \"2015-03-09T21:23:52.5504672Z\",\r\n \"creationTime\": \"2015-03-09T21:23:52.5504672Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T21:23:52.5504672Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T21:23:52.5504672Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -544,7 +613,7 @@ "chunked" ], "request-id": [ - "c794c883-e951-415d-adcd-74240a60eab2" + "3538e5dc-120f-4524-9bf0-dcc963548a95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -553,7 +622,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:56 GMT" + "Mon, 09 Mar 2015 21:23:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -562,8 +631,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testMaxCount1?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RNYXhDb3VudDE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools/testName1?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -571,13 +640,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d68b0dfb-7f88-4713-96b6-cc68e1d18df2" + "0ba01a5e-1716-4296-ad9f-f0dbb7540abd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:56 GMT" + "Mon, 09 Mar 2015 21:23:53 GMT" ] }, "ResponseBody": "", @@ -586,7 +655,7 @@ "chunked" ], "request-id": [ - "04350bac-ec14-4b5e-9505-f7bda0dcdb5c" + "b322fa53-1c78-4075-a3b4-e2bf20dcfc92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +664,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:57 GMT" + "Mon, 09 Mar 2015 21:23:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -604,8 +673,8 @@ "StatusCode": 202 }, { - "RequestUri": "/pools/testMaxCount2?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RNYXhDb3VudDI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools/testName2?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lMj9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -613,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b4176382-2d67-4f22-b4b3-ab9448e8b322" + "f83315d8-c3ec-4425-8f4d-f76308eb5260" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:57 GMT" + "Mon, 09 Mar 2015 21:23:53 GMT" ] }, "ResponseBody": "", @@ -628,7 +697,7 @@ "chunked" ], "request-id": [ - "6f203c79-1b84-4221-8c8a-9797ac6b74b0" + "d79bec5f-4b45-4b81-864a-36ee346c4317" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:57 GMT" + "Mon, 09 Mar 2015 21:23:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -646,8 +715,8 @@ "StatusCode": 202 }, { - "RequestUri": "/pools/thirdMaxCount?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3RoaXJkTWF4Q291bnQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools/thirdtestName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3RoaXJkdGVzdE5hbWU/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -655,13 +724,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5c057fce-841c-4e30-ba4c-dee59818b85e" + "79bce6f5-2095-4292-ad33-485ef0bd1db1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:30:57 GMT" + "Mon, 09 Mar 2015 21:23:53 GMT" ] }, "ResponseBody": "", @@ -670,7 +739,7 @@ "chunked" ], "request-id": [ - "83c7d158-b48d-41e4-8507-4c5569fa4afa" + "c6566f68-d855-468c-9639-f251c7492503" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,13 +748,1711 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:30:57 GMT" + "Mon, 09 Mar 2015 21:23:54 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "08d31eb0-1a0d-44b3-8147-2af820db174e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "f2095993-f876-4eb6-ba80-7c2e782c8b58" + ], + "x-ms-correlation-request-id": [ + "f2095993-f876-4eb6-ba80-7c2e782c8b58" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212355Z:f2095993-f876-4eb6-ba80-7c2e782c8b58" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:23:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0313058d-db50-4c4d-a9c7-e0d3fd31afb0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "ff289809-2b74-4015-b583-f68502feb041" + ], + "x-ms-correlation-request-id": [ + "ff289809-2b74-4015-b583-f68502feb041" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212355Z:ff289809-2b74-4015-b583-f68502feb041" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:23:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9370a629-21d7-4fdb-8394-d6b1120fc932" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "1a9adf05-da16-42d5-a42a-f1a92e55e400" + ], + "x-ms-correlation-request-id": [ + "1a9adf05-da16-42d5-a42a-f1a92e55e400" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212410Z:1a9adf05-da16-42d5-a42a-f1a92e55e400" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:24:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "18cb3568-4d59-4f9d-b53e-ed0641e69f4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "ae501b3f-7146-4573-8813-e28c73809e02" + ], + "x-ms-correlation-request-id": [ + "ae501b3f-7146-4573-8813-e28c73809e02" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212426Z:ae501b3f-7146-4573-8813-e28c73809e02" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:24:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cbf95903-345d-4736-a19b-4a56354bb89b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "c8eee1f6-7a7f-43d2-af30-ae9a7f82f894" + ], + "x-ms-correlation-request-id": [ + "c8eee1f6-7a7f-43d2-af30-ae9a7f82f894" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212441Z:c8eee1f6-7a7f-43d2-af30-ae9a7f82f894" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:24:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "58950941-c4c8-448f-8592-08ea75a18f24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "ceaf98b7-214a-47d0-937f-434bd3e28003" + ], + "x-ms-correlation-request-id": [ + "ceaf98b7-214a-47d0-937f-434bd3e28003" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212456Z:ceaf98b7-214a-47d0-937f-434bd3e28003" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:24:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "73006c04-8b6c-4eba-8caf-e34943ee0b75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "720311b9-d211-4a92-bb33-3a1c036fec7f" + ], + "x-ms-correlation-request-id": [ + "720311b9-d211-4a92-bb33-3a1c036fec7f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212511Z:720311b9-d211-4a92-bb33-3a1c036fec7f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:25:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "68f76cdb-9852-4e9f-b5b2-03d27c010e2b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "a5ff852f-68eb-41a1-9a25-63178158cbda" + ], + "x-ms-correlation-request-id": [ + "a5ff852f-68eb-41a1-9a25-63178158cbda" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212526Z:a5ff852f-68eb-41a1-9a25-63178158cbda" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:25:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "61d41a24-71ba-46e2-be2d-c42634bed0ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "3fb8e630-07f5-4d51-9698-2d1133e330f5" + ], + "x-ms-correlation-request-id": [ + "3fb8e630-07f5-4d51-9698-2d1133e330f5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212541Z:3fb8e630-07f5-4d51-9698-2d1133e330f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:25:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3943d86a-7968-4ca7-bd3f-331c40fb1f14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "767ffe71-36c4-4550-9b6e-67660d28ba27" + ], + "x-ms-correlation-request-id": [ + "767ffe71-36c4-4550-9b6e-67660d28ba27" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212556Z:767ffe71-36c4-4550-9b6e-67660d28ba27" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:25:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d678cea4-badc-4935-a249-dfde0877ef65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "20777ed3-8078-4c06-80d5-fb5fea2a2357" + ], + "x-ms-correlation-request-id": [ + "20777ed3-8078-4c06-80d5-fb5fea2a2357" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212612Z:20777ed3-8078-4c06-80d5-fb5fea2a2357" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:26:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e07261bf-1074-4e7c-94a4-7b9866c53742" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "e0351a52-f914-4e21-b2cd-73e0f8bd7389" + ], + "x-ms-correlation-request-id": [ + "e0351a52-f914-4e21-b2cd-73e0f8bd7389" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212627Z:e0351a52-f914-4e21-b2cd-73e0f8bd7389" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:26:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "73b0c6e0-349e-4a26-9786-ea9934e6bb8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "f29ef476-c4ae-4d9f-b9b4-d9fabcbed88b" + ], + "x-ms-correlation-request-id": [ + "f29ef476-c4ae-4d9f-b9b4-d9fabcbed88b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212642Z:f29ef476-c4ae-4d9f-b9b4-d9fabcbed88b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:26:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0ab60d3e-6e53-41df-adef-022bafe6e87d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "26708153-1cfc-4199-92cc-f8520e93cd2c" + ], + "x-ms-correlation-request-id": [ + "26708153-1cfc-4199-92cc-f8520e93cd2c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212657Z:26708153-1cfc-4199-92cc-f8520e93cd2c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:26:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c843375f-ca52-4037-b026-2d22eaa7d184" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "f411394e-dc9a-448d-b2a6-c7ac77b25e44" + ], + "x-ms-correlation-request-id": [ + "f411394e-dc9a-448d-b2a6-c7ac77b25e44" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212712Z:f411394e-dc9a-448d-b2a6-c7ac77b25e44" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:27:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e5f4545c-ca44-423e-957d-7d098d72b5d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "4fa5e7cd-5f22-44ed-8949-e7e11e2497aa" + ], + "x-ms-correlation-request-id": [ + "4fa5e7cd-5f22-44ed-8949-e7e11e2497aa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212727Z:4fa5e7cd-5f22-44ed-8949-e7e11e2497aa" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:27:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "855d30b9-e615-4e48-9d30-636ff46a2c5b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "c6496a37-75ce-4427-8542-b5240040f10e" + ], + "x-ms-correlation-request-id": [ + "c6496a37-75ce-4427-8542-b5240040f10e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212742Z:c6496a37-75ce-4427-8542-b5240040f10e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:27:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5a389d19-36a0-4ccb-a785-f0876a075032" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "0afaf392-0c90-453a-8afa-6a94f4d95d47" + ], + "x-ms-correlation-request-id": [ + "0afaf392-0c90-453a-8afa-6a94f4d95d47" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212758Z:0afaf392-0c90-453a-8afa-6a94f4d95d47" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:27:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cbfa7664-41f5-401e-9ca9-d235a4e70a53" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "d2d8c46c-ea74-4bf9-916b-ab175738e840" + ], + "x-ms-correlation-request-id": [ + "d2d8c46c-ea74-4bf9-916b-ab175738e840" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212813Z:d2d8c46c-ea74-4bf9-916b-ab175738e840" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:28:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c34f8dd2-48ae-4a48-ad77-275a701180ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "6efa965d-b310-4a95-a4ee-e51a6afd0689" + ], + "x-ms-correlation-request-id": [ + "6efa965d-b310-4a95-a4ee-e51a6afd0689" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212828Z:6efa965d-b310-4a95-a4ee-e51a6afd0689" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:28:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "186ac301-a83a-4fb0-a01b-3cd5ca060cb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "3ca453f4-025f-4758-90f8-21bb12165d59" + ], + "x-ms-correlation-request-id": [ + "3ca453f4-025f-4758-90f8-21bb12165d59" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212843Z:3ca453f4-025f-4758-90f8-21bb12165d59" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:28:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2d92c18a-01a5-4926-bb95-c598b29f3289" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "9e4d4119-57db-4d49-997c-e2a206ccc4fd" + ], + "x-ms-correlation-request-id": [ + "9e4d4119-57db-4d49-997c-e2a206ccc4fd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212858Z:9e4d4119-57db-4d49-997c-e2a206ccc4fd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:28:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "196106c4-63b6-44b8-a808-768c2f0c4585" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "5eeee7af-2d7c-432b-955b-dd47d4207b38" + ], + "x-ms-correlation-request-id": [ + "5eeee7af-2d7c-432b-955b-dd47d4207b38" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212914Z:5eeee7af-2d7c-432b-955b-dd47d4207b38" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:29:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/08d31eb0-1a0d-44b3-8147-2af820db174e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzA4ZDMxZWIwLTFhMGQtNDRiMy04MTQ3LTJhZjgyMGRiMTc0ZT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 21:29:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "01f7ce7a-5ef1-4a1d-903b-5a3221313d10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "6620f9b6-37b6-45f9-a66f-fca2dbd4c355" + ], + "x-ms-correlation-request-id": [ + "6620f9b6-37b6-45f9-a66f-fca2dbd4c355" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212929Z:6620f9b6-37b6-45f9-a66f-fca2dbd4c355" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:29:28 GMT" + ], + "ETag": [ + "0x8D228C741F14DD7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "30dd7fe8-a7af-4fcc-90a2-260a2d606067" + ], + "x-ms-correlation-request-id": [ + "30dd7fe8-a7af-4fcc-90a2-260a2d606067" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212930Z:30dd7fe8-a7af-4fcc-90a2-260a2d606067" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:29:30 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "0ba7a1c8-32b5-4778-aa66-d92b283792e5" + ], + "x-ms-correlation-request-id": [ + "0ba7a1c8-32b5-4778-aa66-d92b283792e5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212931Z:0ba7a1c8-32b5-4778-aa66-d92b283792e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:29:30 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "9bafc020-9b3e-47b6-87e3-1b3d48b86c98" + ], + "x-ms-correlation-request-id": [ + "9bafc020-9b3e-47b6-87e3-1b3d48b86c98" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T212946Z:9bafc020-9b3e-47b6-87e3-1b3d48b86c98" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:29:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "a13ec456-2a76-41ff-b78e-3fff04f04f3d" + ], + "x-ms-correlation-request-id": [ + "a13ec456-2a76-41ff-b78e-3fff04f04f3d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213001Z:a13ec456-2a76-41ff-b78e-3fff04f04f3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:30:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "583a2083-27da-4bf4-a65c-f148ff8c075a" + ], + "x-ms-correlation-request-id": [ + "583a2083-27da-4bf4-a65c-f148ff8c075a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T213016Z:583a2083-27da-4bf4-a65c-f148ff8c075a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 21:30:16 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json index 9b687e47686f..614b46fb57af 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json @@ -1,19 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-new-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbmV3LXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool\",\r\n \"name\": \"test-new-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "179" ], "Content-Type": [ "application/json; charset=utf-8" @@ -24,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" ], "x-ms-request-id": [ - "50029ee5-6201-432d-a2d5-c3ca1e5433bb" + "cfb919d1-748a-413b-880d-14f147753fcf" ], "x-ms-correlation-request-id": [ - "50029ee5-6201-432d-a2d5-c3ca1e5433bb" + "cfb919d1-748a-413b-880d-14f147753fcf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193118Z:50029ee5-6201-432d-a2d5-c3ca1e5433bb" + "WESTUS:20150309T225712Z:cfb919d1-748a-413b-880d-14f147753fcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,25 +49,88 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:31:17 GMT" + "Mon, 09 Mar 2015 22:57:11 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "request-id": [ + "69e33618-492c-4cad-8bd2-dae8aa0748cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e6df996e-eb4b-4380-8968-5c9f803e1d05" + ], + "x-ms-correlation-request-id": [ + "e6df996e-eb4b-4380-8968-5c9f803e1d05" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225716Z:e6df996e-eb4b-4380-8968-5c9f803e1d05" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:57:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/69e33618-492c-4cad-8bd2-dae8aa0748cf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/69e33618-492c-4cad-8bd2-dae8aa0748cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvNjllMzM2MTgtNDkyYy00Y2FkLThiZDItZGFlOGFhMDc0OGNmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testnewpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testnewpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "323" @@ -73,37 +142,94 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:15 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "896fcaa6-e5aa-4e73-8e0e-047e5982e514" + "64c2083d-5ac2-48ed-bcd6-4dc20502b95b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "31997" ], "x-ms-request-id": [ - "77490f05-386f-4dee-85f1-cae5219f4f83" + "96ddb523-213e-4842-8258-82b88df8b09c" ], "x-ms-correlation-request-id": [ - "77490f05-386f-4dee-85f1-cae5219f4f83" + "96ddb523-213e-4842-8258-82b88df8b09c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193119Z:77490f05-386f-4dee-85f1-cae5219f4f83" + "WESTUS:20150309T225716Z:96ddb523-213e-4842-8258-82b88df8b09c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:15 GMT" ], "ETag": [ - "0x8D28894F6D5F917" + "0x8D228D38545C2CE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testnewpool\",\r\n \"primary\": \"3Sl/oU1CTFNjKdCIQjtQN1vuMHrmwE/0yZ+Rn+rbeTXSpUHMoNVWonCGYW56hyNNOTi53qEsD50JoYUD5XysRA==\",\r\n \"secondary\": \"x+Bda3DnnbMzoH93cktbTDelFLNPzhUxYABwOCP6usVRsO8S8Xv67C5Y1Fk7aT7NjjRU/b4V1bzfhkQO3OBRsg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "233" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "9cda882b-8bc1-421d-9882-c140ffc420ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "a4864608-5447-433d-b8e1-a8597dfb8167" + ], + "x-ms-correlation-request-id": [ + "a4864608-5447-433d-b8e1-a8597dfb8167" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225716Z:a4864608-5447-433d-b8e1-a8597dfb8167" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:57:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testnewpool\",\r\n \"primary\": \"3Sl/oU1CTFNjKdCIQjtQN1vuMHrmwE/0yZ+Rn+rbeTXSpUHMoNVWonCGYW56hyNNOTi53qEsD50JoYUD5XysRA==\",\r\n \"secondary\": \"x+Bda3DnnbMzoH93cktbTDelFLNPzhUxYABwOCP6usVRsO8S8Xv67C5Y1Fk7aT7NjjRU/b4V1bzfhkQO3OBRsg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +265,139 @@ "no-cache" ], "request-id": [ - "83b9e340-c39e-4e6f-89e7-be833d8ced9d" + "0d3d5bb6-feb0-41bf-b9fc-618ee7a7c42b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" + "1194" + ], + "x-ms-request-id": [ + "14bec0c3-6114-4d6a-ba8e-55fc3826d98f" + ], + "x-ms-correlation-request-id": [ + "14bec0c3-6114-4d6a-ba8e-55fc3826d98f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225753Z:14bec0c3-6114-4d6a-ba8e-55fc3826d98f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:57:53 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool\",\r\n \"name\": \"testnewpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "747" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "00721651-5151-49f2-ad82-f9f9f7032114" + ], + "x-ms-correlation-request-id": [ + "00721651-5151-49f2-ad82-f9f9f7032114" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225752Z:00721651-5151-49f2-ad82-f9f9f7032114" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:57:52 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testnewpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testnewpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 22:57:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "da65b01c-32ba-4372-ba7a-edc5a956c033" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" ], "x-ms-request-id": [ - "9d9ab566-b18b-4f5e-8751-240c6deab37e" + "dc8b58b3-f48e-4a92-aa4f-dceefd0d025a" ], "x-ms-correlation-request-id": [ - "9d9ab566-b18b-4f5e-8751-240c6deab37e" + "dc8b58b3-f48e-4a92-aa4f-dceefd0d025a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T193119Z:9d9ab566-b18b-4f5e-8751-240c6deab37e" + "WESTUS:20150309T225752Z:dc8b58b3-f48e-4a92-aa4f-dceefd0d025a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:52 GMT" + ], + "ETag": [ + "0x8D228D39AF17926" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -184,25 +421,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bc997a12-9530-4624-aba9-633e9eebcc2c" + "b7529faf-b7a2-4cda-854d-0e141e145444" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:53 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:55 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "0d532c22-a817-4b36-8c8a-f2f08c6f392c" + "934a54c6-1b89-42ea-a97e-52a827806dc8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -211,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/simple" + "https://testnewpool.batch.core.windows.net/pools/simple" ], "Date": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:52 GMT" ], "ETag": [ - "0x8D28894F75C51ED" + "0x8D228D39D41AFB2" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/simple" + "https://testnewpool.batch.core.windows.net/pools/simple" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -244,25 +481,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5b2dc906-a98f-4887-bd00-8ec0c4ba8a0d" + "c4ca1570-0a2b-46cf-b1e4-068eed2e099c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:31:20 GMT" + "Mon, 09 Mar 2015 22:57:54 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:31:21 GMT" + "Mon, 09 Mar 2015 22:57:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d0713053-dafb-4e3f-8d00-af68088a6c04" + "c8807584-3dcc-4243-b193-79177e2a52dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -271,16 +508,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/complex" + "https://testnewpool.batch.core.windows.net/pools/complex" ], "Date": [ - "Thu, 09 Jul 2015 19:31:20 GMT" + "Mon, 09 Mar 2015 22:57:55 GMT" ], "ETag": [ - "0x8D28894F80EA52E" + "0x8D228D39DF4D5DE" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/complex" + "https://testnewpool.batch.core.windows.net/pools/complex" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -298,28 +535,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7f25dba6-21f7-44ca-a2f6-766b40a8b928" + "a1ab9bd1-37f1-4c0b-8513-67b930ab100b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:54 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"simple\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/simple\",\r\n \"eTag\": \"0x8D28894F75C51ED\",\r\n \"lastModified\": \"2015-07-09T19:31:19.9221229Z\",\r\n \"creationTime\": \"2015-07-09T19:31:19.9221229Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:31:19.9221229Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:31:19.9221229Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT10M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewpool.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"simple\",\r\n \"url\": \"https://testnewpool.batch.core.windows.net/pools/simple\",\r\n \"eTag\": \"0x8D228D39D41AFB2\",\r\n \"lastModified\": \"2015-03-09T22:57:55.4199474Z\",\r\n \"creationTime\": \"2015-03-09T22:57:55.4199474Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T22:57:55.4199474Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T22:57:55.4199474Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT10M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 1,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:55 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "6f92b22f-dc04-4ac1-8c9a-a3f23f62ed59" + "89a5bc48-c08d-4ef8-a8d9-2f1eac5e1e70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -328,10 +565,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:31:19 GMT" + "Mon, 09 Mar 2015 22:57:52 GMT" ], "ETag": [ - "0x8D28894F75C51ED" + "0x8D228D39D41AFB2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -349,28 +586,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b5024b2e-67db-4118-8310-3de54a17386f" + "19edc501-a6b3-491b-aef3-06f97aac8bb2" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:31:21 GMT" + "Mon, 09 Mar 2015 22:57:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"complex\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/complex\",\r\n \"eTag\": \"0x8D28894F80EA52E\",\r\n \"lastModified\": \"2015-07-09T19:31:21.090795Z\",\r\n \"creationTime\": \"2015-07-09T19:31:21.090795Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:31:21.090795Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:31:21.090795Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-07-09T19:31:21.090795Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"communication\": true,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct1.blob.core.windows.net/\",\r\n \"filePath\": \"filePath1\"\r\n },\r\n {\r\n \"blobSource\": \"https://testacct2.blob.core.windows.net/\",\r\n \"filePath\": \"filePath2\"\r\n }\r\n ],\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"metadata\": [\r\n {\r\n \"name\": \"meta2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"meta1\",\r\n \"value\": \"value1\"\r\n }\r\n ],\r\n \"maxTasksPerTVM\": 2,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Pack\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewpool.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"complex\",\r\n \"url\": \"https://testnewpool.batch.core.windows.net/pools/complex\",\r\n \"eTag\": \"0x8D228D39DF4D5DE\",\r\n \"lastModified\": \"2015-03-09T22:57:56.594019Z\",\r\n \"creationTime\": \"2015-03-09T22:57:56.594019Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-09T22:57:56.594019Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-03-09T22:57:56.594019Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-03-09T22:57:56.594019Z\",\r\n \"results\": \"$TargetDedicated=2;$TVMDeallocationOption=requeue\"\r\n },\r\n \"communication\": true,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct1.blob.core.windows.net/\",\r\n \"filePath\": \"filePath1\"\r\n },\r\n {\r\n \"blobSource\": \"https://testacct2.blob.core.windows.net/\",\r\n \"filePath\": \"filePath2\"\r\n }\r\n ],\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"metadata\": [\r\n {\r\n \"name\": \"meta2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"meta1\",\r\n \"value\": \"value1\"\r\n }\r\n ],\r\n \"maxTasksPerTVM\": 2,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Pack\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:31:21 GMT" + "Mon, 09 Mar 2015 22:57:56 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e3cdd31e-fd08-4444-a49c-b1b04fa26a6e" + "73edb2be-85ff-41a2-a9b5-76e81cac1471" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,10 +616,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:31:21 GMT" + "Mon, 09 Mar 2015 22:57:53 GMT" ], "ETag": [ - "0x8D28894F80EA52E" + "0x8D228D39DF4D5DE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -400,13 +637,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1e82e691-69c3-40b7-98c7-14f4759f8a33" + "a110d8a5-5115-4cce-bd68-d7025e574277" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:31:21 GMT" + "Mon, 09 Mar 2015 22:57:55 GMT" ] }, "ResponseBody": "", @@ -415,7 +652,7 @@ "chunked" ], "request-id": [ - "0590e183-cfd6-4661-bb64-639e5b9bd504" + "0ccfc917-8aab-451a-9b5b-e19494d953a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,7 +661,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:31:22 GMT" + "Mon, 09 Mar 2015 22:57:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -442,13 +679,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "357c0a8b-9829-4357-9f2d-2c080a41ff0a" + "537979d0-d594-432a-87b6-d704e949a688" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:31:21 GMT" + "Mon, 09 Mar 2015 22:57:56 GMT" ] }, "ResponseBody": "", @@ -457,7 +694,7 @@ "chunked" ], "request-id": [ - "6708f9be-9e7f-4e76-a58d-d6f9fbfdc813" + "c0f709d2-e0e7-4570-a44f-d36f99eb7109" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -466,13 +703,1657 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:31:22 GMT" + "Mon, 09 Mar 2015 22:58:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c1a960bd-0149-4f22-a0cd-ae51745d036c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "48fe09ce-2eac-4c01-98d2-913c1cdb88d9" + ], + "x-ms-correlation-request-id": [ + "48fe09ce-2eac-4c01-98d2-913c1cdb88d9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225758Z:48fe09ce-2eac-4c01-98d2-913c1cdb88d9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:57:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fd54e56e-0c92-46cc-a239-89471e2584ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "f11361fd-ec36-47d6-9718-c560a9981b49" + ], + "x-ms-correlation-request-id": [ + "f11361fd-ec36-47d6-9718-c560a9981b49" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225758Z:f11361fd-ec36-47d6-9718-c560a9981b49" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:57:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0cfc30da-0efd-4b95-b4ed-ced693722c69" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "a174abad-e305-4095-b1dd-d239514aeb0f" + ], + "x-ms-correlation-request-id": [ + "a174abad-e305-4095-b1dd-d239514aeb0f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225813Z:a174abad-e305-4095-b1dd-d239514aeb0f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:58:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c7163421-6ed4-4024-a36c-2f9010a65367" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "1ff540a6-c25c-4dbe-a7e3-6c134c55c9a4" + ], + "x-ms-correlation-request-id": [ + "1ff540a6-c25c-4dbe-a7e3-6c134c55c9a4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225829Z:1ff540a6-c25c-4dbe-a7e3-6c134c55c9a4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:58:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1a3f6eae-1a94-4d00-92fb-01b4c7f457bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "520a8ca0-b2ff-429d-afd6-48d4c8bd1b41" + ], + "x-ms-correlation-request-id": [ + "520a8ca0-b2ff-429d-afd6-48d4c8bd1b41" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225844Z:520a8ca0-b2ff-429d-afd6-48d4c8bd1b41" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:58:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e6293c92-58cf-4bde-bbad-ad24e72a3bd9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "2f3d9b65-2cf9-477b-8efd-1e996a3be33c" + ], + "x-ms-correlation-request-id": [ + "2f3d9b65-2cf9-477b-8efd-1e996a3be33c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225859Z:2f3d9b65-2cf9-477b-8efd-1e996a3be33c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:58:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f2c03269-d710-4d72-a125-92eaa242cd6f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "8322816c-012e-4961-9bc4-4562b479516d" + ], + "x-ms-correlation-request-id": [ + "8322816c-012e-4961-9bc4-4562b479516d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225914Z:8322816c-012e-4961-9bc4-4562b479516d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:59:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fc1028cd-8adf-4f07-b209-6d51cd12a967" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "99fe8311-fc84-42c4-a0b5-674ceb89951d" + ], + "x-ms-correlation-request-id": [ + "99fe8311-fc84-42c4-a0b5-674ceb89951d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225929Z:99fe8311-fc84-42c4-a0b5-674ceb89951d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:59:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9f0a3abe-21b9-41e1-8188-6e39173e5fbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "52ac06aa-c4cc-441e-84dc-bef8b7e3d122" + ], + "x-ms-correlation-request-id": [ + "52ac06aa-c4cc-441e-84dc-bef8b7e3d122" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T225944Z:52ac06aa-c4cc-441e-84dc-bef8b7e3d122" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:59:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9980881f-28f2-44ea-ac32-c71dc5274c8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "acf8c53d-bbdd-44ce-901f-ef9ae877ecd5" + ], + "x-ms-correlation-request-id": [ + "acf8c53d-bbdd-44ce-901f-ef9ae877ecd5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230000Z:acf8c53d-bbdd-44ce-901f-ef9ae877ecd5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 22:59:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "895fbb84-e86e-4208-892b-c8219b6a4f21" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "4129e63b-311c-4acf-87e6-1079ac91ae80" + ], + "x-ms-correlation-request-id": [ + "4129e63b-311c-4acf-87e6-1079ac91ae80" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230015Z:4129e63b-311c-4acf-87e6-1079ac91ae80" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:00:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d313d2f7-75bf-42e2-8d5f-69469dc813b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "7ea9ec26-7f83-412e-9ba9-020c29c874dc" + ], + "x-ms-correlation-request-id": [ + "7ea9ec26-7f83-412e-9ba9-020c29c874dc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230030Z:7ea9ec26-7f83-412e-9ba9-020c29c874dc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:00:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6d132b66-8929-4875-97d4-c65efcab0e5a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "36163aea-3b9b-4265-bef9-b1c16aa679b7" + ], + "x-ms-correlation-request-id": [ + "36163aea-3b9b-4265-bef9-b1c16aa679b7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230045Z:36163aea-3b9b-4265-bef9-b1c16aa679b7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:00:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b6207c2c-f484-49ea-93ce-8ba21ad7933a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "398b9971-b996-4a1f-8b45-6ec28b9da30b" + ], + "x-ms-correlation-request-id": [ + "398b9971-b996-4a1f-8b45-6ec28b9da30b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230100Z:398b9971-b996-4a1f-8b45-6ec28b9da30b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:01:00 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9d425cbc-a3e8-4bb6-80b5-ecf8f074c2fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "d3765a7f-a88b-45a6-81d1-7d9c26cb383d" + ], + "x-ms-correlation-request-id": [ + "d3765a7f-a88b-45a6-81d1-7d9c26cb383d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230116Z:d3765a7f-a88b-45a6-81d1-7d9c26cb383d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:01:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c7d2c803-3ab3-4a02-99f5-5d4ec76f6b4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "4fd1a908-ba20-465a-9685-7191daaf6c27" + ], + "x-ms-correlation-request-id": [ + "4fd1a908-ba20-465a-9685-7191daaf6c27" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230131Z:4fd1a908-ba20-465a-9685-7191daaf6c27" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:01:30 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3cfd3bd1-329e-4b41-a884-79710dca53cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "74ca84c0-fd81-4785-ab12-303fd2bc7fbb" + ], + "x-ms-correlation-request-id": [ + "74ca84c0-fd81-4785-ab12-303fd2bc7fbb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230146Z:74ca84c0-fd81-4785-ab12-303fd2bc7fbb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:01:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b39f30b3-6cb7-4f7f-8626-bef3b4aac857" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "40d8dc7b-37ed-417b-9267-5a662efd20af" + ], + "x-ms-correlation-request-id": [ + "40d8dc7b-37ed-417b-9267-5a662efd20af" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230201Z:40d8dc7b-37ed-417b-9267-5a662efd20af" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:02:00 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "4a7c8dd9-acdc-4116-ab59-4a10f7e164f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "d4bcea78-576f-4940-8fda-e3e19aa131bc" + ], + "x-ms-correlation-request-id": [ + "d4bcea78-576f-4940-8fda-e3e19aa131bc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230216Z:d4bcea78-576f-4940-8fda-e3e19aa131bc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:02:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "948944f9-1f33-4786-9ee6-7b136b601cce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "a611991f-1ca5-4c95-b387-a8d9bcce98c4" + ], + "x-ms-correlation-request-id": [ + "a611991f-1ca5-4c95-b387-a8d9bcce98c4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230232Z:a611991f-1ca5-4c95-b387-a8d9bcce98c4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:02:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "170b1df8-637c-41de-9341-1f86dde0aaad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "cb0927b0-facf-45b4-b449-af1e7222a6aa" + ], + "x-ms-correlation-request-id": [ + "cb0927b0-facf-45b4-b449-af1e7222a6aa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230247Z:cb0927b0-facf-45b4-b449-af1e7222a6aa" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:02:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e14832ce-81af-493e-8877-f39518e27b44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "e6d8e837-bfd6-421a-aedb-07a694a4b960" + ], + "x-ms-correlation-request-id": [ + "e6d8e837-bfd6-421a-aedb-07a694a4b960" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230302Z:e6d8e837-bfd6-421a-aedb-07a694a4b960" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:03:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9e20d9db-b469-4f03-bf82-d5c3c706aa93" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "c99846c6-25a7-4d0f-bde0-0c34ed1625e3" + ], + "x-ms-correlation-request-id": [ + "c99846c6-25a7-4d0f-bde0-0c34ed1625e3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230317Z:c99846c6-25a7-4d0f-bde0-0c34ed1625e3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:03:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-pool/providers/Microsoft.Batch/batchAccounts/testnewpool/operationResults/c1a960bd-0149-4f22-a0cd-ae51745d036c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXdwb29sL29wZXJhdGlvblJlc3VsdHMvYzFhOTYwYmQtMDE0OS00ZjIyLWEwY2QtYWU1MTc0NWQwMzZjP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 09 Mar 2015 23:03:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c5d3019c-8c56-4aab-bdfe-01aff755f089" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "8c0d8e1a-e2a0-49c7-ad69-38405a901d92" + ], + "x-ms-correlation-request-id": [ + "8c0d8e1a-e2a0-49c7-ad69-38405a901d92" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230332Z:8c0d8e1a-e2a0-49c7-ad69-38405a901d92" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:03:32 GMT" + ], + "ETag": [ + "0x8D228D465A62BA0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-new-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbmV3LXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "a6d43bb1-7470-46c4-9d56-ffac9019de9b" + ], + "x-ms-correlation-request-id": [ + "a6d43bb1-7470-46c4-9d56-ffac9019de9b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230334Z:a6d43bb1-7470-46c4-9d56-ffac9019de9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:03:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "a10d756b-d625-4ada-8fe3-f5f31220b543" + ], + "x-ms-correlation-request-id": [ + "a10d756b-d625-4ada-8fe3-f5f31220b543" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230334Z:a10d756b-d625-4ada-8fe3-f5f31220b543" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:03:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "82cd9b42-5403-4c65-a72d-9cc965dbbb75" + ], + "x-ms-correlation-request-id": [ + "82cd9b42-5403-4c65-a72d-9cc965dbbb75" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230349Z:82cd9b42-5403-4c65-a72d-9cc965dbbb75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:03:49 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "522b4110-0bb1-45cc-9844-be926d8d2329" + ], + "x-ms-correlation-request-id": [ + "522b4110-0bb1-45cc-9844-be926d8d2329" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150309T230404Z:522b4110-0bb1-45cc-9844-be926d8d2329" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 09 Mar 2015 23:04:04 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByName.json index 88ec32a335fb..754948b6ea4c 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByName.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14997" ], "x-ms-request-id": [ - "fa60c10e-6047-40b6-ac85-caa0ecbe0f2b" + "bf34ea86-69fb-4558-9074-4c7ce4af83e0" ], "x-ms-correlation-request-id": [ - "fa60c10e-6047-40b6-ac85-caa0ecbe0f2b" + "bf34ea86-69fb-4558-9074-4c7ce4af83e0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210704Z:fa60c10e-6047-40b6-ac85-caa0ecbe0f2b" + "WESTUS:20150608T210304Z:bf34ea86-69fb-4558-9074-4c7ce4af83e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:04 GMT" + "Mon, 08 Jun 2015 21:03:04 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14996" ], "x-ms-request-id": [ - "ae26f201-8fa9-4c6f-857d-634dd1f7e2ef" + "21aa7543-aa91-41ad-893f-b75ff52b4749" ], "x-ms-correlation-request-id": [ - "ae26f201-8fa9-4c6f-857d-634dd1f7e2ef" + "21aa7543-aa91-41ad-893f-b75ff52b4749" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210706Z:ae26f201-8fa9-4c6f-857d-634dd1f7e2ef" + "WESTUS:20150608T210307Z:21aa7543-aa91-41ad-893f-b75ff52b4749" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:06 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:05 GMT" + "Mon, 08 Jun 2015 21:03:03 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "b034b3b0-37e5-4331-a04c-90de31b030a7" + "38e8150a-48ce-4787-95fb-e5fddba00284" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14998" ], "x-ms-request-id": [ - "d76373ca-6f4e-44bd-99f2-fff0eb07553f" + "aa7ae0aa-bad0-4348-8b83-e67c0c259baf" ], "x-ms-correlation-request-id": [ - "d76373ca-6f4e-44bd-99f2-fff0eb07553f" + "aa7ae0aa-bad0-4348-8b83-e67c0c259baf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210706Z:d76373ca-6f4e-44bd-99f2-fff0eb07553f" + "WESTUS:20150608T210305Z:aa7ae0aa-bad0-4348-8b83-e67c0c259baf" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:05 GMT" + "Mon, 08 Jun 2015 21:03:05 GMT" ], "ETag": [ - "0x8D288A25841C63F" + "0x8D27045A4FB5F1B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:05 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "6d1a5433-7ff1-4c6d-b8cb-f55fc8abc744" + "c662ae19-a317-438f-a5ad-37ef527b48fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14997" ], "x-ms-request-id": [ - "e32e4b0a-d07e-4415-b6a6-10b00a73861c" + "a4436763-8f43-4870-ab9b-55bfaf3a7731" ], "x-ms-correlation-request-id": [ - "e32e4b0a-d07e-4415-b6a6-10b00a73861c" + "a4436763-8f43-4870-ab9b-55bfaf3a7731" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210706Z:e32e4b0a-d07e-4415-b6a6-10b00a73861c" + "WESTUS:20150608T210307Z:a4436763-8f43-4870-ab9b-55bfaf3a7731" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:06 GMT" ], "ETag": [ - "0x8D288A258B69250" + "0x8D27045A5E1BCA5" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "2c70408b-fabc-4210-b730-8d2b7bdcd657" + "d94255e6-0664-4eab-9d22-fd0f3c9fff2c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1198" ], "x-ms-request-id": [ - "4e7be36e-f4af-4e61-a6f0-319f4f76611e" + "abbbe168-fa85-4938-8b44-f8737042f5e2" ], "x-ms-correlation-request-id": [ - "4e7be36e-f4af-4e61-a6f0-319f4f76611e" + "abbbe168-fa85-4938-8b44-f8737042f5e2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210706Z:4e7be36e-f4af-4e61-a6f0-319f4f76611e" + "WESTUS:20150608T210305Z:abbbe168-fa85-4938-8b44-f8737042f5e2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:05 GMT" + "Mon, 08 Jun 2015 21:03:05 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "25898b35-df97-446a-a8e8-56cba12f350d" + "19cd0ff1-b7fe-415a-9e3e-77e00bf1f97b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1197" ], "x-ms-request-id": [ - "4d16babb-edc3-48c2-8477-9c3e7cc8a311" + "65f032de-d7ea-40ff-9168-9643b4c08b5a" ], "x-ms-correlation-request-id": [ - "4d16babb-edc3-48c2-8477-9c3e7cc8a311" + "65f032de-d7ea-40ff-9168-9643b4c08b5a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210707Z:4d16babb-edc3-48c2-8477-9c3e7cc8a311" + "WESTUS:20150608T210307Z:65f032de-d7ea-40ff-9168-9643b4c08b5a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:07 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -346,28 +346,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ea562a89-a330-4f48-a138-6a0dcb07a71a" + "01544000-bd3a-40a7-895d-8b240aa4536f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:05 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A24A4581EF\",\r\n \"lastModified\": \"2015-07-09T21:06:42.4809967Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:06:45.2066566Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"resizeError\": {\r\n \"code\": \"ResizeStopped\",\r\n \"message\": \"Desired number of dedicated TVMs could not be allocated due to a StopPoolResize operation\"\r\n },\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 10,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D27043EF8147BE\",\r\n \"lastModified\": \"2015-06-08T20:50:49.6008126Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-08T20:52:14.2564039Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Mon, 08 Jun 2015 20:50:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "32b36c8a-ecfa-4533-b83f-7ba84e522d5c" + "eea5aa93-1b26-42fd-ab7c-0a19e38091e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -376,10 +376,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:06 GMT" ], "ETag": [ - "0x8D288A24A4581EF" + "0x8D27043EF8147BE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,28 +397,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4835f52c-9bee-460f-84df-b520900b3e53" + "308c2807-a035-4e97-a2d4-bcab4bc1f01a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:06 GMT" + "Mon, 08 Jun 2015 21:03:07 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A24A4581EF\",\r\n \"lastModified\": \"2015-07-09T21:06:42.4809967Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:06:45.2066566Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"resizeError\": {\r\n \"code\": \"ResizeStopped\",\r\n \"message\": \"Desired number of dedicated TVMs could not be allocated due to a StopPoolResize operation\"\r\n },\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 10,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D27043EF8147BE\",\r\n \"lastModified\": \"2015-06-08T20:50:49.6008126Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-08T20:52:14.2564039Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Mon, 08 Jun 2015 20:50:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "bfa3bd31-08de-4439-93aa-c5643e18fcd9" + "b861e6fa-42e8-4732-9e2d-c6624ed217ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -427,10 +427,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Mon, 08 Jun 2015 21:03:07 GMT" ], "ETag": [ - "0x8D288A24A4581EF" + "0x8D27043EF8147BE" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,28 +448,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "9a49e98a-b529-4e18-bedf-953466fa643c" + "fd500f68-3a94-4c1a-957b-04ba17660d3a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Mon, 08 Jun 2015 21:03:08 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D27045A7EDA1F0\",\r\n \"lastModified\": \"2015-06-08T21:03:08.5084144Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-06-08T21:03:08.5084144Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Mon, 08 Jun 2015 21:03:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "6637d20c-5cf6-4b39-85b4-662edb6f832b" + "50d841ce-22f5-4487-a8cb-2a3e35b47d3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,10 +478,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Mon, 08 Jun 2015 21:03:07 GMT" ], "ETag": [ - "0x8D288A2595DBBA1" + "0x8D27045A7EDA1F0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -493,37 +493,37 @@ "RequestUri": "/pools/testPool?resize&api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3Jlc2l6ZSZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"targetDedicated\": 12,\r\n \"resizeTimeout\": \"PT5M\"\r\n}", + "RequestBody": "{\r\n \"targetDedicated\": 5,\r\n \"resizeTimeout\": \"PT5M\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "51" + "50" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "726b2875-7c96-4f1c-a962-11695bec4f88" + "5f46cc3b-c2f1-4bf7-bee6-8003ea2ce738" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Mon, 08 Jun 2015 21:03:07 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Mon, 08 Jun 2015 21:03:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "3cac38a9-e730-42bc-a2bc-0b2c5cd6aa3b" + "8aead8f2-ca61-4286-b305-6301619445fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -532,13 +532,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool" + "https://pooltests.batch.core.windows.net/pools/testPool" ], "Date": [ - "Thu, 09 Jul 2015 21:07:08 GMT" + "Mon, 08 Jun 2015 21:03:08 GMT" ], "ETag": [ - "0x8D288A2595DBBA1" + "0x8D27045A7EDA1F0" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json index 6bb6f23c18aa..eb668099635b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14995" ], "x-ms-request-id": [ - "33f21145-2acb-4d6e-ba80-54c5e705704a" + "4751c9d7-f3f9-4cdc-ac30-c5d3d73ddab1" ], "x-ms-correlation-request-id": [ - "33f21145-2acb-4d6e-ba80-54c5e705704a" + "4751c9d7-f3f9-4cdc-ac30-c5d3d73ddab1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210408Z:33f21145-2acb-4d6e-ba80-54c5e705704a" + "WESTUS:20150608T211317Z:4751c9d7-f3f9-4cdc-ac30-c5d3d73ddab1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:08 GMT" + "Mon, 08 Jun 2015 21:13:16 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14994" ], "x-ms-request-id": [ - "fe17540f-321a-4bc2-9027-cbaed2aa9b4a" + "b2c77334-751d-43f2-849b-23bf010865dd" ], "x-ms-correlation-request-id": [ - "fe17540f-321a-4bc2-9027-cbaed2aa9b4a" + "b2c77334-751d-43f2-849b-23bf010865dd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210411Z:fe17540f-321a-4bc2-9027-cbaed2aa9b4a" + "WESTUS:20150608T211320Z:b2c77334-751d-43f2-849b-23bf010865dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:10 GMT" + "Mon, 08 Jun 2015 21:13:19 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:09 GMT" + "Mon, 08 Jun 2015 21:13:16 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "41fd48e8-a2ef-4dd0-8145-e5d284797ebb" + "e69c5669-5379-4312-a8d0-0bed3765d891" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14996" ], "x-ms-request-id": [ - "748d5259-6d81-47cf-a414-79567e357482" + "2de8e98a-509f-40e0-8f3b-73eece275700" ], "x-ms-correlation-request-id": [ - "748d5259-6d81-47cf-a414-79567e357482" + "2de8e98a-509f-40e0-8f3b-73eece275700" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210409Z:748d5259-6d81-47cf-a414-79567e357482" + "WESTUS:20150608T211318Z:2de8e98a-509f-40e0-8f3b-73eece275700" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:08 GMT" + "Mon, 08 Jun 2015 21:13:17 GMT" ], "ETag": [ - "0x8D288A1EF585BC6" + "0x8D2704712204C85" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:11 GMT" + "Mon, 08 Jun 2015 21:13:18 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "f9b25f3d-b5a4-42d1-af75-29d2e5e6c9e7" + "da9e0fdc-53f4-47d9-8666-30b742820368" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14995" ], "x-ms-request-id": [ - "5b6e0acd-fdce-45b8-af75-8a41684c544a" + "c92f3eea-8837-4a16-a59c-c14939fa13c4" ], "x-ms-correlation-request-id": [ - "5b6e0acd-fdce-45b8-af75-8a41684c544a" + "c92f3eea-8837-4a16-a59c-c14939fa13c4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210411Z:5b6e0acd-fdce-45b8-af75-8a41684c544a" + "WESTUS:20150608T211320Z:c92f3eea-8837-4a16-a59c-c14939fa13c4" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:10 GMT" + "Mon, 08 Jun 2015 21:13:19 GMT" ], "ETag": [ - "0x8D288A1F0362212" + "0x8D270471337A88D" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "274c04ee-1b8e-4ed6-9889-1a0eb581ad48" + "ac13d324-7ddb-4d33-a690-2b17665db296" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1196" ], "x-ms-request-id": [ - "40b7f523-a14e-4882-a507-0bf391b00aa1" + "191168c4-9c52-4193-b4dd-ad568fa56e20" ], "x-ms-correlation-request-id": [ - "40b7f523-a14e-4882-a507-0bf391b00aa1" + "191168c4-9c52-4193-b4dd-ad568fa56e20" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210409Z:40b7f523-a14e-4882-a507-0bf391b00aa1" + "WESTUS:20150608T211318Z:191168c4-9c52-4193-b4dd-ad568fa56e20" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:09 GMT" + "Mon, 08 Jun 2015 21:13:17 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "37ca5668-3f11-438c-bb3c-5df8bd249eb4" + "8c6ac24f-5047-4d8c-a73b-3e8f4621dde2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1195" ], "x-ms-request-id": [ - "4c8af082-38b5-4239-b9d9-6781277bfac3" + "09e06675-e3c2-4ce4-99b6-730475fbecb4" ], "x-ms-correlation-request-id": [ - "4c8af082-38b5-4239-b9d9-6781277bfac3" + "09e06675-e3c2-4ce4-99b6-730475fbecb4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210411Z:4c8af082-38b5-4239-b9d9-6781277bfac3" + "WESTUS:20150608T211320Z:09e06675-e3c2-4ce4-99b6-730475fbecb4" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:10 GMT" + "Mon, 08 Jun 2015 21:13:19 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -346,28 +346,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "393e0607-ec90-4301-b9fb-3935ca72c24f" + "97ddbca5-e29e-409a-bbb2-358c0671a931" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:04:09 GMT" + "Mon, 08 Jun 2015 21:13:18 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270469CAB83C7\",\r\n \"lastModified\": \"2015-06-08T21:09:59.1168967Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-08T21:12:16.7860326Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" + "Mon, 08 Jun 2015 21:09:59 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f45960b5-46b7-4c86-9377-8168e1e355d9" + "a4bf285d-3738-4b08-a8da-1a26ecc5c505" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -376,10 +376,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:04:09 GMT" + "Mon, 08 Jun 2015 21:13:19 GMT" ], "ETag": [ - "0x8D28890DD2FCEE8" + "0x8D270469CAB83C7" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,28 +397,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "aa7f6d57-318f-41b5-b10d-7c405658a59f" + "90da22d3-f512-49ff-afb7-68bc4344b469" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:04:11 GMT" + "Mon, 08 Jun 2015 21:13:20 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270469CAB83C7\",\r\n \"lastModified\": \"2015-06-08T21:09:59.1168967Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-08T21:12:16.7860326Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" + "Mon, 08 Jun 2015 21:09:59 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "31688097-26a8-4f3c-8b6c-0bcdc516ce00" + "c7ccb97c-9dd5-4711-91cc-28f986216fc7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -427,10 +427,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:04:10 GMT" + "Mon, 08 Jun 2015 21:13:20 GMT" ], "ETag": [ - "0x8D28890DD2FCEE8" + "0x8D270469CAB83C7" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,28 +448,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8d32d74f-3ce0-486b-bc30-976cd8467608" + "5e457058-44ac-4618-8ab1-f88df93f0ad2" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:04:12 GMT" + "Mon, 08 Jun 2015 21:13:21 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270471550BDC8\",\r\n \"lastModified\": \"2015-06-08T21:13:21.5263176Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-06-08T21:13:21.5263176Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 4,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" + "Mon, 08 Jun 2015 21:13:21 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "1b088666-ae16-4a8d-9ed0-125ae8732fc7" + "1c5614c4-9faa-4ad8-b671-220b1bf3712a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,10 +478,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:04:12 GMT" + "Mon, 08 Jun 2015 21:13:21 GMT" ], "ETag": [ - "0x8D288A1F0A22D45" + "0x8D270471550BDC8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -493,7 +493,7 @@ "RequestUri": "/pools/testPool?resize&api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3Jlc2l6ZSZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"targetDedicated\": 5,\r\n \"resizeTimeout\": \"PT1H\",\r\n \"tvmDeallocationOption\": \"terminate\"\r\n}", + "RequestBody": "{\r\n \"targetDedicated\": 4,\r\n \"resizeTimeout\": \"PT1H\",\r\n \"tvmDeallocationOption\": \"terminate\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" @@ -505,25 +505,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4a1b289c-5650-4c75-b704-a1bcb8cac887" + "b4a41147-3df9-4c1d-907d-5774d8a5506d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:04:11 GMT" + "Mon, 08 Jun 2015 21:13:20 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" + "Mon, 08 Jun 2015 21:13:21 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e352bd79-8db7-4f07-b931-e1b739009f5f" + "19e53cce-a2c5-4065-9575-550feb92be43" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -532,13 +532,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool" + "https://pooltests.batch.core.windows.net/pools/testPool" ], "Date": [ - "Thu, 09 Jul 2015 21:04:11 GMT" + "Mon, 08 Jun 2015 21:13:19 GMT" ], "ETag": [ - "0x8D288A1F0A22D45" + "0x8D270471550BDC8" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByName.json index 5d81d4ce0407..8f98c63d236b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByName.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14999" ], "x-ms-request-id": [ - "ef98f960-6a79-4a04-904b-4218ae9833b7" + "02afebee-d58f-4f85-9c75-ece707aa4f2a" ], "x-ms-correlation-request-id": [ - "ef98f960-6a79-4a04-904b-4218ae9833b7" + "02afebee-d58f-4f85-9c75-ece707aa4f2a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210731Z:ef98f960-6a79-4a04-904b-4218ae9833b7" + "WESTUS:20150609T174303Z:02afebee-d58f-4f85-9c75-ece707aa4f2a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:30 GMT" + "Tue, 09 Jun 2015 17:43:03 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14998" ], "x-ms-request-id": [ - "b059b632-a8ca-4f01-93da-65ef21afe2f8" + "0a58af8e-9083-4dac-8a20-4b31b8602dee" ], "x-ms-correlation-request-id": [ - "b059b632-a8ca-4f01-93da-65ef21afe2f8" + "0a58af8e-9083-4dac-8a20-4b31b8602dee" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210831Z:b059b632-a8ca-4f01-93da-65ef21afe2f8" + "WESTUS:20150609T174307Z:0a58af8e-9083-4dac-8a20-4b31b8602dee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:08:30 GMT" + "Tue, 09 Jun 2015 17:43:06 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:32 GMT" + "Tue, 09 Jun 2015 17:43:04 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "ad9ce511-2591-4033-a014-6a27ee64e8ea" + "321716eb-6148-45c7-9042-0795c78f7a11" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14999" ], "x-ms-request-id": [ - "939d9fce-a82c-4c2f-93fa-8ac012ec8030" + "6ff9e7c0-1345-44d9-8d2b-15cdf587edb3" ], "x-ms-correlation-request-id": [ - "939d9fce-a82c-4c2f-93fa-8ac012ec8030" + "6ff9e7c0-1345-44d9-8d2b-15cdf587edb3" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210732Z:939d9fce-a82c-4c2f-93fa-8ac012ec8030" + "WESTUS:20150609T174305Z:6ff9e7c0-1345-44d9-8d2b-15cdf587edb3" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:32 GMT" + "Tue, 09 Jun 2015 17:43:04 GMT" ], "ETag": [ - "0x8D288A267D70B45" + "0x8D270F2DF9D334A" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:08:32 GMT" + "Tue, 09 Jun 2015 17:43:07 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "94ba1f8a-f427-42e6-9151-27620b76bd07" + "885eacf6-e694-4eed-ba5e-73796b007b02" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14998" ], "x-ms-request-id": [ - "81301bb2-1827-4d87-9062-a35ee5495b8c" + "718a3ed4-c3cb-4858-ab9a-881a2fe790b6" ], "x-ms-correlation-request-id": [ - "81301bb2-1827-4d87-9062-a35ee5495b8c" + "718a3ed4-c3cb-4858-ab9a-881a2fe790b6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210832Z:81301bb2-1827-4d87-9062-a35ee5495b8c" + "WESTUS:20150609T174307Z:718a3ed4-c3cb-4858-ab9a-881a2fe790b6" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:08:31 GMT" + "Tue, 09 Jun 2015 17:43:06 GMT" ], "ETag": [ - "0x8D288A28B93AB16" + "0x8D270F2E100DF28" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "4507c543-96bb-4d6e-8681-b08df114c310" + "22236174-428c-43bd-844a-c12801d3849e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1199" ], "x-ms-request-id": [ - "90348d74-629f-4665-b446-98432c87bca5" + "947d58ee-c228-42f7-abb1-cc43bc797934" ], "x-ms-correlation-request-id": [ - "90348d74-629f-4665-b446-98432c87bca5" + "947d58ee-c228-42f7-abb1-cc43bc797934" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210732Z:90348d74-629f-4665-b446-98432c87bca5" + "WESTUS:20150609T174305Z:947d58ee-c228-42f7-abb1-cc43bc797934" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:07:32 GMT" + "Tue, 09 Jun 2015 17:43:04 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "4a3921c8-0475-4081-953d-4fdcbd522921" + "764bfa4e-9075-4907-881b-e3c96b71dd47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1198" ], "x-ms-request-id": [ - "5736292c-2c6b-4ac9-b588-ff0313680a41" + "856f7b76-c596-4a07-b54c-cbaa794a2ec9" ], "x-ms-correlation-request-id": [ - "5736292c-2c6b-4ac9-b588-ff0313680a41" + "856f7b76-c596-4a07-b54c-cbaa794a2ec9" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210832Z:5736292c-2c6b-4ac9-b588-ff0313680a41" + "WESTUS:20150609T174307Z:856f7b76-c596-4a07-b54c-cbaa794a2ec9" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:08:31 GMT" + "Tue, 09 Jun 2015 17:43:06 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -346,28 +346,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "25b54834-b082-4283-8f2b-450eec883fe7" + "4160c52a-e14c-4e29-b4f4-f5408c4836f4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:32 GMT" + "Tue, 09 Jun 2015 17:43:05 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270EBCE342AB9\",\r\n \"lastModified\": \"2015-06-09T16:52:29.1812025Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-09T16:53:10.5970733Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Tue, 09 Jun 2015 16:52:29 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "14b6f6b7-3144-4d3c-be73-df94e76c460a" + "b144d033-1ec4-4a8c-ad87-d8d9c5329ebc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -376,10 +376,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:07:31 GMT" + "Tue, 09 Jun 2015 17:43:05 GMT" ], "ETag": [ - "0x8D288A2595DBBA1" + "0x8D270EBCE342AB9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,28 +397,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "da4597f1-eb9d-45c2-a5da-aafc4e4480d6" + "0c80a8ea-1a01-4002-a99e-02f1cc9a21c3" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:37 GMT" + "Tue, 09 Jun 2015 17:43:07 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270EBCE342AB9\",\r\n \"lastModified\": \"2015-06-09T16:52:29.1812025Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-09T16:53:10.5970733Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Tue, 09 Jun 2015 16:52:29 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "24c06ea2-16e7-49d1-91d7-b634b84e72cf" + "6a2d982f-474d-4dbe-b8ee-25c536ec985a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -427,10 +427,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:07:36 GMT" + "Tue, 09 Jun 2015 17:43:07 GMT" ], "ETag": [ - "0x8D288A2595DBBA1" + "0x8D270EBCE342AB9" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,28 +448,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2845bf00-9891-425a-8978-f9a05b674987" + "b54b4f88-9c2b-4239-a5c2-07396a19530c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:07:42 GMT" + "Tue, 09 Jun 2015 17:43:08 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270F2E2037B1F\",\r\n \"lastModified\": \"2015-06-09T17:43:08.8936735Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"stopping\",\r\n \"allocationStateTransitionTime\": \"2015-06-09T17:43:08.8936735Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 8,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" + "Tue, 09 Jun 2015 17:43:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "866248b2-512c-4043-a0e6-4bea8d5d93e4" + "a16e30f2-e135-48af-a826-840b2bad30aa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,571 +478,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:07:43 GMT" + "Tue, 09 Jun 2015 17:43:09 GMT" ], "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "8df85e4c-5fd0-499d-b8b7-b6eb49705593" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:07:48 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "4d300548-583a-4a49-8d22-ffbf72fc2eb9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:07:48 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "64388ba1-f861-4aff-aa09-6c67f69fb312" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:07:53 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "28cda19a-b198-4c5d-8356-9c280683c626" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:07:53 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "4186cc12-0f7e-4bd6-9947-04e91044a4d4" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:07:58 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "18d0b45b-c2da-4e66-a842-e58e333ad929" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:07:59 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "84d86f29-e4ba-4b03-a5fe-59a41da9de09" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:04 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "7391b752-87fd-49fc-b609-4c368ed6b95b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:03 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "8ce43eed-7da7-4093-9a33-99c0f69d09bd" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:09 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "07e3a753-7895-49a5-a111-cd2d6dd7acbc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:09 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "5a1e1fc7-a2dc-47ac-bf6c-e48c6d8153f6" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:14 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "62455126-bde3-48e2-84e3-b1cf71a9d94d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:15 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "587cf50e-ca57-4807-8366-ef6ee297718b" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:20 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "e6c7c2c6-0d1e-43ce-b3d6-1228996385db" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:20 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "b1450099-2d6e-4021-ba94-56d6e53e3e55" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:25 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "22d6f673-005b-42cf-9844-d4eb9026ee0d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:25 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "3a07fd12-ba5e-494e-b021-8ad7036f1e9f" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:30 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:08:27.7825858Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 12,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "d404ac73-9bb3-452c-9ada-a886853019aa" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:31 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "ea9fc11d-e5a9-4bd4-b9b2-9a0f1cc381c3" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:32 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A2595DBBA1\",\r\n \"lastModified\": \"2015-07-09T21:07:07.8055841Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:08:27.7825858Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 12,\r\n \"targetDedicated\": 12,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:07:07 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "b45b0708-6f5b-4690-b5c7-e8cf680bb675" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:31 GMT" - ], - "ETag": [ - "0x8D288A2595DBBA1" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "095a0590-1943-4499-a995-3a3e03629291" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:08:33 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A28C926AEB\",\r\n \"lastModified\": \"2015-07-09T21:08:33.7146603Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"stopping\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:08:33.7146603Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 12,\r\n \"targetDedicated\": 17,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:08:33 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "52b23d74-feec-4e37-8e4b-fff7e8d925f2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:08:33 GMT" - ], - "ETag": [ - "0x8D288A28C926AEB" + "0x8D270F2E2037B1F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1054,37 +493,37 @@ "RequestUri": "/pools/testPool?resize&api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3Jlc2l6ZSZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"targetDedicated\": 17,\r\n \"resizeTimeout\": \"PT5M\"\r\n}", + "RequestBody": "{\r\n \"targetDedicated\": 8,\r\n \"resizeTimeout\": \"PT5M\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "51" + "50" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "15ed7c71-07d3-414b-8d42-9dab3a5d60b2" + "3989500e-46e2-4e5c-834d-b753d16cf9ce" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:08:32 GMT" + "Tue, 09 Jun 2015 17:43:07 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:08:33 GMT" + "Tue, 09 Jun 2015 17:43:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "21713ee0-cb3a-4754-b0f3-e11533422ef1" + "e94daa9d-034d-4ed4-a9eb-6587b6b44eed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1093,13 +532,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool" + "https://pooltests.batch.core.windows.net/pools/testPool" ], "Date": [ - "Thu, 09 Jul 2015 21:08:32 GMT" + "Tue, 09 Jun 2015 17:43:07 GMT" ], "ETag": [ - "0x8D288A28C37E86E" + "0x8D270F2E1B0516D" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1117,25 +556,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1cfc58ed-0f3a-4bf1-a703-600b03bc1e6f" + "0e1c301b-64d2-496a-a280-d9ff918d7eea" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:08:33 GMT" + "Tue, 09 Jun 2015 17:43:08 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:08:33 GMT" + "Tue, 09 Jun 2015 17:43:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "1f43cafa-9245-4494-b68f-1a76237bb72a" + "d69a6623-c928-4d7c-a085-2bd483fca851" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1144,13 +583,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool" + "https://pooltests.batch.core.windows.net/pools/testPool" ], "Date": [ - "Thu, 09 Jul 2015 21:08:33 GMT" + "Tue, 09 Jun 2015 17:43:08 GMT" ], "ETag": [ - "0x8D288A28C926AEB" + "0x8D270F2E2037B1F" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json index e5b57bfac1f3..d7784f681ad0 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14995" ], "x-ms-request-id": [ - "b6b67dd7-a0f8-485a-9e69-34b439a19113" + "d379e12c-7f06-4028-84ae-6b7ec4111619" ], "x-ms-correlation-request-id": [ - "b6b67dd7-a0f8-485a-9e69-34b439a19113" + "d379e12c-7f06-4028-84ae-6b7ec4111619" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210433Z:b6b67dd7-a0f8-485a-9e69-34b439a19113" + "WESTUS:20150609T174757Z:d379e12c-7f06-4028-84ae-6b7ec4111619" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,7 +43,7 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:32 GMT" + "Tue, 09 Jun 2015 17:47:57 GMT" ] }, "StatusCode": 200 @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"name\": \"pooltests\",\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/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "755" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14994" ], "x-ms-request-id": [ - "9c1053bf-89a7-4661-b04b-09ab1cf26ee3" + "476ecba2-0a39-47e7-9b42-5b5f5ac75d1b" ], "x-ms-correlation-request-id": [ - "9c1053bf-89a7-4661-b04b-09ab1cf26ee3" + "476ecba2-0a39-47e7-9b42-5b5f5ac75d1b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210637Z:9c1053bf-89a7-4661-b04b-09ab1cf26ee3" + "WESTUS:20150609T174800Z:476ecba2-0a39-47e7-9b42-5b5f5ac75d1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:06:37 GMT" + "Tue, 09 Jun 2015 17:48:00 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:33 GMT" + "Tue, 09 Jun 2015 17:47:59 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "5fd3f8c9-ccab-4e4b-8f84-aa9f23b52017" + "61b3a348-492f-4f02-9852-fa999e067cff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14998" ], "x-ms-request-id": [ - "274207e6-91ac-4b62-af12-dfd60c51af5a" + "9c98cc2f-0d25-456a-bcf8-944c154248e8" ], "x-ms-correlation-request-id": [ - "274207e6-91ac-4b62-af12-dfd60c51af5a" + "9c98cc2f-0d25-456a-bcf8-944c154248e8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210433Z:274207e6-91ac-4b62-af12-dfd60c51af5a" + "WESTUS:20150609T174759Z:9c98cc2f-0d25-456a-bcf8-944c154248e8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:33 GMT" + "Tue, 09 Jun 2015 17:47:58 GMT" ], "ETag": [ - "0x8D288A1FD788F52" + "0x8D270F38F34569A" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"pooltests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pooltests.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "329" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:06:40 GMT" + "Tue, 09 Jun 2015 17:48:01 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "8acec238-c434-4326-83c0-11f592b3964e" + "3b28ca2c-ffc8-4e9b-bd4c-a19768f1b550" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14997" ], "x-ms-request-id": [ - "fbe8938d-dc18-40d8-998e-499c12268315" + "e44ee490-2f76-476e-a873-0ac38fac6145" ], "x-ms-correlation-request-id": [ - "fbe8938d-dc18-40d8-998e-499c12268315" + "e44ee490-2f76-476e-a873-0ac38fac6145" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210640Z:fbe8938d-dc18-40d8-998e-499c12268315" + "WESTUS:20150609T174801Z:e44ee490-2f76-476e-a873-0ac38fac6145" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:06:40 GMT" + "Tue, 09 Jun 2015 17:48:00 GMT" ], "ETag": [ - "0x8D288A248FAA907" + "0x8D270F390338C05" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "2664d331-402b-44a8-9424-9c4622ce2a9b" + "85a0a5b4-77a7-4084-887b-493787d77b2d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1198" ], "x-ms-request-id": [ - "e05d04d9-6e09-4931-a0c6-fa8abb6942bd" + "8f696b21-9796-465c-8ab2-be5f5b13aca6" ], "x-ms-correlation-request-id": [ - "e05d04d9-6e09-4931-a0c6-fa8abb6942bd" + "8f696b21-9796-465c-8ab2-be5f5b13aca6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210433Z:e05d04d9-6e09-4931-a0c6-fa8abb6942bd" + "WESTUS:20150609T174759Z:8f696b21-9796-465c-8ab2-be5f5b13aca6" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:04:33 GMT" + "Tue, 09 Jun 2015 17:47:59 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pooltests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Bvb2x0ZXN0cy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"pooltests\",\r\n \"primary\": \"mNcXt1ulmNKWLPzMgqN3oyST34BoNP4/F9R/S13QB8Ku8rNXq3BVy7vudmpc7AaEDz6dKJ+YJ8hqhFX2V/h5cg==\",\r\n \"secondary\": \"EixR4L1IopGF7ofcF2dqBOshb8FkwE7tnOJCw2MjRn7CNBvwsWJpBBIELg3mJy3roBTdsuYOM2S4g1dicGsVKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,7 +307,7 @@ "no-cache" ], "request-id": [ - "3c6ce441-82ef-4079-a240-7c3db941fad2" + "3555cf4d-0772-4089-904c-dd03667be4c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -316,1192 +316,19 @@ "1197" ], "x-ms-request-id": [ - "bf764c53-4575-4a44-ac83-36376bdabeb9" + "d877602f-b239-4c12-8983-039dee2184cf" ], "x-ms-correlation-request-id": [ - "bf764c53-4575-4a44-ac83-36376bdabeb9" + "d877602f-b239-4c12-8983-039dee2184cf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T210641Z:bf764c53-4575-4a44-ac83-36376bdabeb9" + "WESTUS:20150609T174801Z:d877602f-b239-4c12-8983-039dee2184cf" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 21:06:41 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "b123d2bc-9509-40ca-acee-49a81d93945a" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:04:33 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "085cb5d2-2e4d-436c-9d79-884ebbea4181" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:04:33 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "e8c2f812-79f6-4d25-b6b1-5182571ed28c" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:04:39 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "fa37685d-6b03-4743-8539-715f4c2d368d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:04:38 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "630aaa5a-c406-4a19-a619-a71ff0e3c2b3" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:04:44 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "922adc2f-6ab1-4810-8a35-10ec2246ff37" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:04:44 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "5d442799-cb86-40d5-bddf-1542ed8dd818" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:04:49 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "4cf0cae8-9a2d-4f93-adca-fbac9a624314" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:04:49 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "9e99adee-bb16-4fb4-9c80-bfdb721c0e45" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:04:55 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "b2e3958f-81ea-4cdf-abb4-13bd8052a970" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:04:55 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "365b5b25-83e9-430b-98b5-96731f62f743" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:00 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "fad15fab-d49b-4850-8ec0-dba29b15079b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:00 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "b8036ef1-cc58-4db9-8dcc-2ca71d7be548" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:05 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "eddfb504-8141-475d-9a45-01b78a4eba5a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:06 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "46bf3115-6b34-44b6-8294-3518ace806c8" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:11 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "408c224b-f681-4e58-bc18-d554fb21120d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:11 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "e73b1b46-7900-4dc1-8f35-6c2565e24085" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:16 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "88478b0c-a9f5-45f4-86f0-bb347d3b9377" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:17 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "2184c7c9-56e8-47ff-9aeb-b821af7468d8" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:21 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "04610db0-e902-48d1-8b0d-0cf811d9452a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:22 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "1c9f8bfb-5d23-4b21-a01a-7fd83aafcc7a" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:27 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "11aba06c-7ef8-4abf-9857-29dd296810f5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:27 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "a30c68b0-b015-4940-9a25-433455b3951b" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:32 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "2016775b-d2e2-4404-9c97-73d7f3a1db46" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:32 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "2f14f4fd-b380-4b6e-8cb4-44b42452df9e" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:37 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "3c763cef-9abf-47f1-8ed6-fb53b42eaf67" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:37 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "4055bea1-2ffe-49b9-83dc-541dc6039a15" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:43 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "4c090918-e76a-4a64-ad82-96a6e2dd7312" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:43 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "edffe793-7c69-4d8b-98de-0565fc7d0ff4" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:48 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "1ebb3ac2-eec1-4f16-abfc-112a1d39777d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:48 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "222caf66-6a16-4d58-bfc6-95c9457d8962" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:53 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "6186eaca-ee32-44a6-8186-927f7c069a8c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:54 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "d30afa07-b1df-4ac3-aed3-be687f340ac5" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:05:59 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "d07b181b-e97a-49c9-8220-b31fffd8b4b0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:05:59 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "8246b5b0-0a56-4092-b960-1a3a8ffd6f63" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:06:04 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "db4d84c6-ac88-4a51-80d9-f72a7dcef631" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:06:04 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "9f161eb4-ead0-47e7-ad5f-eb799428ed20" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:06:09 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "398ecb2e-ecd7-40cd-8a2c-165d1bf5231d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:06:09 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "f83fbad0-9617-4ad1-ac23-1e510aa67ec7" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:06:15 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "0deb77dc-a79b-458d-8b12-dfdba47c3149" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:06:15 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "88cc5116-8089-4721-8d06-7fe0d90e1ee9" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:06:20 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "be3b4746-92fb-431c-a712-e6b5bd79f141" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:06:20 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "c0fecf46-ef38-4bed-b49f-9d56cdd5cdee" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:06:26 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "7cb84d9b-9f3a-4c50-84de-be4adade4d92" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:06:26 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "3675a15e-8c59-4dad-b23a-c73a8e9980fb" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 21:06:31 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "3b4a0cfd-78ff-4815-8202-cd94a8177963" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 21:06:31 GMT" - ], - "ETag": [ - "0x8D288A1F0A22D45" + "Tue, 09 Jun 2015 17:48:00 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1519,28 +346,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "087bc6d3-7023-468f-922f-fe42e9b83811" + "bde8b7e5-3015-43fb-9082-0e8e248ff459" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:06:36 GMT" + "Tue, 09 Jun 2015 17:47:59 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:06:36.484518Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270F2FC4FC109\",\r\n \"lastModified\": \"2015-06-09T17:43:53.0142985Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-09T17:45:33.9589203Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 13,\r\n \"targetDedicated\": 13,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" + "Tue, 09 Jun 2015 17:43:53 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a1e0cd74-1a0d-44b7-8f66-0cc80ad2cc92" + "7a6d3269-71fe-420e-a5f1-1f1a8138b526" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1549,10 +376,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:06:36 GMT" + "Tue, 09 Jun 2015 17:48:00 GMT" ], "ETag": [ - "0x8D288A1F0A22D45" + "0x8D270F2FC4FC109" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1570,28 +397,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "01a3a5e6-01b8-425e-8d02-7af8a2fbaa8a" + "4ec3e197-a392-46c3-9497-fbe9c4fc328c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:06:41 GMT" + "Tue, 09 Jun 2015 17:48:01 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A1F0A22D45\",\r\n \"lastModified\": \"2015-07-09T21:04:12.0933701Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:06:36.484518Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 5,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270F2FC4FC109\",\r\n \"lastModified\": \"2015-06-09T17:43:53.0142985Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-06-09T17:45:33.9589203Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 13,\r\n \"targetDedicated\": 13,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:04:12 GMT" + "Tue, 09 Jun 2015 17:43:53 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "85585b60-d639-45fc-94d1-5d0c236b7429" + "2df6982f-3431-476f-8209-512806f49aa9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1600,10 +427,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:06:41 GMT" + "Tue, 09 Jun 2015 17:48:01 GMT" ], "ETag": [ - "0x8D288A1F0A22D45" + "0x8D270F2FC4FC109" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1621,28 +448,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3e5fe875-7543-4439-ad7e-ae9657832679" + "24fa83b6-efbe-4e11-b2db-b53ea69f714d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:02 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D288A24A4581EF\",\r\n \"lastModified\": \"2015-07-09T21:06:42.4809967Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"stopping\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T21:06:42.4809967Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 5,\r\n \"targetDedicated\": 10,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://pooltests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pooltests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D270F3910C256A\",\r\n \"lastModified\": \"2015-06-09T17:48:02.5517418Z\",\r\n \"creationTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-06-08T20:24:16.7074847Z\",\r\n \"allocationState\": \"stopping\",\r\n \"allocationStateTransitionTime\": \"2015-06-09T17:48:02.5517418Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 13,\r\n \"targetDedicated\": 18,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:02 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "eecca9d8-78ef-4de7-a5c8-d6892cdee766" + "fe9b5903-c39d-40da-a99e-3a57ee1a3fbb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1651,10 +478,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:02 GMT" ], "ETag": [ - "0x8D288A24A4581EF" + "0x8D270F3910C256A" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1666,7 +493,7 @@ "RequestUri": "/pools/testPool?resize&api-version=2014-10-01.1.0", "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3Jlc2l6ZSZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"targetDedicated\": 10,\r\n \"resizeTimeout\": \"PT5M\"\r\n}", + "RequestBody": "{\r\n \"targetDedicated\": 18,\r\n \"resizeTimeout\": \"PT5M\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" @@ -1678,25 +505,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5803df27-9e46-4fea-9e53-e9c64e8c9192" + "1a11e797-a9de-4fa6-9a37-c44c6bad539c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:06:41 GMT" + "Tue, 09 Jun 2015 17:48:01 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:02 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8f840f5b-91b5-4aa6-b75f-9ef7504c9c8b" + "573ea298-1006-41d1-91b6-23b8860ef1b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1705,13 +532,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool" + "https://pooltests.batch.core.windows.net/pools/testPool" ], "Date": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:01 GMT" ], "ETag": [ - "0x8D288A249FD62D1" + "0x8D270F390C6BD91" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1729,25 +556,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "75091c39-0aed-4042-9bbf-d784c8bfaa96" + "bfc7eece-d734-4a3a-b7d9-6bae17c7d7a6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 21:06:41 GMT" + "Tue, 09 Jun 2015 17:48:02 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:02 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f338b048-d45b-4c92-8de9-18399fa87c89" + "520255b4-a5b3-41dc-bccf-9cb0c512f3ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1756,13 +583,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool" + "https://pooltests.batch.core.windows.net/pools/testPool" ], "Date": [ - "Thu, 09 Jul 2015 21:06:42 GMT" + "Tue, 09 Jun 2015 17:48:01 GMT" ], "ETag": [ - "0x8D288A24A4581EF" + "0x8D270F3910C256A" ], "Server": [ "Microsoft-HTTPAPI/2.0" diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json index 22ec9544d357..7df952d75665 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-new-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbmV3LXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" - ], - "x-ms-request-id": [ - "928c2a53-c06b-41ec-ae6e-76f22959fcf3" - ], - "x-ms-correlation-request-id": [ - "928c2a53-c06b-41ec-ae6e-76f22959fcf3" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T203148Z:928c2a53-c06b-41ec-ae6e-76f22959fcf3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:31:47 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task\",\r\n \"name\": \"test-new-task\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "179" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" ], "x-ms-request-id": [ - "9c1dd511-90ff-4bc9-b21a-d7a964bd4990" + "b476a42e-de02-4a6c-8198-0c5ebab8b2a4" ], "x-ms-correlation-request-id": [ - "9c1dd511-90ff-4bc9-b21a-d7a964bd4990" + "b476a42e-de02-4a6c-8198-0c5ebab8b2a4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203150Z:9c1dd511-90ff-4bc9-b21a-d7a964bd4990" + "WESTUS:20150305T193541Z:b476a42e-de02-4a6c-8198-0c5ebab8b2a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,88 +49,88 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:35:40 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:48 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], "request-id": [ - "c3288e9b-ec9c-4497-80ef-0630751794bf" + "8e30a0a5-0450-4167-84c3-3a8fff34fdcb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" - ], "x-ms-request-id": [ - "436029e1-7c82-4f36-a595-baeec8d8d2a8" + "9bb7d09e-0111-4482-81d0-b5ad346f3080" ], "x-ms-correlation-request-id": [ - "436029e1-7c82-4f36-a595-baeec8d8d2a8" + "9bb7d09e-0111-4482-81d0-b5ad346f3080" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203148Z:436029e1-7c82-4f36-a595-baeec8d8d2a8" + "WESTUS:20150305T193545Z:9bb7d09e-0111-4482-81d0-b5ad346f3080" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:48 GMT" + "Thu, 05 Mar 2015 19:35:44 GMT" ], - "ETag": [ - "0x8D2889D6A474626" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask/operationResults/8e30a0a5-0450-4167-84c3-3a8fff34fdcb?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask/operationResults/8e30a0a5-0450-4167-84c3-3a8fff34fdcb?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrL29wZXJhdGlvblJlc3VsdHMvOGUzMGEwYTUtMDQ1MC00MTY3LTg0YzMtM2E4ZmZmMzRmZGNiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testnewtask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testnewtask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ "323" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:50 GMT" + "Thu, 05 Mar 2015 19:35:45 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d15071f6-4e3f-4631-a486-1889a30b368c" + "31ee8c53-d4b8-49c0-b581-8686df76d6e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "31993" ], "x-ms-request-id": [ - "ecce9b0e-1f01-42d3-ac39-b73f68e29979" + "55d5417e-57ef-45d9-a31d-8056ef0770bf" ], "x-ms-correlation-request-id": [ - "ecce9b0e-1f01-42d3-ac39-b73f68e29979" + "55d5417e-57ef-45d9-a31d-8056ef0770bf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203150Z:ecce9b0e-1f01-42d3-ac39-b73f68e29979" + "WESTUS:20150305T193545Z:55d5417e-57ef-45d9-a31d-8056ef0770bf" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:50 GMT" + "Thu, 05 Mar 2015 19:35:45 GMT" ], "ETag": [ - "0x8D2889D6B2AA8AC" + "0x8D22592B560E234" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testnewtask\",\r\n \"primary\": \"x5PyAEsM6rRDLuWLyCbBFXeXeUj/iF+oWvFx20yKMRCiuzjEiXE1isy3bj/UGlmNQFDC3s2vFcZcX62UYOI9kA==\",\r\n \"secondary\": \"Ixj51cMsiL365a2P0JNF08xcz6IfS7Trz1gbYZdJaIzVu9lMRN2R5MpKhWX77xde9P7V6CnG4qo3/f3lim7OOQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "e18882d7-0b1f-4cfc-8f6b-a0f98efb5005" + "3a2a838b-ba28-41c0-833b-9aa19e8cc478" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1190" ], "x-ms-request-id": [ - "36cc1814-ba4f-48ec-b24a-44980425bbcb" + "9ea17177-216e-49f7-aea8-f248d0362640" ], "x-ms-correlation-request-id": [ - "36cc1814-ba4f-48ec-b24a-44980425bbcb" + "9ea17177-216e-49f7-aea8-f248d0362640" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203148Z:36cc1814-ba4f-48ec-b24a-44980425bbcb" + "WESTUS:20150305T193545Z:9ea17177-216e-49f7-aea8-f248d0362640" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:48 GMT" + "Thu, 05 Mar 2015 19:35:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testnewtask\",\r\n \"primary\": \"x5PyAEsM6rRDLuWLyCbBFXeXeUj/iF+oWvFx20yKMRCiuzjEiXE1isy3bj/UGlmNQFDC3s2vFcZcX62UYOI9kA==\",\r\n \"secondary\": \"Ixj51cMsiL365a2P0JNF08xcz6IfS7Trz1gbYZdJaIzVu9lMRN2R5MpKhWX77xde9P7V6CnG4qo3/f3lim7OOQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "233" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "42489686-4053-43c1-9e7d-a7f73fa1c472" + "6a88fc8f-141b-494c-98f1-d9ec217bad27" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1189" ], "x-ms-request-id": [ - "57a76a50-8b3f-40f1-b492-fcdab8336063" + "4aaa81ff-26dd-4120-a4e6-0665d0e1500c" ], "x-ms-correlation-request-id": [ - "57a76a50-8b3f-40f1-b492-fcdab8336063" + "4aaa81ff-26dd-4120-a4e6-0665d0e1500c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203150Z:57a76a50-8b3f-40f1-b492-fcdab8336063" + "WESTUS:20150305T193636Z:4aaa81ff-26dd-4120-a4e6-0665d0e1500c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:50 GMT" + "Thu, 05 Mar 2015 19:36:35 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"createTaskWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "168" + "164" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "acac25b8-b46c-4771-a4fc-804964c6f6ad" + "ccd092c6-8f22-4536-83d9-dba6c254749c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:48 GMT" + "Thu, 05 Mar 2015 19:36:33 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:36:32 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a618cf00-1891-46e7-9f88-585049c16385" + "701f3667-897d-4333-b367-c9d03d41e4d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/createTaskWI" + "https://testnewtask.batch.core.windows.net/workitems/testName" ], "Date": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:36:33 GMT" ], "ETag": [ - "0x8D2889D6AD5D834" + "0x8D22592D1EB6ED4" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/createTaskWI" + "https://testnewtask.batch.core.windows.net/workitems/testName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/createTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8dad8145-a27e-4cc6-95bb-46085358c754" + "6181103c-c57c-43da-a365-4e85c5e15728" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:36:33 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"createTaskWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/createTaskWI\",\r\n \"eTag\": \"0x8D2889D6AD5D834\",\r\n \"lastModified\": \"2015-07-09T20:31:49.6303668Z\",\r\n \"creationTime\": \"2015-07-09T20:31:49.6303668Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:49.6303668Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewtask.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testnewtask.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D22592D1EB6ED4\",\r\n \"lastModified\": \"2015-03-05T19:36:32.9981652Z\",\r\n \"creationTime\": \"2015-03-05T19:36:32.9981652Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T19:36:32.9981652Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:36:32 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f1eff898-14bf-4ff6-90b7-8ddca5e83687" + "3baff196-b39a-4709-9556-0edfc4b62b9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,121 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:36:33 GMT" + ], + "ETag": [ + "0x8D22592D1EB6ED4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask\",\r\n \"name\": \"testnewtask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "747" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "6e12a3f1-251d-40ef-bd00-4b1c03fea6a3" + ], + "x-ms-correlation-request-id": [ + "6e12a3f1-251d-40ef-bd00-4b1c03fea6a3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193635Z:6e12a3f1-251d-40ef-bd00-4b1c03fea6a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testnewtask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testnewtask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 19:36:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "6288b81f-029b-473f-94d6-301016b96580" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "a4c48f3e-a001-435f-8233-77d0b65d114a" + ], + "x-ms-correlation-request-id": [ + "a4c48f3e-a001-435f-8233-77d0b65d114a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193635Z:a4c48f3e-a001-435f-8233-77d0b65d114a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:35 GMT" ], "ETag": [ - "0x8D2889D6AD5D834" + "0x8D22592D345B9CB" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,8 +517,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/createTaskWI/jobs/job-0000000001?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testName/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -457,28 +526,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6c260154-dbea-4c51-9f16-5e4be62c7ce7" + "103f16c5-eb7c-4376-abc3-5db328934576" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:50 GMT" + "Thu, 05 Mar 2015 19:36:36 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889D6AE0324A\",\r\n \"lastModified\": \"2015-07-09T20:31:49.698209Z\",\r\n \"creationTime\": \"2015-07-09T20:31:49.6773619Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:49.698209Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:49.698209Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewtask.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D22592D1F54C53\",\r\n \"lastModified\": \"2015-03-05T19:36:33.0628179Z\",\r\n \"creationTime\": \"2015-03-05T19:36:33.0361775Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T19:36:33.0628179Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-05T19:36:33.0628179Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:49 GMT" + "Thu, 05 Mar 2015 19:36:33 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "496659fa-da00-40a1-a4f7-9e62bb17d27b" + "6c5e5051-fc3a-4984-b542-7cfe71f88556" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +556,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:50 GMT" + "Thu, 05 Mar 2015 19:36:35 GMT" ], "ETag": [ - "0x8D2889D6AE0324A" + "0x8D22592D1F54C53" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -499,8 +568,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/createTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"simple\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { @@ -514,25 +583,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d3a93c66-382f-4bf8-98a7-5233e0ec1ca5" + "12e4a213-d338-4428-bc19-2dbb73123847" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:50 GMT" + "Thu, 05 Mar 2015 19:36:36 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:51 GMT" + "Thu, 05 Mar 2015 19:36:36 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a26b708d-79fd-4ed7-b0ac-5a1904d72817" + "dc297bed-72f1-431c-a560-cd5fe6a1395f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -541,16 +610,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001/tasks/simple" + "https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/simple" ], "Date": [ - "Thu, 09 Jul 2015 20:31:51 GMT" + "Thu, 05 Mar 2015 19:36:36 GMT" ], "ETag": [ - "0x8D2889D6BEB5492" + "0x8D22592D42026BF" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001/tasks/simple" + "https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/simple" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,8 +628,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/createTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"complex\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct.blob.core.windows.net/\",\r\n \"filePath\": \"file1\"\r\n }\r\n ],\r\n \"environmentSettings\": [\r\n {\r\n \"name\": \"env2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"env1\",\r\n \"value\": \"value1\"\r\n }\r\n ],\r\n \"affinityInfo\": {\r\n \"affinityId\": \"affinityId\"\r\n },\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P1D\",\r\n \"retentionTime\": \"P2D\",\r\n \"maxTaskRetryCount\": 5\r\n }\r\n}", "RequestHeaders": { @@ -574,25 +643,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ffb7f498-4dd2-4b97-84a4-04350222da47" + "c068bb7e-9199-466a-8dc4-df3678ac62ba" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:51 GMT" + "Thu, 05 Mar 2015 19:36:37 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:38 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d0f3a486-a62d-483c-97d9-63efcf2cca75" + "3f3e0838-8e72-451c-a6de-03adbfc9b79d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -601,16 +670,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001/tasks/complex" + "https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/complex" ], "Date": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:38 GMT" ], "ETag": [ - "0x8D2889D6C4EEDB0" + "0x8D22592D4EE5308" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001/tasks/complex" + "https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/complex" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -619,8 +688,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/createTaskWI/jobs/job-0000000001/tasks/simple?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy9zaW1wbGU/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks/simple?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzL3NpbXBsZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -628,28 +697,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "62a50eef-8734-4e55-b4dc-75a70896773a" + "e5be33b1-2c32-4499-9687-eefe45e3316a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:51 GMT" + "Thu, 05 Mar 2015 19:36:37 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"simple\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001/tasks/simple\",\r\n \"eTag\": \"0x8D2889D6BEB5492\",\r\n \"creationTime\": \"2015-07-09T20:31:51.4488978Z\",\r\n \"lastModified\": \"2015-07-09T20:31:51.4488978Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:51.4488978Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewtask.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"simple\",\r\n \"url\": \"https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/simple\",\r\n \"eTag\": \"0x8D22592D42026BF\",\r\n \"creationTime\": \"2015-03-05T19:36:36.6991039Z\",\r\n \"lastModified\": \"2015-03-05T19:36:36.6991039Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T19:36:36.6991039Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 20:31:51 GMT" + "Thu, 05 Mar 2015 19:36:36 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f17320d7-0531-44a2-877a-c51f2185c09a" + "ca1758bd-137f-4b51-9129-7414d46490ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -658,10 +727,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:51 GMT" + "Thu, 05 Mar 2015 19:36:37 GMT" ], "ETag": [ - "0x8D2889D6BEB5492" + "0x8D22592D42026BF" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -670,8 +739,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/createTaskWI/jobs/job-0000000001/tasks/complex?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy9jb21wbGV4P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks/complex?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzL2NvbXBsZXg/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -679,28 +748,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2f0d2a8e-d586-4a13-90c9-fb02a066ab26" + "bc3c6e04-6da3-47bb-880d-381fbf14b113" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"complex\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/createTaskWI/jobs/job-0000000001/tasks/complex\",\r\n \"eTag\": \"0x8D2889D6C4EEDB0\",\r\n \"creationTime\": \"2015-07-09T20:31:52.101624Z\",\r\n \"lastModified\": \"2015-07-09T20:31:52.101624Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:52.101624Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct.blob.core.windows.net/\",\r\n \"filePath\": \"file1\"\r\n }\r\n ],\r\n \"environmentSettings\": [\r\n {\r\n \"name\": \"env2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"env1\",\r\n \"value\": \"value1\"\r\n }\r\n ],\r\n \"affinityInfo\": {\r\n \"affinityId\": \"affinityId\"\r\n },\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P1D\",\r\n \"retentionTime\": \"P2D\",\r\n \"maxTaskRetryCount\": 5\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewtask.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"complex\",\r\n \"url\": \"https://testnewtask.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/complex\",\r\n \"eTag\": \"0x8D22592D4EE5308\",\r\n \"creationTime\": \"2015-03-05T19:36:38.0502792Z\",\r\n \"lastModified\": \"2015-03-05T19:36:38.0502792Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T19:36:38.0502792Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct.blob.core.windows.net/\",\r\n \"filePath\": \"file1\"\r\n }\r\n ],\r\n \"environmentSettings\": [\r\n {\r\n \"name\": \"env2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"env1\",\r\n \"value\": \"value1\"\r\n }\r\n ],\r\n \"affinityInfo\": {\r\n \"affinityId\": \"affinityId\"\r\n },\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P1D\",\r\n \"retentionTime\": \"P2D\",\r\n \"maxTaskRetryCount\": 5\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": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:38 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "636713f6-481b-4d57-8f0f-529ccb2e8cc5" + "58456daa-b258-4a00-b710-8a222fcf3f52" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -709,10 +778,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:37 GMT" ], "ETag": [ - "0x8D2889D6C4EEDB0" + "0x8D22592D4EE5308" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -721,8 +790,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/createTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9jcmVhdGVUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -730,13 +799,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a644285a-6927-4a9c-903d-00d211961452" + "eecd86e1-6ace-494a-8552-ab0a43426d49" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:38 GMT" ] }, "ResponseBody": "", @@ -745,7 +814,7 @@ "chunked" ], "request-id": [ - "7df405e2-f695-442b-946b-bae50b50b05a" + "67572541-11aa-47b7-853f-8910490a8a20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -754,13 +823,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:52 GMT" + "Thu, 05 Mar 2015 19:36:38 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "646da0ab-bfc1-4b9e-ba6e-b87863c62c10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "70c307ee-a0dd-46a8-bb2d-4c94539bf759" + ], + "x-ms-correlation-request-id": [ + "70c307ee-a0dd-46a8-bb2d-4c94539bf759" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193640Z:70c307ee-a0dd-46a8-bb2d-4c94539bf759" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask/operationResults/646da0ab-bfc1-4b9e-ba6e-b87863c62c10?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-task/providers/Microsoft.Batch/batchAccounts/testnewtask/operationResults/646da0ab-bfc1-4b9e-ba6e-b87863c62c10?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RuZXd0YXNrL29wZXJhdGlvblJlc3VsdHMvNjQ2ZGEwYWItYmZjMS00YjllLWJhNmUtYjg3ODYzYzYyYzEwP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 19:36:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "29c30395-a07a-48b6-9f9c-64517fd082d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "dd0b27f9-d33e-425f-a6ba-3ac125782ea2" + ], + "x-ms-correlation-request-id": [ + "dd0b27f9-d33e-425f-a6ba-3ac125782ea2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193640Z:dd0b27f9-d33e-425f-a6ba-3ac125782ea2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:39 GMT" + ], + "ETag": [ + "0x8D22592D616F5AF" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-new-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbmV3LXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "bfb613bf-20b5-452f-b553-81598af9ff07" + ], + "x-ms-correlation-request-id": [ + "bfb613bf-20b5-452f-b553-81598af9ff07" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193641Z:bfb613bf-20b5-452f-b553-81598af9ff07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "810a0925-d167-49f2-910a-94f87e8c0436" + ], + "x-ms-correlation-request-id": [ + "810a0925-d167-49f2-910a-94f87e8c0436" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193641Z:810a0925-d167-49f2-910a-94f87e8c0436" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "971fa88f-03e6-4286-ae5f-237ff4e46a38" + ], + "x-ms-correlation-request-id": [ + "971fa88f-03e6-4286-ae5f-237ff4e46a38" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193656Z:971fa88f-03e6-4286-ae5f-237ff4e46a38" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:36:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "0c3d111b-8fad-47ab-a791-5ea95cd452b3" + ], + "x-ms-correlation-request-id": [ + "0c3d111b-8fad-47ab-a791-5ea95cd452b3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193712Z:0c3d111b-8fad-47ab-a791-5ea95cd452b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:37:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "ace755fe-894c-432d-a387-18da9fc7d558" + ], + "x-ms-correlation-request-id": [ + "ace755fe-894c-432d-a387-18da9fc7d558" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T193727Z:ace755fe-894c-432d-a387-18da9fc7d558" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 19:37:26 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json index a103a5eea012..94262bf8c830 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" - ], - "x-ms-request-id": [ - "cc71b729-4f07-4b80-a736-dc7ff5193394" - ], - "x-ms-correlation-request-id": [ - "cc71b729-4f07-4b80-a736-dc7ff5193394" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T202921Z:cc71b729-4f07-4b80-a736-dc7ff5193394" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:29:20 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task\",\r\n \"name\": \"test-delete-task\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "185" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-request-id": [ - "c08eef02-70fd-4145-81e5-a9790296a9ab" + "38c1eaa6-97dc-4282-b456-61f5e513f61f" ], "x-ms-correlation-request-id": [ - "c08eef02-70fd-4145-81e5-a9790296a9ab" + "38c1eaa6-97dc-4282-b456-61f5e513f61f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202923Z:c08eef02-70fd-4145-81e5-a9790296a9ab" + "WESTUS:20150305T201033Z:38c1eaa6-97dc-4282-b456-61f5e513f61f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:10:32 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:22 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], "request-id": [ - "83d95748-1cb1-48ae-8806-e932fd5d115e" + "2fcaddda-5e9e-4eac-af98-4a4bcfe6ecb1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" - ], "x-ms-request-id": [ - "e4ac38c5-b946-4f2a-b4d9-f5ec4afc5da3" + "1a4af8e8-de8a-49ec-9a33-fcd4849f736f" ], "x-ms-correlation-request-id": [ - "e4ac38c5-b946-4f2a-b4d9-f5ec4afc5da3" + "1a4af8e8-de8a-49ec-9a33-fcd4849f736f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202922Z:e4ac38c5-b946-4f2a-b4d9-f5ec4afc5da3" + "WESTUS:20150305T201037Z:1a4af8e8-de8a-49ec-9a33-fcd4849f736f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:21 GMT" + "Thu, 05 Mar 2015 20:10:37 GMT" ], - "ETag": [ - "0x8D2889D12F7E783" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask/operationResults/2fcaddda-5e9e-4eac-af98-4a4bcfe6ecb1?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask/operationResults/2fcaddda-5e9e-4eac-af98-4a4bcfe6ecb1?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrL29wZXJhdGlvblJlc3VsdHMvMmZjYWRkZGEtNWU5ZS00ZWFjLWFmOTgtNGE0YmNmZTZlY2IxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletetask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletetask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "335" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:10:37 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "bc0e5fee-229a-4f9d-b409-bbdf9c8551c1" + "3f2c6597-10b1-4c7c-a4df-067b92d42231" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "31992" ], "x-ms-request-id": [ - "b71bf552-c516-4ff5-8f2b-459596da8006" + "b5d0eb1a-4530-4458-a303-12b476fc33ad" ], "x-ms-correlation-request-id": [ - "b71bf552-c516-4ff5-8f2b-459596da8006" + "b5d0eb1a-4530-4458-a303-12b476fc33ad" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202924Z:b71bf552-c516-4ff5-8f2b-459596da8006" + "WESTUS:20150305T201038Z:b5d0eb1a-4530-4458-a303-12b476fc33ad" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:10:37 GMT" ], "ETag": [ - "0x8D2889D1400A2CC" + "0x8D2259794B0B743" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletetask\",\r\n \"primary\": \"LL/1SvD0K0eV9+P8dwF08dFw/8/MVTxotYV9zYOVBou/KIqFo4KxB+Lp6W5LUhk3CoyYEAbzh0vaxWFvRCK31w==\",\r\n \"secondary\": \"i+xzdo5ezrkuSr80NXiOl90Equci+QjdmJxWzY4Pyyvkz5xWDOY9CLZekyTdj9UPJR0szZvJTRO3Xm2D2zkYlQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "236" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "224a0255-3b28-45f3-8bb0-f0eae00b8202" + "ea7ff101-8643-4188-af33-898024946d5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1193" ], "x-ms-request-id": [ - "3e5a9848-935d-4115-a6c4-85d0f69b29c9" + "3131108c-e333-41a4-aae3-803cc2cc6262" ], "x-ms-correlation-request-id": [ - "3e5a9848-935d-4115-a6c4-85d0f69b29c9" + "3131108c-e333-41a4-aae3-803cc2cc6262" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202922Z:3e5a9848-935d-4115-a6c4-85d0f69b29c9" + "WESTUS:20150305T201038Z:3131108c-e333-41a4-aae3-803cc2cc6262" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:21 GMT" + "Thu, 05 Mar 2015 20:10:37 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletetask\",\r\n \"primary\": \"LL/1SvD0K0eV9+P8dwF08dFw/8/MVTxotYV9zYOVBou/KIqFo4KxB+Lp6W5LUhk3CoyYEAbzh0vaxWFvRCK31w==\",\r\n \"secondary\": \"i+xzdo5ezrkuSr80NXiOl90Equci+QjdmJxWzY4Pyyvkz5xWDOY9CLZekyTdj9UPJR0szZvJTRO3Xm2D2zkYlQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "236" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "93677cd7-616b-40e4-b9ea-8df189d44cdb" + "d3b0ed15-c5a9-4dd4-bbcf-7dd2082d1f01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1192" ], "x-ms-request-id": [ - "0994331c-7784-474b-903d-609713d0f9e0" + "f8bdfeae-8422-4223-906c-662006bed3fc" ], "x-ms-correlation-request-id": [ - "0994331c-7784-474b-903d-609713d0f9e0" + "f8bdfeae-8422-4223-906c-662006bed3fc" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202924Z:0994331c-7784-474b-903d-609713d0f9e0" + "WESTUS:20150305T201212Z:f8bdfeae-8422-4223-906c-662006bed3fc" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,7 +298,7 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"deleteTaskWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b544342e-2c4e-46fc-8a2b-53baa1184358" + "578998d1-3df7-4f8f-8baf-c3e1f4274d15" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:22 GMT" + "Thu, 05 Mar 2015 20:12:08 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "759779dc-a34b-4306-868e-713c740f186b" + "d7143b65-b2c4-4dfe-a7d5-1bcbf8fc8cba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskWI" + "https://testdeletetask.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 20:29:22 GMT" + "Thu, 05 Mar 2015 20:12:08 GMT" ], "ETag": [ - "0x8D2889D137C614C" + "0x8D22597CAECBD96" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskWI" + "https://testdeletetask.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/deleteTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "16bb60a6-4bf1-476e-b07c-99572dae4d4c" + "cc57c6e4-eff7-4ce5-8cdb-aa77c10c446b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:22 GMT" + "Thu, 05 Mar 2015 20:12:09 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"deleteTaskWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskWI\",\r\n \"eTag\": \"0x8D2889D137C614C\",\r\n \"lastModified\": \"2015-07-09T20:29:23.0822732Z\",\r\n \"creationTime\": \"2015-07-09T20:29:23.0822732Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:29:23.0822732Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetask.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletetask.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D22597CAECBD96\",\r\n \"lastModified\": \"2015-03-05T20:12:08.7463318Z\",\r\n \"creationTime\": \"2015-03-05T20:12:08.7463318Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:12:08.7463318Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletetask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:08 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b187b296-78b4-4f32-a0c7-7c01bc310381" + "7bf3f6e0-d3ff-4dc1-817d-20169e498699" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:09 GMT" ], "ETag": [ - "0x8D2889D137C614C" + "0x8D22597CAECBD96" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,40 +406,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "cf83fd57-3af7-44f9-a0cb-048a8875a5fd" + "915dae2c-13c4-4720-9ddc-f61e87408f46" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:09 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:09 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "af5ccbc5-1e1b-486a-9e68-e7238f39e964" + "38d62cc5-e03c-4cac-b3dc-c5b73d2c52eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskWI/jobs/job-0000000001/tasks/testTask" + "https://testdeletetask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:09 GMT" ], "ETag": [ - "0x8D2889D13ADB16A" + "0x8D22597CB9999BA" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskWI/jobs/job-0000000001/tasks/testTask" + "https://testdeletetask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,8 +466,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/deleteTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask\",\r\n \"name\": \"testdeletetask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "756" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "be8961d3-d9ad-422d-853f-b311b0c78af6" + ], + "x-ms-correlation-request-id": [ + "be8961d3-d9ad-422d-853f-b311b0c78af6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201211Z:be8961d3-d9ad-422d-853f-b311b0c78af6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testdeletetask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletetask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:12:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "cda94ae7-6373-4e7d-84f3-3bad153b2585" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "f470f534-fcd9-4eba-b28e-c681bcd8dcaf" + ], + "x-ms-correlation-request-id": [ + "f470f534-fcd9-4eba-b28e-c681bcd8dcaf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201212Z:f470f534-fcd9-4eba-b28e-c681bcd8dcaf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:11 GMT" + ], + "ETag": [ + "0x8D22597CCFB05A6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -517,16 +586,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3b48e8ee-9e5c-40b6-aad3-079a8ef2a6d4" + "8a84d584-b0a6-4374-a0aa-b650e3dd0beb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:24 GMT" + "Thu, 05 Mar 2015 20:12:12 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889D13ADB16A\",\r\n \"creationTime\": \"2015-07-09T20:29:23.4054506Z\",\r\n \"lastModified\": \"2015-07-09T20:29:23.4054506Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:29:23.4054506Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetask.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testdeletetask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D22597CB9999BA\",\r\n \"creationTime\": \"2015-03-05T20:12:09.8791866Z\",\r\n \"lastModified\": \"2015-03-05T20:12:09.8791866Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:12:09.8791866Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -535,7 +604,7 @@ "chunked" ], "request-id": [ - "212843a1-dd78-4a2f-a7ec-b1b8e26a670f" + "c5530802-2937-41ec-a1d7-6faea7b2c139" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -544,7 +613,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:23 GMT" + "Thu, 05 Mar 2015 20:12:12 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -553,8 +622,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -562,16 +631,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4b044559-8e4e-4873-aac7-0a62d174ae5c" + "9db4e2f4-76d7-478a-832e-5285c3d31312" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:24 GMT" + "Thu, 05 Mar 2015 20:12:13 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetask.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -580,7 +649,7 @@ "chunked" ], "request-id": [ - "a3160a71-d829-40d3-b19d-3f184d30acba" + "ecaf798e-4da7-4c7a-b9f4-2eab9d96fa47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -589,7 +658,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:24 GMT" + "Thu, 05 Mar 2015 20:12:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -598,8 +667,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskWI/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy90ZXN0VGFzaz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy90ZXN0VGFzaz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -607,13 +676,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ebcb8cb0-5955-4595-896b-25032002269f" + "a3504071-f2c8-4b70-a956-da048629b247" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:24 GMT" + "Thu, 05 Mar 2015 20:12:13 GMT" ] }, "ResponseBody": "", @@ -622,7 +691,7 @@ "chunked" ], "request-id": [ - "38570451-cf9e-4b72-8027-e3919bb5f19a" + "49026233-ce85-43e5-8151-8f342ddc43b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -631,7 +700,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:24 GMT" + "Thu, 05 Mar 2015 20:12:11 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -640,8 +709,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -649,13 +718,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "827fc2fa-5c1c-4658-be76-f28f0a3df022" + "4791506b-eaf9-4731-a125-70284e225ec8" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:25 GMT" + "Thu, 05 Mar 2015 20:12:13 GMT" ] }, "ResponseBody": "", @@ -664,7 +733,7 @@ "chunked" ], "request-id": [ - "52360da7-2f7e-445c-821f-1f0aae0ae0a6" + "dade5354-351f-4a95-9879-edb9cbbb64f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -673,13 +742,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:25 GMT" + "Thu, 05 Mar 2015 20:12:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "bc662d7f-ad4c-4116-acb8-a95d79d3a42b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "eebd0ba2-c436-471d-be97-11c4d9938869" + ], + "x-ms-correlation-request-id": [ + "eebd0ba2-c436-471d-be97-11c4d9938869" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201216Z:eebd0ba2-c436-471d-be97-11c4d9938869" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask/operationResults/bc662d7f-ad4c-4116-acb8-a95d79d3a42b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task/providers/Microsoft.Batch/batchAccounts/testdeletetask/operationResults/bc662d7f-ad4c-4116-acb8-a95d79d3a42b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV0YXNrL29wZXJhdGlvblJlc3VsdHMvYmM2NjJkN2YtYWQ0Yy00MTE2LWFjYjgtYTk1ZDc5ZDNhNDJiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:12:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "e42130f1-8284-442e-9ee3-cd4ba845a295" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "0211f13b-a922-4721-bc8e-c06a4cad733c" + ], + "x-ms-correlation-request-id": [ + "0211f13b-a922-4721-bc8e-c06a4cad733c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201216Z:0211f13b-a922-4721-bc8e-c06a4cad733c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:15 GMT" + ], + "ETag": [ + "0x8D22597CF98BB6C" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "c3f799ec-7ee2-40b5-b2a7-c4c0e0ffcd7b" + ], + "x-ms-correlation-request-id": [ + "c3f799ec-7ee2-40b5-b2a7-c4c0e0ffcd7b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201218Z:c3f799ec-7ee2-40b5-b2a7-c4c0e0ffcd7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3kxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "591084bc-16ab-473f-b960-6bf315a3d28f" + ], + "x-ms-correlation-request-id": [ + "591084bc-16ab-473f-b960-6bf315a3d28f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201218Z:591084bc-16ab-473f-b960-6bf315a3d28f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3kxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "eef64076-3c35-4ac1-8ea2-d79f33952dbc" + ], + "x-ms-correlation-request-id": [ + "eef64076-3c35-4ac1-8ea2-d79f33952dbc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201233Z:eef64076-3c35-4ac1-8ea2-d79f33952dbc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3kxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "1979df3d-d693-49ef-80cd-f915abc51bc1" + ], + "x-ms-correlation-request-id": [ + "1979df3d-d693-49ef-80cd-f915abc51bc1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201248Z:1979df3d-d693-49ef-80cd-f915abc51bc1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:12:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3kxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "30fe7bcb-5d9b-418c-9156-0e66055bd9a7" + ], + "x-ms-correlation-request-id": [ + "30fe7bcb-5d9b-418c-9156-0e66055bd9a7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201304Z:30fe7bcb-5d9b-418c-9156-0e66055bd9a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:13:03 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json index 40fadc531de8..6b6a8c43c779 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-task-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" - ], - "x-ms-request-id": [ - "db88f4f9-2537-4e13-9e0d-529060312877" - ], - "x-ms-correlation-request-id": [ - "db88f4f9-2537-4e13-9e0d-529060312877" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T202950Z:db88f4f9-2537-4e13-9e0d-529060312877" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:29:49 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe\",\r\n \"name\": \"test-delete-task-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "195" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" ], "x-ms-request-id": [ - "610c42dc-5e7d-48d1-b411-4059eeedfa25" + "a425e459-0a4a-4362-812d-1e998e86b81e" ], "x-ms-correlation-request-id": [ - "610c42dc-5e7d-48d1-b411-4059eeedfa25" + "a425e459-0a4a-4362-812d-1e998e86b81e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202952Z:610c42dc-5e7d-48d1-b411-4059eeedfa25" + "WESTUS:20150305T201557Z:a425e459-0a4a-4362-812d-1e998e86b81e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:51 GMT" + "Thu, 05 Mar 2015 20:15:56 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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:51 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], "request-id": [ - "abe58fe9-7829-451e-9912-f07d8b8ff39a" + "667302fd-0872-4d51-853a-277d8cdc8ffd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" - ], "x-ms-request-id": [ - "d1be9893-e8e1-48d9-8183-fe871a63e5d0" + "91d97e6b-c617-40d4-9832-5156eeb5eb2a" ], "x-ms-correlation-request-id": [ - "d1be9893-e8e1-48d9-8183-fe871a63e5d0" + "91d97e6b-c617-40d4-9832-5156eeb5eb2a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202951Z:d1be9893-e8e1-48d9-8183-fe871a63e5d0" + "WESTUS:20150305T201601Z:91d97e6b-c617-40d4-9832-5156eeb5eb2a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:50 GMT" + "Thu, 05 Mar 2015 20:16:00 GMT" ], - "ETag": [ - "0x8D2889D24634DF1" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/operationResults/667302fd-0872-4d51-853a-277d8cdc8ffd?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/operationResults/667302fd-0872-4d51-853a-277d8cdc8ffd?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlL29wZXJhdGlvblJlc3VsdHMvNjY3MzAyZmQtMDg3Mi00ZDUxLTg1M2EtMjc3ZDhjZGM4ZmZkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletetaskpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletetaskpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "352" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:53 GMT" + "Thu, 05 Mar 2015 20:16:01 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "e1370354-f811-4565-a6a3-9c1e80799808" + "24aa055f-9b47-4c7c-95bf-305cbb77b054" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "31977" ], "x-ms-request-id": [ - "de7915dc-91a6-43e3-8f60-1ce1091170c8" + "ad4df563-cd60-43ac-97f9-ec0206f6ad13" ], "x-ms-correlation-request-id": [ - "de7915dc-91a6-43e3-8f60-1ce1091170c8" + "ad4df563-cd60-43ac-97f9-ec0206f6ad13" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202953Z:de7915dc-91a6-43e3-8f60-1ce1091170c8" + "WESTUS:20150305T201602Z:ad4df563-cd60-43ac-97f9-ec0206f6ad13" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:52 GMT" + "Thu, 05 Mar 2015 20:16:01 GMT" ], "ETag": [ - "0x8D2889D256466ED" + "0x8D225985578244B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletetaskpipe\",\r\n \"primary\": \"Shn69pOo65LjWmIeMicIoZhh+tAGeYCc7zFkHeQU73guHpG3nxdshYWcrcZWkemNP8bO49X4WaEnDO5hmzbltg==\",\r\n \"secondary\": \"17Zqg5Q7qcRYhkPMkwKGR15P77qDRmPwDN2YOAi8d5ZmNjaY+myMZR9vRo46RjQzW1SoWVwF13xyciviPUMkQw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "6fc3526a-ac95-45eb-9ca9-c0a828cc159c" + "b7bdaa41-9e16-4328-bb52-aaebb76be92d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1193" ], "x-ms-request-id": [ - "7c56e605-6e77-41c1-bfcb-58065b2826c9" + "5fd65448-a26a-4551-bdde-dc142e4fec4c" ], "x-ms-correlation-request-id": [ - "7c56e605-6e77-41c1-bfcb-58065b2826c9" + "5fd65448-a26a-4551-bdde-dc142e4fec4c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202951Z:7c56e605-6e77-41c1-bfcb-58065b2826c9" + "WESTUS:20150305T201602Z:5fd65448-a26a-4551-bdde-dc142e4fec4c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:50 GMT" + "Thu, 05 Mar 2015 20:16:01 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletetaskpipe\",\r\n \"primary\": \"Shn69pOo65LjWmIeMicIoZhh+tAGeYCc7zFkHeQU73guHpG3nxdshYWcrcZWkemNP8bO49X4WaEnDO5hmzbltg==\",\r\n \"secondary\": \"17Zqg5Q7qcRYhkPMkwKGR15P77qDRmPwDN2YOAi8d5ZmNjaY+myMZR9vRo46RjQzW1SoWVwF13xyciviPUMkQw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,7 +265,7 @@ "no-cache" ], "request-id": [ - "bce7eb04-f989-4731-8b5d-657d2d1d83bf" + "fef92540-5474-4a88-a2a2-3e3be6edf72b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -316,19 +274,19 @@ "1194" ], "x-ms-request-id": [ - "d4530209-3cef-48dc-96b6-8c3a83f43a9b" + "62ecf55f-0cb0-4d47-bf35-74ee770fe104" ], "x-ms-correlation-request-id": [ - "d4530209-3cef-48dc-96b6-8c3a83f43a9b" + "62ecf55f-0cb0-4d47-bf35-74ee770fe104" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202953Z:d4530209-3cef-48dc-96b6-8c3a83f43a9b" + "WESTUS:20150305T201749Z:62ecf55f-0cb0-4d47-bf35-74ee770fe104" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:29:52 GMT" + "Thu, 05 Mar 2015 20:17:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"deleteTaskPipeWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "172" + "168" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "53aaf0ef-5548-437a-bf4a-55be0febbdbf" + "5bb0de6f-e136-4205-9011-27809848adcc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:51 GMT" + "Thu, 05 Mar 2015 20:17:45 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:52 GMT" + "Thu, 05 Mar 2015 20:17:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fd90f2ff-a0ef-44f6-b1e3-80694bd2d453" + "300957f1-10e8-40ce-a058-d66d1a6d7a74" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI" + "https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 20:29:51 GMT" + "Thu, 05 Mar 2015 20:17:45 GMT" ], "ETag": [ - "0x8D2889D24BF3901" + "0x8D2259893817E9A" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI" + "https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/deleteTaskPipeWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8fbd5b40-0b7f-402b-9ac4-d0ee6b606fd3" + "be328844-83c5-44e5-81bd-46be576643d7" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:51 GMT" + "Thu, 05 Mar 2015 20:17:45 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"deleteTaskPipeWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI\",\r\n \"eTag\": \"0x8D2889D24BF3901\",\r\n \"lastModified\": \"2015-07-09T20:29:52.0416001Z\",\r\n \"creationTime\": \"2015-07-09T20:29:52.0416001Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:29:52.0416001Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetaskpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2259893817E9A\",\r\n \"lastModified\": \"2015-03-05T20:17:45.2655258Z\",\r\n \"creationTime\": \"2015-03-05T20:17:45.2655258Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:17:45.2655258Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:52 GMT" + "Thu, 05 Mar 2015 20:17:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b54bbbf4-0f2d-4592-a6a3-35970656b6cb" + "9ec4082b-c7f6-48cc-a8c4-a161a3e2383b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:51 GMT" + "Thu, 05 Mar 2015 20:17:45 GMT" ], "ETag": [ - "0x8D2889D24BF3901" + "0x8D2259893817E9A" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,40 +406,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "cfda1a50-a4bd-42c9-96e5-133574b41c8c" + "71c64bbb-ba19-4b84-951b-6c937b4d3a32" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:52 GMT" + "Thu, 05 Mar 2015 20:17:46 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:29:50 GMT" + "Thu, 05 Mar 2015 20:17:46 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d8eab740-7df6-486f-81db-71913c4e346b" + "877772e2-a115-4274-8a23-715ed9703fee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks/testTask" + "https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 20:29:50 GMT" + "Thu, 05 Mar 2015 20:17:46 GMT" ], "ETag": [ - "0x8D2889D23DA98BA" + "0x8D225989457B39F" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks/testTask" + "https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,8 +466,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe\",\r\n \"name\": \"testdeletetaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "2cba633f-e8e8-400e-978b-09294e2d9e99" + ], + "x-ms-correlation-request-id": [ + "2cba633f-e8e8-400e-978b-09294e2d9e99" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201748Z:2cba633f-e8e8-400e-978b-09294e2d9e99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:17:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testdeletetaskpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletetaskpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:17:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "6f65ac60-ca3f-4fd1-a4cf-f58813ae1074" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "d9af8990-9c2f-4797-aff2-4b6c554b2dc0" + ], + "x-ms-correlation-request-id": [ + "d9af8990-9c2f-4797-aff2-4b6c554b2dc0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201749Z:d9af8990-9c2f-4797-aff2-4b6c554b2dc0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:17:49 GMT" + ], + "ETag": [ + "0x8D2259895D5CE98" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -517,16 +586,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "903002f6-abf0-4ff8-9b49-81439a2711ab" + "6b1aac30-3f8e-4f52-92c6-f3d019ff4c8c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:52 GMT" + "Thu, 05 Mar 2015 20:17:49 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889D23DA98BA\",\r\n \"creationTime\": \"2015-07-09T20:29:50.5432762Z\",\r\n \"lastModified\": \"2015-07-09T20:29:50.5432762Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:29:50.5432762Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetaskpipe.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D225989457B39F\",\r\n \"creationTime\": \"2015-03-05T20:17:46.6693535Z\",\r\n \"lastModified\": \"2015-03-05T20:17:46.6693535Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:17:46.6693535Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -535,7 +604,7 @@ "chunked" ], "request-id": [ - "6da55b0c-4da0-44f9-8cfd-fad186f51516" + "91bc76dd-92d9-4d4d-a245-fe7b5e575586" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -544,7 +613,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:53 GMT" + "Thu, 05 Mar 2015 20:17:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -553,8 +622,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -562,16 +631,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5cf13126-84e5-4af2-b3ab-c04604b83845" + "a5754cc4-7158-446c-bb8b-801c08519f47" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:54 GMT" + "Thu, 05 Mar 2015 20:17:51 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": []\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetaskpipe.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": []\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -580,7 +649,7 @@ "chunked" ], "request-id": [ - "61bff277-f581-4f7c-9f64-a04812158f20" + "26524a33-751d-459a-beeb-89a9aaec7a3d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -589,7 +658,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:54 GMT" + "Thu, 05 Mar 2015 20:17:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -598,8 +667,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3MvdGVzdFRhc2s/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy90ZXN0VGFzaz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -607,28 +676,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cec525dc-dc29-4d4c-949c-59b49bd09819" + "b2422480-6182-41c2-87f4-739cf24e52cb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:53 GMT" + "Thu, 05 Mar 2015 20:17:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889D23DA98BA\",\r\n \"creationTime\": \"2015-07-09T20:29:50.5432762Z\",\r\n \"lastModified\": \"2015-07-09T20:29:50.5432762Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:29:50.5432762Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletetaskpipe.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testdeletetaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D225989457B39F\",\r\n \"creationTime\": \"2015-03-05T20:17:46.6693535Z\",\r\n \"lastModified\": \"2015-03-05T20:17:46.6693535Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:17:46.6693535Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 20:29:50 GMT" + "Thu, 05 Mar 2015 20:17:46 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "9801116e-7549-4040-a912-568b82c71edd" + "2b10273b-1c85-4110-ab62-e8b53ad6e06f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,10 +706,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:53 GMT" + "Thu, 05 Mar 2015 20:17:50 GMT" ], "ETag": [ - "0x8D2889D23DA98BA" + "0x8D225989457B39F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -649,8 +718,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskPipeWI/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3MvdGVzdFRhc2s/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy90ZXN0VGFzaz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -658,13 +727,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8a3a49f0-3bb5-44cd-81b7-c5ed43c4a184" + "bbe40efb-b9dd-41ae-8bd8-9478b99f03e0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:53 GMT" + "Thu, 05 Mar 2015 20:17:50 GMT" ] }, "ResponseBody": "", @@ -673,7 +742,7 @@ "chunked" ], "request-id": [ - "b0928c01-1c96-450d-ac44-43360cb3b4e0" + "e4fc88c4-cbb0-4dd2-8358-085e7cd311ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -682,7 +751,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:53 GMT" + "Thu, 05 Mar 2015 20:17:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -691,8 +760,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/deleteTaskPipeWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9kZWxldGVUYXNrUGlwZVdJP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -700,13 +769,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5fba8ed3-e1e9-48e0-95f1-0284ade4c4ec" + "cb3d53d4-cfde-4081-8cda-0cc7d93bef4b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:29:54 GMT" + "Thu, 05 Mar 2015 20:17:51 GMT" ] }, "ResponseBody": "", @@ -715,7 +784,7 @@ "chunked" ], "request-id": [ - "50a15961-2993-4535-8ec8-357a66da595d" + "2f364bf7-6dbd-4674-9e2b-66fc13307fe0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -724,13 +793,451 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:29:54 GMT" + "Thu, 05 Mar 2015 20:17:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6859ecef-eee5-45c6-bd39-deef8c1239c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "52f64fdf-616f-4f6e-94b0-d8ba66659de6" + ], + "x-ms-correlation-request-id": [ + "52f64fdf-616f-4f6e-94b0-d8ba66659de6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201753Z:52f64fdf-616f-4f6e-94b0-d8ba66659de6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:17:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/operationResults/6859ecef-eee5-45c6-bd39-deef8c1239c2?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/operationResults/6859ecef-eee5-45c6-bd39-deef8c1239c2?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlL29wZXJhdGlvblJlc3VsdHMvNjg1OWVjZWYtZWVlNS00NWM2LWJkMzktZGVlZjhjMTIzOWMyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "37e4bd67-feb6-4477-9aef-2591d7638c39" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "973f24dc-1861-49d2-be0a-5d72c54d719e" + ], + "x-ms-correlation-request-id": [ + "973f24dc-1861-49d2-be0a-5d72c54d719e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201754Z:973f24dc-1861-49d2-be0a-5d72c54d719e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:17:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/operationResults/6859ecef-eee5-45c6-bd39-deef8c1239c2?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-task-pipe/providers/Microsoft.Batch/batchAccounts/testdeletetaskpipe/operationResults/6859ecef-eee5-45c6-bd39-deef8c1239c2?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGRlbGV0ZXRhc2twaXBlL29wZXJhdGlvblJlc3VsdHMvNjg1OWVjZWYtZWVlNS00NWM2LWJkMzktZGVlZjhjMTIzOWMyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:18:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "0025aa33-5148-4d4b-a50c-30051244bf1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "71026a0c-0b43-46db-929f-c31528d5c057" + ], + "x-ms-correlation-request-id": [ + "71026a0c-0b43-46db-929f-c31528d5c057" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201809Z:71026a0c-0b43-46db-929f-c31528d5c057" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:18:08 GMT" + ], + "ETag": [ + "0x8D22598A17BA3F5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-task-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXRhc2stcGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "53597a7b-c82b-4012-88d2-e006ae0e3fc1" + ], + "x-ms-correlation-request-id": [ + "53597a7b-c82b-4012-88d2-e006ae0e3fc1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201810Z:53597a7b-c82b-4012-88d2-e006ae0e3fc1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:18:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3pveVJGQkpVRVV0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "b343c7bb-f295-4637-9fb0-a61d025af365" + ], + "x-ms-correlation-request-id": [ + "b343c7bb-f295-4637-9fb0-a61d025af365" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201810Z:b343c7bb-f295-4637-9fb0-a61d025af365" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:18:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3pveVJGQkpVRVV0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "b5c07f0d-005e-48f0-a14a-8143dc9db36c" + ], + "x-ms-correlation-request-id": [ + "b5c07f0d-005e-48f0-a14a-8143dc9db36c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201826Z:b5c07f0d-005e-48f0-a14a-8143dc9db36c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:18:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3pveVJGQkpVRVV0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "66e81367-9675-4c4a-8b68-51f978bd26c3" + ], + "x-ms-correlation-request-id": [ + "66e81367-9675-4c4a-8b68-51f978bd26c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201841Z:66e81367-9675-4c4a-8b68-51f978bd26c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:18:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEVEFTSzoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWRUZUU3pveVJGQkpVRVV0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "1a42516e-189d-4e2e-9e75-7564b18e30a6" + ], + "x-ms-correlation-request-id": [ + "1a42516e-189d-4e2e-9e75-7564b18e30a6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T201856Z:1a42516e-189d-4e2e-9e75-7564b18e30a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:18:56 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json index b1d6a80f9334..0665558a8832 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" - ], - "x-ms-request-id": [ - "613986f6-1ff7-4a98-9532-61a601a55b2f" - ], - "x-ms-correlation-request-id": [ - "613986f6-1ff7-4a98-9532-61a601a55b2f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T202854Z:613986f6-1ff7-4a98-9532-61a601a55b2f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:28:54 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task\",\r\n \"name\": \"test-get-task\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "179" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" ], "x-ms-request-id": [ - "b2ab30fd-89fa-45a8-8bf5-19263e4be877" + "0f90f814-a597-4d6c-9d5f-66710f7a9ff0" ], "x-ms-correlation-request-id": [ - "b2ab30fd-89fa-45a8-8bf5-19263e4be877" + "0f90f814-a597-4d6c-9d5f-66710f7a9ff0" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202858Z:b2ab30fd-89fa-45a8-8bf5-19263e4be877" + "WESTUS:20150305T202233Z:0f90f814-a597-4d6c-9d5f-66710f7a9ff0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:22:32 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:56 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], "request-id": [ - "02b489a4-a242-4f3f-91db-e30825054e71" + "6d3dafd8-57b0-498f-ab4c-beb4696a3d17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" - ], "x-ms-request-id": [ - "8f4ccbb0-da80-463e-b74c-464a5b536620" + "7bd8dc8b-1541-421e-8e07-aed7f8c95bbe" ], "x-ms-correlation-request-id": [ - "8f4ccbb0-da80-463e-b74c-464a5b536620" + "7bd8dc8b-1541-421e-8e07-aed7f8c95bbe" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202856Z:8f4ccbb0-da80-463e-b74c-464a5b536620" + "WESTUS:20150305T202237Z:7bd8dc8b-1541-421e-8e07-aed7f8c95bbe" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:55 GMT" + "Thu, 05 Mar 2015 20:22:37 GMT" ], - "ETag": [ - "0x8D2889D03BD4DA0" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/6d3dafd8-57b0-498f-ab4c-beb4696a3d17?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/6d3dafd8-57b0-498f-ab4c-beb4696a3d17?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL29wZXJhdGlvblJlc3VsdHMvNmQzZGFmZDgtNTdiMC00OThmLWFiNGMtYmViNDY5NmEzZDE3P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testgettaskbyname\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskbyname.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "341" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:58 GMT" + "Thu, 05 Mar 2015 20:22:37 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "ca8912d9-52b8-4619-8076-17570b730405" + "884439f1-2139-4b8b-80de-d33ce359c5e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "31988" ], "x-ms-request-id": [ - "d3722bb0-ae1e-4216-8863-bf036df82d19" + "376c0471-e755-4a22-ad5e-32bf4cefa0fb" ], "x-ms-correlation-request-id": [ - "d3722bb0-ae1e-4216-8863-bf036df82d19" + "376c0471-e755-4a22-ad5e-32bf4cefa0fb" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202858Z:d3722bb0-ae1e-4216-8863-bf036df82d19" + "WESTUS:20150305T202238Z:376c0471-e755-4a22-ad5e-32bf4cefa0fb" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:22:37 GMT" ], "ETag": [ - "0x8D2889D04D0FC3E" + "0x8D2259941EC0E38" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgettaskbyname\",\r\n \"primary\": \"HdqN6AGiOkVP738epeYIUHe0jWsfWYs1ik3sgEzHA1uiSqEvVOWrcY2K2SUlGu5Ry1gDM6Ri5y9NYX/YZnGhOQ==\",\r\n \"secondary\": \"HcqJ5y3sa1jw777C908jIaclf+wbZpNimBl0aPSXVNkv8hXnNq8baZA7GVmDEB7lDA5zkUoF5NUmcVoNB8Y49Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "239" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "0d5399e2-9d9a-41c4-b03a-47cdaf03f8de" + "22b17efa-60f1-4ea2-82d8-0bb425e077a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1183" ], "x-ms-request-id": [ - "597d9f41-3337-4c06-ae55-9f595f2b1f4e" + "c656393d-a7a3-4113-8178-6c8e52856533" ], "x-ms-correlation-request-id": [ - "597d9f41-3337-4c06-ae55-9f595f2b1f4e" + "c656393d-a7a3-4113-8178-6c8e52856533" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202856Z:597d9f41-3337-4c06-ae55-9f595f2b1f4e" + "WESTUS:20150305T202238Z:c656393d-a7a3-4113-8178-6c8e52856533" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:55 GMT" + "Thu, 05 Mar 2015 20:22:37 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgettaskbyname\",\r\n \"primary\": \"HdqN6AGiOkVP738epeYIUHe0jWsfWYs1ik3sgEzHA1uiSqEvVOWrcY2K2SUlGu5Ry1gDM6Ri5y9NYX/YZnGhOQ==\",\r\n \"secondary\": \"HcqJ5y3sa1jw777C908jIaclf+wbZpNimBl0aPSXVNkv8hXnNq8baZA7GVmDEB7lDA5zkUoF5NUmcVoNB8Y49Q==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "239" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "a756852f-7e9f-49c5-984d-19b7ff684e2d" + "ef481939-14d6-4055-b9ab-728255300d4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1182" ], "x-ms-request-id": [ - "c5c2ad28-ccab-4884-8d3c-1f0b5e5e0985" + "3974d765-62d6-46bd-afbc-267daf567340" ], "x-ms-correlation-request-id": [ - "c5c2ad28-ccab-4884-8d3c-1f0b5e5e0985" + "3974d765-62d6-46bd-afbc-267daf567340" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202858Z:c5c2ad28-ccab-4884-8d3c-1f0b5e5e0985" + "WESTUS:20150305T202346Z:3974d765-62d6-46bd-afbc-267daf567340" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"getTaskWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "165" + "164" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "79b62527-b869-42a6-a6c1-6a16d074f7eb" + "d3aa5466-7c61-4da2-a6e1-ecdfd9861d29" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:56 GMT" + "Thu, 05 Mar 2015 20:23:42 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:42 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8fa32635-15ab-41b7-bbaa-3a7cd867aca9" + "170165cd-4b06-4f8e-b214-5c60b0337f0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/getTaskWI" + "https://testgettaskbyname.batch.core.windows.net/workitems/testName" ], "Date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:42 GMT" ], "ETag": [ - "0x8D2889D0418B8EC" + "0x8D2259968439669" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/getTaskWI" + "https://testgettaskbyname.batch.core.windows.net/workitems/testName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/getTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9nZXRUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "dd6de16c-7cd1-4181-aa06-79c49dcbbe28" + "b4ba838f-c8c6-42b2-bbe5-cfd4ad1a1824" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:56 GMT" + "Thu, 05 Mar 2015 20:23:42 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"getTaskWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/getTaskWI\",\r\n \"eTag\": \"0x8D2889D0418B8EC\",\r\n \"lastModified\": \"2015-07-09T20:28:57.2633324Z\",\r\n \"creationTime\": \"2015-07-09T20:28:57.2633324Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:57.2633324Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/getTaskWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgettaskbyname.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D2259968439669\",\r\n \"lastModified\": \"2015-03-05T20:23:42.2145129Z\",\r\n \"creationTime\": \"2015-03-05T20:23:42.2145129Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:23:42.2145129Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:42 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "40abfe4d-72b1-4b13-bed4-554a9d8020be" + "2f652935-fa29-4997-ad0b-b723e05f292b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:42 GMT" ], "ETag": [ - "0x8D2889D0418B8EC" + "0x8D2259968439669" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,40 +406,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/getTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9nZXRUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "c17d9e06-77bf-4f6b-b0f8-42a242de7b53" + "0aacdff3-a34f-4911-9425-01b67a84ca09" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:43 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "418237e6-526c-490d-b34c-b4c25b01063b" + "f7bcf5c0-c728-4388-8fdb-067de61b30a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/getTaskWI/jobs/job-0000000001/tasks/testTask" + "https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:43 GMT" ], "ETag": [ - "0x8D2889D046DD090" + "0x8D2259968DCF1C8" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/getTaskWI/jobs/job-0000000001/tasks/testTask" + "https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,8 +466,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/getTaskWI/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9nZXRUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy90ZXN0VGFzaz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname\",\r\n \"name\": \"testgettaskbyname\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "759" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "c6803779-59c0-493d-96b6-8d6cd6139214" + ], + "x-ms-correlation-request-id": [ + "c6803779-59c0-493d-96b6-8d6cd6139214" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202344Z:c6803779-59c0-493d-96b6-8d6cd6139214" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:23:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgettaskbyname\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskbyname.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "341" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:23:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a4f81e2c-bcfe-4efd-bba0-59aaa6930215" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "a6668a89-8916-425e-bd31-eab37da8c9bd" + ], + "x-ms-correlation-request-id": [ + "a6668a89-8916-425e-bd31-eab37da8c9bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202345Z:a6668a89-8916-425e-bd31-eab37da8c9bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:23:45 GMT" + ], + "ETag": [ + "0x8D225996A141F26" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzL3Rlc3RUYXNrP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -517,28 +586,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f1fb5292-1bb4-409f-b1dc-6316d8a5b8b5" + "1d89a336-d99a-4445-823e-0cf878d7bdd1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:58 GMT" + "Thu, 05 Mar 2015 20:23:46 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/getTaskWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889D046DD090\",\r\n \"creationTime\": \"2015-07-09T20:28:57.8209936Z\",\r\n \"lastModified\": \"2015-07-09T20:28:57.8209936Z\",\r\n \"state\": \"running\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:58.470558Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:28:57.8209936Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:28:58.470558Z\",\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgettaskbyname.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2259968DCF1C8\",\r\n \"creationTime\": \"2015-03-05T20:23:43.2195528Z\",\r\n \"lastModified\": \"2015-03-05T20:23:43.2195528Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:23:43.2195528Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4168e96b-3051-42e9-86bd-e48ed8345d30" + "8fdd72a9-1f06-48e0-92ad-a8295a6a1b92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -547,10 +616,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:58 GMT" + "Thu, 05 Mar 2015 20:23:46 GMT" ], "ETag": [ - "0x8D2889D046DD090" + "0x8D2259968DCF1C8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,8 +628,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/getTaskWI/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9nZXRUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcy90ZXN0VGFzaz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzL3Rlc3RUYXNrP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -568,28 +637,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "2ac12349-d465-47bb-8aeb-40e6361b5f3c" + "aa1fa458-0687-47ba-960f-a2e5d0a2cfdc" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:58 GMT" + "Thu, 05 Mar 2015 20:23:46 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/getTaskWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889D046DD090\",\r\n \"creationTime\": \"2015-07-09T20:28:57.8209936Z\",\r\n \"lastModified\": \"2015-07-09T20:28:57.8209936Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:58.5647702Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:28:58.470558Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:28:58.470558Z\",\r\n \"endTime\": \"2015-07-09T20:28:58.5647702Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgettaskbyname.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2259968DCF1C8\",\r\n \"creationTime\": \"2015-03-05T20:23:43.2195528Z\",\r\n \"lastModified\": \"2015-03-05T20:23:43.2195528Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:23:43.2195528Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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": [ - "Thu, 09 Jul 2015 20:28:57 GMT" + "Thu, 05 Mar 2015 20:23:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "2d39f6f6-d041-48b6-8577-fd08113464a8" + "3849b162-f4d2-4a0e-9df3-8361d846c5b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,10 +667,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:58 GMT" + "Thu, 05 Mar 2015 20:23:46 GMT" ], "ETag": [ - "0x8D2889D046DD090" + "0x8D2259968DCF1C8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -610,8 +679,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/getTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9nZXRUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -619,13 +688,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b7c8b546-ebda-4c74-81d1-203795364321" + "0a4f0615-a53c-4220-bf48-fe21d718cb49" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:58 GMT" + "Thu, 05 Mar 2015 20:23:46 GMT" ] }, "ResponseBody": "", @@ -634,7 +703,7 @@ "chunked" ], "request-id": [ - "23d288cd-94bb-44ec-b7ae-fc2512147428" + "e3f0543f-26d1-4114-8f55-c119000f42a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -643,13 +712,337 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:59 GMT" + "Thu, 05 Mar 2015 20:23:46 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ad3e5487-45c5-4d5c-a79e-06c014473257" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "249c6a67-ca4b-4b9e-829e-1e7cfd408afb" + ], + "x-ms-correlation-request-id": [ + "249c6a67-ca4b-4b9e-829e-1e7cfd408afb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202349Z:249c6a67-ca4b-4b9e-829e-1e7cfd408afb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:23:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/ad3e5487-45c5-4d5c-a79e-06c014473257?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/ad3e5487-45c5-4d5c-a79e-06c014473257?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL29wZXJhdGlvblJlc3VsdHMvYWQzZTU0ODctNDVjNS00ZDVjLWE3OWUtMDZjMDE0NDczMjU3P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:23:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d80d81f5-3065-4521-a393-b4d214565a75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "cb80ad4d-d74f-4669-a065-4f300b24cf06" + ], + "x-ms-correlation-request-id": [ + "cb80ad4d-d74f-4669-a065-4f300b24cf06" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202349Z:cb80ad4d-d74f-4669-a065-4f300b24cf06" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:23:48 GMT" + ], + "ETag": [ + "0x8D225996C5292DB" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "efc8dbc3-6863-49c9-932d-c23175f0f314" + ], + "x-ms-correlation-request-id": [ + "efc8dbc3-6863-49c9-932d-c23175f0f314" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202350Z:efc8dbc3-6863-49c9-932d-c23175f0f314" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:23:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "a624feb6-e4ab-4db0-b115-dc4296319edc" + ], + "x-ms-correlation-request-id": [ + "a624feb6-e4ab-4db0-b115-dc4296319edc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202350Z:a624feb6-e4ab-4db0-b115-dc4296319edc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:23:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "d6fe8641-0ce0-46b7-8404-a674048f0b42" + ], + "x-ms-correlation-request-id": [ + "d6fe8641-0ce0-46b7-8404-a674048f0b42" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202405Z:d6fe8641-0ce0-46b7-8404-a674048f0b42" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:24:05 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "3ac88a3f-598e-4df1-a8f1-eabd51c5b256" + ], + "x-ms-correlation-request-id": [ + "3ac88a3f-598e-4df1-a8f1-eabd51c5b256" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T202421Z:3ac88a3f-598e-4df1-a8f1-eabd51c5b256" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:24:20 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json index ea0417a8c021..c9d4a26f9050 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json @@ -1,5 +1,299 @@ { "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params\",\r\n \"name\": \"test-get-task-params\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "193" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "6166e568-b90a-4289-beb1-209f3544722e" + ], + "x-ms-correlation-request-id": [ + "6166e568-b90a-4289-beb1-209f3544722e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231205Z:6166e568-b90a-4289-beb1-209f3544722e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:04 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "request-id": [ + "33261626-a13c-40df-864e-b0bd54b917b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ffafe8da-6e46-4486-9605-ee1d672d91dc" + ], + "x-ms-correlation-request-id": [ + "ffafe8da-6e46-4486-9605-ee1d672d91dc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231209Z:ffafe8da-6e46-4486-9605-ee1d672d91dc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/33261626-a13c-40df-864e-b0bd54b917b0?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/33261626-a13c-40df-864e-b0bd54b917b0?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9vcGVyYXRpb25SZXN1bHRzLzMzMjYxNjI2LWExM2MtNDBkZi04NjRlLWIwYmQ1NGI5MTdiMD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgettaskparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "979635ef-4604-4166-98ae-cc81128d0c35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "7ffe540c-7fab-4013-a18e-b018b269ca0d" + ], + "x-ms-correlation-request-id": [ + "7ffe540c-7fab-4013-a18e-b018b269ca0d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231209Z:7ffe540c-7fab-4013-a18e-b018b269ca0d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "ETag": [ + "0x8D21DD548753975" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgettaskparams\",\r\n \"primary\": \"+vjxeNo87hlv92Z8TKxkjjnA6Tk8gaEtGrt/aSpXP+QRCyC9mJlxnJvaozyiZoq8Qovy3tOIRNM+w6xCwpI7rQ==\",\r\n \"secondary\": \"J/iuBgdlBPkS0mCFOtiI2V3AksuP/k+W+6Ho/uYuohWKCEpxu+23m3VcUkoo4ir2T1HAZeo1DNNxolraahjReA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "85f75be2-f0ce-467c-bcf1-2cd925e3a060" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "b4633aec-baf6-4e6e-a7c2-11f561eadd8c" + ], + "x-ms-correlation-request-id": [ + "b4633aec-baf6-4e6e-a7c2-11f561eadd8c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231209Z:b4633aec-baf6-4e6e-a7c2-11f561eadd8c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgettaskparams\",\r\n \"primary\": \"+vjxeNo87hlv92Z8TKxkjjnA6Tk8gaEtGrt/aSpXP+QRCyC9mJlxnJvaozyiZoq8Qovy3tOIRNM+w6xCwpI7rQ==\",\r\n \"secondary\": \"J/iuBgdlBPkS0mCFOtiI2V3AksuP/k+W+6Ho/uYuohWKCEpxu+23m3VcUkoo4ir2T1HAZeo1DNNxolraahjReA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "1db9da43-faeb-4496-aa88-03af958517fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "0660943d-9b9d-4a6a-964c-3fa1f9be40e2" + ], + "x-ms-correlation-request-id": [ + "0660943d-9b9d-4a6a-964c-3fa1f9be40e2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231251Z:0660943d-9b9d-4a6a-964c-3fa1f9be40e2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:51 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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==", @@ -10,10 +304,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams\",\r\n \"name\": \"testgettaskparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "766" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +319,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14999" + "31999" ], "x-ms-request-id": [ - "d8617d52-1795-44b7-ac55-0d1b99f487dc" + "9e59af3e-8cc0-4f85-a041-b5dc87758161" ], "x-ms-correlation-request-id": [ - "d8617d52-1795-44b7-ac55-0d1b99f487dc" + "9e59af3e-8cc0-4f85-a041-b5dc87758161" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203014Z:d8617d52-1795-44b7-ac55-0d1b99f487dc" + "WESTUS:20150223T231250Z:9e59af3e-8cc0-4f85-a041-b5dc87758161" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +337,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:13 GMT" + "Mon, 23 Feb 2015 23:12:50 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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testgettaskparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "348" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +367,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:15 GMT" + "Mon, 23 Feb 2015 23:12:50 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "527a88f0-ef44-4533-b2bc-f0fa7deaad7f" + "19154c61-406f-41da-9607-c2d463c96507" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "31998" ], "x-ms-request-id": [ - "838be0c7-a8ea-4267-9e7f-0fa41b68c878" + "2a088a4a-6b91-4580-ac93-8f1a69aca2e1" ], "x-ms-correlation-request-id": [ - "838be0c7-a8ea-4267-9e7f-0fa41b68c878" + "2a088a4a-6b91-4580-ac93-8f1a69aca2e1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203015Z:838be0c7-a8ea-4267-9e7f-0fa41b68c878" + "WESTUS:20150223T231251Z:2a088a4a-6b91-4580-ac93-8f1a69aca2e1" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:14 GMT" + "Mon, 23 Feb 2015 23:12:51 GMT" ], "ETag": [ - "0x8D2889D32CB922D" + "0x8D21DD5611C8B86" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,61 +406,382 @@ "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", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "343cd905-5954-4f7b-b447-f056c0ec661a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "0f4ac380-0f2a-41d7-927d-0cc1a42e41ff" + ], + "x-ms-correlation-request-id": [ + "0f4ac380-0f2a-41d7-927d-0cc1a42e41ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231253Z:0f4ac380-0f2a-41d7-927d-0cc1a42e41ff" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/343cd905-5954-4f7b-b447-f056c0ec661a?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/343cd905-5954-4f7b-b447-f056c0ec661a?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9vcGVyYXRpb25SZXN1bHRzLzM0M2NkOTA1LTU5NTQtNGY3Yi1iNDQ3LWYwNTZjMGVjNjYxYT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "229" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:12:53 GMT" + ], "Pragma": [ "no-cache" ], "request-id": [ - "2dbb11a7-923d-40be-b1bc-8e3de6286fb6" + "84f6674a-e661-4b84-8d13-37071aa61087" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" ], "x-ms-request-id": [ - "3ea1f6e7-b76f-4857-8bd9-aba652707004" + "b6914ae2-6d60-486a-92e8-e6f3a301be5d" ], "x-ms-correlation-request-id": [ - "3ea1f6e7-b76f-4857-8bd9-aba652707004" + "b6914ae2-6d60-486a-92e8-e6f3a301be5d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203015Z:3ea1f6e7-b76f-4857-8bd9-aba652707004" + "WESTUS:20150223T231254Z:b6914ae2-6d60-486a-92e8-e6f3a301be5d" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:14 GMT" + "Mon, 23 Feb 2015 23:12:53 GMT" + ], + "ETag": [ + "0x8D21DD562D9F8D6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "a266380f-6cd1-49a1-9969-f437d9160283" + ], + "x-ms-correlation-request-id": [ + "a266380f-6cd1-49a1-9969-f437d9160283" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231254Z:a266380f-6cd1-49a1-9969-f437d9160283" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "d07fb6c8-0a98-4e02-9bb6-b8a8df7bc43b" + ], + "x-ms-correlation-request-id": [ + "d07fb6c8-0a98-4e02-9bb6-b8a8df7bc43b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231255Z:d07fb6c8-0a98-4e02-9bb6-b8a8df7bc43b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "1d53ac74-0b74-4f21-b7f2-96f831b3e449" + ], + "x-ms-correlation-request-id": [ + "1d53ac74-0b74-4f21-b7f2-96f831b3e449" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231310Z:1d53ac74-0b74-4f21-b7f2-96f831b3e449" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:13:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "dc98dcff-5881-4d49-8155-04c31a82c8b6" + ], + "x-ms-correlation-request-id": [ + "dc98dcff-5881-4d49-8155-04c31a82c8b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231325Z:dc98dcff-5881-4d49-8155-04c31a82c8b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:13:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "76c5f147-95b4-4bbd-b2ef-83164cb0bff0" + ], + "x-ms-correlation-request-id": [ + "76c5f147-95b4-4bbd-b2ef-83164cb0bff0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231340Z:76c5f147-95b4-4bbd-b2ef-83164cb0bff0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:13:40 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json index 464b2ca488df..d4b235e109d0 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" - ], - "x-ms-request-id": [ - "5d098772-2cdf-4e4c-8221-314110373333" - ], - "x-ms-correlation-request-id": [ - "5d098772-2cdf-4e4c-8221-314110373333" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T203124Z:5d098772-2cdf-4e4c-8221-314110373333" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:31:23 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task\",\r\n \"name\": \"test-list-task\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "181" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" ], "x-ms-request-id": [ - "f59cc1b0-36ea-4161-b8e1-25d02081592b" + "795c7f2b-3548-409b-a98a-8b440fb90f26" ], "x-ms-correlation-request-id": [ - "f59cc1b0-36ea-4161-b8e1-25d02081592b" + "795c7f2b-3548-409b-a98a-8b440fb90f26" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203127Z:f59cc1b0-36ea-4161-b8e1-25d02081592b" + "WESTUS:20150305T203210Z:795c7f2b-3548-409b-a98a-8b440fb90f26" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:32:10 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2s/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:24 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], "request-id": [ - "f85b61af-4063-4e73-8e62-41a943428f28" + "54fdaa0e-6ed1-4121-8840-f686dca8e6cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" - ], "x-ms-request-id": [ - "0f2a4acc-40c8-415b-8e30-547eff6f8975" + "32b928dd-e8dc-4037-927c-65e23ba58687" ], "x-ms-correlation-request-id": [ - "0f2a4acc-40c8-415b-8e30-547eff6f8975" + "32b928dd-e8dc-4037-927c-65e23ba58687" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203124Z:0f2a4acc-40c8-415b-8e30-547eff6f8975" + "WESTUS:20150305T203214Z:32b928dd-e8dc-4037-927c-65e23ba58687" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:24 GMT" + "Thu, 05 Mar 2015 20:32:14 GMT" ], - "ETag": [ - "0x8D2889D5C0928F3" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/54fdaa0e-6ed1-4121-8840-f686dca8e6cf?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/54fdaa0e-6ed1-4121-8840-f686dca8e6cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svb3BlcmF0aW9uUmVzdWx0cy81NGZkYWEwZS02ZWQxLTQxMjEtODg0MC1mNjg2ZGNhOGU2Y2Y/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlisttask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "327" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:32:14 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d5fa1076-9ab6-4d28-93a5-e6765c155e44" + "4a9d0797-5244-4d29-9df4-169d963d17a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "31991" ], "x-ms-request-id": [ - "8260e05b-adde-4d0e-965d-699a77f1b6e9" + "fdfa9a97-e20e-4502-9cdc-0bf56593151c" ], "x-ms-correlation-request-id": [ - "8260e05b-adde-4d0e-965d-699a77f1b6e9" + "fdfa9a97-e20e-4502-9cdc-0bf56593151c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203127Z:8260e05b-adde-4d0e-965d-699a77f1b6e9" + "WESTUS:20150305T203214Z:fdfa9a97-e20e-4502-9cdc-0bf56593151c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:32:14 GMT" ], "ETag": [ - "0x8D2889D5DAC6D57" + "0x8D2259A99755C29" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttask\",\r\n \"primary\": \"WpXWGd9sMuf11zu9mTOiypx6/8acYScnzRIqgzgouJE2ZXVm58X1+4i9/Y3KrJl36CaY5/Up0TlszG1j/kKV+A==\",\r\n \"secondary\": \"QmPzSpxi9p/PapC7nxmrrbkWeuA5HnyV+Rz1A/cGdsTEiLdDymTU/G2YZNH65WYNshSFZpUph/qKUERwo2HO2g==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "234" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,7 +208,7 @@ "no-cache" ], "request-id": [ - "94829b68-cbbb-4f8a-9539-2867af0a72a4" + "8b04a805-b4ee-4ada-9429-be123510a79b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -259,19 +217,19 @@ "1193" ], "x-ms-request-id": [ - "cb19c44f-70d9-40ea-b80d-1a1f250e1b70" + "aa0565f0-a597-4ba1-8901-097c2f10076f" ], "x-ms-correlation-request-id": [ - "cb19c44f-70d9-40ea-b80d-1a1f250e1b70" + "aa0565f0-a597-4ba1-8901-097c2f10076f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203125Z:cb19c44f-70d9-40ea-b80d-1a1f250e1b70" + "WESTUS:20150305T203214Z:aa0565f0-a597-4ba1-8901-097c2f10076f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:24 GMT" + "Thu, 05 Mar 2015 20:32:14 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttask\",\r\n \"primary\": \"WpXWGd9sMuf11zu9mTOiypx6/8acYScnzRIqgzgouJE2ZXVm58X1+4i9/Y3KrJl36CaY5/Up0TlszG1j/kKV+A==\",\r\n \"secondary\": \"QmPzSpxi9p/PapC7nxmrrbkWeuA5HnyV+Rz1A/cGdsTEiLdDymTU/G2YZNH65WYNshSFZpUph/qKUERwo2HO2g==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "234" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,7 +265,7 @@ "no-cache" ], "request-id": [ - "80a78bcd-c9b6-4f5c-b12d-c45cda8da22f" + "9f2d1c7a-0e02-4950-bb71-ab4ad84be9c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -316,19 +274,19 @@ "1192" ], "x-ms-request-id": [ - "0299edd3-6a3d-423c-8ae6-b2f04f1b3fe4" + "f22e1ad1-d4fa-44c4-accf-7baaff31347e" ], "x-ms-correlation-request-id": [ - "0299edd3-6a3d-423c-8ae6-b2f04f1b3fe4" + "f22e1ad1-d4fa-44c4-accf-7baaff31347e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203127Z:0299edd3-6a3d-423c-8ae6-b2f04f1b3fe4" + "WESTUS:20150305T203630Z:f22e1ad1-d4fa-44c4-accf-7baaff31347e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:36:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"listTaskWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "166" + "168" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "f08022e1-923f-4978-8642-e15718297f14" + "36be3486-b6e7-463d-8fcd-7186e124b06f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:24 GMT" + "Thu, 05 Mar 2015 20:36:24 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:24 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fb01bb5a-8677-4f02-97a9-ff7b9e72d178" + "1efc8aa0-7fcc-4e20-b1fd-eee64fb96ed0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 20:31:23 GMT" + "Thu, 05 Mar 2015 20:36:24 GMT" ], "ETag": [ - "0x8D2889D5C8DAAC1" + "0x8D2259B2ECEC7BA" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/listTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bcb73c26-0c76-47e9-9a0b-39829dcc7cad" + "f88f638f-26ae-4b67-916c-7af68e12789b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:25 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"listTaskWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI\",\r\n \"eTag\": \"0x8D2889D5C8DAAC1\",\r\n \"lastModified\": \"2015-07-09T20:31:25.6692417Z\",\r\n \"creationTime\": \"2015-07-09T20:31:25.6692417Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:25.6692417Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2259B2ECEC7BA\",\r\n \"lastModified\": \"2015-03-05T20:36:24.8123322Z\",\r\n \"creationTime\": \"2015-03-05T20:36:24.8123322Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:24.8123322Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:24 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "6da43618-7466-4bc8-92b3-99609d2094ba" + "cb848c02-c7b5-4b49-8ac1-f98d1d09a358" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:25 GMT" ], "ETag": [ - "0x8D2889D5C8DAAC1" + "0x8D2259B2ECEC7BA" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,40 +406,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "c55975c0-c149-4474-ae62-4dbeaaf8dbc8" + "2f82d45d-ccbd-409c-8ab4-5fd80d041614" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:25 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:36:25 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "55c52e2a-6155-4602-a56b-e9424a4d4f71" + "e73d3b7c-c528-46e0-a25f-56808d75b76f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask1" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1" ], "Date": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:25 GMT" ], "ETag": [ - "0x8D2889D5CEDDBDE" + "0x8D2259B2F7247A3" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask1" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,40 +466,40 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/listTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask2\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask2\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "e22e94e8-9002-4856-867d-aa442cfd49e9" + "de0f9b4c-905c-4526-8db2-e06accc6865a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:36:26 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:36:26 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "5950d1e3-5e61-42c1-8a73-2bb2ccc8b260" + "78a4af9c-932b-4768-bb8b-cc0e78b5b281" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -550,16 +508,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask2" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2" ], "Date": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:36:26 GMT" ], "ETag": [ - "0x8D2889D5D0061FD" + "0x8D2259B2FE25902" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask2" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,40 +526,40 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/listTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask3\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask3\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "7770c178-e727-4a4d-9b45-d88d3a176ad1" + "0d2b866b-5f57-4b82-b7ca-2e2ba78bd8e4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:36:26 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:36:27 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "5847880e-8961-478b-af53-143337e87884" + "a6130550-a7c6-46ab-a72a-5780dcbabcf5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -610,16 +568,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask3" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3" ], "Date": [ - "Thu, 09 Jul 2015 20:31:26 GMT" + "Thu, 05 Mar 2015 20:36:26 GMT" ], "ETag": [ - "0x8D2889D5D90135D" + "0x8D2259B3050AB93" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask3" + "https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -628,8 +586,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/listTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask\",\r\n \"name\": \"testlisttask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "750" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "2d7b8836-9604-448b-ac08-d4dc9f147aa7" + ], + "x-ms-correlation-request-id": [ + "2d7b8836-9604-448b-ac08-d4dc9f147aa7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203629Z:2d7b8836-9604-448b-ac08-d4dc9f147aa7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:28 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2s/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:36:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d10d59a6-7ae5-44ef-a78b-01d4b0ff5de4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "0b7d4a5b-1751-427c-9f2f-d7c805b7ed46" + ], + "x-ms-correlation-request-id": [ + "0b7d4a5b-1751-427c-9f2f-d7c805b7ed46" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203630Z:0b7d4a5b-1751-427c-9f2f-d7c805b7ed46" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:30 GMT" + ], + "ETag": [ + "0x8D2259B31D089A2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -637,16 +706,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e4a8d069-8d85-42f8-9c9b-8c100ef3ee70" + "0cd3a568-2e1f-49a4-b6ce-12185c6c64aa" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:36:30 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2889D5CEDDBDE\",\r\n \"creationTime\": \"2015-07-09T20:31:26.2996446Z\",\r\n \"lastModified\": \"2015-07-09T20:31:26.2996446Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:26.2996446Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2889D5D0061FD\",\r\n \"creationTime\": \"2015-07-09T20:31:26.4210429Z\",\r\n \"lastModified\": \"2015-07-09T20:31:26.4210429Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:26.4210429Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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 \"name\": \"testTask3\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2889D5D90135D\",\r\n \"creationTime\": \"2015-07-09T20:31:27.3627485Z\",\r\n \"lastModified\": \"2015-07-09T20:31:27.3627485Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:27.3627485Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2259B2F7247A3\",\r\n \"creationTime\": \"2015-03-05T20:36:25.8838435Z\",\r\n \"lastModified\": \"2015-03-05T20:36:25.8838435Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:25.8838435Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2259B2FE25902\",\r\n \"creationTime\": \"2015-03-05T20:36:26.6182914Z\",\r\n \"lastModified\": \"2015-03-05T20:36:26.6182914Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:26.6182914Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2259B3050AB93\",\r\n \"creationTime\": \"2015-03-05T20:36:27.3413011Z\",\r\n \"lastModified\": \"2015-03-05T20:36:27.3413011Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:27.3413011Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -655,7 +724,7 @@ "chunked" ], "request-id": [ - "c1a5b68e-d8cd-44d5-93c3-e76bcc3e41e7" + "99592f7c-74b9-4ea0-ad04-eb2ade0a3a5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -664,7 +733,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:36:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -673,8 +742,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJL2pvYnMvam9iLTAwMDAwMDAwMDEvdGFza3M/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -682,16 +751,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "52bfae3f-f673-470c-996f-4f71b0701b1d" + "f7f3c72a-5771-44b0-8cc3-8c8b1f58ac90" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:28 GMT" + "Thu, 05 Mar 2015 20:36:31 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2889D5CEDDBDE\",\r\n \"creationTime\": \"2015-07-09T20:31:26.2996446Z\",\r\n \"lastModified\": \"2015-07-09T20:31:26.2996446Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:28.2718868Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:28.1728852Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:28.1728852Z\",\r\n \"endTime\": \"2015-07-09T20:31:28.2718868Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_3-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2889D5D0061FD\",\r\n \"creationTime\": \"2015-07-09T20:31:26.4210429Z\",\r\n \"lastModified\": \"2015-07-09T20:31:26.4210429Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:28.1956099Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:28.1053945Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:28.1053945Z\",\r\n \"endTime\": \"2015-07-09T20:31:28.1956099Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2889D5D90135D\",\r\n \"creationTime\": \"2015-07-09T20:31:27.3627485Z\",\r\n \"lastModified\": \"2015-07-09T20:31:27.3627485Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:28.5199504Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:28.4324061Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:28.4324061Z\",\r\n \"endTime\": \"2015-07-09T20:31:28.5199504Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_2-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2259B2F7247A3\",\r\n \"creationTime\": \"2015-03-05T20:36:25.8838435Z\",\r\n \"lastModified\": \"2015-03-05T20:36:25.8838435Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:25.8838435Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2259B2FE25902\",\r\n \"creationTime\": \"2015-03-05T20:36:26.6182914Z\",\r\n \"lastModified\": \"2015-03-05T20:36:26.6182914Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:26.6182914Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2259B3050AB93\",\r\n \"creationTime\": \"2015-03-05T20:36:27.3413011Z\",\r\n \"lastModified\": \"2015-03-05T20:36:27.3413011Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:27.3413011Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -700,7 +769,7 @@ "chunked" ], "request-id": [ - "532b0dcd-2acd-43ce-a10b-2053a0b486ae" + "2b7758b3-c802-49cc-a8bd-33d7e654a13d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -709,7 +778,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:28 GMT" + "Thu, 05 Mar 2015 20:36:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -718,8 +787,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskWI/jobs/job-0000000001?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJL2pvYnMvam9iLTAwMDAwMDAwMDE/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -727,28 +796,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d00f50a6-77a2-4d38-9c60-8c405b4226cb" + "19f08697-b9f4-4421-aaf8-c5e3b721b5e5" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:27 GMT" + "Thu, 05 Mar 2015 20:36:31 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889D5C97E3BA\",\r\n \"lastModified\": \"2015-07-09T20:31:25.7362362Z\",\r\n \"creationTime\": \"2015-07-09T20:31:25.7192319Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:25.7362362Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:25.7362362Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2259B2ED6B69B\",\r\n \"lastModified\": \"2015-03-05T20:36:24.8643227Z\",\r\n \"creationTime\": \"2015-03-05T20:36:24.8473393Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:36:24.8643227Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-05T20:36:24.8643227Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:25 GMT" + "Thu, 05 Mar 2015 20:36:24 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "6d09a5c6-17ca-4e9a-b3a3-fd6ff7d61350" + "3dba64b4-5df1-4fd3-8d85-e215e78eda65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -757,10 +826,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:28 GMT" + "Thu, 05 Mar 2015 20:36:30 GMT" ], "ETag": [ - "0x8D2889D5C97E3BA" + "0x8D2259B2ED6B69B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -769,8 +838,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1dJP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -778,13 +847,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "150904c8-c78f-4682-8a4e-faf0acd18a1d" + "dc26efc6-3b07-4710-bccc-4a016e1a9d22" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:28 GMT" + "Thu, 05 Mar 2015 20:36:31 GMT" ] }, "ResponseBody": "", @@ -793,7 +862,7 @@ "chunked" ], "request-id": [ - "537d6360-7aba-4103-9362-7e99760302a1" + "4f9d9842-e5a7-44b9-93c8-d689cc0bc157" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -802,13 +871,451 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:28 GMT" + "Thu, 05 Mar 2015 20:36:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2s/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "50cfdd97-4dfe-4dd0-9a33-816ba0f7d5f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "aaf0726c-8b58-4bd0-aee6-73c742a388b6" + ], + "x-ms-correlation-request-id": [ + "aaf0726c-8b58-4bd0-aee6-73c742a388b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203634Z:aaf0726c-8b58-4bd0-aee6-73c742a388b6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/50cfdd97-4dfe-4dd0-9a33-816ba0f7d5f9?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/50cfdd97-4dfe-4dd0-9a33-816ba0f7d5f9?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svb3BlcmF0aW9uUmVzdWx0cy81MGNmZGQ5Ny00ZGZlLTRkZDAtOWEzMy04MTZiYTBmN2Q1Zjk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7e5100dd-2f3c-42d5-968d-5360efb0c0c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "bf60b83c-a6a0-4ea9-a117-6bfc92d89bc5" + ], + "x-ms-correlation-request-id": [ + "bf60b83c-a6a0-4ea9-a117-6bfc92d89bc5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203634Z:bf60b83c-a6a0-4ea9-a117-6bfc92d89bc5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/50cfdd97-4dfe-4dd0-9a33-816ba0f7d5f9?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/50cfdd97-4dfe-4dd0-9a33-816ba0f7d5f9?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svb3BlcmF0aW9uUmVzdWx0cy81MGNmZGQ5Ny00ZGZlLTRkZDAtOWEzMy04MTZiYTBmN2Q1Zjk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:36:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "561e9acf-537b-405c-bc80-325924280079" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "1c8bae0a-e1a0-4407-8ead-c6bbba3ca5c3" + ], + "x-ms-correlation-request-id": [ + "1c8bae0a-e1a0-4407-8ead-c6bbba3ca5c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203649Z:1c8bae0a-e1a0-4407-8ead-c6bbba3ca5c3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:49 GMT" + ], + "ETag": [ + "0x8D2259B3D396C1F" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "60e110d4-0307-4384-a824-e526348b6f83" + ], + "x-ms-correlation-request-id": [ + "60e110d4-0307-4384-a824-e526348b6f83" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203651Z:60e110d4-0307-4384-a824-e526348b6f83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "c81b9bdb-19f6-4fb8-93e2-bcb70ad8c7f0" + ], + "x-ms-correlation-request-id": [ + "c81b9bdb-19f6-4fb8-93e2-bcb70ad8c7f0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203651Z:c81b9bdb-19f6-4fb8-93e2-bcb70ad8c7f0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:36:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "5a32efee-52bc-4093-92fb-ce39b6289b9c" + ], + "x-ms-correlation-request-id": [ + "5a32efee-52bc-4093-92fb-ce39b6289b9c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203707Z:5a32efee-52bc-4093-92fb-ce39b6289b9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:37:07 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "56886280-c5f0-479b-a040-0deb45c28324" + ], + "x-ms-correlation-request-id": [ + "56886280-c5f0-479b-a040-0deb45c28324" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203722Z:56886280-c5f0-479b-a040-0deb45c28324" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:37:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "fdb714f2-4375-4719-a732-8042bf8bb5ab" + ], + "x-ms-correlation-request-id": [ + "fdb714f2-4375-4719-a732-8042bf8bb5ab" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203737Z:fdb714f2-4375-4719-a732-8042bf8bb5ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:37:37 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json index 2596b62faee3..69933d36f0d0 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" - ], - "x-ms-request-id": [ - "9d37f079-e5a5-4c2e-bdc7-6db918deba71" - ], - "x-ms-correlation-request-id": [ - "9d37f079-e5a5-4c2e-bdc7-6db918deba71" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T202829Z:9d37f079-e5a5-4c2e-bdc7-6db918deba71" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:28:28 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe\",\r\n \"name\": \"test-list-task-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "191" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" ], "x-ms-request-id": [ - "93366a9c-f809-41ec-8732-9840f2ba6ba2" + "aed8e9dd-6198-418e-9ee2-20fa5ef20613" ], "x-ms-correlation-request-id": [ - "93366a9c-f809-41ec-8732-9840f2ba6ba2" + "aed8e9dd-6198-418e-9ee2-20fa5ef20613" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202833Z:93366a9c-f809-41ec-8732-9840f2ba6ba2" + "WESTUS:20150305T203827Z:aed8e9dd-6198-418e-9ee2-20fa5ef20613" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:38:27 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:30 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], "request-id": [ - "1b922ea6-c970-4402-b0e5-61942a70cecb" + "781a6edc-c16c-4bc1-8680-e9a8fbdb68b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" - ], "x-ms-request-id": [ - "c7d8383f-32b3-4144-88eb-de64e4ca5a23" + "435e9e4c-5c26-4e41-b68d-5dc0876c21f7" ], "x-ms-correlation-request-id": [ - "c7d8383f-32b3-4144-88eb-de64e4ca5a23" + "435e9e4c-5c26-4e41-b68d-5dc0876c21f7" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202830Z:c7d8383f-32b3-4144-88eb-de64e4ca5a23" + "WESTUS:20150305T203832Z:435e9e4c-5c26-4e41-b68d-5dc0876c21f7" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:29 GMT" + "Thu, 05 Mar 2015 20:38:32 GMT" ], - "ETag": [ - "0x8D2889CF41A202B" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/781a6edc-c16c-4bc1-8680-e9a8fbdb68b7?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/781a6edc-c16c-4bc1-8680-e9a8fbdb68b7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvb3BlcmF0aW9uUmVzdWx0cy83ODFhNmVkYy1jMTZjLTRiYzEtODY4MC1lOWE4ZmJkYjY4Yjc/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlisttaskpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "344" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:38:33 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "c8dce45a-7697-4423-b9eb-2a549888f3fc" + "f908410f-f952-4010-b040-3fc01f92c3ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "31993" ], "x-ms-request-id": [ - "8a76b7df-3aea-4563-b499-c6387ca28526" + "12c907fd-7552-484e-a2f4-dcfa111af415" ], "x-ms-correlation-request-id": [ - "8a76b7df-3aea-4563-b499-c6387ca28526" + "12c907fd-7552-484e-a2f4-dcfa111af415" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202833Z:8a76b7df-3aea-4563-b499-c6387ca28526" + "WESTUS:20150305T203833Z:12c907fd-7552-484e-a2f4-dcfa111af415" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:38:33 GMT" ], "ETag": [ - "0x8D2889CF5FAE3C9" + "0x8D2259B7B7AA2B0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskpipe\",\r\n \"primary\": \"+d7kICjjdMJWM1txbLqQOu5vEqPJ8vRAdKBf5iv6v3i+N9svMm5+a+jyg5UeBvciys/YDn0eUkgrytNMxUwOoQ==\",\r\n \"secondary\": \"PfpuEXWeeYIUUn74fJ/xL797sc59n7QfK2xfszQUb6U3rn8l4/lAmFClJgoomc7d06gCHbagNYPA1CLMxvc9rg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "238" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "a5986038-19e8-44d5-9d29-37040b391d9b" + "dfee2572-3325-45df-832d-7d5e7c7c8a8b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1189" ], "x-ms-request-id": [ - "3fc426d8-daf1-4cac-885a-f48d17d11cb0" + "74e7af0b-fd34-4c58-aaac-bd0651f8d071" ], "x-ms-correlation-request-id": [ - "3fc426d8-daf1-4cac-885a-f48d17d11cb0" + "74e7af0b-fd34-4c58-aaac-bd0651f8d071" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202830Z:3fc426d8-daf1-4cac-885a-f48d17d11cb0" + "WESTUS:20150305T203833Z:74e7af0b-fd34-4c58-aaac-bd0651f8d071" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:29 GMT" + "Thu, 05 Mar 2015 20:38:33 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskpipe\",\r\n \"primary\": \"+d7kICjjdMJWM1txbLqQOu5vEqPJ8vRAdKBf5iv6v3i+N9svMm5+a+jyg5UeBvciys/YDn0eUkgrytNMxUwOoQ==\",\r\n \"secondary\": \"PfpuEXWeeYIUUn74fJ/xL797sc59n7QfK2xfszQUb6U3rn8l4/lAmFClJgoomc7d06gCHbagNYPA1CLMxvc9rg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "238" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "35d95fa7-9bf6-4876-be3d-c0711b1c927f" + "9f767b48-9a52-4ec7-84ba-884e5c215bed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1188" ], "x-ms-request-id": [ - "858e0643-7568-4cf6-8f70-5060c5b3cf51" + "788f5123-ed84-4590-b806-7736fba648a6" ], "x-ms-correlation-request-id": [ - "858e0643-7568-4cf6-8f70-5060c5b3cf51" + "788f5123-ed84-4590-b806-7736fba648a6" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T202833Z:858e0643-7568-4cf6-8f70-5060c5b3cf51" + "WESTUS:20150305T203949Z:788f5123-ed84-4590-b806-7736fba648a6" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:39:48 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"listTaskPipeWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "170" + "168" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "a133c634-75ad-4c58-b211-cbbed9d30e2b" + "abaa9cc1-324a-4e6a-83a2-3694456f62a4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:31 GMT" + "Thu, 05 Mar 2015 20:39:45 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:31 GMT" + "Thu, 05 Mar 2015 20:39:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "e4fae2e5-13ac-40d1-ab34-062096ff80c8" + "6c4780c7-881a-47ee-a2cb-3722774fbb91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/listTaskPipeWI" + "https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 20:28:31 GMT" + "Thu, 05 Mar 2015 20:39:45 GMT" ], "ETag": [ - "0x8D2889CF4F710D9" + "0x8D2259BA69C3205" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/listTaskPipeWI" + "https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/listTaskPipeWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXST9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3d51e0ad-0afe-4803-a83f-47cb49a1f2ef" + "e61d7cc1-cdad-4ed3-ba4d-6c3f8d263d58" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:31 GMT" + "Thu, 05 Mar 2015 20:39:46 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"listTaskPipeWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI\",\r\n \"eTag\": \"0x8D2889CF4F710D9\",\r\n \"lastModified\": \"2015-07-09T20:28:31.8769369Z\",\r\n \"creationTime\": \"2015-07-09T20:28:31.8769369Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:31.8769369Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2259BA69C3205\",\r\n \"lastModified\": \"2015-03-05T20:39:45.8074117Z\",\r\n \"creationTime\": \"2015-03-05T20:39:45.8074117Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:39:45.8074117Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:31 GMT" + "Thu, 05 Mar 2015 20:39:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "7a3b767a-a96a-4054-aa38-7f3b1003e706" + "a257cc16-111c-4f91-af51-44f2241d7b15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:30 GMT" + "Thu, 05 Mar 2015 20:39:46 GMT" ], "ETag": [ - "0x8D2889CF4F710D9" + "0x8D2259BA69C3205" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,8 +406,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskPipeWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXST9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -457,28 +415,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c7552cbb-80f1-4f95-80cc-81a1b2793fd2" + "0fec40d4-791e-4017-919c-ff07d8eb9154" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:34 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"listTaskPipeWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI\",\r\n \"eTag\": \"0x8D2889CF4F710D9\",\r\n \"lastModified\": \"2015-07-09T20:28:31.8769369Z\",\r\n \"creationTime\": \"2015-07-09T20:28:31.8769369Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:31.8769369Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2259BA69C3205\",\r\n \"lastModified\": \"2015-03-05T20:39:45.8074117Z\",\r\n \"creationTime\": \"2015-03-05T20:39:45.8074117Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:39:45.8074117Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:31 GMT" + "Thu, 05 Mar 2015 20:39:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "03ee1f25-334e-4512-87cf-1749a6507424" + "83cc13e4-2086-4f92-9e14-8aa2d953f24c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,10 +445,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:34 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" ], "ETag": [ - "0x8D2889CF4F710D9" + "0x8D2259BA69C3205" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -499,40 +457,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "150" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "c20d9601-3e0d-4f79-8d6d-841b10dfe16c" + "1a7a6108-0d94-49ef-8299-6f8140950ba6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:32 GMT" + "Thu, 05 Mar 2015 20:39:46 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:32 GMT" + "Thu, 05 Mar 2015 20:39:46 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "88db60ea-d45c-46fb-b7d9-cb410ec71438" + "32d2e69b-9662-4a7c-9ad3-2b1a8c38c3ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -541,16 +499,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001/tasks/testTask" + "https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask" ], "Date": [ - "Thu, 09 Jul 2015 20:28:32 GMT" + "Thu, 05 Mar 2015 20:39:46 GMT" ], "ETag": [ - "0x8D2889CF55BDCB9" + "0x8D2259BA749E487" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001/tasks/testTask" + "https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -559,8 +517,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/listTaskPipeWI/jobs/job-0000000001?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe\",\r\n \"name\": \"testlisttaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "763" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "e05d56c5-b689-4568-a7bc-9008cf287d91" + ], + "x-ms-correlation-request-id": [ + "e05d56c5-b689-4568-a7bc-9008cf287d91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203948Z:e05d56c5-b689-4568-a7bc-9008cf287d91" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:39:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:39:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b99d0d62-0f8b-4a12-af19-299824a0001d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "0a259c9b-7ce6-4c81-b3a7-dc2b35326e6f" + ], + "x-ms-correlation-request-id": [ + "0a259c9b-7ce6-4c81-b3a7-dc2b35326e6f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203949Z:0a259c9b-7ce6-4c81-b3a7-dc2b35326e6f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:39:48 GMT" + ], + "ETag": [ + "0x8D2259BA8479F1C" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -568,28 +637,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1f17bbde-91d7-47b7-a9e1-19db899d2865" + "e9bc6607-bd03-4dd9-be43-798e42c93d41" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:39:49 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889CF51FC2A6\",\r\n \"lastModified\": \"2015-07-09T20:28:32.1436326Z\",\r\n \"creationTime\": \"2015-07-09T20:28:32.122633Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:32.1436326Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:28:32.1436326Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2259BA6A5733C\",\r\n \"lastModified\": \"2015-03-05T20:39:45.8680636Z\",\r\n \"creationTime\": \"2015-03-05T20:39:45.8520551Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:39:45.8680636Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-05T20:39:45.8680636Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:28:32 GMT" + "Thu, 05 Mar 2015 20:39:45 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4b16d608-b52f-4197-9929-61d0a39198d5" + "170d18f7-b1fb-48dd-88c2-128949e7033c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -598,10 +667,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:39:49 GMT" ], "ETag": [ - "0x8D2889CF51FC2A6" + "0x8D2259BA6A5733C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -610,8 +679,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -619,16 +688,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ff22e7cf-3730-4e10-8b2a-0f44c6d3afbc" + "94498d1d-5c86-45ab-9c64-9cae145ef629" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:34 GMT" + "Thu, 05 Mar 2015 20:39:49 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889CF55BDCB9\",\r\n \"creationTime\": \"2015-07-09T20:28:32.5375161Z\",\r\n \"lastModified\": \"2015-07-09T20:28:32.5375161Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:33.6037648Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:28:33.4927759Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:28:33.4927759Z\",\r\n \"endTime\": \"2015-07-09T20:28:33.6037648Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2259BA749E487\",\r\n \"creationTime\": \"2015-03-05T20:39:46.9457543Z\",\r\n \"lastModified\": \"2015-03-05T20:39:46.9457543Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:39:46.9457543Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -637,7 +706,7 @@ "chunked" ], "request-id": [ - "38661d72-e49c-480f-a8f6-7ae8355b0245" + "624a13c2-54dc-44c6-a670-3efb47c39643" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -646,7 +715,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:33 GMT" + "Thu, 05 Mar 2015 20:39:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -655,8 +724,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskPipeWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -664,16 +733,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "35c9a942-639a-4f6e-9952-c861b79e3676" + "ac556ddb-4d6c-4fa8-8e09-5b7bd78a6e79" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:35 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2889CF55BDCB9\",\r\n \"creationTime\": \"2015-07-09T20:28:32.5375161Z\",\r\n \"lastModified\": \"2015-07-09T20:28:32.5375161Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:33.6037648Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:28:33.4927759Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:28:33.4927759Z\",\r\n \"endTime\": \"2015-07-09T20:28:33.6037648Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D2259BA749E487\",\r\n \"creationTime\": \"2015-03-05T20:39:46.9457543Z\",\r\n \"lastModified\": \"2015-03-05T20:39:46.9457543Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:39:46.9457543Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -682,7 +751,7 @@ "chunked" ], "request-id": [ - "e3b519de-0edf-450b-821b-83ddfd0be4fa" + "e5f1f2b3-23d7-4315-8a4e-15644e66fc75" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +760,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:35 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -700,8 +769,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskPipeWI/jobs?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXSS9qb2JzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -709,16 +778,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "aaad5b6f-5aec-4ee3-abc0-2a516b21a223" + "0f9d3c6d-7a2a-475b-946d-82a8940eeaab" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:34 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/listTaskPipeWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889CF51FC2A6\",\r\n \"lastModified\": \"2015-07-09T20:28:32.1436326Z\",\r\n \"creationTime\": \"2015-07-09T20:28:32.122633Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:28:32.1436326Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:28:32.1436326Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2259BA6A5733C\",\r\n \"lastModified\": \"2015-03-05T20:39:45.8680636Z\",\r\n \"creationTime\": \"2015-03-05T20:39:45.8520551Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:39:45.8680636Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-05T20:39:45.8680636Z\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -727,7 +796,7 @@ "chunked" ], "request-id": [ - "8d8bb9d2-2888-4c01-a666-a76504bb4376" + "f872ea3a-e746-40f2-a0d2-49f2c52e1bc6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -736,7 +805,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:34 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -745,8 +814,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/listTaskPipeWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9saXN0VGFza1BpcGVXST9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -754,13 +823,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7ff5edfd-f176-4e3a-9826-384e2103dd6e" + "0a594e4c-dcac-47c2-ad3f-5654af1611a4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:28:35 GMT" + "Thu, 05 Mar 2015 20:39:51 GMT" ] }, "ResponseBody": "", @@ -769,7 +838,7 @@ "chunked" ], "request-id": [ - "115c32d1-fcdf-46ef-abba-bb2b70ae2cc1" + "22ce5661-29a4-48e0-baf8-a728a85ca780" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -778,13 +847,451 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:28:35 GMT" + "Thu, 05 Mar 2015 20:39:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a8c07ee7-12ae-4d45-bc35-fbeef41be27b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "565568b2-a44b-40a7-a3f1-775f763f4b72" + ], + "x-ms-correlation-request-id": [ + "565568b2-a44b-40a7-a3f1-775f763f4b72" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203953Z:565568b2-a44b-40a7-a3f1-775f763f4b72" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:39:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/a8c07ee7-12ae-4d45-bc35-fbeef41be27b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/a8c07ee7-12ae-4d45-bc35-fbeef41be27b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvb3BlcmF0aW9uUmVzdWx0cy9hOGMwN2VlNy0xMmFlLTRkNDUtYmMzNS1mYmVlZjQxYmUyN2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fb1416f9-4f18-4f5c-8b81-f44f6a726077" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "8f123b00-9eb5-4f54-b1e2-43befedc6b90" + ], + "x-ms-correlation-request-id": [ + "8f123b00-9eb5-4f54-b1e2-43befedc6b90" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T203953Z:8f123b00-9eb5-4f54-b1e2-43befedc6b90" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:39:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/a8c07ee7-12ae-4d45-bc35-fbeef41be27b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/a8c07ee7-12ae-4d45-bc35-fbeef41be27b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvb3BlcmF0aW9uUmVzdWx0cy9hOGMwN2VlNy0xMmFlLTRkNDUtYmMzNS1mYmVlZjQxYmUyN2I/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:40:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "1150cf27-f448-4c65-aa4c-f54be68741d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "56930c91-d785-43e4-8f20-70e84d69688f" + ], + "x-ms-correlation-request-id": [ + "56930c91-d785-43e4-8f20-70e84d69688f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204009Z:56930c91-d785-43e4-8f20-70e84d69688f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:40:08 GMT" + ], + "ETag": [ + "0x8D2259BB450314E" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "3c97b0c3-c73a-4f24-ba4c-93f8c3816ddf" + ], + "x-ms-correlation-request-id": [ + "3c97b0c3-c73a-4f24-ba4c-93f8c3816ddf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204010Z:3c97b0c3-c73a-4f24-ba4c-93f8c3816ddf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:40:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "abbb0e80-a701-4db3-904f-504afb1e0f40" + ], + "x-ms-correlation-request-id": [ + "abbb0e80-a701-4db3-904f-504afb1e0f40" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204011Z:abbb0e80-a701-4db3-904f-504afb1e0f40" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:40:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "df0ce5c9-d96c-4274-903a-e8a8d3bc410b" + ], + "x-ms-correlation-request-id": [ + "df0ce5c9-d96c-4274-903a-e8a8d3bc410b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204026Z:df0ce5c9-d96c-4274-903a-e8a8d3bc410b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:40:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "de7dda61-ab93-4179-92e0-bc30f3b829d9" + ], + "x-ms-correlation-request-id": [ + "de7dda61-ab93-4179-92e0-bc30f3b829d9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204041Z:de7dda61-ab93-4179-92e0-bc30f3b829d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:40:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "14d4e794-954b-486e-ba1a-ec6603e9878e" + ], + "x-ms-correlation-request-id": [ + "14d4e794-954b-486e-ba1a-ec6603e9878e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204056Z:14d4e794-954b-486e-ba1a-ec6603e9878e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:40:56 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json index 479730a8b56f..0bf64f363ebc 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" - ], - "x-ms-request-id": [ - "bb28882b-7d0c-46cd-b5ac-12c804411363" - ], - "x-ms-correlation-request-id": [ - "bb28882b-7d0c-46cd-b5ac-12c804411363" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T203100Z:bb28882b-7d0c-46cd-b5ac-12c804411363" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:30:59 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter\",\r\n \"name\": \"test-list-task-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "195" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" ], "x-ms-request-id": [ - "436727f0-d3d3-4f7d-a407-3dbf7e287f67" + "a38403c5-1a41-4b31-8649-5fafffdc223f" ], "x-ms-correlation-request-id": [ - "436727f0-d3d3-4f7d-a407-3dbf7e287f67" + "a38403c5-1a41-4b31-8649-5fafffdc223f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203103Z:436727f0-d3d3-4f7d-a407-3dbf7e287f67" + "WESTUS:20150305T204139Z:a38403c5-1a41-4b31-8649-5fafffdc223f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:41:39 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:01 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], "request-id": [ - "762ec4e7-eb1f-4a35-8e85-acd937f695a4" + "4a4de9d8-c4e8-4bfc-b2ad-9aa837029071" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" - ], "x-ms-request-id": [ - "7facbbd3-be6b-4a0f-88d7-59fd96cad644" + "f1060c84-2635-4ad0-8aa7-a6057848a101" ], "x-ms-correlation-request-id": [ - "7facbbd3-be6b-4a0f-88d7-59fd96cad644" + "f1060c84-2635-4ad0-8aa7-a6057848a101" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203101Z:7facbbd3-be6b-4a0f-88d7-59fd96cad644" + "WESTUS:20150305T204143Z:f1060c84-2635-4ad0-8aa7-a6057848a101" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:01 GMT" + "Thu, 05 Mar 2015 20:41:43 GMT" ], - "ETag": [ - "0x8D2889D4E00A1DD" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/4a4de9d8-c4e8-4bfc-b2ad-9aa837029071?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/4a4de9d8-c4e8-4bfc-b2ad-9aa837029071?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvNGE0ZGU5ZDgtYzRlOC00YmZjLWIyYWQtOWFhODM3MDI5MDcxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlisttaskfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "352" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:41:43 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "9a279890-1809-42b9-a1c5-b2bc70e373f2" + "18030b0d-43a8-4163-90ee-e2f27978bb45" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "31990" ], "x-ms-request-id": [ - "5025acc7-a66c-403c-86b4-7df784f4e26e" + "c928ae98-0169-43e8-9f0d-a6e4aa913781" ], "x-ms-correlation-request-id": [ - "5025acc7-a66c-403c-86b4-7df784f4e26e" + "c928ae98-0169-43e8-9f0d-a6e4aa913781" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203103Z:5025acc7-a66c-403c-86b4-7df784f4e26e" + "WESTUS:20150305T204144Z:c928ae98-0169-43e8-9f0d-a6e4aa913781" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:41:43 GMT" ], "ETag": [ - "0x8D2889D4F8D06EE" + "0x8D2259BECFB68C0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskfilter\",\r\n \"primary\": \"jDYM3bnf+YSS+iw9bg2Dvl6OPxJ+FPzH5MfwMnK+7Eelrtwr/ppjuN664L5TYn3hDiRK4uqFg8t6yX8in1Cxpw==\",\r\n \"secondary\": \"fjqaASSKJDjx7/JMW3S7+YCt9Fa3xXgVi+xhMPgZzAQMRQbUBc5FVFVL1OFRFn6koGMkIsz/yFYhNtcvcmQCjw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "fadc14a9-3353-40c4-ab70-6e060570539f" + "d36bdc1c-1ab2-4aa0-9e04-349e5d6ba76c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1191" ], "x-ms-request-id": [ - "608a6837-e3ea-4e7d-b1ea-b851cb9e44a4" + "f08e8fc2-774a-48c9-b730-5e83dce17877" ], "x-ms-correlation-request-id": [ - "608a6837-e3ea-4e7d-b1ea-b851cb9e44a4" + "f08e8fc2-774a-48c9-b730-5e83dce17877" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203101Z:608a6837-e3ea-4e7d-b1ea-b851cb9e44a4" + "WESTUS:20150305T204144Z:f08e8fc2-774a-48c9-b730-5e83dce17877" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:01 GMT" + "Thu, 05 Mar 2015 20:41:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskfilter\",\r\n \"primary\": \"jDYM3bnf+YSS+iw9bg2Dvl6OPxJ+FPzH5MfwMnK+7Eelrtwr/ppjuN664L5TYn3hDiRK4uqFg8t6yX8in1Cxpw==\",\r\n \"secondary\": \"fjqaASSKJDjx7/JMW3S7+YCt9Fa3xXgVi+xhMPgZzAQMRQbUBc5FVFVL1OFRFn6koGMkIsz/yFYhNtcvcmQCjw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "628be8a0-4fb9-4405-a2fe-51f4fd8e7527" + "e95bfba1-6021-4e72-971a-2bd78674b6c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1190" ], "x-ms-request-id": [ - "a5ae7b6a-8a98-421a-94a2-1324210f9e40" + "41b1f4df-f197-4e2d-bd6f-9e558c1254ae" ], "x-ms-correlation-request-id": [ - "a5ae7b6a-8a98-421a-94a2-1324210f9e40" + "41b1f4df-f197-4e2d-bd6f-9e558c1254ae" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203104Z:a5ae7b6a-8a98-421a-94a2-1324210f9e40" + "WESTUS:20150305T204255Z:41b1f4df-f197-4e2d-bd6f-9e558c1254ae" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:42:54 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,7 +298,7 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"filterTaskWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "9e47221f-7619-42bd-bd6a-bdc069e3acd7" + "4ac65709-dcae-41da-9ce5-83f8045adaa6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:01 GMT" + "Thu, 05 Mar 2015 20:42:49 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "cd7f67ee-fa19-4297-b276-d7dfbc09af63" + "a53cb5cf-0199-41bf-b618-6f8eb390816a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 20:31:01 GMT" + "Thu, 05 Mar 2015 20:42:49 GMT" ], "ETag": [ - "0x8D2889D4E727911" + "0x8D2259C143F8CE4" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/filterTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "77c8ff01-794f-48d9-adbf-2a98980ce63d" + "e57ccf33-b906-4777-a348-9955250ee15d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:01 GMT" + "Thu, 05 Mar 2015 20:42:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"filterTaskWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI\",\r\n \"eTag\": \"0x8D2889D4E727911\",\r\n \"lastModified\": \"2015-07-09T20:31:02.0029201Z\",\r\n \"creationTime\": \"2015-07-09T20:31:02.0029201Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:02.0029201Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2259C143F8CE4\",\r\n \"lastModified\": \"2015-03-05T20:42:49.7496292Z\",\r\n \"creationTime\": \"2015-03-05T20:42:49.7496292Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:42:49.7496292Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c8f9465f-c4f1-4ce5-a08a-45492e2b6dd9" + "3aa37414-126f-43d4-8e5f-da71b55ecd08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:01 GMT" + "Thu, 05 Mar 2015 20:42:50 GMT" ], "ETag": [ - "0x8D2889D4E727911" + "0x8D2259C143F8CE4" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,40 +406,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/filterTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "7531911d-b311-4e74-9a9e-6b12f1f67850" + "5af5fbba-a228-4946-9517-f5b40ffdffa9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:50 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:50 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "b583a060-9774-44a1-bfd5-77de1ff4cb44" + "83ce83c9-bd96-43d3-a078-8aea29f81f7b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask1" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1" ], "Date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:50 GMT" ], "ETag": [ - "0x8D2889D4EF67028" + "0x8D2259C14EC21DB" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask1" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,40 +466,40 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/filterTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask2\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask2\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "62e6990b-b004-4aed-bbc3-83f5907ba7f8" + "8a480fe0-5804-4a28-816f-de01afa9d1af" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:51 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:42:51 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "09be30de-9bf3-4593-8311-242c50876e5e" + "884fbe8b-6c0d-49b2-b844-0a773daa24bf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -550,16 +508,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask2" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2" ], "Date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:51 GMT" ], "ETag": [ - "0x8D2889D4F13A6DF" + "0x8D2259C1556C3A4" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask2" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,40 +526,40 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/filterTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"thirdTestTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"thirdTestTask\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "154" + "155" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "e8a76cec-1799-4a36-b439-6739254d69e3" + "58cfcf15-ec80-4073-a66f-c67802a2352d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:51 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:42:51 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d312829d-fc1a-40fc-9585-3bfb02b0d253" + "886035b2-161e-49e0-b8e3-4d38734836b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -610,16 +568,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/thirdTestTask" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/thirdTestTask" ], "Date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:51 GMT" ], "ETag": [ - "0x8D2889D4F735F80" + "0x8D2259C1589FF79" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/thirdTestTask" + "https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/thirdTestTask" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -628,8 +586,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/filterTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testTask')", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdFRhc2slMjclMjk=", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter\",\r\n \"name\": \"testlisttaskfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "cb252ab6-cbf1-4169-b074-8d4fe6c827c3" + ], + "x-ms-correlation-request-id": [ + "cb252ab6-cbf1-4169-b074-8d4fe6c827c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204253Z:cb252ab6-cbf1-4169-b074-8d4fe6c827c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:42:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:42:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2ddfd9e8-9b72-4764-80cd-c02c266bb7c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "6c3304a3-603a-4340-a291-a10067118753" + ], + "x-ms-correlation-request-id": [ + "6c3304a3-603a-4340-a291-a10067118753" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204254Z:6c3304a3-603a-4340-a291-a10067118753" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:42:53 GMT" + ], + "ETag": [ + "0x8D2259C16BE01AF" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testTask')", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdFRhc2slMjclMjk=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -637,16 +706,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f8f595a2-664e-4f88-803a-0208e50f0a20" + "77a3e7fe-6bd4-45cb-bc60-318c8b40a3bb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:03 GMT" + "Thu, 05 Mar 2015 20:42:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2889D4EF67028\",\r\n \"creationTime\": \"2015-07-09T20:31:02.8677672Z\",\r\n \"lastModified\": \"2015-07-09T20:31:02.8677672Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:03.112854Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:03.0178621Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:03.0178621Z\",\r\n \"endTime\": \"2015-07-09T20:31:03.112854Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2889D4F13A6DF\",\r\n \"creationTime\": \"2015-07-09T20:31:03.0592223Z\",\r\n \"lastModified\": \"2015-07-09T20:31:03.0592223Z\",\r\n \"state\": \"running\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:04.1557396Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:03.0592223Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:04.1557396Z\",\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_2-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2259C14EC21DB\",\r\n \"creationTime\": \"2015-03-05T20:42:50.8806619Z\",\r\n \"lastModified\": \"2015-03-05T20:42:50.8806619Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:42:50.8806619Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2259C1556C3A4\",\r\n \"creationTime\": \"2015-03-05T20:42:51.5794852Z\",\r\n \"lastModified\": \"2015-03-05T20:42:51.5794852Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:42:51.5794852Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -655,7 +724,7 @@ "chunked" ], "request-id": [ - "9ee36ac6-05b5-49c1-9a60-a12108ae8bd1" + "5cbe33b3-e1bf-4fe6-94de-b178d61fb394" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -664,7 +733,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:04 GMT" + "Thu, 05 Mar 2015 20:42:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -673,8 +742,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/filterTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testTask')", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdFRhc2slMjclMjk=", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testTask')", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdFRhc2slMjclMjk=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -682,16 +751,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "39cb0cf8-4b58-4b56-8a2d-505836f8dd35" + "b78cbd4a-5c4d-4f0a-a9c0-d4f30b040bb1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:04 GMT" + "Thu, 05 Mar 2015 20:42:56 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2889D4EF67028\",\r\n \"creationTime\": \"2015-07-09T20:31:02.8677672Z\",\r\n \"lastModified\": \"2015-07-09T20:31:02.8677672Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:03.112854Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:03.0178621Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:03.0178621Z\",\r\n \"endTime\": \"2015-07-09T20:31:03.112854Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2889D4F13A6DF\",\r\n \"creationTime\": \"2015-07-09T20:31:03.0592223Z\",\r\n \"lastModified\": \"2015-07-09T20:31:03.0592223Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:04.2510444Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:31:04.1557396Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:04.1557396Z\",\r\n \"endTime\": \"2015-07-09T20:31:04.2510444Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_2-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2259C14EC21DB\",\r\n \"creationTime\": \"2015-03-05T20:42:50.8806619Z\",\r\n \"lastModified\": \"2015-03-05T20:42:50.8806619Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:42:50.8806619Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2259C1556C3A4\",\r\n \"creationTime\": \"2015-03-05T20:42:51.5794852Z\",\r\n \"lastModified\": \"2015-03-05T20:42:51.5794852Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:42:51.5794852Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -700,7 +769,7 @@ "chunked" ], "request-id": [ - "bf788674-1604-4729-ba36-cfc414bf3d52" + "3c2f0cb9-3e16-42c3-9a99-1b71a8669e30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -709,7 +778,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:04 GMT" + "Thu, 05 Mar 2015 20:42:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -718,8 +787,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/filterTaskWI/jobs/job-0000000001?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0kvam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -727,28 +796,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1c83e7e6-beba-4455-86cb-198c8d21e742" + "4bb106cc-2af7-46d3-bdf3-a67f3caedd09" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:04 GMT" + "Thu, 05 Mar 2015 20:42:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/filterTaskWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889D4E7CBA66\",\r\n \"lastModified\": \"2015-07-09T20:31:02.0701286Z\",\r\n \"creationTime\": \"2015-07-09T20:31:02.0501208Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:31:02.0701286Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:31:02.0701286Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2259C1446DEA0\",\r\n \"lastModified\": \"2015-03-05T20:42:49.7975968Z\",\r\n \"creationTime\": \"2015-03-05T20:42:49.7816404Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:42:49.7975968Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-05T20:42:49.7975968Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f59c7d36-63ef-48fe-8a89-d9e7fc161255" + "f1bf9251-4b14-4ade-9d6e-735496532fad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -757,10 +826,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:02 GMT" + "Thu, 05 Mar 2015 20:42:56 GMT" ], "ETag": [ - "0x8D2889D4E7CBA66" + "0x8D2259C1446DEA0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -769,8 +838,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/filterTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9maWx0ZXJUYXNrV0k/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -778,13 +847,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "44b2ae1b-1051-481c-80c9-0ac76cdb59b6" + "781534aa-dde8-4af7-ae82-989bac881167" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:31:04 GMT" + "Thu, 05 Mar 2015 20:42:56 GMT" ] }, "ResponseBody": "", @@ -793,7 +862,7 @@ "chunked" ], "request-id": [ - "6ad9fcff-6d05-48a1-81cb-48be83e35138" + "97b2b2ac-e2f2-4c5a-9aa7-3b2c78c9a8ea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -802,13 +871,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:31:04 GMT" + "Thu, 05 Mar 2015 20:42:56 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "be93b609-7b85-486b-bb2f-5e4c6dc9c9a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "7cf1fe81-3ab4-44c4-a768-f0c262689ff4" + ], + "x-ms-correlation-request-id": [ + "7cf1fe81-3ab4-44c4-a768-f0c262689ff4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204259Z:7cf1fe81-3ab4-44c4-a768-f0c262689ff4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:42:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/be93b609-7b85-486b-bb2f-5e4c6dc9c9a2?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/be93b609-7b85-486b-bb2f-5e4c6dc9c9a2?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvYmU5M2I2MDktN2I4NS00ODZiLWJiMmYtNWU0YzZkYzljOWEyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:42:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8550d4ec-61ee-4ee5-8bbd-291b8e680d88" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "6aecd22e-d1aa-4ab9-b2a5-0ae61252ef0b" + ], + "x-ms-correlation-request-id": [ + "6aecd22e-d1aa-4ab9-b2a5-0ae61252ef0b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204259Z:6aecd22e-d1aa-4ab9-b2a5-0ae61252ef0b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:42:59 GMT" + ], + "ETag": [ + "0x8D2259C19ED6124" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "da47a7ad-97ca-4733-a7f4-6b18bad88091" + ], + "x-ms-correlation-request-id": [ + "da47a7ad-97ca-4733-a7f4-6b18bad88091" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204301Z:da47a7ad-97ca-4733-a7f4-6b18bad88091" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:43:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "e2d3a8b9-2c53-4006-b5ba-4c8bd00a062b" + ], + "x-ms-correlation-request-id": [ + "e2d3a8b9-2c53-4006-b5ba-4c8bd00a062b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204301Z:e2d3a8b9-2c53-4006-b5ba-4c8bd00a062b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:43:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "e84dfdbd-aa08-4617-a389-aa4a2e4a0739" + ], + "x-ms-correlation-request-id": [ + "e84dfdbd-aa08-4617-a389-aa4a2e4a0739" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204316Z:e84dfdbd-aa08-4617-a389-aa4a2e4a0739" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:43:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "187979ae-e591-450f-93e3-8eaa811d6a19" + ], + "x-ms-correlation-request-id": [ + "187979ae-e591-450f-93e3-8eaa811d6a19" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204331Z:187979ae-e591-450f-93e3-8eaa811d6a19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:43:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "4a03a1f6-8fc6-4826-9b38-64f851189f09" + ], + "x-ms-correlation-request-id": [ + "4a03a1f6-8fc6-4826-9b38-64f851189f09" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204347Z:4a03a1f6-8fc6-4826-9b38-64f851189f09" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:43:46 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json index ab0ca5cb3bd7..db2628de030b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" - ], - "x-ms-request-id": [ - "d5e01203-a70a-4167-af98-684b83cff6f8" - ], - "x-ms-correlation-request-id": [ - "d5e01203-a70a-4167-af98-684b83cff6f8" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T203036Z:d5e01203-a70a-4167-af98-684b83cff6f8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 20:30: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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount\",\r\n \"name\": \"test-list-task-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "199" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" ], "x-ms-request-id": [ - "e8d8700c-baf2-471a-9a42-1204d17a44f3" + "78138db8-0cf2-444d-8918-074e796a3157" ], "x-ms-correlation-request-id": [ - "e8d8700c-baf2-471a-9a42-1204d17a44f3" + "78138db8-0cf2-444d-8918-074e796a3157" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203039Z:e8d8700c-baf2-471a-9a42-1204d17a44f3" + "WESTUS:20150305T204432Z:78138db8-0cf2-444d-8918-074e796a3157" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:44:31 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:37 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], "request-id": [ - "fe2c1615-1953-47c8-b199-b491b19880ea" + "db6d1178-ce54-4d3b-a5f9-73885c17afa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" - ], "x-ms-request-id": [ - "cb721a7e-f0c7-4ea7-b85f-eafef94b23cb" + "7feb8d2d-110c-40d2-a6a1-d19a4c047049" ], "x-ms-correlation-request-id": [ - "cb721a7e-f0c7-4ea7-b85f-eafef94b23cb" + "7feb8d2d-110c-40d2-a6a1-d19a4c047049" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203037Z:cb721a7e-f0c7-4ea7-b85f-eafef94b23cb" + "WESTUS:20150305T204436Z:7feb8d2d-110c-40d2-a6a1-d19a4c047049" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:36 GMT" + "Thu, 05 Mar 2015 20:44:36 GMT" ], - "ETag": [ - "0x8D2889D3FD0F764" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/db6d1178-ce54-4d3b-a5f9-73885c17afa7?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/db6d1178-ce54-4d3b-a5f9-73885c17afa7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzL2RiNmQxMTc4LWNlNTQtNGQzYi1hNWY5LTczODg1YzE3YWZhNz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlisttaskmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "360" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:40 GMT" + "Thu, 05 Mar 2015 20:44:36 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "106a6c3e-60d0-475d-b78b-a2cc721ffc28" + "7c8f7793-aa0e-4e7f-860c-094fe48c15ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "31989" ], "x-ms-request-id": [ - "5040e28f-f4b4-45c1-bff0-46deae6c74db" + "61de2649-b4c4-4791-a404-0955dc0ff560" ], "x-ms-correlation-request-id": [ - "5040e28f-f4b4-45c1-bff0-46deae6c74db" + "61de2649-b4c4-4791-a404-0955dc0ff560" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203040Z:5040e28f-f4b4-45c1-bff0-46deae6c74db" + "WESTUS:20150305T204436Z:61de2649-b4c4-4791-a404-0955dc0ff560" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:44:36 GMT" ], "ETag": [ - "0x8D2889D41919241" + "0x8D2259C53A44CA6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskmaxcount\",\r\n \"primary\": \"rUCnQFx3s1W/N2Ampy1W9BxmmQIlDdqRX9ZDzBzj8rL9nlUMGbw+MVQWeLj0RTEqgbmXPCq1cfFQ1Slqqcd/8w==\",\r\n \"secondary\": \"8QRaPfNcPISpXHxCaIhkdsvoVTSkG5v3FEZIriRMQ8Ro66U9ARdFuzOlChG8ilDp6QH+m8ouMKmHBuoffd3RLg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "242" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "742be8d3-e673-4d35-a80e-eca2e159186c" + "b4175cd0-1452-4110-af9e-7baac5684976" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1184" ], "x-ms-request-id": [ - "4f267b53-2d7f-47ce-b29f-427a5c30795f" + "60155b69-18bf-4051-97a0-ccc8b82c5c91" ], "x-ms-correlation-request-id": [ - "4f267b53-2d7f-47ce-b29f-427a5c30795f" + "60155b69-18bf-4051-97a0-ccc8b82c5c91" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203037Z:4f267b53-2d7f-47ce-b29f-427a5c30795f" + "WESTUS:20150305T204436Z:60155b69-18bf-4051-97a0-ccc8b82c5c91" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:37 GMT" + "Thu, 05 Mar 2015 20:44:36 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskmaxcount\",\r\n \"primary\": \"rUCnQFx3s1W/N2Ampy1W9BxmmQIlDdqRX9ZDzBzj8rL9nlUMGbw+MVQWeLj0RTEqgbmXPCq1cfFQ1Slqqcd/8w==\",\r\n \"secondary\": \"8QRaPfNcPISpXHxCaIhkdsvoVTSkG5v3FEZIriRMQ8Ro66U9ARdFuzOlChG8ilDp6QH+m8ouMKmHBuoffd3RLg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "242" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "ab8bf0c3-3c70-4d63-bb6f-421082dd2fc2" + "971df685-47b3-4095-a696-b434ce8308a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1184" ], "x-ms-request-id": [ - "a5bad35d-f175-493c-b08e-b08480f60ffb" + "d48911db-3091-4730-bf9b-f8ae98cff111" ], "x-ms-correlation-request-id": [ - "a5bad35d-f175-493c-b08e-b08480f60ffb" + "d48911db-3091-4730-bf9b-f8ae98cff111" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T203040Z:a5bad35d-f175-493c-b08e-b08480f60ffb" + "WESTUS:20150305T204538Z:d48911db-3091-4730-bf9b-f8ae98cff111" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:45:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -340,37 +298,37 @@ "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"maxCountTaskWI\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "170" + "168" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "075ea8a9-fb2d-47c9-9009-a77e6b7059da" + "293c4cb3-9553-4c05-8bb4-ba44c4b9a709" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:37 GMT" + "Thu, 05 Mar 2015 20:45:33 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:34 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "0c50cc4d-b5d7-41af-87e2-f6c47bf5de2f" + "28ecf87c-9eac-4ebf-b79b-4baf5a0f79b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 20:30:37 GMT" + "Thu, 05 Mar 2015 20:45:33 GMT" ], "ETag": [ - "0x8D2889D404467BE" + "0x8D2259C762E653C" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,8 +355,8 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/maxCountTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXST9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -406,28 +364,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "18645d9e-00d0-4108-8960-d715b44f737c" + "d09c763d-f02e-49b0-b2e4-4305922647b1" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:37 GMT" + "Thu, 05 Mar 2015 20:45:34 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"maxCountTaskWI\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI\",\r\n \"eTag\": \"0x8D2889D404467BE\",\r\n \"lastModified\": \"2015-07-09T20:30:38.2129086Z\",\r\n \"creationTime\": \"2015-07-09T20:30:38.2129086Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:38.2129086Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D2259C762E653C\",\r\n \"lastModified\": \"2015-03-05T20:45:34.0539196Z\",\r\n \"creationTime\": \"2015-03-05T20:45:34.0539196Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:34.0539196Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:34 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "82407b76-62ec-4717-9be4-48d34030f8fe" + "e8587773-0d38-4c17-9ee3-04e0667e8ba0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +394,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:34 GMT" ], "ETag": [ - "0x8D2889D404467BE" + "0x8D2259C762E653C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,40 +406,40 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/maxCountTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask1\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "fa373617-d6a8-4044-b4dc-0aacb4fa253a" + "89cb9d7a-c291-4f38-99f1-769443b76a14" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:35 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:35 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "73429d0a-ef81-46bf-a140-72e91e691f85" + "76a09101-2a06-4139-b502-4b5bf0720a10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -490,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask1" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1" ], "Date": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:35 GMT" ], "ETag": [ - "0x8D2889D4097C7D3" + "0x8D2259C76DA7936" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask1" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,40 +466,40 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/maxCountTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask2\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask2\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "85067206-3f4b-4158-90cc-c206e4ff8156" + "d6b857b2-3c9f-416f-9664-bf27dbaf8dd6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:35 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:45:35 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "cfe20a06-dab2-4a2c-9418-521916cde66f" + "9af2572d-6656-4f03-b1d0-86e2c5196839" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -550,16 +508,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask2" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2" ], "Date": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:45:35 GMT" ], "ETag": [ - "0x8D2889D40F836B0" + "0x8D2259C772EF914" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask2" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -568,40 +526,40 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/maxCountTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask3\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask3\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "150" + "151" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "d0abbfbc-2187-46ef-91c9-b85684ff3aa8" + "e67498a4-8de4-49d6-8fa0-4d7389d98246" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:45:36 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:39 GMT" + "Thu, 05 Mar 2015 20:45:36 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "07f3b44c-9dc1-4b49-8702-0962d0303424" + "b10797e4-652c-4f09-8b3f-b93d24e15b36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -610,16 +568,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask3" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3" ], "Date": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:36 GMT" ], "ETag": [ - "0x8D2889D4101A6EA" + "0x8D2259C7763F252" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask3" + "https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -628,8 +586,119 @@ "StatusCode": 201 }, { - "RequestUri": "/workitems/maxCountTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount\",\r\n \"name\": \"testlisttaskmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "882ae14c-c594-40b6-9645-d8f08b30e509" + ], + "x-ms-correlation-request-id": [ + "882ae14c-c594-40b6-9645-d8f08b30e509" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204537Z:882ae14c-c594-40b6-9645-d8f08b30e509" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:45:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ceef29cb-fcc9-4489-849c-e257bb127566" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "2a894961-7d10-40d5-98a7-b10d96f051fe" + ], + "x-ms-correlation-request-id": [ + "2a894961-7d10-40d5-98a7-b10d96f051fe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204538Z:2a894961-7d10-40d5-98a7-b10d96f051fe" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:38 GMT" + ], + "ETag": [ + "0x8D2259C786DF080" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -637,16 +706,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e42b396d-3b35-4c8d-beef-e1ddd61c7e99" + "0e5c0338-f404-45a8-9f7d-aa548415fe86" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:40 GMT" + "Thu, 05 Mar 2015 20:45:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2889D4097C7D3\",\r\n \"creationTime\": \"2015-07-09T20:30:38.7593171Z\",\r\n \"lastModified\": \"2015-07-09T20:30:38.7593171Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:40.1688401Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:30:40.0568397Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:30:40.0568397Z\",\r\n \"endTime\": \"2015-07-09T20:30:40.1688401Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_2-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2889D40F836B0\",\r\n \"creationTime\": \"2015-07-09T20:30:39.3913008Z\",\r\n \"lastModified\": \"2015-07-09T20:30:39.3913008Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:39.8857452Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:30:39.784387Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:30:39.784387Z\",\r\n \"endTime\": \"2015-07-09T20:30:39.8857452Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2889D4101A6EA\",\r\n \"creationTime\": \"2015-07-09T20:30:39.4531562Z\",\r\n \"lastModified\": \"2015-07-09T20:30:39.4531562Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:39.4531562Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\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}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2259C76DA7936\",\r\n \"creationTime\": \"2015-03-05T20:45:35.1816502Z\",\r\n \"lastModified\": \"2015-03-05T20:45:35.1816502Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:35.1816502Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2259C772EF914\",\r\n \"creationTime\": \"2015-03-05T20:45:35.735426Z\",\r\n \"lastModified\": \"2015-03-05T20:45:35.735426Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:35.735426Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2259C7763F252\",\r\n \"creationTime\": \"2015-03-05T20:45:36.0825938Z\",\r\n \"lastModified\": \"2015-03-05T20:45:36.0825938Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:36.0825938Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -655,7 +724,7 @@ "chunked" ], "request-id": [ - "083fe641-6962-4e04-b33a-2d61bc9104ac" + "ff7086fe-7d99-49f3-925a-49d8995a764b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -664,7 +733,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:30:40 GMT" + "Thu, 05 Mar 2015 20:45:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -673,8 +742,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/maxCountTaskWI/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXSS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -682,16 +751,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cad9acca-7d54-4a1b-a253-1b6152f4c305" + "0a33a63f-ff46-4404-b6b3-b4f185db303c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:40 GMT" + "Thu, 05 Mar 2015 20:45:39 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2889D4097C7D3\",\r\n \"creationTime\": \"2015-07-09T20:30:38.7593171Z\",\r\n \"lastModified\": \"2015-07-09T20:30:38.7593171Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:40.1688401Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:30:40.0568397Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:30:40.0568397Z\",\r\n \"endTime\": \"2015-07-09T20:30:40.1688401Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_2-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2889D40F836B0\",\r\n \"creationTime\": \"2015-07-09T20:30:39.3913008Z\",\r\n \"lastModified\": \"2015-07-09T20:30:39.3913008Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:39.8857452Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:30:39.784387Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:30:39.784387Z\",\r\n \"endTime\": \"2015-07-09T20:30:39.8857452Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_1-20150709t190321z\"\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2889D4101A6EA\",\r\n \"creationTime\": \"2015-07-09T20:30:39.4531562Z\",\r\n \"lastModified\": \"2015-07-09T20:30:39.4531562Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:40.9634Z\",\r\n \"previousState\": \"running\",\r\n \"previousStateTransitionTime\": \"2015-07-09T20:30:40.8714001Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": true,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:30:40.8714001Z\",\r\n \"endTime\": \"2015-07-09T20:30:40.9634Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n },\r\n \"tvmInfo\": {\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmUrl\": \"https://pstests.batch.core.windows.net/pools/testpool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"poolName\": \"testpool\",\r\n \"tvmName\": \"tvm-4155946844_3-20150709t190321z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D2259C76DA7936\",\r\n \"creationTime\": \"2015-03-05T20:45:35.1816502Z\",\r\n \"lastModified\": \"2015-03-05T20:45:35.1816502Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:35.1816502Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D2259C772EF914\",\r\n \"creationTime\": \"2015-03-05T20:45:35.735426Z\",\r\n \"lastModified\": \"2015-03-05T20:45:35.735426Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:35.735426Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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 \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D2259C7763F252\",\r\n \"creationTime\": \"2015-03-05T20:45:36.0825938Z\",\r\n \"lastModified\": \"2015-03-05T20:45:36.0825938Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:36.0825938Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\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" @@ -700,7 +769,7 @@ "chunked" ], "request-id": [ - "7743c2a5-57a0-4d88-a552-e355bf3b7635" + "a24296c3-a28c-4ee7-a6dc-817f27321900" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -709,7 +778,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:30:40 GMT" + "Thu, 05 Mar 2015 20:45:39 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -718,8 +787,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/maxCountTaskWI/jobs/job-0000000001?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXSS9qb2JzL2pvYi0wMDAwMDAwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -727,28 +796,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5e10f887-978e-444d-b286-eef486b7fc3c" + "fa863c60-8d6f-4dfb-b392-f8051a496fdb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:40 GMT" + "Thu, 05 Mar 2015 20:45:38 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/maxCountTaskWI/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2889D404D19EB\",\r\n \"lastModified\": \"2015-07-09T20:30:38.2698987Z\",\r\n \"creationTime\": \"2015-07-09T20:30:38.2508984Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T20:30:38.2698987Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-07-09T20:30:38.2698987Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D2259C76389252\",\r\n \"lastModified\": \"2015-03-05T20:45:34.1206098Z\",\r\n \"creationTime\": \"2015-03-05T20:45:34.0919229Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T20:45:34.1206098Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-03-05T20:45:34.1206098Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 20:30:38 GMT" + "Thu, 05 Mar 2015 20:45:34 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "65b31e3d-1929-4de4-adc8-345d58f6ca7d" + "c52bcf93-1ae9-4eae-b266-e6899b872a40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -757,10 +826,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:30:41 GMT" + "Thu, 05 Mar 2015 20:45:39 GMT" ], "ETag": [ - "0x8D2889D404D19EB" + "0x8D2259C76389252" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -769,8 +838,8 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems/maxCountTaskWI?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcy9tYXhDb3VudFRhc2tXST9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -778,13 +847,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "36ddfe56-c02f-40cf-943f-908b0aaf52a3" + "eacc168c-f3cf-4128-8b7d-9ce9133760e9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 20:30:41 GMT" + "Thu, 05 Mar 2015 20:45:39 GMT" ] }, "ResponseBody": "", @@ -793,7 +862,7 @@ "chunked" ], "request-id": [ - "db6e4f9f-25cd-4df7-97e0-7dcb32c7cb44" + "10403c25-c838-4e6a-801c-55f3e6c31aa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -802,13 +871,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 20:30:41 GMT" + "Thu, 05 Mar 2015 20:45:39 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "bebf8ffb-b0ad-4f1b-aa94-f3fcf4063f86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "x-ms-request-id": [ + "d25e7b57-4d5d-4b05-9e17-3b9ff23168bd" + ], + "x-ms-correlation-request-id": [ + "d25e7b57-4d5d-4b05-9e17-3b9ff23168bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204542Z:d25e7b57-4d5d-4b05-9e17-3b9ff23168bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/bebf8ffb-b0ad-4f1b-aa94-f3fcf4063f86?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/bebf8ffb-b0ad-4f1b-aa94-f3fcf4063f86?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzL2JlYmY4ZmZiLWIwYWQtNGYxYi1hYTk0LWYzZmNmNDA2M2Y4Nj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 20:45:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4d178681-8326-48ee-a547-8f220f208064" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "36b42149-dc8a-4341-8996-88e7f8060441" + ], + "x-ms-correlation-request-id": [ + "36b42149-dc8a-4341-8996-88e7f8060441" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204542Z:36b42149-dc8a-4341-8996-88e7f8060441" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:42 GMT" + ], + "ETag": [ + "0x8D2259C7B0307A3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "5131e64f-8a97-4167-9e92-10fd982aa24a" + ], + "x-ms-correlation-request-id": [ + "5131e64f-8a97-4167-9e92-10fd982aa24a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204544Z:5131e64f-8a97-4167-9e92-10fd982aa24a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "3b358d7f-49fe-4fe3-a6cf-8c347130c02a" + ], + "x-ms-correlation-request-id": [ + "3b358d7f-49fe-4fe3-a6cf-8c347130c02a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204544Z:3b358d7f-49fe-4fe3-a6cf-8c347130c02a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "d613005a-a1c6-4b30-8803-65986d08d046" + ], + "x-ms-correlation-request-id": [ + "d613005a-a1c6-4b30-8803-65986d08d046" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204559Z:d613005a-a1c6-4b30-8803-65986d08d046" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:45:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "3678ba96-be2a-442b-89bd-e8c6d2f0a848" + ], + "x-ms-correlation-request-id": [ + "3678ba96-be2a-442b-89bd-e8c6d2f0a848" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204615Z:3678ba96-be2a-442b-89bd-e8c6d2f0a848" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:46:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "6392a3e4-5ae1-4332-8e79-2391b1a20d37" + ], + "x-ms-correlation-request-id": [ + "6392a3e4-5ae1-4332-8e79-2391b1a20d37" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T204630Z:6392a3e4-5ae1-4332-8e79-2391b1a20d37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 20:46:30 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestGetVMByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestGetVMByName.json index e7460e406cd4..944563a78a0e 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestGetVMByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestGetVMByName.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "484" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "31993" ], "x-ms-request-id": [ - "37ebaa47-114e-4f88-9aa2-491f1068f5de" + "0c632656-5de8-4a0c-b19c-e4cbbde9596a" ], "x-ms-correlation-request-id": [ - "37ebaa47-114e-4f88-9aa2-491f1068f5de" + "0c632656-5de8-4a0c-b19c-e4cbbde9596a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190819Z:37ebaa47-114e-4f88-9aa2-491f1068f5de" + "CENTRALUS:20150331T184326Z:0c632656-5de8-4a0c-b19c-e4cbbde9596a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:08:19 GMT" + "Tue, 31 Mar 2015 18:43:26 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"vmtests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"vmtests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "307" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:20 GMT" + "Tue, 31 Mar 2015 18:43:28 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "2edd5d36-b5ff-467e-bf91-631e5fb84de6" + "02216872-3be5-495b-894a-da9792b5cd64" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "31995" ], "x-ms-request-id": [ - "350511a5-336f-40df-8bfd-5f176a7d1f0a" + "53319c9f-1a92-48be-b844-ef4bbfd7448b" ], "x-ms-correlation-request-id": [ - "350511a5-336f-40df-8bfd-5f176a7d1f0a" + "53319c9f-1a92-48be-b844-ef4bbfd7448b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190820Z:350511a5-336f-40df-8bfd-5f176a7d1f0a" + "CENTRALUS:20150331T184328Z:53319c9f-1a92-48be-b844-ef4bbfd7448b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:08:20 GMT" + "Tue, 31 Mar 2015 18:43:28 GMT" ], "ETag": [ - "0x8D28891C15000DE" + "0x8D239F9B69C4735" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,19 +112,19 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"vmtests\",\r\n \"primary\": \"Q3qH/tNRG6f8IWCxnJnlOt/RWKp6IxlULHwHuT0Dpjrj5Q3JbIfh35ilSKLO9goKaG9ML2Xl//xyg5dAyjPwXQ==\",\r\n \"secondary\": \"C4qco6CRJmOtPm+NZuJ1mejaE60cRvWiczMiI5YkVP0W7ZAeV/jh0vHzd6YF7MZCirT4lKUwIi7RVeN7ZxX3TQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ "229" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "4332177e-52d2-4abb-b788-102aa73ff1a6" + "8a3ee255-3b8b-4202-88c2-335e79fd101d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1198" ], "x-ms-request-id": [ - "4fdf3936-f0da-4a93-83c7-0d845b830394" + "bedb498b-58d5-4285-963d-f4c27b5bcc52" ], "x-ms-correlation-request-id": [ - "4fdf3936-f0da-4a93-83c7-0d845b830394" + "bedb498b-58d5-4285-963d-f4c27b5bcc52" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190820Z:4fdf3936-f0da-4a93-83c7-0d845b830394" + "CENTRALUS:20150331T184328Z:bedb498b-58d5-4285-963d-f4c27b5bcc52" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:08:20 GMT" + "Tue, 31 Mar 2015 18:43:28 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d5be800b-24db-4234-b09b-bbf0977bd792" + "f22ed3a8-2a53-463c-a6ae-9ca463d960ca" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:08:20 GMT" + "Tue, 31 Mar 2015 18:43:29 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:05:21.2458155Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.7418843Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.6548918Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.773026Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6520273Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.6824444Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.603148Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.7094503Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6014509Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "74dad808-e5e3-4808-bff1-07e84061c6b9" + "ddf2f4d4-a86b-431a-b7ea-22f6545c0e16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:08:20 GMT" + "Tue, 31 Mar 2015 18:43:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -214,8 +214,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQxODAxNTV6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c00bd743-93e0-4aa2-9b9f-edbf2da5494e" + "a7f22400-cb88-400d-b99d-9cdcf2e3d061" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:08:20 GMT" + "Tue, 31 Mar 2015 18:43:30 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:05:21.2458155Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "8608dfaa-764a-4cca-be0a-7bdab55510fc" + "3e80fd45-1a0a-4531-9141-f04a409a6301" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:08:21 GMT" + "Tue, 31 Mar 2015 18:43:30 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -259,8 +259,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDMzMXQxODAxNTV6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -268,16 +268,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4725604f-4244-4bcc-8df6-c0e45a80c1c9" + "002b5b82-2e93-4392-984a-ffb4d0b06a64" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:08:21 GMT" + "Tue, 31 Mar 2015 18:43:30 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:05:21.2458155Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -286,7 +286,7 @@ "chunked" ], "request-id": [ - "8ecc8735-dffb-4cd1-ace5-1b4a0a1e8ad4" + "c925a5a3-be0d-4b2f-9c0c-c404e163454a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -295,7 +295,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:08:21 GMT" + "Tue, 31 Mar 2015 18:43:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -306,6 +306,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListAllVMs.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListAllVMs.json index 8bd3d2ccb06c..ebb4d41cd6cb 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListAllVMs.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListAllVMs.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "694" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "31993" ], "x-ms-request-id": [ - "e57f1fde-8ccc-4be2-9753-298a593360d9" + "28421aaa-fd03-48bd-9722-55c267658fcf" ], "x-ms-correlation-request-id": [ - "e57f1fde-8ccc-4be2-9753-298a593360d9" + "28421aaa-fd03-48bd-9722-55c267658fcf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190903Z:e57f1fde-8ccc-4be2-9753-298a593360d9" + "CENTRALUS:20150331T200127Z:28421aaa-fd03-48bd-9722-55c267658fcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,139 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:09:03 GMT" + "Tue, 31 Mar 2015 20:01:26 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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" - ], - "x-ms-request-id": [ - "6020337e-cf49-43ef-821b-9815cce4de45" - ], - "x-ms-correlation-request-id": [ - "6020337e-cf49-43ef-821b-9815cce4de45" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190904Z:6020337e-cf49-43ef-821b-9815cce4de45" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:09:04 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.batch.core.windows.net\",\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": [ - "Thu, 09 Jul 2015 19:09:04 GMT" - ], - "Pragma": [ - "no-cache" - ], - "request-id": [ - "4b86429d-7ea5-48d8-bcb0-404e7e754e64" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" - ], - "x-ms-request-id": [ - "db1f05fa-3f1b-44cf-a1f4-b955c1b07a55" - ], - "x-ms-correlation-request-id": [ - "db1f05fa-3f1b-44cf-a1f4-b955c1b07a55" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190904Z:db1f05fa-3f1b-44cf-a1f4-b955c1b07a55" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:09:03 GMT" - ], - "ETag": [ - "0x8D28891DB3CA1AE" - ], - "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"vmtests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"vmtests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "307" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,94 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:09:04 GMT" + "Tue, 31 Mar 2015 20:01:29 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "f38a5644-fd26-4fd4-b07c-71e5c1fb7a30" + "24a0b64b-ea24-41eb-8141-dccfdf229e9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" + "31992" ], "x-ms-request-id": [ - "f73adf44-facc-4f94-9663-eb111cd794de" + "5cef78aa-5fab-4fbf-b365-c595a69b6863" ], "x-ms-correlation-request-id": [ - "f73adf44-facc-4f94-9663-eb111cd794de" + "5cef78aa-5fab-4fbf-b365-c595a69b6863" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190904Z:f73adf44-facc-4f94-9663-eb111cd794de" + "CENTRALUS:20150331T200129Z:5cef78aa-5fab-4fbf-b365-c595a69b6863" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:09:04 GMT" + "Tue, 31 Mar 2015 20:01:28 GMT" ], "ETag": [ - "0x8D28891DBAE7FDA" - ], - "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\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "229" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "request-id": [ - "88c94ee6-0af7-4521-a3e3-efec66ab662e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" - ], - "x-ms-request-id": [ - "565a500b-17d3-4e3c-9cb1-097ec98d773b" - ], - "x-ms-correlation-request-id": [ - "565a500b-17d3-4e3c-9cb1-097ec98d773b" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190904Z:565a500b-17d3-4e3c-9cb1-097ec98d773b" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:09:03 GMT" + "0x8D23A049C8F5080" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,19 +112,19 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"vmtests\",\r\n \"primary\": \"Q3qH/tNRG6f8IWCxnJnlOt/RWKp6IxlULHwHuT0Dpjrj5Q3JbIfh35ilSKLO9goKaG9ML2Xl//xyg5dAyjPwXQ==\",\r\n \"secondary\": \"C4qco6CRJmOtPm+NZuJ1mejaE60cRvWiczMiI5YkVP0W7ZAeV/jh0vHzd6YF7MZCirT4lKUwIi7RVeN7ZxX3TQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ "229" @@ -307,79 +139,28 @@ "no-cache" ], "request-id": [ - "eb52cceb-b758-4bf5-b701-c037fc87e575" + "4a68b025-f849-43ae-8783-36c2448fc17c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1197" ], "x-ms-request-id": [ - "d1b9bd61-9ecf-4055-9217-6d83d9301203" + "0633b2cb-6a7f-41c7-9617-364f9132ead5" ], "x-ms-correlation-request-id": [ - "d1b9bd61-9ecf-4055-9217-6d83d9301203" + "0633b2cb-6a7f-41c7-9617-364f9132ead5" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190905Z:d1b9bd61-9ecf-4055-9217-6d83d9301203" + "CENTRALUS:20150331T200129Z:0633b2cb-6a7f-41c7-9617-364f9132ead5" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:09:04 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "b1737f96-c506-408f-86ca-ece96afbd241" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:09:04 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "351d1226-36e7-4499-9d0d-c9c869564ad2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 19:09:03 GMT" - ], - "ETag": [ - "0x8D28890DD2FCEE8" + "Tue, 31 Mar 2015 20:01:29 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -388,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -397,28 +178,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0813ace2-1a30-4a5c-9f76-51b3628ee713" + "c99b515d-4bd9-4547-b47f-1232d3a4001b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:09:05 GMT" + "Tue, 31 Mar 2015 20:01:29 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" - ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "d47033ba-ed58-4130-b44a-476f319eb332" + "6f3e234a-820e-476e-8462-a77ff4dc5893" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -427,10 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:09:05 GMT" - ], - "ETag": [ - "0x8D28890DD2FCEE8" + "Tue, 31 Mar 2015 20:01:32 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "97c5a71a-20ed-41a7-b8cc-1b81da0b1e90" + "9dcd5cc7-d0d0-4643-bf18-8ecb356cf21f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:09:04 GMT" + "Tue, 31 Mar 2015 20:01:31 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.7418843Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.6548918Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.773026Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6520273Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.6824444Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.603148Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.7094503Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6014509Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -466,7 +241,7 @@ "chunked" ], "request-id": [ - "b8dc375a-d6a4-4485-a395-79de12725d14" + "218f489f-935c-471a-9c33-f3cb7a62bad6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -475,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:09:05 GMT" + "Tue, 31 Mar 2015 20:01:31 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -484,8 +259,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -493,25 +268,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cc4b156b-c680-4bab-a958-f7059f651fda" + "9762a015-f135-4b98-a520-5e565e7ed812" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:09:05 GMT" + "Tue, 31 Mar 2015 20:01:30 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.7418843Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.6548918Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.773026Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6520273Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.6824444Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.603148Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.7094503Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6014509Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool\",\r\n \"eTag\": \"0x8D239F3C1ACE69C\",\r\n \"lastModified\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"creationTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-03-31T18:01:54.9119282Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], + "Last-Modified": [ + "Tue, 31 Mar 2015 18:00:50 GMT" + ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fd2ebc3e-c897-4765-ba15-ba8bae0131c7" + "2a373398-ddbe-4b69-8f16-8ee0cb9bca87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,7 +298,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:09:05 GMT" + "Tue, 31 Mar 2015 20:01:31 GMT" + ], + "ETag": [ + "0x8D239F3C1ACE69C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -531,6 +312,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMPipeline.json index 1ace6daeadb3..788cdd865be2 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMPipeline.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "484" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "31999" ], "x-ms-request-id": [ - "a106087c-b1ec-4530-b6af-0c052e3fd143" + "2119547b-dd77-47b8-ac73-3b767df562c1" ], "x-ms-correlation-request-id": [ - "a106087c-b1ec-4530-b6af-0c052e3fd143" + "2119547b-dd77-47b8-ac73-3b767df562c1" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190729Z:a106087c-b1ec-4530-b6af-0c052e3fd143" + "CENTRALUS:20150331T195612Z:2119547b-dd77-47b8-ac73-3b767df562c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,139 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:07:28 GMT" + "Tue, 31 Mar 2015 19:56:12 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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], - "x-ms-request-id": [ - "293a7fd2-0f70-4d62-8c27-2ba515e64d17" - ], - "x-ms-correlation-request-id": [ - "293a7fd2-0f70-4d62-8c27-2ba515e64d17" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190733Z:293a7fd2-0f70-4d62-8c27-2ba515e64d17" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:07:32 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.batch.core.windows.net\",\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": [ - "Thu, 09 Jul 2015 19:07:30 GMT" - ], - "Pragma": [ - "no-cache" - ], - "request-id": [ - "0ff03895-8f2d-4b46-878c-5bb89277249c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-request-id": [ - "3e35ef54-65f9-4204-a8c9-18599316680c" - ], - "x-ms-correlation-request-id": [ - "3e35ef54-65f9-4204-a8c9-18599316680c" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190730Z:3e35ef54-65f9-4204-a8c9-18599316680c" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:07:30 GMT" - ], - "ETag": [ - "0x8D28891A380988E" - ], - "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"vmtests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"vmtests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "307" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,94 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:07:33 GMT" + "Tue, 31 Mar 2015 19:56:14 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "9bf0cf37-c0c6-4d56-8838-51b373d10166" + "e08a48ff-375f-4451-929b-d9384d0e8d00" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "31999" ], "x-ms-request-id": [ - "d525eb99-e8d2-4b4f-adc0-ec3384306759" + "6004b6c8-11fa-4aa0-9838-fc6662526fd4" ], "x-ms-correlation-request-id": [ - "d525eb99-e8d2-4b4f-adc0-ec3384306759" + "6004b6c8-11fa-4aa0-9838-fc6662526fd4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190733Z:d525eb99-e8d2-4b4f-adc0-ec3384306759" + "CENTRALUS:20150331T195614Z:6004b6c8-11fa-4aa0-9838-fc6662526fd4" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:07:32 GMT" + "Tue, 31 Mar 2015 19:56:13 GMT" ], "ETag": [ - "0x8D28891A50F8DB7" - ], - "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\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "229" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "request-id": [ - "3841bd00-bce1-4021-adfb-81c12e9ef677" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" - ], - "x-ms-request-id": [ - "eb060db8-de4b-4d03-8638-53a9bb76ef54" - ], - "x-ms-correlation-request-id": [ - "eb060db8-de4b-4d03-8638-53a9bb76ef54" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190730Z:eb060db8-de4b-4d03-8638-53a9bb76ef54" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:07:30 GMT" + "0x8D23A03E0C6A4B2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,19 +112,19 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"vmtests\",\r\n \"primary\": \"Q3qH/tNRG6f8IWCxnJnlOt/RWKp6IxlULHwHuT0Dpjrj5Q3JbIfh35ilSKLO9goKaG9ML2Xl//xyg5dAyjPwXQ==\",\r\n \"secondary\": \"C4qco6CRJmOtPm+NZuJ1mejaE60cRvWiczMiI5YkVP0W7ZAeV/jh0vHzd6YF7MZCirT4lKUwIi7RVeN7ZxX3TQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ "229" @@ -307,79 +139,28 @@ "no-cache" ], "request-id": [ - "e1fda8a4-e7cf-4b23-bd35-73cdd46c9767" + "7347dec3-7770-4784-96fc-2d5cd8c6b2ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1199" ], "x-ms-request-id": [ - "7eac1d07-baee-47e8-97ad-cbd22d763461" + "7746b4b8-c977-4e52-b01e-10edfbfc93a8" ], "x-ms-correlation-request-id": [ - "7eac1d07-baee-47e8-97ad-cbd22d763461" + "7746b4b8-c977-4e52-b01e-10edfbfc93a8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190733Z:7eac1d07-baee-47e8-97ad-cbd22d763461" + "CENTRALUS:20150331T195614Z:7746b4b8-c977-4e52-b01e-10edfbfc93a8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:07:33 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "cf37fb7b-dd22-4721-bc45-39f2bf684bd7" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:07:31 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "ac314e79-c95d-442f-bdbc-d0656ff1fd58" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 19:07:31 GMT" - ], - "ETag": [ - "0x8D28890DD2FCEE8" + "Tue, 31 Mar 2015 19:56:13 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -397,28 +178,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "7c86d485-aa55-427d-8ba8-3c38d25d36b9" + "08c4a290-f70d-444c-ac08-b16ee221abbb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:07:33 GMT" + "Tue, 31 Mar 2015 19:56:14 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool\",\r\n \"eTag\": \"0x8D239F3C1ACE69C\",\r\n \"lastModified\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"creationTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-03-31T18:01:54.9119282Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" + "Tue, 31 Mar 2015 18:00:50 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "56986e1a-0e85-4000-9a18-b180c499bb37" + "7d2b16cf-043b-431e-b94d-892ece3a0f57" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -427,10 +208,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:07:32 GMT" + "Tue, 31 Mar 2015 19:56:15 GMT" ], "ETag": [ - "0x8D28890DD2FCEE8" + "0x8D239F3C1ACE69C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,16 +229,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0f245589-8cb1-4aa0-a1fb-7877b136b772" + "cca17ee0-6349-41e3-bf42-78a8cde0120e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:07:33 GMT" + "Tue, 31 Mar 2015 19:56:15 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:05:21.2458155Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:04:51.2463856Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:04:51.299389Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -466,7 +247,7 @@ "chunked" ], "request-id": [ - "21f8f86c-159e-4ce3-b83a-cceaad6521f0" + "9dfcb13e-6dbf-4fbe-8d8c-dd35da216b77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -475,7 +256,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:07:34 GMT" + "Tue, 31 Mar 2015 19:56:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -486,6 +267,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsByFilter.json index d5ad9ffed953..21eecacfd5d2 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsByFilter.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "484" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "31995" ], "x-ms-request-id": [ - "ae6591a9-b6e8-4f2e-8d14-70ef6a9bc06a" + "4cc6b28a-714a-4687-95fe-9a73680cb643" ], "x-ms-correlation-request-id": [ - "ae6591a9-b6e8-4f2e-8d14-70ef6a9bc06a" + "4cc6b28a-714a-4687-95fe-9a73680cb643" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190841Z:ae6591a9-b6e8-4f2e-8d14-70ef6a9bc06a" + "CENTRALUS:20150331T184647Z:4cc6b28a-714a-4687-95fe-9a73680cb643" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,139 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:08:41 GMT" + "Tue, 31 Mar 2015 18:46:47 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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" - ], - "x-ms-request-id": [ - "dd79a1df-d588-42ae-a48a-c8eecbc33041" - ], - "x-ms-correlation-request-id": [ - "dd79a1df-d588-42ae-a48a-c8eecbc33041" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190843Z:dd79a1df-d588-42ae-a48a-c8eecbc33041" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:08:43 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.batch.core.windows.net\",\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": [ - "Thu, 09 Jul 2015 19:08:43 GMT" - ], - "Pragma": [ - "no-cache" - ], - "request-id": [ - "4bb6d8c1-fee6-4b30-9286-8ac5770e57a1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" - ], - "x-ms-request-id": [ - "29d7a57e-38c5-4b06-81f0-bbf3103799dc" - ], - "x-ms-correlation-request-id": [ - "29d7a57e-38c5-4b06-81f0-bbf3103799dc" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190843Z:29d7a57e-38c5-4b06-81f0-bbf3103799dc" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:08:42 GMT" - ], - "ETag": [ - "0x8D28891CECB69E5" - ], - "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"vmtests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"vmtests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "307" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,94 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:08:44 GMT" + "Tue, 31 Mar 2015 18:46:49 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "8e16aa74-87d2-4197-83e0-d7ba2dc112fa" + "66263c80-a975-4d4b-8785-9c8d9f41bdc0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "31994" ], "x-ms-request-id": [ - "61d8ec4d-6904-4528-94fa-4794fffd3a33" + "a6aa2d40-ce64-48c1-90e8-0f2294f1c3c8" ], "x-ms-correlation-request-id": [ - "61d8ec4d-6904-4528-94fa-4794fffd3a33" + "a6aa2d40-ce64-48c1-90e8-0f2294f1c3c8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190844Z:61d8ec4d-6904-4528-94fa-4794fffd3a33" + "CENTRALUS:20150331T184649Z:a6aa2d40-ce64-48c1-90e8-0f2294f1c3c8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:08:43 GMT" + "Tue, 31 Mar 2015 18:46:49 GMT" ], "ETag": [ - "0x8D28891CF45279F" - ], - "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\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "229" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "request-id": [ - "22e8be9e-751f-4305-ad02-54498386ee47" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" - ], - "x-ms-request-id": [ - "e494cb09-e0ad-44e1-8525-3c0d01dbcc6a" - ], - "x-ms-correlation-request-id": [ - "e494cb09-e0ad-44e1-8525-3c0d01dbcc6a" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T190843Z:e494cb09-e0ad-44e1-8525-3c0d01dbcc6a" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 09 Jul 2015 19:08:42 GMT" + "0x8D239FA2E75F6E6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,19 +112,19 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"vmtests\",\r\n \"primary\": \"Q3qH/tNRG6f8IWCxnJnlOt/RWKp6IxlULHwHuT0Dpjrj5Q3JbIfh35ilSKLO9goKaG9ML2Xl//xyg5dAyjPwXQ==\",\r\n \"secondary\": \"C4qco6CRJmOtPm+NZuJ1mejaE60cRvWiczMiI5YkVP0W7ZAeV/jh0vHzd6YF7MZCirT4lKUwIi7RVeN7ZxX3TQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ "229" @@ -307,79 +139,28 @@ "no-cache" ], "request-id": [ - "f577dcdb-8d7f-489e-97a0-6de3878b03fc" + "bf78b918-1749-413f-9429-bc94cc608994" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1197" ], "x-ms-request-id": [ - "ba4551a3-cb71-447f-aa7a-55fbd0619809" + "048a9684-d6d7-4e60-865e-3e3f549839bf" ], "x-ms-correlation-request-id": [ - "ba4551a3-cb71-447f-aa7a-55fbd0619809" + "048a9684-d6d7-4e60-865e-3e3f549839bf" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190844Z:ba4551a3-cb71-447f-aa7a-55fbd0619809" + "CENTRALUS:20150331T184649Z:048a9684-d6d7-4e60-865e-3e3f549839bf" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:08:43 GMT" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "WA-Batch/1.0" - ], - "client-request-id": [ - "f7ea52c0-0ec6-4aab-bd13-244339caf803" - ], - "return-client-request-id": [ - "False" - ], - "ocp-date": [ - "Thu, 09 Jul 2015 19:08:43 GMT" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" - ], - "Transfer-Encoding": [ - "chunked" - ], - "request-id": [ - "f8623cd2-7b3d-44cb-aa9b-49db19da35ae" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "DataServiceVersion": [ - "3.0" - ], - "Date": [ - "Thu, 09 Jul 2015 19:08:42 GMT" - ], - "ETag": [ - "0x8D28890DD2FCEE8" + "Tue, 31 Mar 2015 18:46:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -388,8 +169,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms?api-version=2014-10-01.1.0&$filter=state%20eq%20'idle'", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjAmJGZpbHRlcj1zdGF0ZSUyMGVxJTIwJTI3aWRsZSUyNw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -397,28 +178,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0638c8ae-9bc0-4eae-a1b5-71b630e50d30" + "43bc9c23-d2fd-4510-ab47-d360c7d6579b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:08:44 GMT" + "Tue, 31 Mar 2015 18:46:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" - ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "462fafa6-ce2e-436b-ad97-bd74b7c25041" + "a4a342aa-8cd0-4cab-9202-16b88e0e729d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -427,10 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:08:44 GMT" - ], - "ETag": [ - "0x8D28890DD2FCEE8" + "Tue, 31 Mar 2015 18:46:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -448,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cee3aae2-7202-4d63-994f-1e078bdcfe4f" + "3bd9a720-99c6-4a0a-a1c4-62d4d1155fda" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:08:43 GMT" + "Tue, 31 Mar 2015 18:46:52 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.7418843Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.6548918Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.773026Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6520273Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.6824444Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.603148Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.7094503Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6014509Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -466,7 +241,7 @@ "chunked" ], "request-id": [ - "1a689dc3-1cbe-4a2f-ba38-7917e568baf3" + "baa887aa-d0b4-4981-8ea9-7b1118029bc7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -475,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:08:44 GMT" + "Tue, 31 Mar 2015 18:46:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -484,8 +259,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms?api-version=2014-10-01.1.0&$filter=state%20eq%20'idle'", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjAmJGZpbHRlcj1zdGF0ZSUyMGVxJTIwJTI3aWRsZSUyNw==", + "RequestUri": "/pools/testPool?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -493,25 +268,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "9aea07bd-00a1-4095-8084-24e36f0e19f8" + "0b222f20-7f2f-42a1-a03a-6371b42d1454" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:08:44 GMT" + "Tue, 31 Mar 2015 18:46:51 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.7418843Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.6548918Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.773026Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6520273Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:05.6824444Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:05.603148Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"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-07-09T19:08:05.7094503Z\",\r\n \"endTime\": \"2015-07-09T19:08:06.6014509Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool\",\r\n \"eTag\": \"0x8D239F3C1ACE69C\",\r\n \"lastModified\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"creationTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-03-31T18:01:54.9119282Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], + "Last-Modified": [ + "Tue, 31 Mar 2015 18:00:50 GMT" + ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "a2327881-6635-4618-afc5-58e3873926d6" + "7eb559c7-1327-4cc9-9027-5338bc680fae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,7 +298,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:08:44 GMT" + "Tue, 31 Mar 2015 18:46:51 GMT" + ], + "ETag": [ + "0x8D239F3C1ACE69C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -531,6 +312,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsWithMaxCount.json index 40ddbfe4f7c0..0b578615f692 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMTests/TestListVMsWithMaxCount.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "484" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "31994" ], "x-ms-request-id": [ - "b1cf458a-6d2a-4b62-b665-bbabc096bdfc" + "ddfe301a-7621-4bef-af88-dfe50b7f9632" ], "x-ms-correlation-request-id": [ - "b1cf458a-6d2a-4b62-b665-bbabc096bdfc" + "ddfe301a-7621-4bef-af88-dfe50b7f9632" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190754Z:b1cf458a-6d2a-4b62-b665-bbabc096bdfc" + "CENTRALUS:20150331T184853Z:ddfe301a-7621-4bef-af88-dfe50b7f9632" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +43,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:07:54 GMT" + "Tue, 31 Mar 2015 18:48:52 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"vmtests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"vmtests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "307" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +73,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:07:55 GMT" + "Tue, 31 Mar 2015 18:48:55 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "62f33c15-25d7-454b-bcfa-5a96da77c33f" + "ae4f90c4-e525-450c-9066-06ffa1426d68" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "31993" ], "x-ms-request-id": [ - "786a6e4b-abe1-49bc-b28a-1ea7bca9ef81" + "122d4e95-1c4a-451d-b5cf-42e53689e81d" ], "x-ms-correlation-request-id": [ - "786a6e4b-abe1-49bc-b28a-1ea7bca9ef81" + "122d4e95-1c4a-451d-b5cf-42e53689e81d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190754Z:786a6e4b-abe1-49bc-b28a-1ea7bca9ef81" + "CENTRALUS:20150331T184855Z:122d4e95-1c4a-451d-b5cf-42e53689e81d" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:07:54 GMT" + "Tue, 31 Mar 2015 18:48:54 GMT" ], "ETag": [ - "0x8D28891B20D255A" + "0x8D239FA79759302" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,19 +112,19 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy92bXRlc3RzL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"vmtests\",\r\n \"primary\": \"Q3qH/tNRG6f8IWCxnJnlOt/RWKp6IxlULHwHuT0Dpjrj5Q3JbIfh35ilSKLO9goKaG9ML2Xl//xyg5dAyjPwXQ==\",\r\n \"secondary\": \"C4qco6CRJmOtPm+NZuJ1mejaE60cRvWiczMiI5YkVP0W7ZAeV/jh0vHzd6YF7MZCirT4lKUwIi7RVeN7ZxX3TQ==\"\r\n}", "ResponseHeaders": { "Content-Length": [ "229" @@ -139,28 +139,28 @@ "no-cache" ], "request-id": [ - "dfb717f9-052b-4fd8-a338-6dec4f60cbbc" + "31bf9729-ffbf-4d1d-ac5e-f1971de83a3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1197" ], "x-ms-request-id": [ - "ca8bd2b4-3423-43a1-931b-3a98f72bd631" + "292a06e2-7a25-4650-b0a5-8174c2f9a38c" ], "x-ms-correlation-request-id": [ - "ca8bd2b4-3423-43a1-931b-3a98f72bd631" + "292a06e2-7a25-4650-b0a5-8174c2f9a38c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T190755Z:ca8bd2b4-3423-43a1-931b-3a98f72bd631" + "CENTRALUS:20150331T184855Z:292a06e2-7a25-4650-b0a5-8174c2f9a38c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:07:54 GMT" + "Tue, 31 Mar 2015 18:48:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -178,16 +178,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b1a34319-302f-4dfd-b9e2-a133ce0b5904" + "00c74354-4562-4666-a38d-90717fa1711f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:07:54 GMT" + "Tue, 31 Mar 2015 18:48:55 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:05:21.2458155Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:04:51.2463856Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:04:51.299389Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -196,7 +196,7 @@ "chunked" ], "request-id": [ - "2e120e66-7dfd-4f2e-b67a-200b834d07bb" + "e5acb192-36b1-46b4-b49c-176af106d958" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -205,7 +205,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:07:54 GMT" + "Tue, 31 Mar 2015 18:48:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,16 +223,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "328ad2c5-7e1a-4331-a970-8bb95ed82ec3" + "62ff97f3-7358-4130-8e67-a2321c37ced9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:07:55 GMT" + "Tue, 31 Mar 2015 18:48:57 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:05:21.2458155Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_2-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_2-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:04:51.2463856Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.16.79\",\r\n \"affinityId\": \"TVM:tvm-4155946844_2-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-4155946844_3-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_3-20150709t190321z\",\r\n \"state\": \"starting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:04:51.299389Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.12.86\",\r\n \"affinityId\": \"TVM:tvm-4155946844_3-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#tvms\",\r\n \"value\": [\r\n {\r\n \"name\": \"tvm-1900272697_1-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:20.6560023Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:20.513005Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.118.52\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_2-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_2-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:06:59.524712Z\",\r\n \"lastBootTime\": \"2015-03-31T18:06:59.3577122Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.162.115\",\r\n \"affinityId\": \"TVM:tvm-1900272697_2-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n },\r\n {\r\n \"name\": \"tvm-1900272697_3-20150331t180155z\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_3-20150331t180155z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-03-31T18:08:00.7874676Z\",\r\n \"lastBootTime\": \"2015-03-31T18:08:00.3784638Z\",\r\n \"tvmAllocationTime\": \"2015-03-31T18:01:55.4609252Z\",\r\n \"ipAddress\": \"10.78.110.48\",\r\n \"affinityId\": \"TVM:tvm-1900272697_3-20150331t180155z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -241,7 +241,7 @@ "chunked" ], "request-id": [ - "9c45ec26-b7f9-435c-8a76-3c0c24a91d90" + "6c5fa1c5-a510-4cd9-8a45-2abcaeb5ac9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -250,7 +250,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:07:56 GMT" + "Tue, 31 Mar 2015 18:48:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -268,28 +268,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c57fdb9a-ca29-4cc6-a015-602633b2216f" + "618c4dc8-808a-4f02-8423-bf6cffc2399e" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:07:55 GMT" + "Tue, 31 Mar 2015 18:48:56 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool\",\r\n \"eTag\": \"0x8D28890DD2FCEE8\",\r\n \"lastModified\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"creationTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:01:58.0227304Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-07-09T19:03:22.4082136Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": 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 \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://vmtests.batch-test.windows-int.net/$metadata#pools/@Element\",\r\n \"name\": \"testPool\",\r\n \"url\": \"https://vmtests.batch-test.windows-int.net/pools/testPool\",\r\n \"eTag\": \"0x8D239F3C1ACE69C\",\r\n \"lastModified\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"creationTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-31T18:00:50.1831324Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-03-31T18:01:54.9119282Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:01:58 GMT" + "Tue, 31 Mar 2015 18:00:50 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "f486b117-f6f9-4791-90ff-2ab374f11163" + "655ed8c0-8482-465b-9f44-988a5ac6f342" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -298,10 +298,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:07:54 GMT" + "Tue, 31 Mar 2015 18:48:57 GMT" ], "ETag": [ - "0x8D28890DD2FCEE8" + "0x8D239F3C1ACE69C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -312,6 +312,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUser.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUser.json index 2639bea7b030..05d6336ff61b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUser.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUser.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"name\": \"usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "904" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "31981" ], "x-ms-request-id": [ - "83528e31-a25c-4788-8ae5-dc54985efcf0" + "6cf41e2b-efd9-4746-b6da-514d941f0e33" ], "x-ms-correlation-request-id": [ - "83528e31-a25c-4788-8ae5-dc54985efcf0" + "6cf41e2b-efd9-4746-b6da-514d941f0e33" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191256Z:83528e31-a25c-4788-8ae5-dc54985efcf0" + "CENTRALUS:20150407T205415Z:6cf41e2b-efd9-4746-b6da-514d941f0e33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:12:56 GMT" + "Tue, 07 Apr 2015 20:54:14 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"name\": \"usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "904" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "31979" ], "x-ms-request-id": [ - "a7c638ff-068b-45dc-a4ad-02befdc0b92f" + "0974daaa-ed68-4a4e-91a9-5ca1b6dd8511" ], "x-ms-correlation-request-id": [ - "a7c638ff-068b-45dc-a4ad-02befdc0b92f" + "0974daaa-ed68-4a4e-91a9-5ca1b6dd8511" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191259Z:a7c638ff-068b-45dc-a4ad-02befdc0b92f" + "CENTRALUS:20150407T205418Z:0974daaa-ed68-4a4e-91a9-5ca1b6dd8511" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:18 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"usertests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"usertests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:12:58 GMT" + "Tue, 07 Apr 2015 20:54:16 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "043ed543-4758-4a7a-b20a-5aa16c9ad629" + "6d44e23b-4743-449e-861b-ea5de6803be2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "31980" ], "x-ms-request-id": [ - "ca419151-4f3e-451b-8952-b9dfc78d35a8" + "5e6ccbb5-1258-437b-96d2-d503bcf7150d" ], "x-ms-correlation-request-id": [ - "ca419151-4f3e-451b-8952-b9dfc78d35a8" + "5e6ccbb5-1258-437b-96d2-d503bcf7150d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191257Z:ca419151-4f3e-451b-8952-b9dfc78d35a8" + "CENTRALUS:20150407T205415Z:5e6ccbb5-1258-437b-96d2-d503bcf7150d" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:12:56 GMT" + "Tue, 07 Apr 2015 20:54:14 GMT" ], "ETag": [ - "0x8D288926693216B" + "0x8D23F8C25256258" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"usertests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"usertests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:19 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "6bf50b9c-611b-4a49-ad5d-e6c59d65d67f" + "98eba386-33c1-49cf-b139-23cda79f6297" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "31978" ], "x-ms-request-id": [ - "39921995-8cfd-47a2-89df-e87840d398c1" + "2ea9d970-1701-4e9b-8c68-78d19a859b73" ], "x-ms-correlation-request-id": [ - "39921995-8cfd-47a2-89df-e87840d398c1" + "2ea9d970-1701-4e9b-8c68-78d19a859b73" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191259Z:39921995-8cfd-47a2-89df-e87840d398c1" + "CENTRALUS:20150407T205419Z:2ea9d970-1701-4e9b-8c68-78d19a859b73" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:12:58 GMT" + "Tue, 07 Apr 2015 20:54:18 GMT" ], "ETag": [ - "0x8D2889267BB7501" + "0x8D23F8C2738FD74" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"usertests\",\r\n \"primary\": \"ZwKYqE/etpYU+5I6sHBT/JU0iFYjhQy5o7u/t0VadKp9/LHVZVL61mEz2b6nZ+5qX9UR1eyEKc5SfLlhtX0i9Q==\",\r\n \"secondary\": \"C227ETQSsRIVdDE1wj+L7LGFvtem8Km9yLxxe9ZQ6z6uVFfy1WqFinA/nR4BVeEqZKrFFdjF4+U9aKayXqi7dA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "eaff5378-586b-4db9-9cae-e67af36b457e" + "31b83f0c-8bc6-4e0a-823f-26adb000a361" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1189" ], "x-ms-request-id": [ - "9abb4380-6add-4320-abc5-afcbcc97c0bf" + "198ec1f1-98b9-4532-9d45-0c6253f9aa4c" ], "x-ms-correlation-request-id": [ - "9abb4380-6add-4320-abc5-afcbcc97c0bf" + "198ec1f1-98b9-4532-9d45-0c6253f9aa4c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191258Z:9abb4380-6add-4320-abc5-afcbcc97c0bf" + "CENTRALUS:20150407T205416Z:198ec1f1-98b9-4532-9d45-0c6253f9aa4c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:12:57 GMT" + "Tue, 07 Apr 2015 20:54:16 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"usertests\",\r\n \"primary\": \"ZwKYqE/etpYU+5I6sHBT/JU0iFYjhQy5o7u/t0VadKp9/LHVZVL61mEz2b6nZ+5qX9UR1eyEKc5SfLlhtX0i9Q==\",\r\n \"secondary\": \"C227ETQSsRIVdDE1wj+L7LGFvtem8Km9yLxxe9ZQ6z6uVFfy1WqFinA/nR4BVeEqZKrFFdjF4+U9aKayXqi7dA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "663616d1-af7a-4f1f-ae9f-ffc90fb60827" + "04df20ad-30ba-4c95-9cdb-6a6bfdd8f779" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1188" ], "x-ms-request-id": [ - "5f53135c-1f1d-4b4b-8d99-565fa3f142a1" + "29b83899-daf3-4a1c-a18e-0d1c3d272d19" ], "x-ms-correlation-request-id": [ - "5f53135c-1f1d-4b4b-8d99-565fa3f142a1" + "29b83899-daf3-4a1c-a18e-0d1c3d272d19" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191259Z:5f53135c-1f1d-4b4b-8d99-565fa3f142a1" + "CENTRALUS:20150407T205419Z:29b83899-daf3-4a1c-a18e-0d1c3d272d19" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:19 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -337,28 +337,28 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUser\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch-test.windows-int.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUser\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "153" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "7ba22d11-4475-4eee-9176-175156c8cf24" + "078391b0-7b7a-4298-857a-eb411261090b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:12:57 GMT" + "Tue, 07 Apr 2015 20:54:16 GMT" ] }, "ResponseBody": "", @@ -367,7 +367,7 @@ "chunked" ], "request-id": [ - "4abef40e-1ad4-4a79-95f1-72f3f3f9e9c0" + "53029d9e-4f23-4857-bd6e-6cbc7f3aad08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -376,13 +376,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testCreateUser" + "https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testCreateUser" ], "Date": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:17 GMT" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testCreateUser" + "https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testCreateUser" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -391,40 +391,40 @@ "StatusCode": 201 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUser\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch-test.windows-int.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUser\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "153" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "8eb8bf84-4867-4a0c-909e-577a836d7822" + "14bd4ace-84c2-4f01-9920-2cf2fd62bd93" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:12:58 GMT" + "Tue, 07 Apr 2015 20:54:17 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"TVMUserExists\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified TVM user already exists.\\nRequestId:20530430-7c5c-43b9-a775-963acfe15619\\nTime:2015-07-09T19:12:59.7706581Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://usertests.batch-test.windows-int.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"TVMUserExists\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified TVM user already exists.\\nRequestId:8c3a49c8-5081-41c5-9b83-f75cd66eac02\\nTime:2015-04-07T20:54:18.3545138Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "333" + "339" ], "Content-Type": [ "application/json; odata=minimalmetadata" ], "request-id": [ - "20530430-7c5c-43b9-a775-963acfe15619" + "8c3a49c8-5081-41c5-9b83-f75cd66eac02" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -433,7 +433,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:18 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -442,8 +442,8 @@ "StatusCode": 409 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testCreateUser?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzL3Rlc3RDcmVhdGVVc2VyP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testCreateUser?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzL3Rlc3RDcmVhdGVVc2VyP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -451,13 +451,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "cc050c73-f9b6-4c35-95c4-d8fa65da442e" + "dd87baaa-9046-455a-a308-3a8ed71c1332" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:19 GMT" ] }, "ResponseBody": "", @@ -466,7 +466,7 @@ "chunked" ], "request-id": [ - "8e790db7-cc8a-42a1-a07e-edfe740da515" + "b0aadf5e-32c8-4084-9711-da3f5bbd9c65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -475,7 +475,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:12:59 GMT" + "Tue, 07 Apr 2015 20:54:20 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -486,6 +486,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUserPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUserPipeline.json index 6b4d5a5ecc1c..0ac8a29877fb 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUserPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestCreateUserPipeline.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"name\": \"usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "904" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "31983" ], "x-ms-request-id": [ - "c242e5b2-be99-4205-90b8-dea526eaeafa" + "2b8c7775-bf36-4a70-b69e-1e1cf1bd4222" ], "x-ms-correlation-request-id": [ - "c242e5b2-be99-4205-90b8-dea526eaeafa" + "2b8c7775-bf36-4a70-b69e-1e1cf1bd4222" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191343Z:c242e5b2-be99-4205-90b8-dea526eaeafa" + "CENTRALUS:20150407T205330Z:2b8c7775-bf36-4a70-b69e-1e1cf1bd4222" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:42 GMT" + "Tue, 07 Apr 2015 20:53:30 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"name\": \"usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "904" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "31982" ], "x-ms-request-id": [ - "1fb5558b-af75-4506-8361-3d44f89adbfd" + "48ac8475-e734-49a5-9968-384a094a7a06" ], "x-ms-correlation-request-id": [ - "1fb5558b-af75-4506-8361-3d44f89adbfd" + "48ac8475-e734-49a5-9968-384a094a7a06" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191346Z:1fb5558b-af75-4506-8361-3d44f89adbfd" + "CENTRALUS:20150407T205339Z:48ac8475-e734-49a5-9968-384a094a7a06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:45 GMT" + "Tue, 07 Apr 2015 20:53: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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"usertests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"usertests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:13:43 GMT" + "Tue, 07 Apr 2015 20:53:33 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "64249f21-2a12-4632-9451-8f2dbe09b11a" + "2c198d09-b493-4da6-88bf-d1fd05735229" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "31983" ], "x-ms-request-id": [ - "931cf84a-ac1c-44e6-a89b-4f7ef9686634" + "8328d2d0-a2c9-45e8-9f82-c360177b7f1f" ], "x-ms-correlation-request-id": [ - "931cf84a-ac1c-44e6-a89b-4f7ef9686634" + "8328d2d0-a2c9-45e8-9f82-c360177b7f1f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191343Z:931cf84a-ac1c-44e6-a89b-4f7ef9686634" + "CENTRALUS:20150407T205332Z:8328d2d0-a2c9-45e8-9f82-c360177b7f1f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:43 GMT" + "Tue, 07 Apr 2015 20:53:31 GMT" ], "ETag": [ - "0x8D2889281F83F30" + "0x8D23F8C0B60A74B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"usertests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"usertests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:13:46 GMT" + "Tue, 07 Apr 2015 20:53:40 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "0622491c-cbb3-4c41-899d-7bee064c6975" + "693f8a27-8bac-47ef-bd53-479457e3a5cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "31982" ], "x-ms-request-id": [ - "1020b287-2b60-47b1-b176-76baba5da4b8" + "76677735-26d2-4ac6-a2f3-b2c3fd10aa4c" ], "x-ms-correlation-request-id": [ - "1020b287-2b60-47b1-b176-76baba5da4b8" + "76677735-26d2-4ac6-a2f3-b2c3fd10aa4c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191346Z:1020b287-2b60-47b1-b176-76baba5da4b8" + "CENTRALUS:20150407T205339Z:76677735-26d2-4ac6-a2f3-b2c3fd10aa4c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:45 GMT" + "Tue, 07 Apr 2015 20:53:39 GMT" ], "ETag": [ - "0x8D28892836F5A83" + "0x8D23F8C0FA2BA33" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"usertests\",\r\n \"primary\": \"ZwKYqE/etpYU+5I6sHBT/JU0iFYjhQy5o7u/t0VadKp9/LHVZVL61mEz2b6nZ+5qX9UR1eyEKc5SfLlhtX0i9Q==\",\r\n \"secondary\": \"C227ETQSsRIVdDE1wj+L7LGFvtem8Km9yLxxe9ZQ6z6uVFfy1WqFinA/nR4BVeEqZKrFFdjF4+U9aKayXqi7dA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "e4e43540-818a-4782-b6a2-c6c67eb2de9b" + "f608f7e2-c2a7-478d-bdee-a93440818db1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1191" ], "x-ms-request-id": [ - "2de704c3-d109-4b72-a4d0-616218b838a3" + "faf3d073-5e67-4ae5-9c2e-427217c9b310" ], "x-ms-correlation-request-id": [ - "2de704c3-d109-4b72-a4d0-616218b838a3" + "faf3d073-5e67-4ae5-9c2e-427217c9b310" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191343Z:2de704c3-d109-4b72-a4d0-616218b838a3" + "CENTRALUS:20150407T205332Z:faf3d073-5e67-4ae5-9c2e-427217c9b310" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:43 GMT" + "Tue, 07 Apr 2015 20:53:32 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"usertests\",\r\n \"primary\": \"ZwKYqE/etpYU+5I6sHBT/JU0iFYjhQy5o7u/t0VadKp9/LHVZVL61mEz2b6nZ+5qX9UR1eyEKc5SfLlhtX0i9Q==\",\r\n \"secondary\": \"C227ETQSsRIVdDE1wj+L7LGFvtem8Km9yLxxe9ZQ6z6uVFfy1WqFinA/nR4BVeEqZKrFFdjF4+U9aKayXqi7dA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "82f0a5fa-c5e9-4dce-986f-e1e2be5bd47f" + "d797d0c9-780f-417b-bb06-177e7b15ed04" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1190" ], "x-ms-request-id": [ - "95d49206-c522-4eff-bf2a-9009bd14d17c" + "8431165b-60b3-4783-a44f-8b08786f32fe" ], "x-ms-correlation-request-id": [ - "95d49206-c522-4eff-bf2a-9009bd14d17c" + "8431165b-60b3-4783-a44f-8b08786f32fe" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191346Z:95d49206-c522-4eff-bf2a-9009bd14d17c" + "CENTRALUS:20150407T205339Z:8431165b-60b3-4783-a44f-8b08786f32fe" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:45 GMT" + "Tue, 07 Apr 2015 20:53:39 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -337,8 +337,8 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6P2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -346,16 +346,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "45067313-4d20-49e4-8b2e-66cf085a3840" + "04dee933-ae70-49bf-b346-f94a66ee83f5" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:13:43 GMT" + "Tue, 07 Apr 2015 20:53:32 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-4155946844_1-20150709t190321z\",\r\n \"url\": \"https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-07-09T19:08:35.5466164Z\",\r\n \"lastBootTime\": \"2015-07-09T19:08:35.4786184Z\",\r\n \"tvmAllocationTime\": \"2015-07-09T19:03:21.1746171Z\",\r\n \"ipAddress\": \"10.76.28.116\",\r\n \"affinityId\": \"TVM:tvm-4155946844_1-20150709t190321z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 6,\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-07-09T19:08:35.5776188Z\",\r\n \"endTime\": \"2015-07-09T19:08:36.4942084Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://usertests.batch-test.windows-int.net/$metadata#tvms/@Element\",\r\n \"name\": \"tvm-1900272697_1-20150407t180708z\",\r\n \"url\": \"https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-04-07T18:11:41.08236Z\",\r\n \"lastBootTime\": \"2015-04-07T18:11:40.9903631Z\",\r\n \"tvmAllocationTime\": \"2015-04-07T18:07:08.0116698Z\",\r\n \"ipAddress\": \"100.76.208.53\",\r\n \"affinityId\": \"TVM:tvm-1900272697_1-20150407t180708z\",\r\n \"tvmSize\": \"small\",\r\n \"totalTasksRun\": 0\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -364,7 +364,7 @@ "chunked" ], "request-id": [ - "da4cd283-cf0f-4a1f-b6e4-b291ad5cc43d" + "ebca18c2-c886-42c5-af5c-130cfeab61f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -373,7 +373,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:13:43 GMT" + "Tue, 07 Apr 2015 20:53:33 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -382,28 +382,28 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUserPipe\",\r\n \"isAdmin\": true,\r\n \"expiryTime\": \"2015-07-14T12:13:43.8552601-07:00\",\r\n \"password\": \"Password1234!\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch-test.windows-int.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUserPipe\",\r\n \"isAdmin\": true,\r\n \"expiryTime\": \"2015-04-12T13:53:32.6341253-07:00\",\r\n \"password\": \"Password1234!\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "201" + "205" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "e1814419-7f23-4a86-b9c3-37cd7a78a016" + "779caebf-7a66-49ed-9704-51f7f98cba7c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:13:44 GMT" + "Tue, 07 Apr 2015 20:53:33 GMT" ] }, "ResponseBody": "", @@ -412,7 +412,7 @@ "chunked" ], "request-id": [ - "7bb27e99-78bc-4066-99f6-c5564ce8f0c3" + "c90fca31-d0f4-46ff-af36-39c047bb043e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -421,13 +421,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testCreateUserPipe" + "https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testCreateUserPipe" ], "Date": [ - "Thu, 09 Jul 2015 19:13:44 GMT" + "Tue, 07 Apr 2015 20:53:35 GMT" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testCreateUserPipe" + "https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testCreateUserPipe" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -436,40 +436,40 @@ "StatusCode": 201 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUserPipe\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch-test.windows-int.net/$metadata#users/@Element\",\r\n \"name\": \"testCreateUserPipe\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "153" + "157" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "4a1bd4c2-3d0d-462d-948f-56838f21ad00" + "5703850f-d30c-4e66-8a9c-285a3749a66c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:13:45 GMT" + "Tue, 07 Apr 2015 20:53:35 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"TVMUserExists\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified TVM user already exists.\\nRequestId:45c16cc4-1412-4b84-aae4-22216cb4a3fd\\nTime:2015-07-09T19:13:46.1877610Z\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://usertests.batch-test.windows-int.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"TVMUserExists\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified TVM user already exists.\\nRequestId:c02e151f-6b8f-4880-a5bc-4104d9f043b9\\nTime:2015-04-07T20:53:38.2587510Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "333" + "339" ], "Content-Type": [ "application/json; odata=minimalmetadata" ], "request-id": [ - "45c16cc4-1412-4b84-aae4-22216cb4a3fd" + "c02e151f-6b8f-4880-a5bc-4104d9f043b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,7 +478,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:13:46 GMT" + "Tue, 07 Apr 2015 20:53:38 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -487,8 +487,8 @@ "StatusCode": 409 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testCreateUserPipe?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzL3Rlc3RDcmVhdGVVc2VyUGlwZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testCreateUserPipe?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzL3Rlc3RDcmVhdGVVc2VyUGlwZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -496,13 +496,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "e66e0c6f-7cf0-42b3-85c3-da7b1d2df3cf" + "ad1bcd71-f533-4c44-905c-c061961f8867" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:13:46 GMT" + "Tue, 07 Apr 2015 20:53:39 GMT" ] }, "ResponseBody": "", @@ -511,7 +511,7 @@ "chunked" ], "request-id": [ - "c9b438b8-5f1a-4993-9194-54d41cc392df" + "f9fe0ad2-af79-44e8-9a73-2d3c7e183411" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,7 +520,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:13:46 GMT" + "Tue, 07 Apr 2015 20:53:42 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -531,6 +531,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestDeleteUser.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestDeleteUser.json index bfc5fbfaa53b..086ee2792a52 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestDeleteUser.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.VMUserTests/TestDeleteUser.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,10 +10,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"name\": \"usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "904" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "31979" ], "x-ms-request-id": [ - "de1fe9c8-f14b-44a3-8d8c-882d31c49054" + "4370728e-480f-4cf3-8f40-cf5fdbe3d746" ], "x-ms-correlation-request-id": [ - "de1fe9c8-f14b-44a3-8d8c-882d31c49054" + "4370728e-480f-4cf3-8f40-cf5fdbe3d746" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191319Z:de1fe9c8-f14b-44a3-8d8c-882d31c49054" + "CENTRALUS:20150407T205505Z:4370728e-480f-4cf3-8f40-cf5fdbe3d746" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:18 GMT" + "Tue, 07 Apr 2015 20:55: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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -58,10 +58,10 @@ "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}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/cmdletexample/providers/Microsoft.Batch/batchAccounts/cmdletexample\",\r\n \"name\": \"cmdletexample\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/filetests\",\r\n \"name\": \"filetests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"name\": \"usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/vmtests\",\r\n \"name\": \"vmtests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "904" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "31978" ], "x-ms-request-id": [ - "6df812cb-a393-4b6b-b76c-e0c8c4e5e970" + "f3b05266-2c89-49bd-ba32-b4a89f50ed77" ], "x-ms-correlation-request-id": [ - "6df812cb-a393-4b6b-b76c-e0c8c4e5e970" + "f3b05266-2c89-49bd-ba32-b4a89f50ed77" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191321Z:6df812cb-a393-4b6b-b76c-e0c8c4e5e970" + "CENTRALUS:20150407T205509Z:f3b05266-2c89-49bd-ba32-b4a89f50ed77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,28 +91,28 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:21 GMT" + "Tue, 07 Apr 2015 20:55:08 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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"usertests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"usertests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +121,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:13:20 GMT" + "Tue, 07 Apr 2015 20:55:07 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "dbab0f8e-9df7-4214-abbf-2212d9e138c5" + "4fc6e93f-353f-4936-9083-7588469efb69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "31983" ], "x-ms-request-id": [ - "64250a4d-e318-40f3-91b6-5a4acea9d14d" + "e2e2f4f5-2db3-4c91-b7c4-57b2f0684a8e" ], "x-ms-correlation-request-id": [ - "64250a4d-e318-40f3-91b6-5a4acea9d14d" + "e2e2f4f5-2db3-4c91-b7c4-57b2f0684a8e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191320Z:64250a4d-e318-40f3-91b6-5a4acea9d14d" + "CENTRALUS:20150407T205507Z:e2e2f4f5-2db3-4c91-b7c4-57b2f0684a8e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:19 GMT" + "Tue, 07 Apr 2015 20:55:06 GMT" ], "ETag": [ - "0x8D2889273C645D7" + "0x8D23F8C43C2E924" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +160,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"usertests\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"usertests.batch-test.windows-int.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "313" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +184,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:13:21 GMT" + "Tue, 07 Apr 2015 20:55:10 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "d355e46a-8f25-4f48-9477-8c6a6c7503e5" + "0ee575e3-c223-4d07-a949-6b349fd9dcbd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "31982" ], "x-ms-request-id": [ - "9569ca94-d142-447c-97a7-d337f3815708" + "740c69f6-56a6-4c5f-b73a-c3422e1550f2" ], "x-ms-correlation-request-id": [ - "9569ca94-d142-447c-97a7-d337f3815708" + "740c69f6-56a6-4c5f-b73a-c3422e1550f2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191321Z:9569ca94-d142-447c-97a7-d337f3815708" + "CENTRALUS:20150407T205509Z:740c69f6-56a6-4c5f-b73a-c3422e1550f2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:20 GMT" + "Tue, 07 Apr 2015 20:55:09 GMT" ], "ETag": [ - "0x8D288927497083A" + "0x8D23F8C4537FB16" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +223,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"usertests\",\r\n \"primary\": \"ZwKYqE/etpYU+5I6sHBT/JU0iFYjhQy5o7u/t0VadKp9/LHVZVL61mEz2b6nZ+5qX9UR1eyEKc5SfLlhtX0i9Q==\",\r\n \"secondary\": \"C227ETQSsRIVdDE1wj+L7LGFvtem8Km9yLxxe9ZQ6z6uVFfy1WqFinA/nR4BVeEqZKrFFdjF4+U9aKayXqi7dA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +250,28 @@ "no-cache" ], "request-id": [ - "c3daada0-46b6-402c-8d31-f5f311d5274f" + "66bc0696-d24b-4902-b0b6-9f5fd68285b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1193" ], "x-ms-request-id": [ - "360ad7ca-c9c8-4e64-a404-b9edf58489d9" + "f6520c7c-25d9-4f27-a586-ab03af28f72f" ], "x-ms-correlation-request-id": [ - "360ad7ca-c9c8-4e64-a404-b9edf58489d9" + "f6520c7c-25d9-4f27-a586-ab03af28f72f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191320Z:360ad7ca-c9c8-4e64-a404-b9edf58489d9" + "CENTRALUS:20150407T205507Z:f6520c7c-25d9-4f27-a586-ab03af28f72f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:19 GMT" + "Tue, 07 Apr 2015 20:55:07 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +280,22 @@ "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==", + "RequestUri": "/subscriptions/22e614a1-bbb9-4692-acc9-e5c8e9b22b7e/resourceGroups/tests/providers/Microsoft.Batch/batchAccounts/usertests/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJlNjE0YTEtYmJiOS00NjkyLWFjYzktZTVjOGU5YjIyYjdlL3Jlc291cmNlR3JvdXBzL3Rlc3RzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy91c2VydGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"usertests\",\r\n \"primary\": \"ZwKYqE/etpYU+5I6sHBT/JU0iFYjhQy5o7u/t0VadKp9/LHVZVL61mEz2b6nZ+5qX9UR1eyEKc5SfLlhtX0i9Q==\",\r\n \"secondary\": \"C227ETQSsRIVdDE1wj+L7LGFvtem8Km9yLxxe9ZQ6z6uVFfy1WqFinA/nR4BVeEqZKrFFdjF4+U9aKayXqi7dA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +307,28 @@ "no-cache" ], "request-id": [ - "10a9d81d-b27e-480d-b7fe-0b9a3baedd86" + "719faf34-1bff-43a4-82d1-b91b6aabcf35" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1192" ], "x-ms-request-id": [ - "95b81fe6-f3f0-4d13-90b8-f73228060f1b" + "41913a4a-4374-455f-adbe-049271664114" ], "x-ms-correlation-request-id": [ - "95b81fe6-f3f0-4d13-90b8-f73228060f1b" + "41913a4a-4374-455f-adbe-049271664114" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T191322Z:95b81fe6-f3f0-4d13-90b8-f73228060f1b" + "CENTRALUS:20150407T205509Z:41913a4a-4374-455f-adbe-049271664114" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:13:21 GMT" + "Tue, 07 Apr 2015 20:55:09 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -337,28 +337,28 @@ "StatusCode": 200 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#users/@Element\",\r\n \"name\": \"testDeleteUser\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch-test.windows-int.net/$metadata#users/@Element\",\r\n \"name\": \"testDeleteUser\",\r\n \"isAdmin\": false,\r\n \"password\": \"Password1234!\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json;odata=minimalmetadata" ], "Content-Length": [ - "149" + "153" ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "2f02c8fe-daf0-4b77-9e13-c5ad7b893310" + "65e7e56d-c9cb-4a67-8b89-2b987ff71e6c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:13:20 GMT" + "Tue, 07 Apr 2015 20:55:07 GMT" ] }, "ResponseBody": "", @@ -367,7 +367,7 @@ "chunked" ], "request-id": [ - "5f69b7bc-a083-475d-b932-486b08965cba" + "033072f5-a417-413d-8a8b-767ff5dc84b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -376,13 +376,13 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testDeleteUser" + "https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testDeleteUser" ], "Date": [ - "Thu, 09 Jul 2015 19:13:20 GMT" + "Tue, 07 Apr 2015 20:55:08 GMT" ], "Location": [ - "https://pstests.batch.core.windows.net/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testDeleteUser" + "https://usertests.batch-test.windows-int.net/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testDeleteUser" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -391,8 +391,8 @@ "StatusCode": 201 }, { - "RequestUri": "/pools/testPool/tvms/tvm-4155946844_1-20150709t190321z/users/testDeleteUser?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTQxNTU5NDY4NDRfMS0yMDE1MDcwOXQxOTAzMjF6L3VzZXJzL3Rlc3REZWxldGVVc2VyP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testDeleteUser?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzL3Rlc3REZWxldGVVc2VyP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -400,13 +400,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "099bd034-8204-4d1b-8126-00ff790cdf87" + "bdf8b466-dd05-4c02-a49d-8ca88e224437" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:13:21 GMT" + "Tue, 07 Apr 2015 20:55:09 GMT" ] }, "ResponseBody": "", @@ -415,7 +415,7 @@ "chunked" ], "request-id": [ - "9b670f90-66f3-4b16-8e49-e47277f86974" + "516138c5-95b5-478f-8705-938fec1d7909" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,17 +424,62 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:13:21 GMT" + "Tue, 07 Apr 2015 20:55:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 200 + }, + { + "RequestUri": "/pools/testPool/tvms/tvm-1900272697_1-20150407t180708z/users/testDeleteUser?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL3R2bXMvdHZtLTE5MDAyNzI2OTdfMS0yMDE1MDQwN3QxODA3MDh6L3VzZXJzL3Rlc3REZWxldGVVc2VyP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "a0085412-42fa-4804-814d-8f388b638e2e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Tue, 07 Apr 2015 20:55:10 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://usertests.batch-test.windows-int.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"TVMUserNotFound\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified TVM user does not exist.\\nRequestId:9d453475-23f1-4c5d-8ddb-1fb551273bd6\\nTime:2015-04-07T20:55:11.5700599Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "341" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "request-id": [ + "9d453475-23f1-4c5d-8ddb-1fb551273bd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Tue, 07 Apr 2015 20:55:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 } ], "Names": {}, "Variables": { - "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + "SubscriptionId": "22e614a1-bbb9-4692-acc9-e5c8e9b22b7e" } } \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItem.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItem.json index bc0edc8ec973..13624a5b37b6 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItem.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItem.json @@ -1,19 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi\",\r\n \"name\": \"test-delete-wi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "181" ], "Content-Type": [ "application/json; charset=utf-8" @@ -24,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" ], "x-ms-request-id": [ - "ad2d38ee-27af-49b6-a6a6-c2d86bf3986f" + "c00985e2-b295-443b-ab78-325b93b02940" ], "x-ms-correlation-request-id": [ - "ad2d38ee-27af-49b6-a6a6-c2d86bf3986f" + "c00985e2-b295-443b-ab78-325b93b02940" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192144Z:ad2d38ee-27af-49b6-a6a6-c2d86bf3986f" + "WESTUS:20150304T223545Z:c00985e2-b295-443b-ab78-325b93b02940" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +49,31 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:44 GMT" + "Wed, 04 Mar 2015 22:35:45 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "237" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" @@ -72,47 +81,59 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "request-id": [ + "1a0b5f96-8483-4a6f-921d-5a286b22970e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "26a3cf5c-7164-4bb6-a0ec-f3608ce7c5a4" + "9dcd823e-85ad-42e7-88b4-7f9185b9ed83" ], "x-ms-correlation-request-id": [ - "26a3cf5c-7164-4bb6-a0ec-f3608ce7c5a4" + "9dcd823e-85ad-42e7-88b4-7f9185b9ed83" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192146Z:26a3cf5c-7164-4bb6-a0ec-f3608ce7c5a4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS:20150304T223552Z:9dcd823e-85ad-42e7-88b4-7f9185b9ed83" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:46 GMT" + "Wed, 04 Mar 2015 22:35:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi/operationResults/1a0b5f96-8483-4a6f-921d-5a286b22970e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi/operationResults/1a0b5f96-8483-4a6f-921d-5a286b22970e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2kvb3BlcmF0aW9uUmVzdWx0cy8xYTBiNWY5Ni04NDgzLTRhNmYtOTIxZC01YTI4NmIyMjk3MGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletewi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletewi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "327" ], "Content-Type": [ "application/json; charset=utf-8" @@ -121,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:45 GMT" + "Wed, 04 Mar 2015 22:35:51 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "ce3458f9-c3b5-4efc-a718-e8cf00128d00" + "e3d46f87-650b-4625-af2d-e628343fc531" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" + "31995" ], "x-ms-request-id": [ - "9757d2fc-f063-4d57-9ae9-4423bf6880b0" + "5a40dedc-14ae-4273-8f8f-f67030c0d228" ], "x-ms-correlation-request-id": [ - "9757d2fc-f063-4d57-9ae9-4423bf6880b0" + "5a40dedc-14ae-4273-8f8f-f67030c0d228" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192145Z:9757d2fc-f063-4d57-9ae9-4423bf6880b0" + "WESTUS:20150304T223552Z:5a40dedc-14ae-4273-8f8f-f67030c0d228" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:45 GMT" + "Wed, 04 Mar 2015 22:35:52 GMT" ], "ETag": [ - "0x8D28893A122A157" + "0x8D224E2B44E9190" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -160,22 +181,22 @@ "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", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletewi\",\r\n \"primary\": \"ZzUH+hSBd8mWKs84XakcD61+u87smZlzDDdkXQ9Jt8JxCQssER+GSVIaaXuPP+GCP2YNP54+JXcG9A+Nqy3FXg==\",\r\n \"secondary\": \"HfZ3cWd9DF2DY3VTjsnu3u2b7YdHd16jCqYUp7WzzxyN4RohrmWqD4JOEqzziTxfaz2r0K/u/o80EyI+2n6CKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "234" ], "Content-Type": [ "application/json; charset=utf-8" @@ -183,38 +204,32 @@ "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:46 GMT" - ], "Pragma": [ "no-cache" ], "request-id": [ - "c2c2fba8-f3c7-4b0d-b83c-772d03d624ba" + "6256a2e2-6664-4096-82e6-b9aea40ecc98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-request-id": [ - "976094c4-8515-4173-ab05-2a39763c160e" + "56391321-1177-432c-9dee-d72aac21737d" ], "x-ms-correlation-request-id": [ - "976094c4-8515-4173-ab05-2a39763c160e" + "56391321-1177-432c-9dee-d72aac21737d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192146Z:976094c4-8515-4173-ab05-2a39763c160e" + "WESTUS:20150304T223552Z:56391321-1177-432c-9dee-d72aac21737d" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:46 GMT" - ], - "ETag": [ - "0x8D28893A1C6EF56" + "Wed, 04 Mar 2015 22:35:52 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletewi\",\r\n \"primary\": \"ZzUH+hSBd8mWKs84XakcD61+u87smZlzDDdkXQ9Jt8JxCQssER+GSVIaaXuPP+GCP2YNP54+JXcG9A+Nqy3FXg==\",\r\n \"secondary\": \"HfZ3cWd9DF2DY3VTjsnu3u2b7YdHd16jCqYUp7WzzxyN4RohrmWqD4JOEqzziTxfaz2r0K/u/o80EyI+2n6CKw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "234" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +265,28 @@ "no-cache" ], "request-id": [ - "f9830db4-de43-475f-a89b-990decb7258f" + "47d746b2-14dd-4e4c-af13-34ad0e08d384" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1165" + "1195" ], "x-ms-request-id": [ - "59a9eb8c-ea15-4dc2-9807-022ee1888b57" + "711aca3f-a9ce-44b7-bbac-7802230a59d8" ], "x-ms-correlation-request-id": [ - "59a9eb8c-ea15-4dc2-9807-022ee1888b57" + "711aca3f-a9ce-44b7-bbac-7802230a59d8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192146Z:59a9eb8c-ea15-4dc2-9807-022ee1888b57" + "WESTUS:20150304T223657Z:711aca3f-a9ce-44b7-bbac-7802230a59d8" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:45 GMT" + "Wed, 04 Mar 2015 22:36:56 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +295,130 @@ "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==", + "RequestUri": "/workitems?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", "RequestMethod": "POST", + "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json;odata=minimalmetadata" + ], + "Content-Length": [ + "168" + ], + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "215c8196-31b3-4710-97e7-2078d995f9fa" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Wed, 04 Mar 2015 22:36:54 GMT" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Last-Modified": [ + "Wed, 04 Mar 2015 22:36:53 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "8e8b0ed7-8338-4583-bdf5-fbabbca0d6ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "DataServiceId": [ + "https://testdeletewi.batch.core.windows.net/workitems/testWorkItem" + ], + "Date": [ + "Wed, 04 Mar 2015 22:36:54 GMT" + ], + "ETag": [ + "0x8D224E2D952ACA8" + ], + "Location": [ + "https://testdeletewi.batch.core.windows.net/workitems/testWorkItem" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi\",\r\n \"name\": \"testdeletewi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "750" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "1dea7f4d-7cbf-49a2-ba90-288bcce67dae" + ], + "x-ms-correlation-request-id": [ + "1dea7f4d-7cbf-49a2-ba90-288bcce67dae" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223656Z:1dea7f4d-7cbf-49a2-ba90-288bcce67dae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:36:55 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"testdeletewi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletewi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "327" ], "Content-Type": [ "application/json; charset=utf-8" @@ -303,32 +426,38 @@ "Expires": [ "-1" ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:36:56 GMT" + ], "Pragma": [ "no-cache" ], "request-id": [ - "2ab05e4d-3cd1-410e-9b1b-7382ea36057b" + "8f049e9c-b4de-464e-85bd-94707aa76e55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1164" + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" ], "x-ms-request-id": [ - "b8249d27-5e46-426f-ac6b-d399f6266c16" + "55ae9aed-7b1f-457e-9af5-904342920ee2" ], "x-ms-correlation-request-id": [ - "b8249d27-5e46-426f-ac6b-d399f6266c16" + "55ae9aed-7b1f-457e-9af5-904342920ee2" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192147Z:b8249d27-5e46-426f-ac6b-d399f6266c16" + "WESTUS:20150304T223657Z:55ae9aed-7b1f-457e-9af5-904342920ee2" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:47 GMT" + "Wed, 04 Mar 2015 22:36:56 GMT" + ], + "ETag": [ + "0x8D224E2DAF53055" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -339,38 +468,32 @@ { "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"odata.metadata\": \"https://batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n }\r\n}", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json;odata=minimalmetadata" - ], - "Content-Length": [ - "168" - ], "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "6b6a5cd8-c986-427c-9502-245d8057b5c5" + "93122a4b-80ac-4015-af5c-fb11ace70aef" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:46 GMT" + "Wed, 04 Mar 2015 22:36:57 GMT" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewi.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletewi.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E2D952ACA8\",\r\n \"lastModified\": \"2015-03-04T22:36:53.9944104Z\",\r\n \"creationTime\": \"2015-03-04T22:36:53.9944104Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:36:53.9944104Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletewi.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:46 GMT" + "Content-Type": [ + "application/json; odata=minimalmetadata" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fe46b6e2-fe16-4c67-bae2-3cecc87a4c9d" + "d4805b7b-2593-4dc0-a480-21b3c486a704" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -378,23 +501,14 @@ "DataServiceVersion": [ "3.0" ], - "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" - ], "Date": [ - "Thu, 09 Jul 2015 19:21:45 GMT" - ], - "ETag": [ - "0x8D28893A1CA0CF7" - ], - "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "Wed, 04 Mar 2015 22:36:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 201 + "StatusCode": 200 }, { "RequestUri": "/workitems?api-version=2014-10-01.1.0", @@ -406,16 +520,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "b72982b1-e33b-404f-af0a-7277f9eea080" + "cac4063a-6259-451d-a103-bb0de4f67f04" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:47 GMT" + "Wed, 04 Mar 2015 22:36:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28893A1CA0CF7\",\r\n \"lastModified\": \"2015-07-09T19:21:46.8604663Z\",\r\n \"creationTime\": \"2015-07-09T19:21:46.8604663Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:21:46.8604663Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewi.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletewi.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E2D952ACA8\",\r\n \"lastModified\": \"2015-03-04T22:36:53.9944104Z\",\r\n \"creationTime\": \"2015-03-04T22:36:53.9944104Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-03-04T22:36:57.8970391Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-03-04T22:36:53.9944104Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletewi.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -424,7 +538,7 @@ "chunked" ], "request-id": [ - "aa1ec397-eb26-4d79-bd69-05f8fa99256f" + "516e5dc6-98b7-446a-a2a1-1585094fc332" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -433,7 +547,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:47 GMT" + "Wed, 04 Mar 2015 22:36:58 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -442,34 +556,31 @@ "StatusCode": 200 }, { - "RequestUri": "/workitems?api-version=2014-10-01.1.0", - "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", - "RequestMethod": "GET", + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "WA-Batch/1.0" ], "client-request-id": [ - "29f48353-e048-4e8a-aa78-706a950a6ab2" + "2b6dc39f-6571-4865-87aa-9752f51d8ac4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:48 GMT" + "Wed, 04 Mar 2015 22:36:58 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28893A1CA0CF7\",\r\n \"lastModified\": \"2015-07-09T19:21:46.8604663Z\",\r\n \"creationTime\": \"2015-07-09T19:21:46.8604663Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:21:48.7260097Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:21:46.8604663Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata" - ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4ba6ee85-c674-4fb8-bb53-180cc9efa44d" + "1b5facf3-6862-49b5-80d1-97f55c0a8d30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,13 +589,13 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:48 GMT" + "Wed, 04 Mar 2015 22:36:57 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", @@ -496,22 +607,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "366e78c0-2640-448d-9a8f-7a7c2e619898" + "1d46722e-e95b-4d5c-8fd8-3de01342650d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:48 GMT" + "Wed, 04 Mar 2015 22:36:59 GMT" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewi.batch.core.windows.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"WorkItemBeingDeleted\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified workitem has been marked for deletion and is being reclaimed.\\nRequestId:18885d14-8254-4359-aca7-253d45e94b99\\nTime:2015-03-04T22:36:58.9834844Z\"\r\n }\r\n}", "ResponseHeaders": { - "Transfer-Encoding": [ - "chunked" + "Content-Length": [ + "382" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata" ], "request-id": [ - "50bbb297-3a32-4e54-a73e-43dadb402d51" + "18885d14-8254-4359-aca7-253d45e94b99" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,13 +634,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:47 GMT" + "Wed, 04 Mar 2015 22:36:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5a474a82-5295-41da-aa8f-77af0f02b831" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "0a601b32-2398-4638-b218-ebaee9f12574" + ], + "x-ms-correlation-request-id": [ + "0a601b32-2398-4638-b218-ebaee9f12574" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223701Z:0a601b32-2398-4638-b218-ebaee9f12574" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi/operationResults/5a474a82-5295-41da-aa8f-77af0f02b831?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi/providers/Microsoft.Batch/batchAccounts/testdeletewi/operationResults/5a474a82-5295-41da-aa8f-77af0f02b831?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0ZGVsZXRld2kvb3BlcmF0aW9uUmVzdWx0cy81YTQ3NGE4Mi01Mjk1LTQxZGEtYWE4Zi03N2FmMGYwMmI4MzE/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:37:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "711910ac-fff0-4076-9e04-63686e2b067c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "d537351b-9c68-4ee9-a3bf-13382aa49207" + ], + "x-ms-correlation-request-id": [ + "d537351b-9c68-4ee9-a3bf-13382aa49207" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223701Z:d537351b-9c68-4ee9-a3bf-13382aa49207" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:01 GMT" + ], + "ETag": [ + "0x8D224E2DD6AB7D5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "3fb46ebb-c321-49a6-b059-d85eb84a473a" + ], + "x-ms-correlation-request-id": [ + "3fb46ebb-c321-49a6-b059-d85eb84a473a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223703Z:3fb46ebb-c321-49a6-b059-d85eb84a473a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGt0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "5ea7b1d2-a562-4aac-89e7-087c93c0e5a6" + ], + "x-ms-correlation-request-id": [ + "5ea7b1d2-a562-4aac-89e7-087c93c0e5a6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223703Z:5ea7b1d2-a562-4aac-89e7-087c93c0e5a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGt0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "a766082a-f570-4065-ab4b-4c06f53c856b" + ], + "x-ms-correlation-request-id": [ + "a766082a-f570-4065-ab4b-4c06f53c856b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223718Z:a766082a-f570-4065-ab4b-4c06f53c856b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGt0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "0d5d8433-b528-406f-ad3e-0432aebdb914" + ], + "x-ms-correlation-request-id": [ + "0d5d8433-b528-406f-ad3e-0432aebdb914" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223734Z:0d5d8433-b528-406f-ad3e-0432aebdb914" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGt0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "657fb9d0-26d5-4de4-b39f-602893c84807" + ], + "x-ms-correlation-request-id": [ + "657fb9d0-26d5-4de4-b39f-602893c84807" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T223749Z:657fb9d0-26d5-4de4-b39f-602893c84807" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:37:49 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItemPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItemPipeline.json index d6f2d1001f26..723a06248252 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItemPipeline.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestDeleteWorkItemPipeline.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-wi-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" - ], - "x-ms-request-id": [ - "8b36dfad-d06e-45e2-bd44-5b1bfef56d30" - ], - "x-ms-correlation-request-id": [ - "8b36dfad-d06e-45e2-bd44-5b1bfef56d30" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192335Z:8b36dfad-d06e-45e2-bd44-5b1bfef56d30" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:23:34 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe\",\r\n \"name\": \"test-delete-wi-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "191" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-request-id": [ - "4cd8d825-56d9-4aa8-a7f9-9beb0dfc9cbf" + "1877eedc-6e31-41e9-bb35-64feec57779d" ], "x-ms-correlation-request-id": [ - "4cd8d825-56d9-4aa8-a7f9-9beb0dfc9cbf" + "1877eedc-6e31-41e9-bb35-64feec57779d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192337Z:4cd8d825-56d9-4aa8-a7f9-9beb0dfc9cbf" + "WESTUS:20150304T224106Z:1877eedc-6e31-41e9-bb35-64feec57779d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:36 GMT" + "Wed, 04 Mar 2015 22:41:06 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:36 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], "request-id": [ - "c3553244-89bd-4d9b-9f5b-db3ddf7db394" + "8a5f6c65-b45d-4785-be9b-9866047c09ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" - ], "x-ms-request-id": [ - "374de562-7a11-4371-96a8-4738fda719be" + "bb4684e1-6fdd-41f7-b781-cbf20bc4e31c" ], "x-ms-correlation-request-id": [ - "374de562-7a11-4371-96a8-4738fda719be" + "bb4684e1-6fdd-41f7-b781-cbf20bc4e31c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192336Z:374de562-7a11-4371-96a8-4738fda719be" + "WESTUS:20150304T224110Z:bb4684e1-6fdd-41f7-b781-cbf20bc4e31c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:35 GMT" + "Wed, 04 Mar 2015 22:41:10 GMT" ], - "ETag": [ - "0x8D28893E3591E71" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe/operationResults/8a5f6c65-b45d-4785-be9b-9866047c09ed?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe/operationResults/8a5f6c65-b45d-4785-be9b-9866047c09ed?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGUvb3BlcmF0aW9uUmVzdWx0cy84YTVmNmM2NS1iNDVkLTQ3ODUtYmU5Yi05ODY2MDQ3YzA5ZWQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testdeletewipipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletewipipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "344" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:37 GMT" + "Wed, 04 Mar 2015 22:41:10 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "0329ff33-9c75-4d6a-a337-ea8f8110082a" + "e23ade32-f1b3-40cf-8264-12c416a162a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "31992" ], "x-ms-request-id": [ - "ef23c3bb-4dfb-4ff9-8975-72ef0a2d7540" + "311b0d88-b000-4478-827c-fdc98beee562" ], "x-ms-correlation-request-id": [ - "ef23c3bb-4dfb-4ff9-8975-72ef0a2d7540" + "311b0d88-b000-4478-827c-fdc98beee562" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192337Z:ef23c3bb-4dfb-4ff9-8975-72ef0a2d7540" + "WESTUS:20150304T224110Z:311b0d88-b000-4478-827c-fdc98beee562" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:36 GMT" + "Wed, 04 Mar 2015 22:41:10 GMT" ], "ETag": [ - "0x8D28893E40573C8" + "0x8D224E37227205B" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletewipipe\",\r\n \"primary\": \"ADflbJ0jUvngLLaDya3j4kw4WBdj510KBq6dcF/XYhDWhTnG+pIyhQ2wBh/v209cYjbUbheVey2MWAPHRWXFgA==\",\r\n \"secondary\": \"CJ/ZJnXN+HmywP4kGJDA/pJrMqPUtrEPFy2MFPxte9BkaYKdt8FGjYMZ4eV0zfe+fCLhk8OFS7ayZUVAyuJrCg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "238" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "65f9808c-0228-4ca2-8375-04ac3b7cd85c" + "f4afd0d4-800c-469b-ab80-e1d5258ab824" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1163" + "1192" ], "x-ms-request-id": [ - "ed7cfdbf-88bc-4340-8ad5-b95e1f709c51" + "7a974afe-9ce1-4d63-ad01-c88174bd045c" ], "x-ms-correlation-request-id": [ - "ed7cfdbf-88bc-4340-8ad5-b95e1f709c51" + "7a974afe-9ce1-4d63-ad01-c88174bd045c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192336Z:ed7cfdbf-88bc-4340-8ad5-b95e1f709c51" + "WESTUS:20150304T224111Z:7a974afe-9ce1-4d63-ad01-c88174bd045c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:35 GMT" + "Wed, 04 Mar 2015 22:41:10 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testdeletewipipe\",\r\n \"primary\": \"ADflbJ0jUvngLLaDya3j4kw4WBdj510KBq6dcF/XYhDWhTnG+pIyhQ2wBh/v209cYjbUbheVey2MWAPHRWXFgA==\",\r\n \"secondary\": \"CJ/ZJnXN+HmywP4kGJDA/pJrMqPUtrEPFy2MFPxte9BkaYKdt8FGjYMZ4eV0zfe+fCLhk8OFS7ayZUVAyuJrCg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "238" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "2a2d3500-80f4-4f81-97b0-878dc16425c7" + "6656c788-9391-414d-b5f3-3e6055952d57" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1162" + "1191" ], "x-ms-request-id": [ - "d2f61fca-5dd5-4edf-97aa-f3b5c5345d70" + "b8230664-f883-4dfb-980a-b594a3b8ab37" ], "x-ms-correlation-request-id": [ - "d2f61fca-5dd5-4edf-97aa-f3b5c5345d70" + "b8230664-f883-4dfb-980a-b594a3b8ab37" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192337Z:d2f61fca-5dd5-4edf-97aa-f3b5c5345d70" + "WESTUS:20150304T224150Z:b8230664-f883-4dfb-980a-b594a3b8ab37" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:36 GMT" + "Wed, 04 Mar 2015 22:41:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "8b304b47-1989-4e1f-b539-b806ecc1f96d" + "4c6abbc4-4e64-4aef-acf3-0d38a8f84b0b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:36 GMT" + "Wed, 04 Mar 2015 22:41:47 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:37 GMT" + "Wed, 04 Mar 2015 22:41:47 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4bdfbe39-af3a-4826-853d-93f182a1729c" + "5f4370e7-5651-4ae0-8ba5-f7a38b0f1422" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem" ], "Date": [ - "Thu, 09 Jul 2015 19:23:36 GMT" + "Wed, 04 Mar 2015 22:41:46 GMT" ], "ETag": [ - "0x8D28893E3B38210" + "0x8D224E3883374FF" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testWorkItem" + "https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -396,6 +354,117 @@ }, "StatusCode": 201 }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe\",\r\n \"name\": \"testdeletewipipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "763" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "931eb749-9941-4e60-8dc4-efcb2e3fcf71" + ], + "x-ms-correlation-request-id": [ + "931eb749-9941-4e60-8dc4-efcb2e3fcf71" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224150Z:931eb749-9941-4e60-8dc4-efcb2e3fcf71" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testdeletewipipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testdeletewipipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:41:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2a9d5242-5003-4440-8f7f-4dce8a1821bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "330ce081-cb45-4257-91c2-34750e9075e5" + ], + "x-ms-correlation-request-id": [ + "330ce081-cb45-4257-91c2-34750e9075e5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224150Z:330ce081-cb45-4257-91c2-34750e9075e5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:49 GMT" + ], + "ETag": [ + "0x8D224E389862150" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, { "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", @@ -406,16 +475,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a4949563-31e0-4941-983a-ed432e83b116" + "c3cf68ee-6444-4909-8457-4e168c2cd126" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:37 GMT" + "Wed, 04 Mar 2015 22:41:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28893E3B38210\",\r\n \"lastModified\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"creationTime\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewipipe.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E3883374FF\",\r\n \"lastModified\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"creationTime\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -424,7 +493,7 @@ "chunked" ], "request-id": [ - "86e8310c-5d1a-4cf5-a3c5-b68884523acc" + "4227a533-8777-45f4-a582-7a1fe86e6cd7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -433,7 +502,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:36 GMT" + "Wed, 04 Mar 2015 22:41:49 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -451,16 +520,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6e9825f3-ceb2-4ce4-b073-1f4dcc7a253f" + "ff876498-b8bd-4efe-b110-cd01668b9592" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:38 GMT" + "Wed, 04 Mar 2015 22:41:51 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28893E3B38210\",\r\n \"lastModified\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"creationTime\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-07-09T19:23:39.1485788Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewipipe.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E3883374FF\",\r\n \"lastModified\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"creationTime\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2015-03-04T22:41:50.9049876Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -469,7 +538,7 @@ "chunked" ], "request-id": [ - "d715d146-390b-438e-8413-ab93fbad8a2f" + "afbf7756-6bb1-4330-8f95-914fbbdb4db0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -478,7 +547,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:38 GMT" + "Wed, 04 Mar 2015 22:41:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -496,28 +565,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bf1946e5-c632-445d-a357-4b98f7c6b163" + "d2e2e2a6-234f-4781-9882-f65cb920a172" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:38 GMT" + "Wed, 04 Mar 2015 22:41:50 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D28893E3B38210\",\r\n \"lastModified\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"creationTime\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:23:37.4423568Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewipipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D224E3883374FF\",\r\n \"lastModified\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"creationTime\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T22:41:47.3911039Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testdeletewipipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:37 GMT" + "Wed, 04 Mar 2015 22:41:47 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "7d712550-57cb-4cc4-a94c-5e04c4b7da61" + "c89288a4-1a54-42a0-887a-3670671db459" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -526,10 +595,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:37 GMT" + "Wed, 04 Mar 2015 22:41:51 GMT" ], "ETag": [ - "0x8D28893E3B38210" + "0x8D224E3883374FF" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -547,13 +616,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "4e3d9ba7-2778-4762-9d0a-a2a77c50d548" + "0580ee67-a041-4689-a232-a0c76eb050d9" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:38 GMT" + "Wed, 04 Mar 2015 22:41:51 GMT" ] }, "ResponseBody": "", @@ -562,7 +631,7 @@ "chunked" ], "request-id": [ - "b0f61d35-43e2-4c25-9a2b-38720ac9366b" + "ffb1fb8c-2f40-4456-aefb-4fce81f41301" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -571,13 +640,382 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:38 GMT" + "Wed, 04 Mar 2015 22:41:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "5ddfeba8-52dc-47f3-9691-ca2f879363b5" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Wed, 04 Mar 2015 22:41:51 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testdeletewipipe.batch.core.windows.net/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\r\n \"code\": \"WorkItemBeingDeleted\",\r\n \"message\": {\r\n \"lang\": \"en-US\",\r\n \"value\": \"The specified workitem has been marked for deletion and is being reclaimed.\\nRequestId:0c43d085-b498-4649-842a-aa60df95f9e0\\nTime:2015-03-04T22:41:51.9177974Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "386" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "request-id": [ + "0c43d085-b498-4649-842a-aa60df95f9e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:51 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cf027f64-5928-46d6-b21e-ff3397b03f78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "d086478d-45ed-41c5-a1cc-6ba2e2d2ad7c" + ], + "x-ms-correlation-request-id": [ + "d086478d-45ed-41c5-a1cc-6ba2e2d2ad7c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224153Z:d086478d-45ed-41c5-a1cc-6ba2e2d2ad7c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe/operationResults/cf027f64-5928-46d6-b21e-ff3397b03f78?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-delete-wi-pipe/providers/Microsoft.Batch/batchAccounts/testdeletewipipe/operationResults/cf027f64-5928-46d6-b21e-ff3397b03f78?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RkZWxldGV3aXBpcGUvb3BlcmF0aW9uUmVzdWx0cy9jZjAyN2Y2NC01OTI4LTQ2ZDYtYjIxZS1mZjMzOTdiMDNmNzg/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 22:41:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "45d4d4d6-5336-41c1-bc17-01fd1284b6e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "c317ba51-0538-46b6-9169-fe33e61fe01e" + ], + "x-ms-correlation-request-id": [ + "c317ba51-0538-46b6-9169-fe33e61fe01e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224154Z:c317ba51-0538-46b6-9169-fe33e61fe01e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:53 GMT" + ], + "ETag": [ + "0x8D224E38BE04537" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-delete-wi-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZGVsZXRlLXdpLXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "df7cfc03-e64d-4946-9b0d-54be6f014f83" + ], + "x-ms-correlation-request-id": [ + "df7cfc03-e64d-4946-9b0d-54be6f014f83" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224155Z:df7cfc03-e64d-4946-9b0d-54be6f014f83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0k6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0k6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGs2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "df7a52bb-a5bb-4c8a-8283-3735feaf3ae9" + ], + "x-ms-correlation-request-id": [ + "df7a52bb-a5bb-4c8a-8283-3735feaf3ae9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224155Z:df7a52bb-a5bb-4c8a-8283-3735feaf3ae9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:41:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0k6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0k6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGs2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "e53260d1-f6a7-405e-b5fe-047af22bb79a" + ], + "x-ms-correlation-request-id": [ + "e53260d1-f6a7-405e-b5fe-047af22bb79a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224211Z:e53260d1-f6a7-405e-b5fe-047af22bb79a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:42:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0k6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJEREVMRVRFOjJEV0k6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSRVZNUlZSRk9qSkVWMGs2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "d975684f-8d6b-4759-b478-7cc2cf86ad49" + ], + "x-ms-correlation-request-id": [ + "d975684f-8d6b-4759-b478-7cc2cf86ad49" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T224226Z:d975684f-8d6b-4759-b478-7cc2cf86ad49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 22:42:25 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json index 82052cef65ac..55bcd095280f 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" - ], - "x-ms-request-id": [ - "ab2b7a27-1d39-4018-a0fb-bcf35e2a15c3" - ], - "x-ms-correlation-request-id": [ - "ab2b7a27-1d39-4018-a0fb-bcf35e2a15c3" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192401Z:ab2b7a27-1d39-4018-a0fb-bcf35e2a15c3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:24:00 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi\",\r\n \"name\": \"test-get-wi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "175" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" ], "x-ms-request-id": [ - "d8ae00ea-55e9-468b-84ff-24cc85a46266" + "ae162263-6c4f-4869-b822-a9ae75c2df46" ], "x-ms-correlation-request-id": [ - "d8ae00ea-55e9-468b-84ff-24cc85a46266" + "ae162263-6c4f-4869-b822-a9ae75c2df46" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192403Z:d8ae00ea-55e9-468b-84ff-24cc85a46266" + "WESTUS:20150304T182235Z:ae162263-6c4f-4869-b822-a9ae75c2df46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:02 GMT" + "Wed, 04 Mar 2015 18:22:35 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:02 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], "request-id": [ - "d136c656-3198-4e5f-953c-1c3ffda46082" + "baa1a64e-9503-475e-9210-8562bcac0ab6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], "x-ms-request-id": [ - "9edbc6df-66c0-42f3-8acf-8358f291f419" + "71404d6d-8b47-430a-b974-81c563262f04" ], "x-ms-correlation-request-id": [ - "9edbc6df-66c0-42f3-8acf-8358f291f419" + "71404d6d-8b47-430a-b974-81c563262f04" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192402Z:9edbc6df-66c0-42f3-8acf-8358f291f419" + "WESTUS:20150304T182240Z:71404d6d-8b47-430a-b974-81c563262f04" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:01 GMT" + "Wed, 04 Mar 2015 18:22:39 GMT" ], - "ETag": [ - "0x8D28893F2BE9DAA" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/baa1a64e-9503-475e-9210-8562bcac0ab6?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/baa1a64e-9503-475e-9210-8562bcac0ab6?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvb3BlcmF0aW9uUmVzdWx0cy9iYWExYTY0ZS05NTAzLTQ3NWUtOTIxMC04NTYyYmNhYzBhYjY/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testgetwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "315" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:03 GMT" + "Wed, 04 Mar 2015 18:22:40 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "18260b9a-b4ee-4ee0-bbb7-291876a4d9b9" + "e94e792b-7a02-4b46-ac07-e10c4c55c8d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" + "31999" ], "x-ms-request-id": [ - "6ca5abfe-20c9-489f-814b-c5cb2fdc21c6" + "d97310e3-6c75-48a2-ba83-2d683d966479" ], "x-ms-correlation-request-id": [ - "6ca5abfe-20c9-489f-814b-c5cb2fdc21c6" + "d97310e3-6c75-48a2-ba83-2d683d966479" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192403Z:6ca5abfe-20c9-489f-814b-c5cb2fdc21c6" + "WESTUS:20150304T182240Z:d97310e3-6c75-48a2-ba83-2d683d966479" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:02 GMT" + "Wed, 04 Mar 2015 18:22:40 GMT" ], "ETag": [ - "0x8D28893F34B98A3" + "0x8D224BF555AC3F1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgetwi\",\r\n \"primary\": \"SeNAv1wlmltYz8yYEi+Cxmh8RhLIksewfyLtHgZsBlPr1GRM8X4CC03awlOgoqaos2a60SVeOOA9Sj6vSoJ4Vg==\",\r\n \"secondary\": \"a+zhQ5dBRoZzapvWetbg7M+7N5isfWq5GdOEUiF6COTBu5PW61LLEi8BgI00EU4pYZ1UjIb8AfDORVkqAIucJw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "e082be09-d4e5-4a45-b8a6-be18cfda0605" + "b460ed19-af55-4dfb-b724-98be1f7fe89f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1180" + "1198" ], "x-ms-request-id": [ - "065caafa-644f-4a88-9123-8a48249869dc" + "6028024a-fe06-433d-9887-c9a8df6ee37a" ], "x-ms-correlation-request-id": [ - "065caafa-644f-4a88-9123-8a48249869dc" + "6028024a-fe06-433d-9887-c9a8df6ee37a" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192402Z:065caafa-644f-4a88-9123-8a48249869dc" + "WESTUS:20150304T182240Z:6028024a-fe06-433d-9887-c9a8df6ee37a" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:02 GMT" + "Wed, 04 Mar 2015 18:22:40 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testgetwi\",\r\n \"primary\": \"SeNAv1wlmltYz8yYEi+Cxmh8RhLIksewfyLtHgZsBlPr1GRM8X4CC03awlOgoqaos2a60SVeOOA9Sj6vSoJ4Vg==\",\r\n \"secondary\": \"a+zhQ5dBRoZzapvWetbg7M+7N5isfWq5GdOEUiF6COTBu5PW61LLEi8BgI00EU4pYZ1UjIb8AfDORVkqAIucJw==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "73e346e8-587c-4665-a3c2-f29143d46ea6" + "ba0c3544-a0e9-49bc-a506-95502f569170" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1179" + "1197" ], "x-ms-request-id": [ - "3b6550cf-cf04-4299-a271-539f48617877" + "e77aa8d4-5816-4a54-967b-ce396f4e6020" ], "x-ms-correlation-request-id": [ - "3b6550cf-cf04-4299-a271-539f48617877" + "e77aa8d4-5816-4a54-967b-ce396f4e6020" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192403Z:3b6550cf-cf04-4299-a271-539f48617877" + "WESTUS:20150304T182316Z:e77aa8d4-5816-4a54-967b-ce396f4e6020" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:24:03 GMT" + "Wed, 04 Mar 2015 18:23:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c8f706b4-6c6b-4603-b6c2-49e8fee76024" + "372429d8-2b49-4080-82cf-af5cdb0036da" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:02 GMT" + "Wed, 04 Mar 2015 18:23:06 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:03 GMT" + "Wed, 04 Mar 2015 18:23:10 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "96b75d79-e24b-4ce2-8ecb-bfbc3a9b2e47" + "4376ef27-ddfd-4fbd-b7f1-2b84fd82450e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName" + "https://testgetwi.batch.core.windows.net/workitems/testName" ], "Date": [ - "Thu, 09 Jul 2015 19:24:02 GMT" + "Wed, 04 Mar 2015 18:23:10 GMT" ], "ETag": [ - "0x8D28893F34B82CB" + "0x8D224BF6736368E" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName" + "https://testgetwi.batch.core.windows.net/workitems/testName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -396,6 +354,117 @@ }, "StatusCode": 201 }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi\",\r\n \"name\": \"testgetwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "3179d022-f9c1-41b5-9ecf-b543c72bd602" + ], + "x-ms-correlation-request-id": [ + "3179d022-f9c1-41b5-9ecf-b543c72bd602" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182315Z:3179d022-f9c1-41b5-9ecf-b543c72bd602" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 18:23:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "f3683e1a-85b9-4234-9a18-53d2ed920af0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "63a7dd82-4aea-4c8f-b37e-45d89c005cf3" + ], + "x-ms-correlation-request-id": [ + "63a7dd82-4aea-4c8f-b37e-45d89c005cf3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182316Z:63a7dd82-4aea-4c8f-b37e-45d89c005cf3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:15 GMT" + ], + "ETag": [ + "0x8D224BF6A6997F9" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, { "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", @@ -406,28 +475,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "58ef7c15-c7a3-4201-a024-7ef5b3071cfd" + "3a36ebd0-120b-4793-b73d-d53b14eb4504" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:03 GMT" + "Wed, 04 Mar 2015 18:23:17 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D28893F34B82CB\",\r\n \"lastModified\": \"2015-07-09T19:24:03.6043467Z\",\r\n \"creationTime\": \"2015-07-09T19:24:03.6043467Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:24:03.6043467Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetwi.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgetwi.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D224BF6736368E\",\r\n \"lastModified\": \"2015-03-04T18:23:10.1620878Z\",\r\n \"creationTime\": \"2015-03-04T18:23:10.1620878Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T18:23:10.1620878Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testgetwi.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:24:03 GMT" + "Wed, 04 Mar 2015 18:23:10 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "fc2c02d4-518f-4680-b4f9-e894befaae65" + "9fddc1e4-c76c-4c5d-87fb-645f37be51f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -436,10 +505,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:02 GMT" + "Wed, 04 Mar 2015 18:23:18 GMT" ], "ETag": [ - "0x8D28893F34B82CB" + "0x8D224BF6736368E" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -457,13 +526,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "fea07d52-e5d5-499c-a279-70a0d2a54a12" + "e64ef93f-18d6-4b2b-bd35-7aa639b6bd7a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:24:04 GMT" + "Wed, 04 Mar 2015 18:23:23 GMT" ] }, "ResponseBody": "", @@ -472,7 +541,7 @@ "chunked" ], "request-id": [ - "a82627ed-3a14-40d4-9ed6-f896be825345" + "e6bbf250-9b12-46eb-b538-ee33437a8bee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -481,13 +550,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:24:04 GMT" + "Wed, 04 Mar 2015 18:23:25 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2597dd86-0605-4b6a-b05b-6ebb858f5ffe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "fc3a9d92-443c-4eff-b4cd-d66747318af9" + ], + "x-ms-correlation-request-id": [ + "fc3a9d92-443c-4eff-b4cd-d66747318af9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182339Z:fc3a9d92-443c-4eff-b4cd-d66747318af9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:38 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/2597dd86-0605-4b6a-b05b-6ebb858f5ffe?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/2597dd86-0605-4b6a-b05b-6ebb858f5ffe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvb3BlcmF0aW9uUmVzdWx0cy8yNTk3ZGQ4Ni0wNjA1LTRiNmEtYjA1Yi02ZWJiODU4ZjVmZmU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 18:23:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5ffab5c3-b26b-4355-9ce4-dabe41ee6be1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "0fd44d16-1227-449c-9df3-76fb75fbfd5d" + ], + "x-ms-correlation-request-id": [ + "0fd44d16-1227-449c-9df3-76fb75fbfd5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182339Z:0fd44d16-1227-449c-9df3-76fb75fbfd5d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:38 GMT" + ], + "ETag": [ + "0x8D224BF78777C24" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "0ab6ed49-36b1-4f31-b67c-d76f5621c320" + ], + "x-ms-correlation-request-id": [ + "0ab6ed49-36b1-4f31-b67c-d76f5621c320" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182341Z:0ab6ed49-36b1-4f31-b67c-d76f5621c320" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "81fc8699-2b0e-43f8-9bbc-be44fba57d9c" + ], + "x-ms-correlation-request-id": [ + "81fc8699-2b0e-43f8-9bbc-be44fba57d9c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182341Z:81fc8699-2b0e-43f8-9bbc-be44fba57d9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "ecaa79c7-c5ac-40e8-82c2-ab91b842fcdb" + ], + "x-ms-correlation-request-id": [ + "ecaa79c7-c5ac-40e8-82c2-ab91b842fcdb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182356Z:ecaa79c7-c5ac-40e8-82c2-ab91b842fcdb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:23:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "d2788fa4-ace0-4ca4-9da4-b11963d0bc36" + ], + "x-ms-correlation-request-id": [ + "d2788fa4-ace0-4ca4-9da4-b11963d0bc36" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182411Z:d2788fa4-ace0-4ca4-9da4-b11963d0bc36" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:24:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "fb1c6568-9095-4b24-a23b-8a6dfadb41ec" + ], + "x-ms-correlation-request-id": [ + "fb1c6568-9095-4b24-a23b-8a6dfadb41ec" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T182427Z:fb1c6568-9095-4b24-a23b-8a6dfadb41ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 18:24:26 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json index f5efcec9ea52..bc30370c2a5f 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" - ], - "x-ms-request-id": [ - "64b1cf18-3086-4a38-807d-b2ec03c544bd" - ], - "x-ms-correlation-request-id": [ - "64b1cf18-3086-4a38-807d-b2ec03c544bd" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192212Z:64b1cf18-3086-4a38-807d-b2ec03c544bd" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:22: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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi\",\r\n \"name\": \"test-list-wi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "177" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" ], "x-ms-request-id": [ - "850f46a7-a7ed-4f43-a521-f3abeb506340" + "8ffcba56-7a4a-47ae-91a8-dd6c01718126" ], "x-ms-correlation-request-id": [ - "850f46a7-a7ed-4f43-a521-f3abeb506340" + "8ffcba56-7a4a-47ae-91a8-dd6c01718126" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192215Z:850f46a7-a7ed-4f43-a521-f3abeb506340" + "WESTUS:20150304T230236Z:8ffcba56-7a4a-47ae-91a8-dd6c01718126" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:02:36 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:13 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], "request-id": [ - "0711d5a5-3727-4ad9-ac0e-c45166ecc6a5" + "fc9420a2-95fb-41a5-b5f4-425dce82979c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" - ], "x-ms-request-id": [ - "f153ee6f-e544-4244-be86-cd8a37bcdb65" + "4fb6c446-46db-4211-a59c-4c55574e5593" ], "x-ms-correlation-request-id": [ - "f153ee6f-e544-4244-be86-cd8a37bcdb65" + "4fb6c446-46db-4211-a59c-4c55574e5593" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192213Z:f153ee6f-e544-4244-be86-cd8a37bcdb65" + "WESTUS:20150304T230240Z:4fb6c446-46db-4211-a59c-4c55574e5593" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:13 GMT" + "Wed, 04 Mar 2015 23:02:39 GMT" ], - "ETag": [ - "0x8D28893B1CB03EC" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/fc9420a2-95fb-41a5-b5f4-425dce82979c?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/fc9420a2-95fb-41a5-b5f4-425dce82979c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9vcGVyYXRpb25SZXN1bHRzL2ZjOTQyMGEyLTk1ZmItNDFhNS1iNWY0LTQyNWRjZTgyOTc5Yz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "319" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:15 GMT" + "Wed, 04 Mar 2015 23:02:40 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "32a48dc3-53b9-4ba0-9778-e9e1ac301435" + "7efb4206-0798-4824-8f28-498c21feefee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" + "31978" ], "x-ms-request-id": [ - "3e109a7b-cbf0-4dad-87aa-f90ad5adfbd8" + "e9799880-174f-468f-b97d-263d84b6278f" ], "x-ms-correlation-request-id": [ - "3e109a7b-cbf0-4dad-87aa-f90ad5adfbd8" + "e9799880-174f-468f-b97d-263d84b6278f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192215Z:3e109a7b-cbf0-4dad-87aa-f90ad5adfbd8" + "WESTUS:20150304T230240Z:e9799880-174f-468f-b97d-263d84b6278f" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:15 GMT" + "Wed, 04 Mar 2015 23:02:40 GMT" ], "ETag": [ - "0x8D28893B2F91576" + "0x8D224E672D89E3C" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistwi\",\r\n \"primary\": \"gbtagaKwBVVyl/8/sDaLg0JvJQM9o1LU9X+U7G/JUy3e6o46S/St6TjxFUIf037mdnIWbCKAQ1xcvWUdUYpT8Q==\",\r\n \"secondary\": \"MBaReIT3somEmXtiLWsq0fhksubS3hB8sqNxWUVfU0BYzExs0aqTZMZKUnCkUSau1ibrzt1/8VFZjIkX5Vl1sg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "8871fcaf-d09e-477e-8614-f04f5d91d14e" + "b76b4416-cc8e-4129-8019-89c5e41c9043" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1176" + "1180" ], "x-ms-request-id": [ - "b5eec1de-2f0b-46cb-bad4-eca86e4d51e3" + "b745c234-df7f-435d-986a-d41ad67f4f89" ], "x-ms-correlation-request-id": [ - "b5eec1de-2f0b-46cb-bad4-eca86e4d51e3" + "b745c234-df7f-435d-986a-d41ad67f4f89" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192213Z:b5eec1de-2f0b-46cb-bad4-eca86e4d51e3" + "WESTUS:20150304T230240Z:b745c234-df7f-435d-986a-d41ad67f4f89" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:13 GMT" + "Wed, 04 Mar 2015 23:02:40 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistwi\",\r\n \"primary\": \"gbtagaKwBVVyl/8/sDaLg0JvJQM9o1LU9X+U7G/JUy3e6o46S/St6TjxFUIf037mdnIWbCKAQ1xcvWUdUYpT8Q==\",\r\n \"secondary\": \"MBaReIT3somEmXtiLWsq0fhksubS3hB8sqNxWUVfU0BYzExs0aqTZMZKUnCkUSau1ibrzt1/8VFZjIkX5Vl1sg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "232" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "c93950a6-1d29-4737-b4c7-9b7647473699" + "54064d7a-a5a0-466a-af87-f44ebf7993fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1175" + "1179" ], "x-ms-request-id": [ - "0d09eba6-ff02-4e22-9ec8-cdfbfa1a631c" + "e88c9254-fa88-4ea1-bb07-f61fe2694d3b" ], "x-ms-correlation-request-id": [ - "0d09eba6-ff02-4e22-9ec8-cdfbfa1a631c" + "e88c9254-fa88-4ea1-bb07-f61fe2694d3b" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192215Z:0d09eba6-ff02-4e22-9ec8-cdfbfa1a631c" + "WESTUS:20150304T230352Z:e88c9254-fa88-4ea1-bb07-f61fe2694d3b" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:15 GMT" + "Wed, 04 Mar 2015 23:03:51 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a0aba07e-eec0-4ba3-ba0c-227ac72a92ab" + "61110719-f05f-4328-945d-8ede4c9b63b4" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:13 GMT" + "Wed, 04 Mar 2015 23:03:16 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:03:15 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "eb6d0878-2131-489b-94ea-b3eaba377a13" + "3ea507d4-7ad5-4e49-83e7-cf973bf43709" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName1" + "https://testlistwi.batch.core.windows.net/workitems/testName1" ], "Date": [ - "Thu, 09 Jul 2015 19:22:13 GMT" + "Wed, 04 Mar 2015 23:03:16 GMT" ], "ETag": [ - "0x8D28893B23ABC4F" + "0x8D224E68828920D" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName1" + "https://testlistwi.batch.core.windows.net/workitems/testName1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -412,25 +370,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "40ba9866-b8bb-4ff7-b0bd-6ffed8e65e7a" + "9cfcdc71-cb8b-453f-b8da-e15fb049ce65" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:03:43 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:03:43 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "9005ef78-e671-43b1-a618-2f03d0daba5c" + "5009469b-e25a-4270-9406-86435e866fba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,16 +397,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName2" + "https://testlistwi.batch.core.windows.net/workitems/testName2" ], "Date": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:03:43 GMT" ], "ETag": [ - "0x8D28893B2815B95" + "0x8D224E6985D7232" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName2" + "https://testlistwi.batch.core.windows.net/workitems/testName2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -472,25 +430,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ab5e4454-23e6-47cf-8afc-28dbdf8b7f93" + "915a992e-b04e-4e00-9c49-0df098d41c70" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:03:49 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:15 GMT" + "Wed, 04 Mar 2015 23:03:49 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "15df7af5-6dee-4157-a471-058273a36592" + "7d2e1d36-e606-4df3-806d-61e09ed06420" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -499,16 +457,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/thirdtestName" + "https://testlistwi.batch.core.windows.net/workitems/thirdtestName" ], "Date": [ - "Thu, 09 Jul 2015 19:22:14 GMT" + "Wed, 04 Mar 2015 23:03:49 GMT" ], "ETag": [ - "0x8D28893B2C871DD" + "0x8D224E69C485FAD" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/thirdtestName" + "https://testlistwi.batch.core.windows.net/workitems/thirdtestName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -516,6 +474,117 @@ }, "StatusCode": 201 }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi\",\r\n \"name\": \"testlistwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "744" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "3cb72a00-316f-4def-ace7-f34d8be63417" + ], + "x-ms-correlation-request-id": [ + "3cb72a00-316f-4def-ace7-f34d8be63417" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230351Z:3cb72a00-316f-4def-ace7-f34d8be63417" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:03:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "319" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:03:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d3b10968-23ab-4e29-97c3-326d7b74ca9a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "a1258311-0fdf-4977-ba18-9299ffcd94f5" + ], + "x-ms-correlation-request-id": [ + "a1258311-0fdf-4977-ba18-9299ffcd94f5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230352Z:a1258311-0fdf-4977-ba18-9299ffcd94f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:03:51 GMT" + ], + "ETag": [ + "0x8D224E69DD7E79B" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, { "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", @@ -526,16 +595,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d54ae8c4-6f37-457e-994a-adbce6c7c1f2" + "ee74c99d-bd40-4866-a032-dc8ccde4e6e6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:15 GMT" + "Wed, 04 Mar 2015 23:03:52 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D28893B23ABC4F\",\r\n \"lastModified\": \"2015-07-09T19:22:14.4425039Z\",\r\n \"creationTime\": \"2015-07-09T19:22:14.4425039Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:22:14.4425039Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D28893B2815B95\",\r\n \"lastModified\": \"2015-07-09T19:22:14.9053333Z\",\r\n \"creationTime\": \"2015-07-09T19:22:14.9053333Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:22:14.9053333Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/thirdtestName\",\r\n \"eTag\": \"0x8D28893B2C871DD\",\r\n \"lastModified\": \"2015-07-09T19:22:15.3712093Z\",\r\n \"creationTime\": \"2015-07-09T19:22:15.3712093Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:22:15.3712093Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/thirdtestName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistwi.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D224E68828920D\",\r\n \"lastModified\": \"2015-03-04T23:03:15.8099469Z\",\r\n \"creationTime\": \"2015-03-04T23:03:15.8099469Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:03:15.8099469Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D224E6985D7232\",\r\n \"lastModified\": \"2015-03-04T23:03:43.0000178Z\",\r\n \"creationTime\": \"2015-03-04T23:03:43.0000178Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:03:43.0000178Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/thirdtestName\",\r\n \"eTag\": \"0x8D224E69C485FAD\",\r\n \"lastModified\": \"2015-03-04T23:03:49.5728045Z\",\r\n \"creationTime\": \"2015-03-04T23:03:49.5728045Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:03:49.5728045Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/thirdtestName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -544,7 +613,7 @@ "chunked" ], "request-id": [ - "6ec50637-82f5-429c-be56-57d91850ec44" + "24e691f2-9e3e-48e0-8c07-6b0585e0dabf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -553,7 +622,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:16 GMT" + "Wed, 04 Mar 2015 23:03:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -571,13 +640,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "42cfd3bd-7340-43cd-92d6-6829167e8327" + "349cc30a-632f-437c-967c-10863dce06cd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:15 GMT" + "Wed, 04 Mar 2015 23:03:53 GMT" ] }, "ResponseBody": "", @@ -586,7 +655,7 @@ "chunked" ], "request-id": [ - "e9c86bd8-4f5b-46fd-96db-9dea5479ab4f" + "ecbbcbb5-aaf7-4efb-8568-6dcf1c2ff8c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +664,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:16 GMT" + "Wed, 04 Mar 2015 23:03:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -613,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a8dca19e-1bf1-4d17-a4d5-4bbdc16b47ff" + "26b803fc-87a2-4b71-91fb-cfb8b80b1d1c" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:16 GMT" + "Wed, 04 Mar 2015 23:03:53 GMT" ] }, "ResponseBody": "", @@ -628,7 +697,7 @@ "chunked" ], "request-id": [ - "d9d068cd-a1f2-4f03-aa81-f13d59a6f3a5" + "3ad3b511-8d04-47e4-8aba-c93758704154" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:16 GMT" + "Wed, 04 Mar 2015 23:03:53 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -655,13 +724,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "215d0902-0f1d-47aa-b22a-402a69b5d849" + "7baaa37f-31a3-4ccf-8b1d-1819cd095c78" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:16 GMT" + "Wed, 04 Mar 2015 23:03:54 GMT" ] }, "ResponseBody": "", @@ -670,7 +739,7 @@ "chunked" ], "request-id": [ - "abe91020-ad39-4c04-9b38-214e7b7b123f" + "30aad50f-3b3e-4026-ac29-fb343002655b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,13 +748,337 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:16 GMT" + "Wed, 04 Mar 2015 23:03:53 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5ccc558c-c1c1-4720-850a-0cf173c7bf63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-request-id": [ + "ea2a1bda-22e5-49be-b37f-e2f65e69ae06" + ], + "x-ms-correlation-request-id": [ + "ea2a1bda-22e5-49be-b37f-e2f65e69ae06" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230356Z:ea2a1bda-22e5-49be-b37f-e2f65e69ae06" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:03:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/5ccc558c-c1c1-4720-850a-0cf173c7bf63?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/5ccc558c-c1c1-4720-850a-0cf173c7bf63?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9vcGVyYXRpb25SZXN1bHRzLzVjY2M1NThjLWMxYzEtNDcyMC04NTBhLTBjZjE3M2M3YmY2Mz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:03:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d8edaa97-2508-44c9-8117-96aa0d298b51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "3ed40113-f28b-4627-94aa-6be755e726cb" + ], + "x-ms-correlation-request-id": [ + "3ed40113-f28b-4627-94aa-6be755e726cb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230356Z:3ed40113-f28b-4627-94aa-6be755e726cb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:03:56 GMT" + ], + "ETag": [ + "0x8D224E6A055FBDD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-request-id": [ + "46b6dbbb-edd9-4220-95d5-bbfaa792b844" + ], + "x-ms-correlation-request-id": [ + "46b6dbbb-edd9-4220-95d5-bbfaa792b844" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230358Z:46b6dbbb-edd9-4220-95d5-bbfaa792b844" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:03:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "ddbef1d2-204d-42c8-ae7a-b4134f88bee8" + ], + "x-ms-correlation-request-id": [ + "ddbef1d2-204d-42c8-ae7a-b4134f88bee8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230358Z:ddbef1d2-204d-42c8-ae7a-b4134f88bee8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:03:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "cae44e2a-b8f7-4919-a642-f1940961caba" + ], + "x-ms-correlation-request-id": [ + "cae44e2a-b8f7-4919-a642-f1940961caba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230413Z:cae44e2a-b8f7-4919-a642-f1940961caba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:04:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "23c6e519-3b0f-41a0-9fd0-2ae528f102fa" + ], + "x-ms-correlation-request-id": [ + "23c6e519-3b0f-41a0-9fd0-2ae528f102fa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T230428Z:23c6e519-3b0f-41a0-9fd0-2ae528f102fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:04:28 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json index 48f9c54c4478..361fa1eb984d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" - ], - "x-ms-request-id": [ - "f8ed737c-cfb8-4b04-8743-0082cb4a429e" - ], - "x-ms-correlation-request-id": [ - "f8ed737c-cfb8-4b04-8743-0082cb4a429e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192305Z:f8ed737c-cfb8-4b04-8743-0082cb4a429e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:23:04 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter\",\r\n \"name\": \"test-list-wi-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "191" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" ], "x-ms-request-id": [ - "70d4328c-4c25-4f24-8861-8f940869fa65" + "7738bddc-6b91-436d-bab5-55ff261c172f" ], "x-ms-correlation-request-id": [ - "70d4328c-4c25-4f24-8861-8f940869fa65" + "7738bddc-6b91-436d-bab5-55ff261c172f" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192311Z:70d4328c-4c25-4f24-8861-8f940869fa65" + "WESTUS:20150304T232552Z:7738bddc-6b91-436d-bab5-55ff261c172f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:10 GMT" + "Wed, 04 Mar 2015 23:25:51 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:06 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1173" + ], "request-id": [ - "67746449-ebad-46fd-91a3-39617fb3f8c3" + "e783ae49-8f15-4464-9cd7-4ab8dcbd54e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" - ], "x-ms-request-id": [ - "8dc29d13-1287-4735-8bce-a7ff622fc81f" + "803064c8-b2e5-43a9-b7a6-16d54755dfa7" ], "x-ms-correlation-request-id": [ - "8dc29d13-1287-4735-8bce-a7ff622fc81f" + "803064c8-b2e5-43a9-b7a6-16d54755dfa7" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192306Z:8dc29d13-1287-4735-8bce-a7ff622fc81f" + "WESTUS:20150304T232555Z:803064c8-b2e5-43a9-b7a6-16d54755dfa7" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:05 GMT" + "Wed, 04 Mar 2015 23:25:55 GMT" ], - "ETag": [ - "0x8D28893D11D0E9F" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/e783ae49-8f15-4464-9cd7-4ab8dcbd54e8?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/e783ae49-8f15-4464-9cd7-4ab8dcbd54e8?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvb3BlcmF0aW9uUmVzdWx0cy9lNzgzYWU0OS04ZjE1LTQ0NjQtOWNkNy00YWI4ZGNiZDU0ZTg/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistwifilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwifilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "344" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:11 GMT" + "Wed, 04 Mar 2015 23:25:54 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "cecbe199-9c95-4adf-8b87-4938e9e1cbbc" + "931278d9-23dd-4285-bf26-1db5ecc348ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "31964" ], "x-ms-request-id": [ - "3283a55b-97f8-4181-92fb-fc1dc2be5bca" + "b0679061-011c-4634-897f-6a3f138d3c72" ], "x-ms-correlation-request-id": [ - "3283a55b-97f8-4181-92fb-fc1dc2be5bca" + "b0679061-011c-4634-897f-6a3f138d3c72" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192311Z:3283a55b-97f8-4181-92fb-fc1dc2be5bca" + "WESTUS:20150304T232555Z:b0679061-011c-4634-897f-6a3f138d3c72" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:11 GMT" + "Wed, 04 Mar 2015 23:25:55 GMT" ], "ETag": [ - "0x8D28893D431F9D2" + "0x8D224E9B2417DA3" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistwifilter\",\r\n \"primary\": \"yPVHi0NSXsOdTzs3d4H9/PrGLJtOU2WcS0VbuV7u4tsPTqPzIWx2VQ6UiQCcALBIU3/P5LGUOiSpjr1Tv+zsQw==\",\r\n \"secondary\": \"p71eRBTped1vu/ItYOLG6fnRCUaT+GgNjMZlowFkkjUwhRXDj6ABxsKfYfc6m8m7uUqoLsExdIAz4LH2ot8VyA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "238" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "c623e7c4-9bae-42b7-9d70-58fb458132aa" + "494fa71f-5df2-4ee9-91ea-deb2dee35ebd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1172" ], "x-ms-request-id": [ - "dde96591-d0e2-4d30-a446-ba9d63975c56" + "fde018f4-f1c5-43bd-a965-369fb3303ecd" ], "x-ms-correlation-request-id": [ - "dde96591-d0e2-4d30-a446-ba9d63975c56" + "fde018f4-f1c5-43bd-a965-369fb3303ecd" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192306Z:dde96591-d0e2-4d30-a446-ba9d63975c56" + "WESTUS:20150304T232556Z:fde018f4-f1c5-43bd-a965-369fb3303ecd" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:05 GMT" + "Wed, 04 Mar 2015 23:25:55 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistwifilter\",\r\n \"primary\": \"yPVHi0NSXsOdTzs3d4H9/PrGLJtOU2WcS0VbuV7u4tsPTqPzIWx2VQ6UiQCcALBIU3/P5LGUOiSpjr1Tv+zsQw==\",\r\n \"secondary\": \"p71eRBTped1vu/ItYOLG6fnRCUaT+GgNjMZlowFkkjUwhRXDj6ABxsKfYfc6m8m7uUqoLsExdIAz4LH2ot8VyA==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "238" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "ce92fc3f-8f3a-4a0b-9936-65648ad40287" + "0f90bfc8-2f2d-4533-a31c-41d85a67c2ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1171" ], "x-ms-request-id": [ - "f15c7d3d-2dd4-44b9-9451-8e25284ee857" + "4041a884-18ff-4d4c-8446-8c09bb5ef0a4" ], "x-ms-correlation-request-id": [ - "f15c7d3d-2dd4-44b9-9451-8e25284ee857" + "4041a884-18ff-4d4c-8446-8c09bb5ef0a4" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192311Z:f15c7d3d-2dd4-44b9-9451-8e25284ee857" + "WESTUS:20150304T232715Z:4041a884-18ff-4d4c-8446-8c09bb5ef0a4" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:23:11 GMT" + "Wed, 04 Mar 2015 23:27:15 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "bbb2bbf2-cecd-43a3-bf4d-1d02b338bda8" + "2ba495ea-12f8-49aa-bfbb-3c7e00098047" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:06 GMT" + "Wed, 04 Mar 2015 23:27:06 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:07 GMT" + "Wed, 04 Mar 2015 23:27:06 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "c2cf056c-65d2-4886-96b9-36667928e2c5" + "fbac9026-79fa-4a58-ba1c-d61f16506f06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName1" + "https://testlistwifilter.batch.core.windows.net/workitems/testName1" ], "Date": [ - "Thu, 09 Jul 2015 19:23:06 GMT" + "Wed, 04 Mar 2015 23:27:06 GMT" ], "ETag": [ - "0x8D28893D1CF08D9" + "0x8D224E9DCA4C2C7" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName1" + "https://testlistwifilter.batch.core.windows.net/workitems/testName1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -412,25 +370,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "d915b401-d816-4101-9c29-3c7b01bbf849" + "2125e4a2-9358-418b-bc26-a5379f869769" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:07 GMT" + "Wed, 04 Mar 2015 23:27:11 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:07 GMT" + "Wed, 04 Mar 2015 23:27:11 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "59db8b18-60d0-4159-8d05-d88d031c6f43" + "4d563918-8ed6-463c-9849-f8dcd67c204c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,16 +397,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName2" + "https://testlistwifilter.batch.core.windows.net/workitems/testName2" ], "Date": [ - "Thu, 09 Jul 2015 19:23:07 GMT" + "Wed, 04 Mar 2015 23:27:12 GMT" ], "ETag": [ - "0x8D28893D21D52B9" + "0x8D224E9DFC10AE2" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName2" + "https://testlistwifilter.batch.core.windows.net/workitems/testName2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -472,25 +430,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ccff526c-531e-48b3-8db4-8699d813bc45" + "9eb6e266-9951-474e-8573-fde57932da02" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:07 GMT" + "Wed, 04 Mar 2015 23:27:12 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:23:11 GMT" + "Wed, 04 Mar 2015 23:27:12 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "4955c4e8-771c-41a8-9d2c-eac453321076" + "b6480850-b813-4762-b978-b6ad6cfa60ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -499,16 +457,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/thirdtestName" + "https://testlistwifilter.batch.core.windows.net/workitems/thirdtestName" ], "Date": [ - "Thu, 09 Jul 2015 19:23:10 GMT" + "Wed, 04 Mar 2015 23:27:12 GMT" ], "ETag": [ - "0x8D28893D432B858" + "0x8D224E9E05C7F7B" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/thirdtestName" + "https://testlistwifilter.batch.core.windows.net/workitems/thirdtestName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -516,6 +474,117 @@ }, "StatusCode": 201 }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter\",\r\n \"name\": \"testlistwifilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "763" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "af2f9469-4eb6-4568-9aaf-5fe372c8aaca" + ], + "x-ms-correlation-request-id": [ + "af2f9469-4eb6-4568-9aaf-5fe372c8aaca" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232714Z:af2f9469-4eb6-4568-9aaf-5fe372c8aaca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:14 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwifilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwifilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:27:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "be10b5b2-2c25-4867-a103-0a112675a9d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "feb070de-7299-4209-993c-4e182f72e97b" + ], + "x-ms-correlation-request-id": [ + "feb070de-7299-4209-993c-4e182f72e97b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232715Z:feb070de-7299-4209-993c-4e182f72e97b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:15 GMT" + ], + "ETag": [ + "0x8D224E9E1D23DE6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, { "RequestUri": "/workitems?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testName')", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdE5hbWUlMjclMjk=", @@ -526,16 +595,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "5edb69b1-7c32-47e1-9967-c111c3dfe9c6" + "6e359b7a-6d5f-494e-a9e3-516f5b0ad054" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:11 GMT" + "Wed, 04 Mar 2015 23:27:15 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D28893D1CF08D9\",\r\n \"lastModified\": \"2015-07-09T19:23:07.4237657Z\",\r\n \"creationTime\": \"2015-07-09T19:23:07.4237657Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:23:07.4237657Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D28893D21D52B9\",\r\n \"lastModified\": \"2015-07-09T19:23:07.9368377Z\",\r\n \"creationTime\": \"2015-07-09T19:23:07.9368377Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:23:07.9368377Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistwifilter.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D224E9DCA4C2C7\",\r\n \"lastModified\": \"2015-03-04T23:27:06.0426439Z\",\r\n \"creationTime\": \"2015-03-04T23:27:06.0426439Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:27:06.0426439Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D224E9DFC10AE2\",\r\n \"lastModified\": \"2015-03-04T23:27:11.2611554Z\",\r\n \"creationTime\": \"2015-03-04T23:27:11.2611554Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:27:11.2611554Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -544,7 +613,7 @@ "chunked" ], "request-id": [ - "3c501bf5-2d05-463a-95f1-fb560af3afa9" + "b0a4be09-2619-440c-a3bf-f4cf27a5de1a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -553,7 +622,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:10 GMT" + "Wed, 04 Mar 2015 23:27:14 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -571,13 +640,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a57ec9b4-0986-4f40-b1ac-9fd4c16f5ef4" + "bc92f703-f288-4a11-a50a-32a1967f9f4a" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:11 GMT" + "Wed, 04 Mar 2015 23:27:16 GMT" ] }, "ResponseBody": "", @@ -586,7 +655,7 @@ "chunked" ], "request-id": [ - "75b700ab-6920-4a58-b96a-71ce6952124b" + "0ecc4766-05d5-4376-89dd-45fbd21fa11b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +664,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:12 GMT" + "Wed, 04 Mar 2015 23:27:16 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -613,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "f19fff49-aa12-4dac-94b8-a893a80ff249" + "70c1904d-4959-4cbb-91a9-5a56a6ba7fda" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:12 GMT" + "Wed, 04 Mar 2015 23:27:16 GMT" ] }, "ResponseBody": "", @@ -628,7 +697,7 @@ "chunked" ], "request-id": [ - "63e73104-ce2c-4885-a137-b1cd2f0f6d86" + "74cd6485-5f51-4fe7-97fa-d64357a1d1c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:12 GMT" + "Wed, 04 Mar 2015 23:27:16 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -655,13 +724,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "24d9d038-b508-4ff8-83a8-b531be1f980f" + "64c9a37b-7a8e-437d-9799-09e5c18636b6" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:23:12 GMT" + "Wed, 04 Mar 2015 23:27:16 GMT" ] }, "ResponseBody": "", @@ -670,7 +739,7 @@ "chunked" ], "request-id": [ - "c339f605-4b5b-4415-aa16-9b3faf61c7e9" + "7a52a986-28f2-4e63-8747-482a33bb2c7e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,13 +748,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:23:12 GMT" + "Wed, 04 Mar 2015 23:27:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f0f0bce1-03f1-44fd-a8a7-9cd6adb40a21" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1170" + ], + "x-ms-request-id": [ + "639f0c5e-105c-4ae3-9b23-113b61020a17" + ], + "x-ms-correlation-request-id": [ + "639f0c5e-105c-4ae3-9b23-113b61020a17" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232719Z:639f0c5e-105c-4ae3-9b23-113b61020a17" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/f0f0bce1-03f1-44fd-a8a7-9cd6adb40a21?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/f0f0bce1-03f1-44fd-a8a7-9cd6adb40a21?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvb3BlcmF0aW9uUmVzdWx0cy9mMGYwYmNlMS0wM2YxLTQ0ZmQtYThhNy05Y2Q2YWRiNDBhMjE/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:27:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "41a703bc-d1be-41fa-ac46-9ab174500d12" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "6ccd3ffe-a217-41dd-a361-ae65b31264c8" + ], + "x-ms-correlation-request-id": [ + "6ccd3ffe-a217-41dd-a361-ae65b31264c8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232719Z:6ccd3ffe-a217-41dd-a361-ae65b31264c8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:19 GMT" + ], + "ETag": [ + "0x8D224E9E45DF6CA" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "f01ac0d6-fa97-460d-8450-cf9c0197044b" + ], + "x-ms-correlation-request-id": [ + "f01ac0d6-fa97-460d-8450-cf9c0197044b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232721Z:f01ac0d6-fa97-460d-8450-cf9c0197044b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "edb56f03-d22f-461a-b609-e00a91e6c502" + ], + "x-ms-correlation-request-id": [ + "edb56f03-d22f-461a-b609-e00a91e6c502" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232721Z:edb56f03-d22f-461a-b609-e00a91e6c502" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "99ab544d-326b-458d-8eee-489b0c08b922" + ], + "x-ms-correlation-request-id": [ + "99ab544d-326b-458d-8eee-489b0c08b922" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232736Z:99ab544d-326b-458d-8eee-489b0c08b922" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "bc9f60ef-791b-4592-be74-304528d2de53" + ], + "x-ms-correlation-request-id": [ + "bc9f60ef-791b-4592-be74-304528d2de53" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232751Z:bc9f60ef-791b-4592-be74-304528d2de53" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:27:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "797a8428-6119-4ffb-9ff6-bc8189ac947f" + ], + "x-ms-correlation-request-id": [ + "797a8428-6119-4ffb-9ff6-bc8189ac947f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T232807Z:797a8428-6119-4ffb-9ff6-bc8189ac947f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:28:07 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json index cead71493503..e1af93176c00 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json @@ -1,67 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "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}", - "ResponseHeaders": { - "Content-Length": [ - "237" - ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" - ], - "x-ms-request-id": [ - "b27d0f5c-bb19-44cf-83fb-51e5842baca4" - ], - "x-ms-correlation-request-id": [ - "b27d0f5c-bb19-44cf-83fb-51e5842baca4" - ], - "x-ms-routing-request-id": [ - "WESTUS:20150709T192237Z:b27d0f5c-bb19-44cf-83fb-51e5842baca4" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" + "Content-Length": [ + "28" ], - "Date": [ - "Thu, 09 Jul 2015 19:22:37 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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount\",\r\n \"name\": \"test-list-wi-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "195" ], "Content-Type": [ "application/json; charset=utf-8" @@ -72,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" ], "x-ms-request-id": [ - "e0f3dbdc-b134-4288-9d30-f0c0218436cc" + "8592acf1-55ce-4058-8371-26368e4c89d8" ], "x-ms-correlation-request-id": [ - "e0f3dbdc-b134-4288-9d30-f0c0218436cc" + "8592acf1-55ce-4058-8371-26368e4c89d8" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192240Z:e0f3dbdc-b134-4288-9d30-f0c0218436cc" + "WESTUS:20150304T232938Z:8592acf1-55ce-4058-8371-26368e4c89d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,91 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:29:38 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { - "x-ms-version": [ - "2015-07-01" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "323" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" ], - "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:38 GMT" - ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], "request-id": [ - "e3706c93-bb5f-4149-aa7b-2df8806bed1a" + "2a013a93-d32c-4b68-bfdc-50a227c13f96" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" - ], "x-ms-request-id": [ - "33f4407e-a07e-4761-b0c3-6c79a2d7304b" + "9db96026-6976-47b1-b1d7-7fed938e4b96" ], "x-ms-correlation-request-id": [ - "33f4407e-a07e-4761-b0c3-6c79a2d7304b" + "9db96026-6976-47b1-b1d7-7fed938e4b96" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192238Z:33f4407e-a07e-4761-b0c3-6c79a2d7304b" + "WESTUS:20150304T232943Z:9db96026-6976-47b1-b1d7-7fed938e4b96" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:37 GMT" + "Wed, 04 Mar 2015 23:29:43 GMT" ], - "ETag": [ - "0x8D28893C0ADE5FA" + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/2a013a93-d32c-4b68-bfdc-50a227c13f96?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/2a013a93-d32c-4b68-bfdc-50a227c13f96?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L29wZXJhdGlvblJlc3VsdHMvMmEwMTNhOTMtZDMyYy00YjY4LWJmZGMtNTBhMjI3YzEzZjk2P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testlistwimaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwimaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "352" ], "Content-Type": [ "application/json; charset=utf-8" @@ -184,37 +142,37 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:29:43 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "61b402f9-8438-4073-a746-d1011388ee31" + "5b82eb48-a703-476a-8385-55a1813a0b6e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" + "31989" ], "x-ms-request-id": [ - "752a71f7-9657-4eed-ba91-540be5b9cc30" + "b9fb040d-56e2-4167-b2b6-ae692c7396a7" ], "x-ms-correlation-request-id": [ - "752a71f7-9657-4eed-ba91-540be5b9cc30" + "b9fb040d-56e2-4167-b2b6-ae692c7396a7" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192240Z:752a71f7-9657-4eed-ba91-540be5b9cc30" + "WESTUS:20150304T232943Z:b9fb040d-56e2-4167-b2b6-ae692c7396a7" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:39 GMT" + "Wed, 04 Mar 2015 23:29:43 GMT" ], "ETag": [ - "0x8D28893C1D5C64C" + "0x8D224EA3A43595D" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -223,22 +181,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistwimaxcount\",\r\n \"primary\": \"EvnLq0kKLF25720fBSTyDxFz5CdO7LL+t9rnqy767QMvptQQZNnHWKqjazh+l30U+n8yK19b2igP/O1fNcBf7g==\",\r\n \"secondary\": \"Cvs2jyiGxv0IU/MxX6WwegiFYlHc0wyB7eIWwVT5KBYfr3Psk8SBTUwDzyswIqX1YQO+IiZRfFU5g7Iwpv04ww==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -250,28 +208,28 @@ "no-cache" ], "request-id": [ - "0929295c-e864-4be0-931f-9ff50afa939b" + "bf597ef8-4e7d-4542-a303-2d3dcc69fcdd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1190" ], "x-ms-request-id": [ - "248104e8-f762-4173-8fb3-ac082057d02a" + "d298af81-7d84-41e0-a0dc-9e8dc43f1a6c" ], "x-ms-correlation-request-id": [ - "248104e8-f762-4173-8fb3-ac082057d02a" + "d298af81-7d84-41e0-a0dc-9e8dc43f1a6c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192238Z:248104e8-f762-4173-8fb3-ac082057d02a" + "WESTUS:20150304T232943Z:d298af81-7d84-41e0-a0dc-9e8dc43f1a6c" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:37 GMT" + "Wed, 04 Mar 2015 23:29:43 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -280,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testlistwimaxcount\",\r\n \"primary\": \"EvnLq0kKLF25720fBSTyDxFz5CdO7LL+t9rnqy767QMvptQQZNnHWKqjazh+l30U+n8yK19b2igP/O1fNcBf7g==\",\r\n \"secondary\": \"Cvs2jyiGxv0IU/MxX6WwegiFYlHc0wyB7eIWwVT5KBYfr3Psk8SBTUwDzyswIqX1YQO+IiZRfFU5g7Iwpv04ww==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "240" ], "Content-Type": [ "application/json; charset=utf-8" @@ -307,28 +265,28 @@ "no-cache" ], "request-id": [ - "d0b0180a-ef20-4b97-9ef0-1f566b71dab3" + "3f10ac30-6a58-4772-be6b-18bba48bd24e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1189" ], "x-ms-request-id": [ - "df4ae73d-5c57-4ca7-8c7c-294b60e8c216" + "c0a04a43-541e-470b-8aa7-c509f1eb6f44" ], "x-ms-correlation-request-id": [ - "df4ae73d-5c57-4ca7-8c7c-294b60e8c216" + "c0a04a43-541e-470b-8aa7-c509f1eb6f44" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192240Z:df4ae73d-5c57-4ca7-8c7c-294b60e8c216" + "WESTUS:20150304T233046Z:c0a04a43-541e-470b-8aa7-c509f1eb6f44" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:22:39 GMT" + "Wed, 04 Mar 2015 23:30:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -352,25 +310,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "18109fd5-5a0f-4472-80db-7a6ae67d7b97" + "ea161e06-12c8-44e8-9e34-030c3579e36d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:38 GMT" + "Wed, 04 Mar 2015 23:30:41 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:39 GMT" + "Wed, 04 Mar 2015 23:30:40 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "28b38f30-c765-4cde-9a79-dc2541716708" + "4e1a508b-3e49-4d71-8f9d-384468186bed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,16 +337,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName1" + "https://testlistwimaxcount.batch.core.windows.net/workitems/testName1" ], "Date": [ - "Thu, 09 Jul 2015 19:22:38 GMT" + "Wed, 04 Mar 2015 23:30:41 GMT" ], "ETag": [ - "0x8D28893C10F4674" + "0x8D224EA5CBB1E48" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName1" + "https://testlistwimaxcount.batch.core.windows.net/workitems/testName1" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -412,25 +370,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "063bcaec-fec9-476b-a61f-4c42bbc9af0e" + "3ba4b7cc-3429-4452-b691-6ddccd2bdf7b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:38 GMT" + "Wed, 04 Mar 2015 23:30:42 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:39 GMT" + "Wed, 04 Mar 2015 23:30:42 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "3b825040-8f79-4c95-92e5-55d68432d6f1" + "d05103a6-df32-4200-9656-1b75a519f3ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,16 +397,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/testName2" + "https://testlistwimaxcount.batch.core.windows.net/workitems/testName2" ], "Date": [ - "Thu, 09 Jul 2015 19:22:39 GMT" + "Wed, 04 Mar 2015 23:30:41 GMT" ], "ETag": [ - "0x8D28893C1539300" + "0x8D224EA5D616882" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/testName2" + "https://testlistwimaxcount.batch.core.windows.net/workitems/testName2" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -472,25 +430,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "0018ab4b-cf95-47a9-bb9a-b0ffd03864e7" + "a5240fee-67c5-4e8d-97a7-7592db386ffb" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:39 GMT" + "Wed, 04 Mar 2015 23:30:43 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:30:42 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "7e4d2883-f55d-4160-b85a-ac86158f293f" + "372539f8-636a-489a-a7b1-30a7a77a98c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -499,16 +457,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/thirdtestName" + "https://testlistwimaxcount.batch.core.windows.net/workitems/thirdtestName" ], "Date": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:30:42 GMT" ], "ETag": [ - "0x8D28893C19D21A3" + "0x8D224EA5DED1FC8" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/thirdtestName" + "https://testlistwimaxcount.batch.core.windows.net/workitems/thirdtestName" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -516,6 +474,117 @@ }, "StatusCode": 201 }, + { + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount\",\r\n \"name\": \"testlistwimaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "fb394d67-7c65-43c5-bb0a-b9c85282fe5b" + ], + "x-ms-correlation-request-id": [ + "fb394d67-7c65-43c5-bb0a-b9c85282fe5b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233045Z:fb394d67-7c65-43c5-bb0a-b9c85282fe5b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:30:44 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwimaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwimaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:30:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "bb164c00-375a-42ff-915a-5006f5571710" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "0d2aeadc-77db-42b4-8c3a-fc9f632ea01c" + ], + "x-ms-correlation-request-id": [ + "0d2aeadc-77db-42b4-8c3a-fc9f632ea01c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233046Z:0d2aeadc-77db-42b4-8c3a-fc9f632ea01c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:30:46 GMT" + ], + "ETag": [ + "0x8D224EA5F548531" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, { "RequestUri": "/workitems?api-version=2014-10-01.1.0", "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", @@ -526,16 +595,16 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6cd8fb94-f10a-4a6a-9adf-ec0eecc05c2b" + "b24f9872-be4f-439c-83d3-d1d4509ad54b" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:30:46 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D28893C10F4674\",\r\n \"lastModified\": \"2015-07-09T19:22:39.323506Z\",\r\n \"creationTime\": \"2015-07-09T19:22:39.323506Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:22:39.323506Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D28893C1539300\",\r\n \"lastModified\": \"2015-07-09T19:22:39.7711104Z\",\r\n \"creationTime\": \"2015-07-09T19:22:39.7711104Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:22:39.7711104Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/thirdtestName\",\r\n \"eTag\": \"0x8D28893C19D21A3\",\r\n \"lastModified\": \"2015-07-09T19:22:40.2531747Z\",\r\n \"creationTime\": \"2015-07-09T19:22:40.2531747Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:22:40.2531747Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/thirdtestName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistwimaxcount.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D224EA5CBB1E48\",\r\n \"lastModified\": \"2015-03-04T23:30:40.9375304Z\",\r\n \"creationTime\": \"2015-03-04T23:30:40.9375304Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:30:40.9375304Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D224EA5D616882\",\r\n \"lastModified\": \"2015-03-04T23:30:42.0273282Z\",\r\n \"creationTime\": \"2015-03-04T23:30:42.0273282Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:30:42.0273282Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/thirdtestName\",\r\n \"eTag\": \"0x8D224EA5DED1FC8\",\r\n \"lastModified\": \"2015-03-04T23:30:42.9429704Z\",\r\n \"creationTime\": \"2015-03-04T23:30:42.9429704Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-04T23:30:42.9429704Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/thirdtestName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" @@ -544,7 +613,7 @@ "chunked" ], "request-id": [ - "abbdd8e1-d4d6-4b2a-83b7-4775a78e5894" + "a8c7caf0-724a-4d9e-827f-98b8c86c24d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -553,7 +622,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:41 GMT" + "Wed, 04 Mar 2015 23:30:45 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -571,13 +640,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "c99e488c-8f2f-475c-ab41-af3dc1b51211" + "c9e38bfd-3189-4d6f-8cae-ce3b1dccd68f" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:30:46 GMT" ] }, "ResponseBody": "", @@ -586,7 +655,7 @@ "chunked" ], "request-id": [ - "4aec3197-5237-4e30-9fa8-4dfb7589663c" + "d9076bee-a498-4331-8654-6be57a449ed0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -595,7 +664,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:41 GMT" + "Wed, 04 Mar 2015 23:30:46 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -613,13 +682,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "3a8c8d07-e787-4e19-8ca1-5af6f0b666fe" + "90e9a75f-dd00-44eb-b5cb-6e1ea471f5aa" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:41 GMT" + "Wed, 04 Mar 2015 23:30:47 GMT" ] }, "ResponseBody": "", @@ -628,7 +697,7 @@ "chunked" ], "request-id": [ - "e6fdc79e-3c13-4290-bb74-789334f99792" + "85ed5f9f-b474-4006-9dbd-c202cba4cc4e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -637,7 +706,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:40 GMT" + "Wed, 04 Mar 2015 23:30:47 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -655,13 +724,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "1aadb4eb-4625-4a92-9dcc-30845274a917" + "5f897965-9465-4ee9-a89e-ca182965ec78" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:22:41 GMT" + "Wed, 04 Mar 2015 23:30:47 GMT" ] }, "ResponseBody": "", @@ -670,7 +739,7 @@ "chunked" ], "request-id": [ - "3faa55bb-bed3-4afc-adf7-ee4ae29a5f5b" + "ad0c3f2c-a3d5-467a-a62b-9f501b958642" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -679,13 +748,391 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:22:42 GMT" + "Wed, 04 Mar 2015 23:30:46 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5c8886c9-0896-4a8e-a7d4-56dc242e5c01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "85e83970-fa8f-4a10-84fb-1973beb015a2" + ], + "x-ms-correlation-request-id": [ + "85e83970-fa8f-4a10-84fb-1973beb015a2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233050Z:85e83970-fa8f-4a10-84fb-1973beb015a2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:30:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/5c8886c9-0896-4a8e-a7d4-56dc242e5c01?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/5c8886c9-0896-4a8e-a7d4-56dc242e5c01?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L29wZXJhdGlvblJlc3VsdHMvNWM4ODg2YzktMDg5Ni00YThlLWE3ZDQtNTZkYzI0MmU1YzAxP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 04 Mar 2015 23:30:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "088bbce9-39f2-413f-8c39-27776f5e66ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "c98d8c68-a028-4a2a-9b54-f6602e8753ba" + ], + "x-ms-correlation-request-id": [ + "c98d8c68-a028-4a2a-9b54-f6602e8753ba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233050Z:c98d8c68-a028-4a2a-9b54-f6602e8753ba" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:30:50 GMT" + ], + "ETag": [ + "0x8D224EA621693F3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "e7323a1c-4319-44de-95c7-75017bca237e" + ], + "x-ms-correlation-request-id": [ + "e7323a1c-4319-44de-95c7-75017bca237e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233052Z:e7323a1c-4319-44de-95c7-75017bca237e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:30:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "fe1bd52e-9c12-4581-afe8-5156e23f108e" + ], + "x-ms-correlation-request-id": [ + "fe1bd52e-9c12-4581-afe8-5156e23f108e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233052Z:fe1bd52e-9c12-4581-afe8-5156e23f108e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:30:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "17217407-007c-40e8-8b81-3959c0d420a4" + ], + "x-ms-correlation-request-id": [ + "17217407-007c-40e8-8b81-3959c0d420a4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233107Z:17217407-007c-40e8-8b81-3959c0d420a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:31:07 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "44e63247-591f-43a7-aacc-1b551b18084a" + ], + "x-ms-correlation-request-id": [ + "44e63247-591f-43a7-aacc-1b551b18084a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233123Z:44e63247-591f-43a7-aacc-1b551b18084a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:31:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "5dedc4ae-9168-4f4f-9319-3cddbd9f1009" + ], + "x-ms-correlation-request-id": [ + "5dedc4ae-9168-4f4f-9319-3cddbd9f1009" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150304T233138Z:5dedc4ae-9168-4f4f-9319-3cddbd9f1009" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 04 Mar 2015 23:31:37 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestNewWorkItem.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestNewWorkItem.json index 7320535bbd3f..8fdeaa7836de 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestNewWorkItem.json +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestNewWorkItem.json @@ -1,19 +1,25 @@ { "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": "", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-new-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbmV3LXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], "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}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi\",\r\n \"name\": \"test-new-wi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "237" + "175" ], "Content-Type": [ "application/json; charset=utf-8" @@ -24,17 +30,17 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-request-id": [ - "5aa72508-5cb7-4085-a258-511b45051b02" + "abe3aba2-5e64-4e2a-bcdc-e8d471406a0c" ], "x-ms-correlation-request-id": [ - "5aa72508-5cb7-4085-a258-511b45051b02" + "abe3aba2-5e64-4e2a-bcdc-e8d471406a0c" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192122Z:5aa72508-5cb7-4085-a258-511b45051b02" + "WESTUS:20150305T183533Z:abe3aba2-5e64-4e2a-bcdc-e8d471406a0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,28 +49,91 @@ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:22 GMT" + "Thu, 05 Mar 2015 18:35:33 GMT" ] }, - "StatusCode": 200 + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "request-id": [ + "ef2a4985-40c2-4d30-b310-32032b947ce1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e0c48dc5-8060-406d-9635-8fdaa5f21b17" + ], + "x-ms-correlation-request-id": [ + "e0c48dc5-8060-406d-9635-8fdaa5f21b17" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183537Z:e0c48dc5-8060-406d-9635-8fdaa5f21b17" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:35:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/ef2a4985-40c2-4d30-b310-32032b947ce1?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/ef2a4985-40c2-4d30-b310-32032b947ce1?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9lZjJhNDk4NS00MGMyLTRkMzAtYjMxMC0zMjAzMmI5NDdjZTE/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "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.batch.core.windows.net\",\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}", + "ResponseBody": "{\r\n \"name\": \"testnewwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testnewwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "323" + "315" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,37 +142,94 @@ "-1" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:23 GMT" + "Thu, 05 Mar 2015 18:35:37 GMT" ], "Pragma": [ "no-cache" ], "request-id": [ - "cbb4f25d-0560-4c7a-980c-1265af10bef3" + "1bade2db-39f3-4ae5-a662-0b602c71d305" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" + "31998" ], "x-ms-request-id": [ - "fea9b4f8-891c-45df-b380-c32b2ba02dda" + "411dcd1c-f20d-423d-afa7-603e31f7fa6d" ], "x-ms-correlation-request-id": [ - "fea9b4f8-891c-45df-b380-c32b2ba02dda" + "411dcd1c-f20d-423d-afa7-603e31f7fa6d" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192123Z:fea9b4f8-891c-45df-b380-c32b2ba02dda" + "WESTUS:20150305T183537Z:411dcd1c-f20d-423d-afa7-603e31f7fa6d" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:22 GMT" + "Thu, 05 Mar 2015 18:35:37 GMT" ], "ETag": [ - "0x8D2889393964D76" + "0x8D2258A4F1D38A7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testnewwi\",\r\n \"primary\": \"PqST+g+B/BrA6/za611CiPZXtTLJ9MdHoDzUEpMEc13SS3r4jFNVFlPCXxKcAf0g66ctsYFFpG+tBICPOBlYNw==\",\r\n \"secondary\": \"3aUnOZ/JDkWqpqcHfqRXXtXb3a3SR3nU5XItvLqTTjO332rBi/OZ62h50Lim0VYj+3gIgRApdTSN8Gia9iZ2Gg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "231" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "81c69780-ab87-41de-a662-10e689f5db57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "fcc3a226-c530-467a-a228-c6cef26b4ac4" + ], + "x-ms-correlation-request-id": [ + "fcc3a226-c530-467a-a228-c6cef26b4ac4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183538Z:fcc3a226-c530-467a-a228-c6cef26b4ac4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:35:37 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -112,22 +238,22 @@ "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==", + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2015-07-01" + "2014-05-01-privatepreview" ], "User-Agent": [ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LvTRVrhrb0mV/DvM55d7NT36RpCLXka/hrZSZQnNKlfV8nxzU0ChDAxrILper4n3AndEtMgyxW404JKkGodXFA==\",\r\n \"secondary\": \"Lc37R3wawurI2u8oLu6pblhfYBW7S6770vbeqnUQJX87kT7R5hEFq2IlEfowvQ+rO3K0frlfFNlyiL/rkaYnFw==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"testnewwi\",\r\n \"primary\": \"PqST+g+B/BrA6/za611CiPZXtTLJ9MdHoDzUEpMEc13SS3r4jFNVFlPCXxKcAf0g66ctsYFFpG+tBICPOBlYNw==\",\r\n \"secondary\": \"3aUnOZ/JDkWqpqcHfqRXXtXb3a3SR3nU5XItvLqTTjO332rBi/OZ62h50Lim0VYj+3gIgRApdTSN8Gia9iZ2Gg==\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "229" + "231" ], "Content-Type": [ "application/json; charset=utf-8" @@ -139,28 +265,139 @@ "no-cache" ], "request-id": [ - "387dc801-f5f5-4b95-8d45-63cfc7fc410b" + "5054108e-2c51-4f2d-a20b-34c361f4b755" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1181" + "1197" + ], + "x-ms-request-id": [ + "9e3a080f-779e-4acc-aca6-4f993d2d3062" + ], + "x-ms-correlation-request-id": [ + "9e3a080f-779e-4acc-aca6-4f993d2d3062" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183625Z:9e3a080f-779e-4acc-aca6-4f993d2d3062" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:36:25 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "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-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi\",\r\n \"name\": \"testnewwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "bec5c13e-c087-4aff-a420-725845532c99" + ], + "x-ms-correlation-request-id": [ + "bec5c13e-c087-4aff-a420-725845532c99" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183625Z:bec5c13e-c087-4aff-a420-725845532c99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:36:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testnewwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testnewwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Thu, 05 Mar 2015 18:36:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d5fad6a9-b643-4a4e-b333-592b29543d32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" ], "x-ms-request-id": [ - "2623c11f-c401-4d52-9712-4290c4974bc9" + "e26f16de-fb76-421b-a7ba-68939fa9481e" ], "x-ms-correlation-request-id": [ - "2623c11f-c401-4d52-9712-4290c4974bc9" + "e26f16de-fb76-421b-a7ba-68939fa9481e" ], "x-ms-routing-request-id": [ - "WESTUS:20150709T192123Z:2623c11f-c401-4d52-9712-4290c4974bc9" + "WESTUS:20150305T183625Z:e26f16de-fb76-421b-a7ba-68939fa9481e" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Thu, 09 Jul 2015 19:21:22 GMT" + "Thu, 05 Mar 2015 18:36:25 GMT" + ], + "ETag": [ + "0x8D2258A6B78B625" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -184,25 +421,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "731130d9-24a3-43aa-b1f7-d61209bd5436" + "97061b06-9bca-4ab9-be71-fa2f74c07063" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:23 GMT" + "Thu, 05 Mar 2015 18:36:25 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:24 GMT" + "Thu, 05 Mar 2015 18:36:25 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "bdbcc2ea-7369-46ce-ba2f-fd50e56e2770" + "6871a487-2912-4ba0-a1e9-44088a72b3f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -211,16 +448,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/simple" + "https://testnewwi.batch.core.windows.net/workitems/simple" ], "Date": [ - "Thu, 09 Jul 2015 19:21:23 GMT" + "Thu, 05 Mar 2015 18:36:26 GMT" ], "ETag": [ - "0x8D2889394330ACC" + "0x8D2258A6BF5C56F" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/simple" + "https://testnewwi.batch.core.windows.net/workitems/simple" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -244,25 +481,25 @@ "WA-Batch/1.0" ], "client-request-id": [ - "6ad0a090-7476-445a-a867-0d87e71a8e5d" + "6e8c36ea-edb3-4e4d-97df-596092e4a6dd" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:24 GMT" + "Thu, 05 Mar 2015 18:36:27 GMT" ] }, "ResponseBody": "", "ResponseHeaders": { "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:25 GMT" + "Thu, 05 Mar 2015 18:36:27 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "8fff92c5-959d-42f2-8599-6e8b99955a62" + "1b22c573-4752-4850-986e-db38aa3b22db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -271,16 +508,16 @@ "3.0" ], "DataServiceId": [ - "https://pstests.batch.core.windows.net/workitems/complex" + "https://testnewwi.batch.core.windows.net/workitems/complex" ], "Date": [ - "Thu, 09 Jul 2015 19:21:24 GMT" + "Thu, 05 Mar 2015 18:36:27 GMT" ], "ETag": [ - "0x8D2889394CDC6F3" + "0x8D2258A6CAE84EB" ], "Location": [ - "https://pstests.batch.core.windows.net/workitems/complex" + "https://testnewwi.batch.core.windows.net/workitems/complex" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -298,28 +535,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "a2e8441f-21cf-4c8e-a196-6f3c88f9562a" + "58f90002-6f6b-4898-94fd-2cd014d52848" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:23 GMT" + "Thu, 05 Mar 2015 18:36:26 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"simple\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/simple\",\r\n \"eTag\": \"0x8D2889394330ACC\",\r\n \"lastModified\": \"2015-07-09T19:21:24.0604364Z\",\r\n \"creationTime\": \"2015-07-09T19:21:24.0604364Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:21:24.0604364Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/simple/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewwi.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"simple\",\r\n \"url\": \"https://testnewwi.batch.core.windows.net/workitems/simple\",\r\n \"eTag\": \"0x8D2258A6BF5C56F\",\r\n \"lastModified\": \"2015-03-05T18:36:25.9644783Z\",\r\n \"creationTime\": \"2015-03-05T18:36:25.9644783Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T18:36:25.9644783Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testnewwi.batch.core.windows.net/workitems/simple/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:24 GMT" + "Thu, 05 Mar 2015 18:36:25 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "56efddfc-268f-40b9-8f90-3eba656d84b8" + "2c60e95c-c526-433d-ab42-e6d7a5616c78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -328,10 +565,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:23 GMT" + "Thu, 05 Mar 2015 18:36:26 GMT" ], "ETag": [ - "0x8D2889394330ACC" + "0x8D2258A6BF5C56F" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -349,28 +586,28 @@ "WA-Batch/1.0" ], "client-request-id": [ - "382370a9-2b4c-4cb1-a514-c60fb1149c35" + "ca3ebc55-b15e-4081-b9e4-2d47fe33c3b7" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:24 GMT" + "Thu, 05 Mar 2015 18:36:27 GMT" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"complex\",\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/complex\",\r\n \"eTag\": \"0x8D2889394CDC6F3\",\r\n \"lastModified\": \"2015-07-09T19:21:25.0745075Z\",\r\n \"creationTime\": \"2015-07-09T19:21:25.0745075Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-07-09T19:21:25.0745075Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"P1D\"\r\n },\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"jobConstraints\": {\r\n \"maxWallClockTime\": \"P1D\",\r\n \"maxTaskRetryCount\": 5\r\n },\r\n \"jobManager\": {\r\n \"name\": \"jobManager\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct.blob.core.windows.net/\",\r\n \"filePath\": \"filePath\"\r\n }\r\n ],\r\n \"environmentSettings\": [\r\n {\r\n \"name\": \"name1\",\r\n \"value\": \"value1\"\r\n },\r\n {\r\n \"name\": \"name2\",\r\n \"value\": \"value2\"\r\n }\r\n ],\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 5\r\n },\r\n \"runElevated\": false,\r\n \"runExclusive\": true,\r\n \"killJobOnCompletion\": false\r\n }\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"autoPoolSpecification\": {\r\n \"autoPoolNamePrefix\": \"TestSpecPrefix\",\r\n \"poolLifeTimeOption\": \"workitem\",\r\n \"keepAlive\": false,\r\n \"pool\": {\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n },\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"certificateReferences\": [\r\n {\r\n \"thumbprint\": \"0123456789abcdef\",\r\n \"thumbprintAlgorithm\": \"sha1\",\r\n \"storeLocation\": \"LocalMachine\",\r\n \"storeName\": \"certStore\",\r\n \"visibility\": \"starttask\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-07-10T19:21:25.0745075Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.batch.core.windows.net/workitems/complex/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n },\r\n \"metadata\": [\r\n {\r\n \"name\": \"meta2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"meta1\",\r\n \"value\": \"value1\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testnewwi.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"complex\",\r\n \"url\": \"https://testnewwi.batch.core.windows.net/workitems/complex\",\r\n \"eTag\": \"0x8D2258A6CAE84EB\",\r\n \"lastModified\": \"2015-03-05T18:36:27.1752427Z\",\r\n \"creationTime\": \"2015-03-05T18:36:27.1752427Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-03-05T18:36:27.1752427Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"P1D\"\r\n },\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"jobConstraints\": {\r\n \"maxWallClockTime\": \"P1D\",\r\n \"maxTaskRetryCount\": 5\r\n },\r\n \"jobManager\": {\r\n \"name\": \"jobManager\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"resourceFiles\": [\r\n {\r\n \"blobSource\": \"https://testacct.blob.core.windows.net/\",\r\n \"filePath\": \"filePath\"\r\n }\r\n ],\r\n \"environmentSettings\": [\r\n {\r\n \"name\": \"name1\",\r\n \"value\": \"value1\"\r\n },\r\n {\r\n \"name\": \"name2\",\r\n \"value\": \"value2\"\r\n }\r\n ],\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 5\r\n },\r\n \"runElevated\": false,\r\n \"runExclusive\": true,\r\n \"killJobOnCompletion\": false\r\n }\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"autoPoolSpecification\": {\r\n \"autoPoolNamePrefix\": \"TestSpecPrefix\",\r\n \"poolLifeTimeOption\": \"workitem\",\r\n \"keepAlive\": false,\r\n \"pool\": {\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n },\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"certificateReferences\": [\r\n {\r\n \"thumbprint\": \"0123456789abcdef\",\r\n \"thumbprintAlgorithm\": \"sha1\",\r\n \"storeLocation\": \"LocalMachine\",\r\n \"storeName\": \"certStore\",\r\n \"visibility\": \"starttask\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-03-06T18:36:27.1752427Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testnewwi.batch.core.windows.net/workitems/complex/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n },\r\n \"metadata\": [\r\n {\r\n \"name\": \"meta2\",\r\n \"value\": \"value2\"\r\n },\r\n {\r\n \"name\": \"meta1\",\r\n \"value\": \"value1\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata" ], "Last-Modified": [ - "Thu, 09 Jul 2015 19:21:25 GMT" + "Thu, 05 Mar 2015 18:36:27 GMT" ], "Transfer-Encoding": [ "chunked" ], "request-id": [ - "9ef71ee0-b596-4dd1-9a53-a44ea804958f" + "64195582-0144-4988-bf7e-42156a4ad2f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -379,10 +616,10 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:24 GMT" + "Thu, 05 Mar 2015 18:36:27 GMT" ], "ETag": [ - "0x8D2889394CDC6F3" + "0x8D2258A6CAE84EB" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -400,13 +637,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "51758e3c-4543-4dbb-a2bd-445306b5e7fb" + "1a7a65ad-743d-41ef-93f2-f9b50bb64ef0" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:25 GMT" + "Thu, 05 Mar 2015 18:36:28 GMT" ] }, "ResponseBody": "", @@ -415,7 +652,7 @@ "chunked" ], "request-id": [ - "c389e7e7-9840-4376-afb1-3f5fb7d27bc0" + "d4e47367-ce56-46c4-9fca-b8860232221a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -424,7 +661,7 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:25 GMT" + "Thu, 05 Mar 2015 18:36:28 GMT" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -442,13 +679,13 @@ "WA-Batch/1.0" ], "client-request-id": [ - "ec3e3fee-1878-407f-a8fa-4e909b866fc3" + "5108501a-7f0c-4871-bd94-23939aa7465d" ], "return-client-request-id": [ "False" ], "ocp-date": [ - "Thu, 09 Jul 2015 19:21:25 GMT" + "Thu, 05 Mar 2015 18:36:28 GMT" ] }, "ResponseBody": "", @@ -457,7 +694,7 @@ "chunked" ], "request-id": [ - "294f673a-aea6-42f0-8961-198bfe7b26a1" + "c86ee797-0161-43a0-a865-7fdde60b5a04" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -466,13 +703,1699 @@ "3.0" ], "Date": [ - "Thu, 09 Jul 2015 19:21:26 GMT" + "Thu, 05 Mar 2015 18:36:28 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a81dc9d1-2159-49ba-a8df-450a89e8b51b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "4fddeb7c-2b80-4441-a4c6-c945b4d9b801" + ], + "x-ms-correlation-request-id": [ + "4fddeb7c-2b80-4441-a4c6-c945b4d9b801" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183631Z:4fddeb7c-2b80-4441-a4c6-c945b4d9b801" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:36:30 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" ], "Server": [ "Microsoft-HTTPAPI/2.0" ] }, "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ef20484d-c27f-493e-bd04-ed2805e7a4c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "7bc874e7-7aa4-422a-b49b-93a968a189b1" + ], + "x-ms-correlation-request-id": [ + "7bc874e7-7aa4-422a-b49b-93a968a189b1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183631Z:7bc874e7-7aa4-422a-b49b-93a968a189b1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:36:30 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5a8964af-f890-4111-b048-dae0ee9518ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "8106060e-3923-49fe-89dc-b20e2f43ee3c" + ], + "x-ms-correlation-request-id": [ + "8106060e-3923-49fe-89dc-b20e2f43ee3c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183646Z:8106060e-3923-49fe-89dc-b20e2f43ee3c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:36:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c707e78e-ef93-450c-8bda-c945bda26c86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "8adc3a51-f186-4580-98c0-bdbed9d87dfe" + ], + "x-ms-correlation-request-id": [ + "8adc3a51-f186-4580-98c0-bdbed9d87dfe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183701Z:8adc3a51-f186-4580-98c0-bdbed9d87dfe" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:37:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5f706c61-1210-4977-b8b7-efc0bcb36c7c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "790f5689-646d-4638-9e48-b9c6bf875b5b" + ], + "x-ms-correlation-request-id": [ + "790f5689-646d-4638-9e48-b9c6bf875b5b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183717Z:790f5689-646d-4638-9e48-b9c6bf875b5b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:37:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6bcf216c-aa81-4e93-9b1c-48ba0824d84a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "808db2bd-143d-4a92-b1f0-28e15ba6990e" + ], + "x-ms-correlation-request-id": [ + "808db2bd-143d-4a92-b1f0-28e15ba6990e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183732Z:808db2bd-143d-4a92-b1f0-28e15ba6990e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:37:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fe8fab2d-1250-4c95-b241-66bf1bbd065a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "228bdc86-fba7-43c6-b1cd-d520a266971f" + ], + "x-ms-correlation-request-id": [ + "228bdc86-fba7-43c6-b1cd-d520a266971f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183747Z:228bdc86-fba7-43c6-b1cd-d520a266971f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:37:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8ae7a951-fdb8-4142-9691-320d9b414085" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "b76cb87a-9721-4647-851f-e2b80bd9cc46" + ], + "x-ms-correlation-request-id": [ + "b76cb87a-9721-4647-851f-e2b80bd9cc46" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183802Z:b76cb87a-9721-4647-851f-e2b80bd9cc46" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:38:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2d035656-cf55-48e6-9701-aeb8e33a5f49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "ce381edf-afcf-4c30-adf3-5e55dd9938e4" + ], + "x-ms-correlation-request-id": [ + "ce381edf-afcf-4c30-adf3-5e55dd9938e4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183817Z:ce381edf-afcf-4c30-adf3-5e55dd9938e4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:38:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e42f3847-bdcd-419f-b89a-846ea1886c35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "874dcf78-261c-4698-9ce0-4444c652d23e" + ], + "x-ms-correlation-request-id": [ + "874dcf78-261c-4698-9ce0-4444c652d23e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183832Z:874dcf78-261c-4698-9ce0-4444c652d23e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:38:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "14ca0db6-5a51-4e32-a18c-86dc7874eb79" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "62093f9d-a296-4841-9a05-7c2c99df79f5" + ], + "x-ms-correlation-request-id": [ + "62093f9d-a296-4841-9a05-7c2c99df79f5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183847Z:62093f9d-a296-4841-9a05-7c2c99df79f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:38:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8daef84c-9a8b-48f8-8c6b-905ae45d9eb3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "a7d96ae3-6c7a-4267-ba4f-30f992952c91" + ], + "x-ms-correlation-request-id": [ + "a7d96ae3-6c7a-4267-ba4f-30f992952c91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183903Z:a7d96ae3-6c7a-4267-ba4f-30f992952c91" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:39:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a266dd08-df16-40b4-9e85-225831996d61" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "b5f393d3-2cf9-46f0-a2c1-a11484a8d55d" + ], + "x-ms-correlation-request-id": [ + "b5f393d3-2cf9-46f0-a2c1-a11484a8d55d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183918Z:b5f393d3-2cf9-46f0-a2c1-a11484a8d55d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:39:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c99bde5d-fd74-4cce-873e-8cc1f888c0bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "f55830ab-4f72-4e65-a25d-cf1d3188805c" + ], + "x-ms-correlation-request-id": [ + "f55830ab-4f72-4e65-a25d-cf1d3188805c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183934Z:f55830ab-4f72-4e65-a25d-cf1d3188805c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:39:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fdd9d93c-4e98-4a22-b718-861ec5f9a1e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "a27e635e-cb43-4b9c-8551-2d662e93d406" + ], + "x-ms-correlation-request-id": [ + "a27e635e-cb43-4b9c-8551-2d662e93d406" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T183949Z:a27e635e-cb43-4b9c-8551-2d662e93d406" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:39:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "082ae0a0-afbd-4e8d-b7bc-f440239b8e06" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "59bf7ec4-0a44-4a70-87d1-8519ab261e94" + ], + "x-ms-correlation-request-id": [ + "59bf7ec4-0a44-4a70-87d1-8519ab261e94" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184004Z:59bf7ec4-0a44-4a70-87d1-8519ab261e94" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:40:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a292563b-8f22-4423-809a-59e835370435" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "b206380e-aaa3-4dd5-8c68-d019e0affd4d" + ], + "x-ms-correlation-request-id": [ + "b206380e-aaa3-4dd5-8c68-d019e0affd4d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184019Z:b206380e-aaa3-4dd5-8c68-d019e0affd4d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:40:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2be63031-3ab2-47da-b381-b21e888fd39c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "2ec6fc41-f8d4-4824-a9ec-b2ca7bf1317e" + ], + "x-ms-correlation-request-id": [ + "2ec6fc41-f8d4-4824-a9ec-b2ca7bf1317e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184034Z:2ec6fc41-f8d4-4824-a9ec-b2ca7bf1317e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:40:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "69c6448d-2b5a-41cf-82b2-0de60e5b540c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "f04c7378-554c-4666-95c8-00e1fcb69caf" + ], + "x-ms-correlation-request-id": [ + "f04c7378-554c-4666-95c8-00e1fcb69caf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184050Z:f04c7378-554c-4666-95c8-00e1fcb69caf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:40:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a4ec3c87-7ff9-46d3-901c-775bc2a66a77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "4ef725f8-eae9-4dea-96d5-0c4062b30c60" + ], + "x-ms-correlation-request-id": [ + "4ef725f8-eae9-4dea-96d5-0c4062b30c60" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184105Z:4ef725f8-eae9-4dea-96d5-0c4062b30c60" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:41:05 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e5c797f8-e65f-4ae8-b968-0becd42f90e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "a50798a8-7a2d-4271-870f-657424ca6fd3" + ], + "x-ms-correlation-request-id": [ + "a50798a8-7a2d-4271-870f-657424ca6fd3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184120Z:a50798a8-7a2d-4271-870f-657424ca6fd3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:41:20 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e05e6f5e-7762-42dc-b369-498fa016e41e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "e0802d23-a264-42bb-8ef9-7be0ddd27c5b" + ], + "x-ms-correlation-request-id": [ + "e0802d23-a264-42bb-8ef9-7be0ddd27c5b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184136Z:e0802d23-a264-42bb-8ef9-7be0ddd27c5b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:41:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "afb53273-f2ea-4000-94f4-4e004d7d73ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "492bca56-7c24-4cae-88b7-f939f86f4198" + ], + "x-ms-correlation-request-id": [ + "492bca56-7c24-4cae-88b7-f939f86f4198" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184151Z:492bca56-7c24-4cae-88b7-f939f86f4198" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:41:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-new-wi/providers/Microsoft.Batch/batchAccounts/testnewwi/operationResults/a81dc9d1-2159-49ba-a8df-450a89e8b51b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbmV3LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bmV3d2kvb3BlcmF0aW9uUmVzdWx0cy9hODFkYzlkMS0yMTU5LTQ5YmEtYThkZi00NTBhODllOGI1MWI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "69" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a0bfa67e-ef85-49ba-a66b-a137d322421e" + ], + "x-ms-correlation-request-id": [ + "a0bfa67e-ef85-49ba-a66b-a137d322421e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184207Z:a0bfa67e-ef85-49ba-a66b-a137d322421e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:42:06 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-new-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbmV3LXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "202df253-2e4f-4d34-a401-ea2e8c4dafe3" + ], + "x-ms-correlation-request-id": [ + "202df253-2e4f-4d34-a401-ea2e8c4dafe3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184210Z:202df253-2e4f-4d34-a401-ea2e8c4dafe3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:42:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "471ac8dd-0a19-43f6-93f9-378f28fe99a4" + ], + "x-ms-correlation-request-id": [ + "471ac8dd-0a19-43f6-93f9-378f28fe99a4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184210Z:471ac8dd-0a19-43f6-93f9-378f28fe99a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:42:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "b01d1311-28f0-4742-a1ac-75813889e896" + ], + "x-ms-correlation-request-id": [ + "b01d1311-28f0-4742-a1ac-75813889e896" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184225Z:b01d1311-28f0-4742-a1ac-75813889e896" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:42:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "33a281d7-1f95-4598-ba76-1f382f5ee622" + ], + "x-ms-correlation-request-id": [ + "33a281d7-1f95-4598-ba76-1f382f5ee622" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184240Z:33a281d7-1f95-4598-ba76-1f382f5ee622" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:42:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETkVXOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVUa1ZYT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31957" + ], + "x-ms-request-id": [ + "f7825e8c-b1ae-417e-9203-fa7b156a2df7" + ], + "x-ms-correlation-request-id": [ + "f7825e8c-b1ae-417e-9203-fa7b156a2df7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150305T184255Z:f7825e8c-b1ae-417e-9203-fa7b156a2df7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 05 Mar 2015 18:42:55 GMT" + ] + }, + "StatusCode": 200 } ], "Names": {}, diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config index bf5070a575a6..097344ec845d 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config +++ b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config @@ -3,11 +3,11 @@ - + - + diff --git a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj index ed022b705a9e..e969430f395f 100644 --- a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj +++ b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj @@ -53,14 +53,14 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll False - ..\..\..\packages\Microsoft.Azure.Management.Batch.1.4.0\lib\net40\Microsoft.Azure.Management.Batch.dll + ..\..\..\packages\Microsoft.Azure.Management.Batch.1.3.0-preview\lib\net40\Microsoft.Azure.Management.Batch.dll False diff --git a/src/ResourceManager/Batch/Commands.Batch/packages.config b/src/ResourceManager/Batch/Commands.Batch/packages.config index cf849be05771..beb08bb263f4 100644 --- a/src/ResourceManager/Batch/Commands.Batch/packages.config +++ b/src/ResourceManager/Batch/Commands.Batch/packages.config @@ -3,9 +3,9 @@ - + - + diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj index 2c3b1fa4ce77..10cae9f1ff63 100644 --- a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj @@ -40,7 +40,7 @@ True - ..\..\..\packages\Microsoft.Azure.Commerce.UsageAggregates.1.1.1\lib\net40\Microsoft.Azure.Commerce.UsageAggregates.dll + ..\..\..\packages\Microsoft.Azure.Commerce.UsageAggregates.1.1.1-preview\lib\net40\Microsoft.Azure.Commerce.UsageAggregates.dll True @@ -48,7 +48,7 @@ True - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll True diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config index 6e3f4d88aed8..5dd93edd0617 100644 --- a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config @@ -1,9 +1,9 @@  - + - + diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj b/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj index d51226827257..6f3add1125f6 100644 --- a/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj @@ -41,7 +41,7 @@ True - ..\..\..\packages\Microsoft.Azure.Commerce.UsageAggregates.1.1.1\lib\net40\Microsoft.Azure.Commerce.UsageAggregates.dll + ..\..\..\packages\Microsoft.Azure.Commerce.UsageAggregates.1.1.1-preview\lib\net40\Microsoft.Azure.Commerce.UsageAggregates.dll True @@ -49,12 +49,9 @@ True - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll True - - ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll True @@ -63,15 +60,6 @@ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll True - - ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll - - - ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll - - - ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll True @@ -98,9 +86,6 @@ - - Always - diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config b/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config index a57ac92e1fff..aa7de454e7e2 100644 --- a/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config @@ -1,9 +1,9 @@  - + - + diff --git a/src/ResourceManager/Compute/Commands.Compute/Common/ComputeClient.cs b/src/ResourceManager/Compute/Commands.Compute/Common/ComputeClient.cs index be37749f0858..cc5730c547f8 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Common/ComputeClient.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Common/ComputeClient.cs @@ -19,10 +19,10 @@ namespace Microsoft.Azure.Commands.Compute { - public class ComputeClient + public partial class ComputeClient { - public IComputeManagementClient ComputeManagementClient { get; private set; } - + public IComputeManagementClient ComputeManagementClient { get; set; } + public Action VerboseLogger { get; set; } public Action ErrorLogger { get; set; } @@ -32,9 +32,9 @@ public ComputeClient(AzureContext context) { } - public ComputeClient(IComputeManagementClient computeManagementClient) + public ComputeClient(IComputeManagementClient resourceManagementClient) { - ComputeManagementClient = computeManagementClient; + ComputeManagementClient = resourceManagementClient; } } } \ No newline at end of file diff --git a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs index 74d022e5c868..31a3ef05ef16 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs @@ -94,9 +94,5 @@ public static class ProfileNouns public const string AdditionalUnattendContent = "AzureVMAdditionalUnattendContent"; public const string VaultSecretGroup = "AzureVMSecret"; public const string RemoteDesktopFile = "AzureRemoteDesktopFile"; - - //DSC - public const string VirtualMachineDscExtension = "AzureVMDscExtension"; - public const string VirtualMachineDscConfiguration = "AzureVMDscConfiguration"; } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/ConfigurationParsingHelper.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/ConfigurationParsingHelper.cs deleted file mode 100644 index 3b8955128e20..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/ConfigurationParsingHelper.cs +++ /dev/null @@ -1,245 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - - -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Management.Automation; -using System.Management.Automation.Language; -using System.Management.Automation.Runspaces; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - - public static class ConfigurationParsingHelper - { - private static readonly ConcurrentDictionary _resourceName2ModuleNameCache = - new ConcurrentDictionary(); - - private static bool IsParameterName(CommandElementAst ast, string name) - { - CommandParameterAst constantAst = ast as CommandParameterAst; - if (constantAst == null) - { - return false; - } - return String.Equals(constantAst.ParameterName, name, StringComparison.OrdinalIgnoreCase); - } - - private static List GetLegacyTopLevelParametersFromAst(CommandAst ast, string parameterName) - { - List parameters = new List(); - IEnumerable commandElement = - ast.CommandElements.Where(x => IsParameterName(x, parameterName)).OfType(); - foreach (var commandElementAst in commandElement) - { - ArrayLiteralAst arrayLiteralAst = commandElementAst.Argument as ArrayLiteralAst; - if (arrayLiteralAst != null) - { - parameters.AddRange(arrayLiteralAst.Elements.OfType().Select(x => x.Value)); - } - } - return parameters; - } - - - private static bool IsCandidateForImportDscResourceAst(Ast ast, int startOffset) - { - return ast.Extent.StartOffset == startOffset && !(ast is StatementBlockAst) && !(ast is NamedBlockAst); - } - private static List GetSingleAstRequiredModules(Ast ast, Token[] tokens) - { - List modules = new List(); - List resources = new List(); - var imports = tokens.Where(token => - String.Compare(token.Text, "Import-DscResource", StringComparison.OrdinalIgnoreCase) == 0); - - // - // Create a function with the same name as Import-DscResource keyword and use powershell - // argument function binding to emulate Import-DscResource argument binding. - // - InitialSessionState initialSessionState = InitialSessionState.Create(); - SessionStateFunctionEntry importDscResourcefunctionEntry = new SessionStateFunctionEntry( - "Import-DscResource", @"param($Name, $ModuleName) - if ($ModuleName) - { - foreach ($m in $ModuleName) { $global:modules.Add($m) } - } else { - foreach ($n in $Name) { $global:resources.Add($n) } - } - "); - initialSessionState.Commands.Add(importDscResourcefunctionEntry); - initialSessionState.LanguageMode = PSLanguageMode.RestrictedLanguage; - var moduleVarEntry = new SessionStateVariableEntry("modules", modules, ""); - var resourcesVarEntry = new SessionStateVariableEntry("resources", resources, ""); - initialSessionState.Variables.Add(moduleVarEntry); - initialSessionState.Variables.Add(resourcesVarEntry); - - using (System.Management.Automation.PowerShell powerShell = System.Management.Automation.PowerShell.Create(initialSessionState)) - { - foreach (var import in imports) - { - int startOffset = import.Extent.StartOffset; - var asts = ast.FindAll(a => IsCandidateForImportDscResourceAst(a, startOffset), true); - int longestLen = -1; - Ast longestCandidate = null; - foreach (var candidatAst in asts) - { - int curLen = candidatAst.Extent.EndOffset - candidatAst.Extent.StartOffset; - if (curLen > longestLen) - { - longestCandidate = candidatAst; - longestLen = curLen; - } - } - // longestCandidate should contain AST for import-dscresource, like "Import-DSCResource -Module x -Name y". - if (longestCandidate != null) - { - string importText = longestCandidate.Extent.Text; - // We invoke-command "importText" here. Script injection is prevented: - // We checked that file represents a valid AST without errors. - powerShell.AddScript(importText); - powerShell.Invoke(); - powerShell.Commands.Clear(); - } - } - } - modules.AddRange(resources.Select(GetModuleNameForDscResource)); - return modules; - } - - public static string GetModuleNameForDscResource(string resourceName) - { - string moduleName; - if (!_resourceName2ModuleNameCache.TryGetValue(resourceName, out moduleName)) - { - try - { - using (System.Management.Automation.PowerShell powershell = System.Management.Automation.PowerShell.Create()) - { - powershell.AddCommand("Get-DscResource"). - AddCommand("Where-Object").AddParameter("Property", "ResourceType").AddParameter("Value", resourceName).AddParameter("EQ", true). - AddCommand("Foreach-Object").AddParameter("MemberName", "Module"). - AddCommand("Foreach-Object").AddParameter("MemberName", "Name"); - moduleName = powershell.Invoke().First(); - } - } - catch (InvalidOperationException e) - { - throw new GetDscResourceException(resourceName, e); - } - _resourceName2ModuleNameCache.TryAdd(resourceName, moduleName); - } - return moduleName; - } - - private static List GetRequiredModulesFromAst(Ast ast, Token[] tokens) - { - List modules = new List(); - - // We use System.Management.Automation.Language.Parser to extract required modules from ast, - // but format of ast is a bit tricky and have changed in time. - // - // There are two place where 'Import-DscResource' keyword can appear: - // 1) - // Configuration Foo { - // Import-DscResource .... # outside node - // Node Bar {...} - // } - // 2) - // Configuration Foo { - // Node Bar { - // Import-DscResource .... # inside node - // ... - // } - // } - // - // The old version of System.Management.Automation.Language.Parser produces slightly different AST for the first case. - // In new version, Configuration corresponds to ConfigurationDefinitionAst. - // In old version is's a generic CommandAst with specific commandElements which capture top-level Imports (case 1). - // In new version all imports correspond to their own CommandAsts, same for case 2 in old version. - - // Old version, case 1: - IEnumerable legacyConfigurationAsts = ast.FindAll(IsLegacyAstConfiguration, true).Select(x => (CommandAst)x); - foreach (var legacyConfigurationAst in legacyConfigurationAsts) - { - // Note: these two sequences are translated to same AST: - // - // Import-DscResource -Module xComputerManagement; Import-DscResource -Name xComputer - // Import-DscResource -Module xComputerManagement -Name xComputer - // - // We cannot distinguish different imports => cannot ignore resource names for imports with specified modules. - // So we process everything: ModuleDefinition and ResourceDefinition. - - // Example: Import-DscResource -Module xPSDesiredStateConfiguration - modules.AddRange(GetLegacyTopLevelParametersFromAst(legacyConfigurationAst, "ModuleDefinition")); - // Example: Import-DscResource -Name MSFT_xComputer - modules.AddRange(GetLegacyTopLevelParametersFromAst(legacyConfigurationAst, "ResourceDefinition").Select(GetModuleNameForDscResource)); - } - - // Both cases in new version and 2nd case in old version: - modules.AddRange(GetSingleAstRequiredModules(ast, tokens)); - - return modules.Distinct().ToList(); - } - - private static bool IsLegacyAstConfiguration(Ast node) - { - CommandAst commandNode = node as CommandAst; - if (commandNode == null) - { - return false; - } - // TODO: Add case when configuration name is not a StringConstant, but a variable. - StringConstantExpressionAst commandParameter = (commandNode.CommandElements[0] as StringConstantExpressionAst); - if (commandParameter == null) - { - return false; - } - // Find the AST nodes defining configurations. These nodes will be CommandAst nodes - // with 7 or 8 command elements (8 if the configuration requires any custom modules.) - return - commandNode.CommandElements.Count >= 7 && - String.Equals(commandParameter.Extent.Text, "configuration", StringComparison.OrdinalIgnoreCase) && - String.Equals(commandParameter.Value, @"PSDesiredStateConfiguration\Configuration", - StringComparison.OrdinalIgnoreCase); - } - - public static ConfigurationParseResult ParseConfiguration(string path) - { - // Get the resolved script path. This will throw an exception if the file is not found. - string fullPath = Path.GetFullPath(path); - Token[] tokens; - ParseError[] errors; - // Parse the script into an AST, capturing parse errors. Note - even with errors, the - // file may still successfully define one or more configurations. We don't process - // required modules in case of parsing errors to avoid script injection. - ScriptBlockAst ast = Parser.ParseFile(fullPath, out tokens, out errors); - List requiredModules = new List(); - if (!errors.Any()) - { - requiredModules = GetRequiredModulesFromAst(ast, tokens).Distinct().ToList(); - } - return new ConfigurationParseResult() - { - Path = fullPath, - Errors = errors, - RequiredModules = requiredModules, - }; - } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionPublicSettings.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionPublicSettings.cs deleted file mode 100644 index b22b874f974e..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionPublicSettings.cs +++ /dev/null @@ -1,100 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections; -using System.Collections.Generic; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - /// - /// Represents public settings. Serialized representation of this object stored as a plain text string on the VM. - /// Part of the protocol between Set-AzureVMDscExtension cmdlet and DSC Extension handler. - /// - public class DscExtensionPublicSettings - { - /// - /// Version 1.0.0.0 of DscExtensionPublicSettings. We keep it for backward compatability. - /// - internal class Version1 - { - public string SasToken { get; set; } - public string ModulesUrl { get; set; } - public string ConfigurationFunction { get; set; } - public Hashtable Properties { get; set; } - - /// - /// Converting to the current version of DscExtensionPublicSettings. - /// - /// - public DscExtensionPublicSettings ToCurrentVersion() - { - List properties = new List(); - foreach (DictionaryEntry p in this.Properties) - { - properties.Add(new Property() - { - Name = p.Key.ToString(), - TypeName = p.Value.GetType().ToString(), - Value = p.Value - }); - } - return new DscExtensionPublicSettings() - { - SasToken = this.SasToken, - ModulesUrl = this.ModulesUrl, - ConfigurationFunction = this.ConfigurationFunction, - Properties = properties.ToArray(), - ProtocolVersion = new Version(1, 0, 0, 0) - }; - } - } - - /// - /// Defines an entry of DscExtensionPublicSettings.Properties array. - /// - public class Property - { - public string TypeName { get; set; } - public string Name { get; set; } - public object Value { get; set; } - } - - /// - /// SharedAccessSignature token that allows access of azure blob storage files. - /// - public string SasToken { get; set; } - - /// - /// Url for archive with modules and configuration in azure blob storage. - /// - public string ModulesUrl { get; set; } - - /// - /// String to define configuration in the format: "Module\NameOfConfiguration", where - /// Module can be a path to the root of the module or .ps1 file or .psm1 file. - /// - public string ConfigurationFunction { get; set; } - - /// - /// Configuration parameters - /// - public Property[] Properties { get; set; } - - /// - /// Version of the protocol (DscExtensionPublicSettings and DscExtensionPrivateSettings mostly). - /// - public Version ProtocolVersion { get; set; } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscSettingsSerializer.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscSettingsSerializer.cs deleted file mode 100644 index 84b1f8834df5..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscSettingsSerializer.cs +++ /dev/null @@ -1,178 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Globalization; -using System.Management.Automation; -using System.Runtime.InteropServices; -using System.Security; -using Newtonsoft.Json; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - public class DscSettingsSerializer - { - /// - /// Serialize DscPublicSettings to string. - /// - /// - /// - public static string SerializePublicSettings(DscExtensionPublicSettings publicSettings) - { - return JsonConvert.SerializeObject(publicSettings); - } - - /// - /// Serialize DscPrivateSettings to string. - /// - /// - /// - public static string SerializePrivateSettings(DscExtensionPrivateSettings privateSettings) - { - return JsonConvert.SerializeObject(privateSettings); - } - - public static DscExtensionPublicSettings DeserializePublicSettings(string publicSettingsString) - { - DscExtensionPublicSettings publicSettings; - try - { - publicSettings = string.IsNullOrEmpty(publicSettingsString) - ? null - : JsonConvert.DeserializeObject(publicSettingsString); - } - catch (JsonException) - { - // Try deserialize as version 1.0 - try - { - DscExtensionPublicSettings.Version1 publicSettingsV1 = - JsonConvert.DeserializeObject(publicSettingsString); - publicSettings = publicSettingsV1.ToCurrentVersion(); - } - catch (JsonException) - { - throw; - } - } - return publicSettings; - } - - /// - /// Convert hashtable of public settings into two parts: - /// 1) Array of public settings in format: - /// [ - /// { - /// "Name": "String Parameter", - /// "Value": "String Value", - /// "TypeName": "System.String" - /// } - /// ] - /// 2) Private settings hashtable. We extract all sensitive information (like password from PSCredential) - /// and store it in private settings. Public settings will reference them in form: - /// { - /// "Name": "AdminCredential", - /// "Value": - /// { - /// "Password" : "PrivateSettings:28AC4D36-A99B-41DE-8421-2BCC1C7C1A3B" - /// "UserName" : "DOMAIN\LOGIN" - /// }, - /// "TypeName": "System.Management.Automation.PSCredential" - /// } - /// and private hashtable will look like that: - /// { - /// "28AC4D36-A99B-41DE-8421-2BCC1C7C1A3B" : "password" - /// } - /// - /// - /// tuple of array (public settings) and hashtable (private settings) - public static Tuple SeparatePrivateItems(Hashtable arguments) - { - var publicSettings = new List(); - var privateSettings = new Hashtable(); - if (arguments != null) - { - foreach (DictionaryEntry argument in arguments) - { - object entryValue = argument.Value; - string entryType = argument.Value == null ? "null" : argument.Value.GetType().ToString(); - string entryName = argument.Key.ToString(); - // Special case for PSCredential - PSCredential credential = argument.Value as PSCredential; - if (credential == null) - { - PSObject psObject = argument.Value as PSObject; - if (psObject != null) - { - credential = psObject.BaseObject as PSCredential; - } - } - if (credential != null) - { - // plainTextPassword is a string object with sensitive information in plain text. - // We pass it to 3rd party serializer which may create copies of the string. - string plainTextPassword = ConvertToUnsecureString(credential.Password); - string userName = credential.UserName; - string passwordRef = Guid.NewGuid().ToString(); - privateSettings.Add(passwordRef, plainTextPassword); - var newValue = new Hashtable(); - newValue["UserName"] = String.Format(CultureInfo.InvariantCulture, userName); - newValue["Password"] = String.Format(CultureInfo.InvariantCulture, "PrivateSettingsRef:{0}", - passwordRef); - entryValue = newValue; - entryType = typeof (PSCredential).ToString(); - } - - var entry = new DscExtensionPublicSettings.Property - { - Name = entryName, - TypeName = entryType, - Value = entryValue, - }; - publicSettings.Add(entry); - } - } - return new Tuple(publicSettings.ToArray(), privateSettings); - } - - /// - /// Converte SecureString to String. - /// - /// - /// This method creates a managed object with sensitive information and undetermined lifecycle. - /// - /// - /// - private static string ConvertToUnsecureString(SecureString source) - { - if (source == null) - throw new ArgumentNullException("source"); - - IntPtr unmanagedString = IntPtr.Zero; - try - { - unmanagedString = Marshal.SecureStringToGlobalAllocUnicode(source); - return Marshal.PtrToStringUni(unmanagedString); - } - finally - { - Marshal.ZeroFreeGlobalAllocUnicode(unmanagedString); - } - } - - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs deleted file mode 100644 index 0a995359e9fb..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs +++ /dev/null @@ -1,153 +0,0 @@ -using System; -using System.Collections; -using System.Linq; -using System.Management.Automation; -using Microsoft.Azure.Commands.Compute.Common; -using Microsoft.Azure.Commands.Compute.Models; -using Microsoft.Azure.Management.Compute; -using Newtonsoft.Json; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - [Cmdlet( - VerbsCommon.Get, - ProfileNouns.VirtualMachineDscExtension, - DefaultParameterSetName = GetDscExtensionParamSetName), - OutputType( - typeof(VirtualMachineDscExtensionContext))] - public class GetAzureVMDscExtensionCommand : VirtualMachineDscExtensionBaseCmdlet - { - private const string GetDscExtensionParamSetName = "GetDscExtension"; - - [Parameter( - Mandatory = true, - Position = 0, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The resource group name.")] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - [Parameter( - Mandatory = true, - Position = 1, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The virtual machine name.")] - [ValidateNotNullOrEmpty] - public string VMName { get; set; } - - [Parameter( - Position = 2, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The extension handler name. This is defaulted to 'Microsoft.Powershell.DSC'")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "To show the status.")] - [ValidateNotNullOrEmpty] - public SwitchParameter Status { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - if (String.IsNullOrEmpty(Name)) - { - Name = ExtensionNamespace + "." + ExtensionName; - } - - if (Status) - { - var result = VirtualMachineExtensionClient.GetWithInstanceView(ResourceGroupName, VMName, Name); - var extension = result.ToPSVirtualMachineExtension(ResourceGroupName); - - if ( - extension.Publisher.Equals(ExtensionNamespace, - StringComparison.InvariantCultureIgnoreCase) && - extension.ExtensionType.Equals(ExtensionName, - StringComparison.InvariantCultureIgnoreCase)) - { - WriteObject(GetDscExtensionContext(extension)); - } - else - { - WriteObject(null); - } - } - else - { - var result = VirtualMachineExtensionClient.Get(ResourceGroupName, VMName, Name); - var extension = result.ToPSVirtualMachineExtension(ResourceGroupName); - - if ( - extension.Publisher.Equals(ExtensionNamespace, - StringComparison.InvariantCultureIgnoreCase) && - extension.ExtensionType.Equals(ExtensionName, - StringComparison.InvariantCultureIgnoreCase)) - { - WriteObject(GetDscExtensionContext(extension)); - } - else - { - WriteObject(null); - } - } - } - - private VirtualMachineDscExtensionContext GetDscExtensionContext(PSVirtualMachineExtension extension) - { - var context = new VirtualMachineDscExtensionContext - { - ResourceGroupName = extension.ResourceGroupName, - Name = extension.Name, - Location = extension.Location, - Etag = extension.Etag, - Publisher = extension.Publisher, - ExtensionType = extension.ExtensionType, - TypeHandlerVersion = extension.TypeHandlerVersion, - Id = extension.Id, - PublicSettings = extension.PublicSettings, - ProtectedSettings = extension.ProtectedSettings, - ProvisioningState = extension.ProvisioningState, - Statuses = extension.Statuses - }; - - DscExtensionPublicSettings publicSettings; - try - { - publicSettings = string.IsNullOrEmpty(extension.PublicSettings) ? null - : JsonConvert.DeserializeObject(extension.PublicSettings); - } - catch (Exception) - { - // Try deserialize as version 1.0 - try - { - var publicSettingsV1 = - JsonConvert.DeserializeObject(extension.PublicSettings); - publicSettings = publicSettingsV1.ToCurrentVersion(); - } - catch (JsonException) - { - throw; - } - } - - if (publicSettings == null) - { - context.ModulesUrl = string.Empty; - context.ConfigurationFunction = string.Empty; - context.Properties = null; - } - else - { - context.ModulesUrl = publicSettings.ModulesUrl; - context.ConfigurationFunction = publicSettings.ConfigurationFunction; - context.Properties = new Hashtable(publicSettings.Properties.ToDictionary( x => x.Name, x => x.Value )); - } - - return context; - } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs deleted file mode 100644 index fd7f1a07276d..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs +++ /dev/null @@ -1,460 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.IO; -using System.IO.Compression; -using System.Linq; -using System.Management.Automation; -using Microsoft.Azure.Commands.Compute.Common; -using Microsoft.WindowsAzure.Storage; -using Microsoft.WindowsAzure.Storage.Auth; -using Microsoft.WindowsAzure.Storage.Blob; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - /// - /// Uploads a Desired State Configuration script to Azure blob storage, which - /// later can be applied to Azure Virtual Machines using the - /// Set-AzureVMDscExtension cmdlet. - /// - [Cmdlet( - VerbsData.Publish, - ProfileNouns.VirtualMachineDscConfiguration, - SupportsShouldProcess = true, - DefaultParameterSetName = UploadArchiveParameterSetName), - OutputType( - typeof(String))] - public class PublishAzureVMDscConfigurationCommand : VirtualMachineDscExtensionBaseCmdlet - { - private const string CreateArchiveParameterSetName = "CreateArchive"; - private const string UploadArchiveParameterSetName = "UploadArchive"; - - [Parameter( - Mandatory = true, - Position = 2, - ParameterSetName = UploadArchiveParameterSetName, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the resource group that contains the storage account.")] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - /// - /// Path to a file containing one or more configurations; the file can be a - /// PowerShell script (*.ps1) or MOF interface (*.mof). - /// - [Parameter( - Mandatory = true, - Position = 1, - ValueFromPipeline = true, - ValueFromPipelineByPropertyName = true, - HelpMessage = "Path to a file containing one or more configurations")] - [ValidateNotNullOrEmpty] - public string ConfigurationPath { get; set; } - - /// - /// Name of the Azure Storage Container the configuration is uploaded to. - /// - [Parameter( - ValueFromPipelineByPropertyName = true, - Position = 4, - ParameterSetName = UploadArchiveParameterSetName, - HelpMessage = "Name of the Azure Storage Container the configuration is uploaded to")] - [ValidateNotNullOrEmpty] - public string ContainerName { get; set; } - - /// - /// The Azure Storage Account name used to upload the configuration script to the container specified by ContainerName. - /// - [Parameter( - Mandatory = true, - Position = 3, - ValueFromPipelineByPropertyName = true, - ParameterSetName = UploadArchiveParameterSetName, - HelpMessage = "The Azure Storage Account name used to upload the configuration script to the container " + - "specified by ContainerName ")] - [ValidateNotNullOrEmpty] - public String StorageAccountName { get; set; } - - /// - /// Path to a local ZIP file to write the configuration archive to. - /// When using this parameter, Publish-AzureVMDscConfiguration creates a - /// local ZIP archive instead of uploading it to blob storage.. - /// - [Alias("ConfigurationArchivePath")] - [Parameter( - Position = 2, - ValueFromPipelineByPropertyName = true, - ParameterSetName = CreateArchiveParameterSetName, - HelpMessage = "Path to a local ZIP file to write the configuration archive to.")] - [ValidateNotNullOrEmpty] - public string OutputArchivePath { get; set; } - - /// - /// By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs. - /// Use -Force to overwrite them. - /// - [Parameter(HelpMessage = "By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs")] - public SwitchParameter Force { get; set; } - - - //Private Variables - - /// - /// Credentials used to access Azure Storage - /// - private StorageCredentials _storageCredentials; - - private const string Ps1FileExtension = ".ps1"; - private const string Psm1FileExtension = ".psm1"; - private const string ZipFileExtension = ".zip"; - - private static readonly HashSet UploadArchiveAllowedFileExtensions = - new HashSet(StringComparer.OrdinalIgnoreCase) { Ps1FileExtension, Psm1FileExtension, ZipFileExtension }; - private static readonly HashSet CreateArchiveAllowedFileExtensions = - new HashSet(StringComparer.OrdinalIgnoreCase) { Ps1FileExtension, Psm1FileExtension }; - - private const int MinMajorPowerShellVersion = 4; - - private readonly List _temporaryFilesToDelete = new List(); - private readonly List _temporaryDirectoriesToDelete = new List(); - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - try - { - ValidatePsVersion(); - ValidateParameters(); - PublishConfiguration(); - } - finally - { - foreach (var file in _temporaryFilesToDelete) - { - try - { - DeleteFile(file); - WriteVerbose(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionDeletedFileMessage, file)); - } - catch (Exception e) - { - WriteVerbose(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionDeleteErrorMessage, file, e.Message)); - } - } - foreach (var directory in _temporaryDirectoriesToDelete) - { - try - { - DeleteDirectory(directory); - WriteVerbose(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionDeletedFileMessage, directory)); - } - catch (Exception e) - { - WriteVerbose(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionDeleteErrorMessage, directory, e.Message)); - } - } - } - } - - protected void ValidatePsVersion() - { - using (System.Management.Automation.PowerShell powershell = System.Management.Automation.PowerShell.Create()) - { - powershell.AddScript("$PSVersionTable.PSVersion.Major"); - int major = powershell.Invoke().FirstOrDefault(); - if (major < MinMajorPowerShellVersion) - { - ThrowTerminatingError( - new ErrorRecord( - new InvalidOperationException( - string.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionRequiredPsVersion, MinMajorPowerShellVersion, major)), - "InvalidPowerShellVersion", - ErrorCategory.InvalidOperation, - null)); - } - } - } - - protected void ValidateParameters() - { - ConfigurationPath = GetUnresolvedProviderPathFromPSPath(ConfigurationPath); - if (!File.Exists(ConfigurationPath)) - { - ThrowInvalidArgumentError(Properties.Resources.PublishVMDscExtensionUploadArchiveConfigFileNotExist, ConfigurationPath); - } - - var configurationFileExtension = Path.GetExtension(ConfigurationPath); - - if (ParameterSetName == UploadArchiveParameterSetName) - { - // Check that ConfigurationPath points to a valid file - if (!File.Exists(ConfigurationPath)) - { - ThrowInvalidArgumentError(Properties.Resources.PublishVMDscExtensionConfigFileNotFound, ConfigurationPath); - } - if (!UploadArchiveAllowedFileExtensions.Contains(Path.GetExtension(configurationFileExtension))) - { - ThrowInvalidArgumentError(Properties.Resources.PublishVMDscExtensionUploadArchiveConfigFileInvalidExtension, ConfigurationPath); - } - - _storageCredentials = GetStorageCredentials(ResourceGroupName, StorageAccountName); - - if (ContainerName == null) - { - ContainerName = DefaultContainerName; - } - } - else if (ParameterSetName == CreateArchiveParameterSetName) - { - if (!CreateArchiveAllowedFileExtensions.Contains(Path.GetExtension(configurationFileExtension))) - { - ThrowInvalidArgumentError(Properties.Resources.PublishVMDscExtensionCreateArchiveConfigFileInvalidExtension, ConfigurationPath); - } - - OutputArchivePath = GetUnresolvedProviderPathFromPSPath(OutputArchivePath); - } - } - - /// - /// Publish the configuration and its modules - /// - protected void PublishConfiguration() - { - if (ParameterSetName == CreateArchiveParameterSetName) - { - ConfirmAction(true, string.Empty, Properties.Resources.AzureVMDscCreateArchiveAction, OutputArchivePath, () => CreateConfigurationArchive()); - } - else - { - var archivePath = string.Compare(Path.GetExtension(ConfigurationPath), ZipFileExtension, StringComparison.OrdinalIgnoreCase) == 0 ? - ConfigurationPath - : - CreateConfigurationArchive(); - - UploadConfigurationArchive(archivePath); - } - } - - //Private Methods - private string CreateConfigurationArchive() - { - WriteVerbose(String.Format(CultureInfo.CurrentUICulture, Properties.Resources.AzureVMDscParsingConfiguration, ConfigurationPath)); - ConfigurationParseResult parseResult = null; - try - { - parseResult = ConfigurationParsingHelper.ParseConfiguration(ConfigurationPath); - } - catch (GetDscResourceException e) - { - ThrowTerminatingError(new ErrorRecord(e, "CannotAccessDscResource", ErrorCategory.PermissionDenied, null)); - } - - if (parseResult.Errors.Any()) - { - ThrowTerminatingError( - new ErrorRecord( - new ParseException( - String.Format( - CultureInfo.CurrentUICulture, - Properties.Resources.PublishVMDscExtensionStorageParserErrors, - ConfigurationPath, - String.Join("\n", parseResult.Errors.Select(error => error.ToString())))), - "DscConfigurationParseError", - ErrorCategory.ParserError, - null)); - } - List requiredModules = parseResult.RequiredModules; - //Since LCM always uses the latest module there is no need to copy PSDesiredStateConfiguration - if (requiredModules.Contains("PSDesiredStateConfiguration")) - { - requiredModules.Remove("PSDesiredStateConfiguration"); - } - - WriteVerbose(String.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionRequiredModulesVerbose, String.Join(", ", requiredModules))); - - // Create a temporary directory for uploaded zip file - string tempZipFolder = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); - WriteVerbose(String.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionTempFolderVerbose, tempZipFolder)); - Directory.CreateDirectory(tempZipFolder); - _temporaryDirectoriesToDelete.Add(tempZipFolder); - - // CopyConfiguration - var configurationName = Path.GetFileName(ConfigurationPath); - var configurationDestination = Path.Combine(tempZipFolder, configurationName); - WriteVerbose(String.Format( - CultureInfo.CurrentUICulture, - Properties.Resources.PublishVMDscExtensionCopyFileVerbose, - ConfigurationPath, - configurationDestination)); - File.Copy(ConfigurationPath, configurationDestination); - - // CopyRequiredModules - foreach (var module in requiredModules) - { - using (System.Management.Automation.PowerShell powershell = System.Management.Automation.PowerShell.Create()) - { - // Wrapping script in a function to prevent script injection via $module variable. - powershell.AddScript( - @"function Copy-Module([string]$module, [string]$tempZipFolder) - { - $mi = Get-Module -List -Name $module; - $moduleFolder = Split-Path $mi.Path; - Copy-Item -Recurse -Path $moduleFolder -Destination ""$tempZipFolder\$($mi.Name)"" - }" - ); - powershell.Invoke(); - powershell.Commands.Clear(); - powershell.AddCommand("Copy-Module") - .AddParameter("module", module) - .AddParameter("tempZipFolder", tempZipFolder); - WriteVerbose(String.Format( - CultureInfo.CurrentUICulture, - Properties.Resources.PublishVMDscExtensionCopyModuleVerbose, - module, - tempZipFolder)); - powershell.Invoke(); - } - } - - // - // Zip the directory - // - string archive; - - if (ParameterSetName == CreateArchiveParameterSetName) - { - archive = OutputArchivePath; - - if (!Force && File.Exists(archive)) - { - ThrowTerminatingError( - new ErrorRecord( - new UnauthorizedAccessException(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.AzureVMDscArchiveAlreadyExists, archive)), - "FileAlreadyExists", - ErrorCategory.PermissionDenied, - null)); - } - } - else - { - string tempArchiveFolder = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); - WriteVerbose(String.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionTempFolderVerbose, tempArchiveFolder)); - Directory.CreateDirectory(tempArchiveFolder); - _temporaryDirectoriesToDelete.Add(tempArchiveFolder); - archive = Path.Combine(tempArchiveFolder, configurationName + ZipFileExtension); - _temporaryFilesToDelete.Add(archive); - } - - if (File.Exists(archive)) - { - File.Delete(archive); - } - - ZipFile.CreateFromDirectory(tempZipFolder, archive); - return archive; - } - - private void UploadConfigurationArchive(string archivePath) - { - CloudBlobContainer cloudBlobContainer = GetStorageContainer(); - - var blobName = Path.GetFileName(archivePath); - - CloudBlockBlob modulesBlob = cloudBlobContainer.GetBlockBlobReference(blobName); - - ConfirmAction(true, string.Empty, string.Format(CultureInfo.CurrentUICulture, Properties.Resources.AzureVMDscUploadToBlobStorageAction, archivePath), modulesBlob.Uri.AbsoluteUri, () => - { - if (!Force && modulesBlob.Exists()) - { - ThrowTerminatingError( - new ErrorRecord( - new UnauthorizedAccessException(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.AzureVMDscStorageBlobAlreadyExists, modulesBlob.Uri.AbsoluteUri)), - "StorageBlobAlreadyExists", - ErrorCategory.PermissionDenied, - null)); - } - - modulesBlob.UploadFromFile(archivePath, FileMode.Open); - - WriteVerbose(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.PublishVMDscExtensionArchiveUploadedMessage, modulesBlob.Uri.AbsoluteUri)); - WriteObject(modulesBlob.Uri.AbsoluteUri); - }); - } - - private CloudBlobContainer GetStorageContainer() - { - var storageAccount = new CloudStorageAccount(_storageCredentials, true); - var blobClient = storageAccount.CreateCloudBlobClient(); - CloudBlobContainer containerReference = blobClient.GetContainerReference(ContainerName); - containerReference.CreateIfNotExists(); - return containerReference; - } - - private static void DeleteFile(string path) - { - try - { - File.Delete(path); - } - catch (UnauthorizedAccessException) - { - // the exception may have occurred due to a read-only file - DeleteReadOnlyFile(path); - } - } - - /// - /// Turns off the ReadOnly attribute from the given file and then attempt to delete it - /// - private static void DeleteReadOnlyFile(string path) - { - var attributes = File.GetAttributes(path); - - if ((attributes & FileAttributes.ReadOnly) != 0) - { - File.SetAttributes(path, attributes & ~FileAttributes.ReadOnly); - } - - File.Delete(path); - } - - private static void DeleteDirectory(string path) - { - try - { - Directory.Delete(path, true); - } - catch (UnauthorizedAccessException) - { - // the exception may have occurred due to a read-only file or directory - DeleteReadOnlyDirectory(path); - } - } - - /// - /// Recusively turns off the ReadOnly attribute from the given directory and then attemps to delete it - /// - private static void DeleteReadOnlyDirectory(string path) - { - var directory = new DirectoryInfo(path); - - foreach (var child in directory.GetDirectories()) - { - DeleteReadOnlyDirectory(child.FullName); - } - - foreach (var child in directory.GetFiles()) - { - DeleteReadOnlyFile(child.FullName); - } - - if ((directory.Attributes & FileAttributes.ReadOnly) != 0) - { - directory.Attributes &= ~FileAttributes.ReadOnly; - } - - directory.Delete(); - } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs deleted file mode 100644 index 3a5b651bc1ef..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using System.Globalization; -using AutoMapper; -using Microsoft.Azure.Commands.Compute.Common; -using Microsoft.Azure.Commands.Compute.Models; -using Microsoft.Azure.Management.Compute; -using System.Management.Automation; -using Microsoft.Azure.Management.Compute.Models; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - /// - /// This cmdlet removes DSC extension handler from a VM in a resource group - /// - [Cmdlet( - VerbsCommon.Remove, - ProfileNouns.VirtualMachineDscExtension, - SupportsShouldProcess = true)] - [OutputType(typeof(PSComputeLongRunningOperation))] - public class RemoveAzureVMDscExtensionCommand : VirtualMachineDscExtensionBaseCmdlet - { - [Parameter( - Mandatory = true, - Position = 0, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the resource group.")] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - [Parameter( - Mandatory = true, - Position = 1, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the virtual machine.")] - [ValidateNotNullOrEmpty] - public string VMName { get; set; } - - [Parameter( - Position = 2, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The extension handler name. This is defaulted to 'Microsoft.Powershell.DSC'")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - if (String.IsNullOrEmpty(Name)) - { - Name = ExtensionNamespace + "." + ExtensionName; - } - - if (ShouldProcess(string.Format(CultureInfo.CurrentUICulture, Properties.Resources.DscExtensionRemovalConfirmation, Name), Properties.Resources.DscExtensionRemovalCaption)) - { - //Add retry logic due to CRP service restart known issue CRP bug: 3564713 - var count = 1; - DeleteOperationResponse op = null; - while (count <= 2) - { - op = VirtualMachineExtensionClient.Delete(ResourceGroupName, VMName, Name); - - if (ComputeOperationStatus.Failed.Equals(op.Status) && op.Error != null && "InternalExecutionError".Equals(op.Error.Code)) - { - count++; - } - else - { - break; - } - } - var result = Mapper.Map(op); - WriteObject(result); - } - } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs deleted file mode 100644 index 1f1ae2211aa5..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs +++ /dev/null @@ -1,434 +0,0 @@ -using System; -using System.Collections; -using System.Globalization; -using System.IO; -using System.Management.Automation; -using System.Text.RegularExpressions; -using AutoMapper; -using Microsoft.Azure.Commands.Compute.Common; -using Microsoft.Azure.Commands.Compute.Models; -using Microsoft.Azure.Management.Compute; -using Microsoft.Azure.Management.Compute.Models; -using Microsoft.WindowsAzure.Storage; -using Microsoft.WindowsAzure.Storage.Auth; -using Microsoft.WindowsAzure.Storage.Blob; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - [Cmdlet( - VerbsCommon.Set, - ProfileNouns.VirtualMachineDscExtension, - SupportsShouldProcess = true, - DefaultParameterSetName = AzureBlobDscExtensionParamSet)] - [OutputType(typeof(PSComputeLongRunningOperation))] - public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionBaseCmdlet - { - protected const string AzureBlobDscExtensionParamSet = "AzureBlobDscExtension"; - - [Parameter( - Mandatory = true, - Position = 2, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The name of the resource group that contains the virtual machine.")] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - [Parameter( - Mandatory = true, - Position = 3, - ValueFromPipelineByPropertyName = true, - HelpMessage = "Name of the virtual machine where dsc extension handler would be installed.")] - [ValidateNotNullOrEmpty] - public string VMName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "Name of the DSC Extension handler. It will default to 'DSC' when it is not provided.")] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - /// - /// The name of the configuration archive that was previously uploaded by - /// Publish-AzureVMDSCConfiguration. This parameter must specify only the name - /// of the file, without any path. - /// A null value or empty string indicate that the VM extension should install DSC, - /// but not start any configuration - /// - [Alias("ConfigurationArchiveBlob")] - [Parameter( - Mandatory = true, - Position = 5, - ValueFromPipelineByPropertyName = true, - ParameterSetName = AzureBlobDscExtensionParamSet, - HelpMessage = "The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration")] - [AllowEmptyString] - [AllowNull] - public string ArchiveBlobName { get; set; } - - /// - /// The Azure Storage Account name used to upload the configuration script to the container specified by ArchiveContainerName. - /// - [Alias("StorageAccountName")] - [Parameter( - Mandatory = true, - Position = 4, - ValueFromPipelineByPropertyName = true, - ParameterSetName = AzureBlobDscExtensionParamSet, - HelpMessage = "The Azure Storage Account name used to download the ArchiveBlobName")] - [ValidateNotNullOrEmpty] - public String ArchiveStorageAccountName { get; set; } - - [Parameter( - ValueFromPipelineByPropertyName = true, - ParameterSetName = AzureBlobDscExtensionParamSet, - HelpMessage = "The name of the resource group that contains the storage account containing the configuration archive. " + - "This param is optional if storage account and virtual machine both exists in the same resource group name, " + - "specified by ResourceGroupName param.")] - [ValidateNotNullOrEmpty] - public string ArchiveResourceGroupName { get; set; } - - /// - /// The DNS endpoint suffix for all storage services, e.g. "core.windows.net". - /// - [Alias("StorageEndpointSuffix")] - [Parameter( - ValueFromPipelineByPropertyName = true, - ParameterSetName = AzureBlobDscExtensionParamSet, - HelpMessage = "The Storage Endpoint Suffix.")] - [ValidateNotNullOrEmpty] - public string ArchiveStorageEndpointSuffix { get; set; } - - /// - /// Name of the Azure Storage Container where the configuration script is located. - /// - [Alias("ContainerName")] - [Parameter( - ValueFromPipelineByPropertyName = true, - ParameterSetName = AzureBlobDscExtensionParamSet, - HelpMessage = "Name of the Azure Storage Container where the configuration archive is located")] - [ValidateNotNullOrEmpty] - public string ArchiveContainerName { get; set; } - - /// - /// Name of the configuration that will be invoked by the DSC Extension. The value of this parameter should be the name of one of the configurations - /// contained within the file specified by ArchiveBlobName. - /// - /// If omitted, this parameter will default to the name of the file given by the ArchiveBlobName parameter, excluding any extension, for example if - /// ArchiveBlobName is "SalesWebSite.ps1", the default value for ConfigurationName will be "SalesWebSite". - /// - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "Name of the configuration that will be invoked by the DSC Extension")] - [ValidateNotNullOrEmpty] - public string ConfigurationName { get; set; } - - /// - /// A hashtable specifying the arguments to the ConfigurationFunction. The keys - /// correspond to the parameter names and the values to the parameter values. - /// - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "A hashtable specifying the arguments to the ConfigurationFunction")] - [ValidateNotNullOrEmpty] - public Hashtable ConfigurationArgument { get; set; } - - /// - /// Path to a .psd1 file that specifies the data for the Configuration. This - /// file must contain a hashtable with the items described in - /// http://technet.microsoft.com/en-us/library/dn249925.aspx. - /// - [Parameter( - ValueFromPipelineByPropertyName = true, - HelpMessage = "Path to a .psd1 file that specifies the data for the Configuration")] - [ValidateNotNullOrEmpty] - public string ConfigurationData { get; set; } - - /// - /// The specific version of the DSC extension that Set-AzureVMDSCExtension will - /// apply the settings to. - /// - [Alias("HandlerVersion")] - [Parameter( - Mandatory = true, - Position = 1, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The version of the DSC extension that Set-AzureVMDSCExtension will apply the settings to. " + - "Allowed format N.N")] - [ValidateNotNullOrEmpty] - public string Version { get; set; } - - /// - /// By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. - /// - [Parameter( - HelpMessage = "Use this parameter to overwrite any existing blobs")] - public SwitchParameter Force { get; set; } - - [Parameter( - Mandatory = true, - ValueFromPipelineByPropertyName = true, - HelpMessage = "Location of the resource.")] - [ValidateNotNullOrEmpty] - public string Location { get; set; } - - /// - /// We install the extension handler version specified by the version param. By default extension handler is not autoupdated. - /// Use -AutoUpdate to enable auto update of extension handler to the latest version as and when it is available. - /// - [Parameter( - HelpMessage = "Extension handler gets auto updated to the latest version if this switch is present.")] - public SwitchParameter AutoUpdate { get; set; } - //Private Variables - - private const string VersionRegexExpr = @"^(([0-9])\.)\d+$"; - - /// - /// Credentials used to access Azure Storage - /// - private StorageCredentials _storageCredentials; - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - ValidateParameters(); - - CreateConfiguration(); - } - - //Private Methods - private void ValidateParameters() - { - if (string.IsNullOrEmpty(ArchiveBlobName)) - { - if (ConfigurationName != null || ConfigurationArgument != null - || ConfigurationData != null) - { - ThrowInvalidArgumentError(Properties.Resources.AzureVMDscNullArchiveNoConfiguragionParameters); - } - if (ArchiveContainerName != null || ArchiveStorageEndpointSuffix != null) - { - ThrowInvalidArgumentError(Properties.Resources.AzureVMDscNullArchiveNoStorageParameters); - } - } - else - { - if (string.Compare( - Path.GetFileName(ArchiveBlobName), - ArchiveBlobName, - StringComparison.InvariantCultureIgnoreCase) != 0) - { - ThrowInvalidArgumentError(Properties.Resources.AzureVMDscConfigurationDataFileShouldNotIncludePath); - } - - if (ConfigurationData != null) - { - ConfigurationData = GetUnresolvedProviderPathFromPSPath(ConfigurationData); - - if (!File.Exists(ConfigurationData)) - { - ThrowInvalidArgumentError( - Properties.Resources.AzureVMDscCannotFindConfigurationDataFile, - ConfigurationData); - } - if (string.Compare( - Path.GetExtension(ConfigurationData), - ".psd1", - StringComparison.InvariantCultureIgnoreCase) != 0) - { - ThrowInvalidArgumentError(Properties.Resources.AzureVMDscInvalidConfigurationDataFile); - } - } - - if (ArchiveResourceGroupName == null) - { - ArchiveResourceGroupName = ResourceGroupName; - } - - _storageCredentials = GetStorageCredentials(ArchiveResourceGroupName, ArchiveStorageAccountName); - - if (ConfigurationName == null) - { - ConfigurationName = Path.GetFileNameWithoutExtension(ArchiveBlobName); - } - - if (ArchiveContainerName == null) - { - ArchiveContainerName = DefaultContainerName; - } - - if (!(Regex.Match(Version, VersionRegexExpr).Success)) - { - ThrowInvalidArgumentError(Properties.Resources.AzureVMDscExtensionInvalidVersion); - } - } - } - - private void CreateConfiguration() - { - var publicSettings = new DscExtensionPublicSettings(); - var privateSettings = new DscExtensionPrivateSettings(); - - if (!string.IsNullOrEmpty(ArchiveBlobName)) - { - ConfigurationUris configurationUris = UploadConfigurationDataToBlob(); - - publicSettings.SasToken = configurationUris.SasToken; - publicSettings.ModulesUrl = configurationUris.ModulesUrl; - publicSettings.ConfigurationFunction = string.Format( - CultureInfo.InvariantCulture, - "{0}\\{1}", - Path.GetFileNameWithoutExtension(ArchiveBlobName), - ConfigurationName); - Tuple settings = - DscSettingsSerializer.SeparatePrivateItems(ConfigurationArgument); - publicSettings.Properties = settings.Item1; - privateSettings.Items = settings.Item2; - - privateSettings.DataBlobUri = configurationUris.DataBlobUri; - } - - var parameters = new VirtualMachineExtension - { - Location = Location, - Name = Name ?? ExtensionNamespace + "." + ExtensionName, - Type = VirtualMachineExtensionType, - Publisher = ExtensionNamespace, - ExtensionType = ExtensionName, - TypeHandlerVersion = Version, - // Define the public and private property bags that will be passed to the extension. - Settings = DscSettingsSerializer.SerializePublicSettings(publicSettings), - //PrivateConfuguration contains sensitive data in a plain text - ProtectedSettings = DscSettingsSerializer.SerializePrivateSettings(privateSettings), - AutoUpgradeMinorVersion = AutoUpdate.IsPresent ? true : false - }; - - //Add retry logic due to CRP service restart known issue CRP bug: 3564713 - var count = 1; - ComputeLongRunningOperationResponse op = null; - while (count <= 2) - { - op = VirtualMachineExtensionClient.CreateOrUpdate( - ResourceGroupName, - VMName, - parameters); - - if (ComputeOperationStatus.Failed.Equals(op.Status) && op.Error != null && "InternalExecutionError".Equals(op.Error.Code)) - { - count++; - } - else - { - break; - } - } - var result = Mapper.Map(op); - WriteObject(result); - } - - /// - /// Uploading configuration data to blob storage. - /// - /// ConfigurationUris collection that represent artifacts of uploading - private ConfigurationUris UploadConfigurationDataToBlob() - { - // - // Get a reference to the container in blob storage - // - var storageAccount = string.IsNullOrEmpty(ArchiveStorageEndpointSuffix) - ? new CloudStorageAccount(_storageCredentials, true) - : new CloudStorageAccount( - _storageCredentials, - ArchiveStorageEndpointSuffix, - true); - - var blobClient = storageAccount.CreateCloudBlobClient(); - - var containerReference = blobClient.GetContainerReference(ArchiveContainerName); - - // - // Get a reference to the configuration blob and create a SAS token to access it - // - var blobAccessPolicy = new SharedAccessBlobPolicy - { - SharedAccessExpiryTime = - DateTime.UtcNow.AddHours(1), - Permissions = SharedAccessBlobPermissions.Read | SharedAccessBlobPermissions.Delete - }; - - var configurationBlobName = ArchiveBlobName; - var configurationBlobReference = containerReference.GetBlockBlobReference(configurationBlobName); - var configurationBlobSasToken = configurationBlobReference.GetSharedAccessSignature(blobAccessPolicy); - - // - // Upload the configuration data to blob storage and get a SAS token - // - string configurationDataBlobUri = null; - - if (ConfigurationData != null) - { - ConfirmAction( - true, - string.Empty, - string.Format( - CultureInfo.CurrentUICulture, - Properties.Resources.AzureVMDscUploadToBlobStorageAction, - ConfigurationData), - configurationBlobReference.Uri.AbsoluteUri, - () => - { - var guid = Guid.NewGuid(); - // there may be multiple VMs using the same configuration - - var configurationDataBlobName = string.Format( - CultureInfo.InvariantCulture, - "{0}-{1}.psd1", - ConfigurationName, - guid); - - var configurationDataBlobReference = - containerReference.GetBlockBlobReference(configurationDataBlobName); - - if (!Force && configurationDataBlobReference.Exists()) - { - ThrowTerminatingError( - new ErrorRecord( - new UnauthorizedAccessException( - string.Format( - CultureInfo.CurrentUICulture, - Properties.Resources.AzureVMDscStorageBlobAlreadyExists, - configurationDataBlobName)), - "StorageBlobAlreadyExists", - ErrorCategory.PermissionDenied, - null)); - } - - configurationDataBlobReference.UploadFromFile(ConfigurationData, FileMode.Open); - - var configurationDataBlobSasToken = - configurationDataBlobReference.GetSharedAccessSignature(blobAccessPolicy); - - configurationDataBlobUri = - configurationDataBlobReference.StorageUri.PrimaryUri.AbsoluteUri - + configurationDataBlobSasToken; - }); - } - return new ConfigurationUris - { - ModulesUrl = configurationBlobReference.StorageUri.PrimaryUri.AbsoluteUri, - SasToken = configurationBlobSasToken, - DataBlobUri = configurationDataBlobUri - }; - } - - /// - /// Class represent info about uploaded Configuration. - /// - private class ConfigurationUris - { - public string SasToken { get; set; } - public string DataBlobUri { get; set; } - public string ModulesUrl { get; set; } - } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/VirtualMachineDscExtensionBaseCmdlet.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/VirtualMachineDscExtensionBaseCmdlet.cs deleted file mode 100644 index 0b2af7d7cc25..000000000000 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/VirtualMachineDscExtensionBaseCmdlet.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Management.Automation; -using Microsoft.Azure.Commands.Management.Storage; -using Microsoft.Azure.Common.Authentication.Models; -using Microsoft.Azure.Management.Storage; -using Microsoft.Azure.Management.Storage.Models; -using Microsoft.WindowsAzure.Commands.Common.Storage; -using Microsoft.WindowsAzure.Storage.Auth; - -namespace Microsoft.Azure.Commands.Compute.Extension.DSC -{ - public class VirtualMachineDscExtensionBaseCmdlet : VirtualMachineExtensionBaseCmdlet - { - private StorageManagementClientWrapper _storageClientWrapper; - - protected string ExtensionNamespace = "Microsoft.Powershell"; - protected string ExtensionName = "DSC"; - protected string DefaultContainerName = "windows-powershell-dsc"; - - private IStorageManagementClient StorageClient - { - get - { - if (_storageClientWrapper == null) - { - _storageClientWrapper = new StorageManagementClientWrapper(Profile.Context) - { - VerboseLogger = WriteVerboseWithTimestamp, - ErrorLogger = WriteErrorWithTimestamp - }; - } - - return _storageClientWrapper.StorageManagementClient; - } - - set { _storageClientWrapper = new StorageManagementClientWrapper(value); } - } - - protected StorageCredentials GetStorageCredentials(String resourceGroupName, String storageAccountName) - { - StorageCredentials credentials = null; - - if (StorageClient != null && StorageClient.StorageAccounts != null) - { - var keys = StorageClient.StorageAccounts.ListKeys(resourceGroupName, storageAccountName); - - if (keys != null && keys.StorageAccountKeys != null) - { - var storageAccountKey = string.IsNullOrEmpty(keys.StorageAccountKeys.Key1) ? keys.StorageAccountKeys.Key2 : keys.StorageAccountKeys.Key1; - - credentials = new StorageCredentials(storageAccountName, storageAccountKey); - } - } - - if (credentials == null) - { - ThrowTerminatingError( - new ErrorRecord( - new UnauthorizedAccessException(Properties.Resources.AzureVMDscDefaultStorageCredentialsNotFound), - "CredentialsNotFound", - ErrorCategory.PermissionDenied, - null)); - } - - if (string.IsNullOrEmpty(credentials.AccountName)) - { - ThrowInvalidArgumentError(Properties.Resources.AzureVMDscStorageContextMustIncludeAccountName); - } - - return credentials; - } - - //TODO: Move this to a common Exception class for DSC - protected void ThrowInvalidArgumentError(string format, params object[] args) - { - ThrowTerminatingError( - new ErrorRecord( - new ArgumentException(string.Format(CultureInfo.CurrentUICulture, format, args)), - "InvalidArgument", - ErrorCategory.InvalidArgument, - null)); - } - } -} diff --git a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml index 001a1b62e0af..24042b99ea64 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml +++ b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml @@ -2859,444 +2859,6 @@ $ext = Get-AzureVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmna - - - - Get-AzureVMDscExtension - - - Gets the settings of the DSC extension on a particular VM - - - - - Get - AzureVMDscExtension - - - - Gets the settings of the DSC extension on a particular VM. - - - - - Get-AzureVMDscExtension - - ResourceGroupName - - The resource group name. - - string - - - VMName - - The virtual machine name - - string - - - Name - - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' - - String - - - Status - - Output shows status when the switch is present - - - - - - - - ResourceGroupName - - The resource group name. - - - string - - string - - - - - - VMName - - The virtual machine name - - - string - - string - - - - - - Name - - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' - - String - - String - - - - - - Status - - Output shows status when the switch is present - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Compute.Extension.DSC.VirtualMachineDscExtensionContext - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Publish-AzureVMDscConfiguration - - Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. - - - - - Publish - AzureVMDscConfiguration - - - - - Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureVMDscExtension cmdlet. - - - - Publish-AzureVMDscConfiguration - - ResourceGroupName - - The name of the resource group that contains the storage account. - - string - - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - String - - - ContainerName - - Name of the Azure Storage Container the configuration is uploaded to. - - String - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - SwitchParameter - - - StorageAccountName - - The Azure Storage Account name used to upload the configuration script to the container specified by ContainerName. - - String - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - - - Publish-AzureVMDscConfiguration - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - String - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - SwitchParameter - - - OutputArchivePath - - Path to a local ZIP file to write the configuration archive to. -When this parameter is used, the configuration script is not uploaded to Azure blob storage. - - String - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - - - - - ResourceGroupName - - The name of the resource group that contains the storage account - - string - - - ConfigurationPath - - Path to a file containing one or more configurations. The file can be a PowerShell script (.ps1 file), module (.psm1 file), or an archive (.zip file) containing a set of PowerShell modules, each module in a separate directory. - - String - - String - - - - - - ContainerName - - Name of the Azure Storage Container the configuration is uploaded to. - - String - - String - - - windows-powershell-dsc - - - Force - - By default Publish-AzureVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them. - - SwitchParameter - - SwitchParameter - - - - - - StorageAccountName - - The Azure Storage Account name used to upload the configuration script to the container specified by ContainerName. - - String - - String - - - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - SwitchParameter - - - - - - OutputArchivePath - - Path to a local ZIP file to write the configuration archive to. -When this parameter is used, the configuration script is not uploaded to Azure blob storage. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - - PS C:\> Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 -ResourceGroupName grpname -StorageAccountName strgAcctName - - Description - - - - -----------This command creates a ZIP package for the given script and any dependent resource modules and uploads it to Azure Storage. -By default the command does no produce any output; use the -Verbose option to display an indication of the operations performed by the command - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - - PS C:\> Publish-AzureVMDscConfiguration .\MyConfiguration.ps1 -OutputArchivePath .\MyConfiguration.ps1.zip - - Description - - - - -----------This command creates a ZIP package for the given script and any dependent resource modules and stores it in the local file .\MyConfiguration.ps1.zip. - - - - - - - Unknown - - - - @@ -8161,146 +7723,6 @@ $vm = New-AzureVMConfig –VMName “myVM” –VMSize “Standard_A1" -Av - - - - Remove-AzureVMDscExtension - - Removes DSC extension handler from a VM in a resource group - - - - - Remove - AzureVMDscExtension - - - - Removes DSC extension handler from a VM in a resource group - - - - Remove-AzureVMDscExtension - - ResourceGroupName - - The name of the resource group - - String - - - VMName - - The name of the virtual machine - - String - - - Name - - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' - - String - - - - - - ResourceGroupName - - The name of the resource group - - String - - String - - - - - - VMName - - The name of the virtual machine - - String - - String - - - - - - Name - - Name of the Extension. This is defaulted to 'Microsoft.Powershell.DSC' - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- Remove an Extension -------------------------- - - PS C:\> - - PS C:\> Remove-AzureVMDscExtension –ResouceGroupName "RG" -VMName "vm1" -Name "extnname" - - - - - - - - - - - - - - - - - - @@ -10673,490 +10095,7 @@ Set-AzureVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMNa - - - - Set-AzureVMDSCExtension - - - Configure the Windows PowerShell Desired State Configuration extension on a VM. - - - - - Set - AzureVMDscExtension - - - - Configure the Windows PowerShell Desired State Configuration extension on a VM in a resource group - - - - - Set-AzureVMDSCExtension - - ArchiveBlobName - - The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration - - string - - - ResourceGroupName - - The name of the resource group that contains the virtual machine - - string - - - VMName - - Name of the virtual machine where dsc extension handler would be installed - - string - - - ArchiveStorageAccountName - - The Azure Storage Account name used to download the ArchiveBlobName - - string - - - Version - - The version of the DSC extension that Set-AzureVMDSCExtension will apply the settings to. Allowed format N.N - - string - - - ConfigurationArgument - - A hashtable specifying the arguments to the ConfigurationFunction - - hashtable - - - ConfigurationData - - Path to a .psd1 file that specifies the data for the Configuration - - string - - - ConfigurationName - - Name of the configuration that will be invoked by the DSC Extension - - string - - - ArchiveResourceGroupName - - The name of the resource group that contains the storage account containing the configuration archive.This param is optional if storage account and virtual machine both exists in the same resource group name, specified by ResourceGroupName param - - string - - - ArchiveContainerName - - Name of the Azure Storage Container where the configuration archive is located - - string - - - Force - - By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them - - - - Location - - Location of the resource - - string - - - Name - - Name of the DSC Extension handler. It will default to 'DSC' when it is not provided - - string - - - ArchiveStorageEndpointSuffix - - The Storage Endpoint Suffix - - string - - - AutoUpdate - - We install the extension handler version specified by the -version param. By default extension handler is not autoupdated. Use -AutoUpdate to enable auto update of extension handler to the latest version as and when it is available. - - - - Confirm - - Prompts you for confirmation before executing the command. - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - - - - - - - ArchiveBlobName - - The name of the configuration file that was previously uploaded by Publish-AzureVMDSCConfiguration - - string - - string - - - - - - ConfigurationArgument - - A hashtable specifying the arguments to the ConfigurationFunction - - hashtable - - hashtable - - - - - - ConfigurationData - - Path to a .psd1 file that specifies the data for the Configuration - - string - - string - - - - - - ConfigurationName - - Name of the configuration that will be invoked by the DSC Extension - - string - - string - - - - - - ArchiveContainerName - - Name of the Azure Storage Container where the configuration archive is located - - string - - string - - - - - - Force - - By default Set-AzureVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them - - SwitchParameter - - SwitchParameter - - - - - - Location - - Location of the resource - - string - - string - - - - - - Name - - Name of the DSC Extension handler. It will default to 'DSC' when it is not provided - - string - - string - - - - - - ResourceGroupName - - The name of the resource group that contains the virtual machine - - string - - string - - - - - - ArchiveResourceGroupName - - The name of the resource group that contains the storage account containing the configuration archive. This param is optional if storage account and virtual machine both exists in the same resource group name,specified by ResourceGroupName param. - - string - - string - - - - - - ArchiveStorageAccountName - - The Azure Storage Account name used to download the ArchiveBlobName - - string - - string - - - - - - ArchiveStorageEndpointSuffix - - The Storage Endpoint Suffix - - string - - string - - - - - - Version - - The version of the DSC extension that Set-AzureVMDSCExtension will apply the settings to. Allowed format N.N - - string - - string - - - - - - VMName - - Name of the virtual machine where dsc extension handler would be installed - - string - - string - - - - - - AutoUpdate - - We install the extension handler version specified by the -version param. By default extension handler is not autoupdated. Use -AutoUpdate to enable auto update of extension handler to the latest version as and when it is available. - - - SwitchParameter - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before executing the command. - - SwitchParameter - - SwitchParameter - - - - - - WhatIf - - Describes what would happen if you executed the command without actually executing the command. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Set-AzureVMDscExtension -ResourceGroupName name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName stg -ConfigurationName MyConfiguration -Version 1.10 -Location 'West US' - - - Description - ----------- - - Set the extension on the VM to download MyConfiguration.ps1 from the default container (windows-powershell-dsc) - and invoke configuration MyConfiguration with arguments to the configuration function. Connect to blob storage using the value of - $ENV:azure_storage_connection_string - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - - C:\PS> - - - Set-AzureVMDscExtension -ResourceGroupName name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName stg -ConfigurationName name -ConfigurationArgument @{arg="val"} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' - - - Description - ----------- - With arguments to the configuration function - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - - C:\PS> - - - Set-AzureVMDscExtension -ResourceGroupName name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName stg -ConfigurationName name -ConfigurationArgument @{arg="val"} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' -AutoUpdate - - - Description - ----------- - Enable -AutoUpdate - - - - - - - - - - - - - - - - - - - - - + Set-AzureVMOperatingSystem diff --git a/src/ResourceManager/Compute/Commands.Compute/Models/PSComputeLongRunningOperation.cs b/src/ResourceManager/Compute/Commands.Compute/Models/PSComputeLongRunningOperation.cs index 650476991962..3952b553f7e7 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Models/PSComputeLongRunningOperation.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Models/PSComputeLongRunningOperation.cs @@ -39,11 +39,7 @@ public class PSComputeLongRunningOperation [JsonIgnore] public string ErrorText { - get - { - var errorStr = JsonConvert.SerializeObject(Error, Formatting.Indented); - return String.IsNullOrEmpty(errorStr) || "null".Equals(errorStr) ? "" : errorStr; - } + get { return JsonConvert.SerializeObject(Error, Formatting.Indented); } } } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs index 8dfd2a46fcc7..d21cd34d9f94 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs @@ -78,142 +78,6 @@ public static string AvailabilitySetRemovalConfirmation { } } - /// - /// Looks up a localized string similar to Apply configuration '{0}'. - /// - public static string AzureVMDscApplyConfigurationAction { - get { - return ResourceManager.GetString("AzureVMDscApplyConfigurationAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File '{0}' already exists. Use the -Force parameter to overwrite it.. - /// - public static string AzureVMDscArchiveAlreadyExists { - get { - return ResourceManager.GetString("AzureVMDscArchiveAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find configuration data file: {0}. - /// - public static string AzureVMDscCannotFindConfigurationDataFile { - get { - return ResourceManager.GetString("AzureVMDscCannotFindConfigurationDataFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The -ConfigurationArchive parameter must no include a path. - /// - public static string AzureVMDscConfigurationDataFileShouldNotIncludePath { - get { - return ResourceManager.GetString("AzureVMDscConfigurationDataFileShouldNotIncludePath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Create Archive. - /// - public static string AzureVMDscCreateArchiveAction { - get { - return ResourceManager.GetString("AzureVMDscCreateArchiveAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not find your azure storage credential. Please specify an storage context using the -StorageContext parameter, or set the current storage account using "Set-AzureSubscription", or set the "AZURE_STORAGE_CONNECTION_STRING" environment variable.. - /// - public static string AzureVMDscDefaultStorageCredentialsNotFound { - get { - return ResourceManager.GetString("AzureVMDscDefaultStorageCredentialsNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please enter a valid DSC Extension version. Allowed format: N.N where N = [1..9]. - /// - public static string AzureVMDscExtensionInvalidVersion { - get { - return ResourceManager.GetString("AzureVMDscExtensionInvalidVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The configuration data must be a .psd1 file. - /// - public static string AzureVMDscInvalidConfigurationDataFile { - get { - return ResourceManager.GetString("AzureVMDscInvalidConfigurationDataFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If the ConfigurationArchive argument is null, then the ConfigurationName, ConfigurationArgument, and ConfigurationDataPath parameters must not be specified . - /// - public static string AzureVMDscNullArchiveNoConfiguragionParameters { - get { - return ResourceManager.GetString("AzureVMDscNullArchiveNoConfiguragionParameters", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If the ConfigurationArchive argument is null, then the StorageContext, ArchiveContainerName, and ArchiveStorageEndpointSuffix parameters must not be specified. - /// - public static string AzureVMDscNullArchiveNoStorageParameters { - get { - return ResourceManager.GetString("AzureVMDscNullArchiveNoStorageParameters", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parsing configuration script: {0}. - /// - public static string AzureVMDscParsingConfiguration { - get { - return ResourceManager.GetString("AzureVMDscParsingConfiguration", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Storage Blob '{0}' already exists. Use the -Force parameter to overwrite it.. - /// - public static string AzureVMDscStorageBlobAlreadyExists { - get { - return ResourceManager.GetString("AzureVMDscStorageBlobAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The storage context must include an storage account.. - /// - public static string AzureVMDscStorageContextMustIncludeAccountName { - get { - return ResourceManager.GetString("AzureVMDscStorageContextMustIncludeAccountName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Upload '{0}'. - /// - public static string AzureVMDscUploadToBlobStorageAction { - get { - return ResourceManager.GetString("AzureVMDscUploadToBlobStorageAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot deserialize settings string from DSC extension. Updating your Azure PowerShell SDK to the latest version may solve this problem. Settings string: - ///{0}. - /// - public static string AzureVMDscWrongSettingsFormat { - get { - return ResourceManager.GetString("AzureVMDscWrongSettingsFormat", resourceCulture); - } - } - /// /// Looks up a localized string similar to Cannot specify both Windows and Linux configurations.. /// @@ -259,166 +123,6 @@ public static string DeprecationOfNewAzureVMNameParameterWarning { } } - /// - /// Looks up a localized string similar to Remove Extension. - /// - public static string DscExtensionRemovalCaption { - get { - return ResourceManager.GetString("DscExtensionRemovalCaption", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}. - /// - public static string DscExtensionRemovalConfirmation { - get { - return ResourceManager.GetString("DscExtensionRemovalConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Configuration published to {0}. - /// - public static string PublishVMDscExtensionArchiveUploadedMessage { - get { - return ResourceManager.GetString("PublishVMDscExtensionArchiveUploadedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find configuration file: {0}.. - /// - public static string PublishVMDscExtensionConfigFileNotFound { - get { - return ResourceManager.GetString("PublishVMDscExtensionConfigFileNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy '{0}' to '{1}'.. - /// - public static string PublishVMDscExtensionCopyFileVerbose { - get { - return ResourceManager.GetString("PublishVMDscExtensionCopyFileVerbose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy the module '{0}' to '{1}'.. - /// - public static string PublishVMDscExtensionCopyModuleVerbose { - get { - return ResourceManager.GetString("PublishVMDscExtensionCopyModuleVerbose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid configuration file: {0}. - ///The file needs to be a PowerShell script (.ps1 or .psm1).. - /// - public static string PublishVMDscExtensionCreateArchiveConfigFileInvalidExtension { - get { - return ResourceManager.GetString("PublishVMDscExtensionCreateArchiveConfigFileInvalidExtension", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Create a zip file '{0}' from directory '{1}'.. - /// - public static string PublishVMDscExtensionCreateZipVerbose { - get { - return ResourceManager.GetString("PublishVMDscExtensionCreateZipVerbose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deleted '{0}'. - /// - public static string PublishVMDscExtensionDeletedFileMessage { - get { - return ResourceManager.GetString("PublishVMDscExtensionDeletedFileMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot delete '{0}': {1}. - /// - public static string PublishVMDscExtensionDeleteErrorMessage { - get { - return ResourceManager.GetString("PublishVMDscExtensionDeleteErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot get module for DscResource '{0}'. Possible solutions: - ///1) Specify -ModuleName for Import-DscResource in your configuration. - ///2) Unblock module that contains resource. - ///3) Move Import-DscResource inside Node block. - ///. - /// - public static string PublishVMDscExtensionGetDscResourceFailed { - get { - return ResourceManager.GetString("PublishVMDscExtensionGetDscResourceFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List of required modules: [{0}].. - /// - public static string PublishVMDscExtensionRequiredModulesVerbose { - get { - return ResourceManager.GetString("PublishVMDscExtensionRequiredModulesVerbose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your current PowerShell version {1} is less then required by this cmdlet {0}. Consider download and install latest PowerShell version.. - /// - public static string PublishVMDscExtensionRequiredPsVersion { - get { - return ResourceManager.GetString("PublishVMDscExtensionRequiredPsVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Configuration script '{0}' contained parse errors: - ///{1}. - /// - public static string PublishVMDscExtensionStorageParserErrors { - get { - return ResourceManager.GetString("PublishVMDscExtensionStorageParserErrors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Temp folder '{0}' created.. - /// - public static string PublishVMDscExtensionTempFolderVerbose { - get { - return ResourceManager.GetString("PublishVMDscExtensionTempFolderVerbose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid configuration file: {0}. - ///The file needs to be a PowerShell script (.ps1 or .psm1) or a ZIP archive (.zip).. - /// - public static string PublishVMDscExtensionUploadArchiveConfigFileInvalidExtension { - get { - return ResourceManager.GetString("PublishVMDscExtensionUploadArchiveConfigFileInvalidExtension", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Configuration file '{0}' not found.. - /// - public static string PublishVMDscExtensionUploadArchiveConfigFileNotExist { - get { - return ResourceManager.GetString("PublishVMDscExtensionUploadArchiveConfigFileNotExist", resourceCulture); - } - } - /// /// Looks up a localized string similar to Virtual machine extension removal operation. /// diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx index 1760f3390a7e..954aa146eed8 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx @@ -165,129 +165,4 @@ This cmdlet will stop the specified virtual machine. Do you want to continue? - - Cannot find configuration data file: {0} - - - The -ConfigurationArchive parameter must no include a path - - - The configuration data must be a .psd1 file - - - Please enter a valid DSC Extension version. Allowed format: N.N where N = [1..9] - - - Cannot find configuration file: {0}. - 0 = path to the configuration file - - - Invalid configuration file: {0}. -The file needs to be a PowerShell script (.ps1 or .psm1) or a ZIP archive (.zip). - 0 = path to the configuration file - - - Configuration file '{0}' not found. - 0 = path to the configuration file - - - Cannot get module for DscResource '{0}'. Possible solutions: -1) Specify -ModuleName for Import-DscResource in your configuration. -2) Unblock module that contains resource. -3) Move Import-DscResource inside Node block. - - 0 = name of DscResource - - - Configuration script '{0}' contained parse errors: -{1} - 0 = path to the configuration script, 1 = parser errors - - - The storage context must include an storage account. - - - Apply configuration '{0}' - {0} is the name of a PowerShell DSC Configuration function - - - Parsing configuration script: {0} - {0} is the path to a script file - - - Storage Blob '{0}' already exists. Use the -Force parameter to overwrite it. - {0} is the name of an storage blob - - - Upload '{0}' - {0} is the name of an storage blob - - - Invalid configuration file: {0}. -The file needs to be a PowerShell script (.ps1 or .psm1). - 0 = path to the configuration file - - - If the ConfigurationArchive argument is null, then the ConfigurationName, ConfigurationArgument, and ConfigurationDataPath parameters must not be specified - - - If the ConfigurationArchive argument is null, then the StorageContext, ArchiveContainerName, and ArchiveStorageEndpointSuffix parameters must not be specified - - - Create Archive - - - File '{0}' already exists. Use the -Force parameter to overwrite it. - {0} is the path to a file - - - Your current PowerShell version {1} is less then required by this cmdlet {0}. Consider download and install latest PowerShell version. - {0} = minimal required PS version, {1} = current PS version - - - Can not find your azure storage credential. Please specify an storage context using the -StorageContext parameter, or set the current storage account using "Set-AzureSubscription", or set the "AZURE_STORAGE_CONNECTION_STRING" environment variable. - - - List of required modules: [{0}]. - {0} = list of modules - - - Temp folder '{0}' created. - {0} = temp folder path - - - Copy '{0}' to '{1}'. - {0} = source, {1} = destination - - - Copy the module '{0}' to '{1}'. - {0} = source, {1} = destination - - - Create a zip file '{0}' from directory '{1}'. - {0} = target zip, {1} = source - - - Deleted '{0}' - {0} is the path of a file - - - Cannot delete '{0}': {1} - {0} is the path of a file, {1} is an error message - - - Cannot deserialize settings string from DSC extension. Updating your Azure PowerShell SDK to the latest version may solve this problem. Settings string: -{0} - {0} settings json string - - - Configuration published to {0} - {0} is an URI - - - Remove Extension - - - {0} - \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj index 6ba04756996a..64407f45fc97 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj @@ -50,7 +50,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config index b368bc842bac..0e7e724323c2 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj index 5e291a8d30ef..b047b8e005cd 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -56,7 +56,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config index 42e0ca391d99..7dd6733da053 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj b/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj index 313e899bc1dc..ed57f507aed2 100644 --- a/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj +++ b/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj @@ -51,7 +51,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/packages.config b/src/ResourceManager/Dns/Commands.Dns.Test/packages.config index 36c47c239c6f..e44a8254c2f5 100644 --- a/src/ResourceManager/Dns/Commands.Dns.Test/packages.config +++ b/src/ResourceManager/Dns/Commands.Dns.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj index 6b682e8e43f3..a01f8e67c7c7 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj +++ b/src/ResourceManager/Dns/Commands.Dns/Commands.Dns.csproj @@ -93,7 +93,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ResourceManager/Dns/Commands.Dns/packages.config b/src/ResourceManager/Dns/Commands.Dns/packages.config index 5f40556fd675..762507f0cfd0 100644 --- a/src/ResourceManager/Dns/Commands.Dns/packages.config +++ b/src/ResourceManager/Dns/Commands.Dns/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj index 5e61987365a6..66b3bdc6d47d 100644 --- a/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj @@ -52,7 +52,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/packages.config b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config index 23faeb23c9a0..dce7ba5f15a1 100644 --- a/src/ResourceManager/Insights/Commands.Insights.Test/packages.config +++ b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj index 209b6fb3ee2a..055e8b36dc69 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj +++ b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj @@ -51,7 +51,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Insights/Commands.Insights/packages.config b/src/ResourceManager/Insights/Commands.Insights/packages.config index 456554cddae9..2a8ac4ff9264 100644 --- a/src/ResourceManager/Insights/Commands.Insights/packages.config +++ b/src/ResourceManager/Insights/Commands.Insights/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj index 518d79158b92..7be4c28565b1 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj @@ -58,7 +58,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config index 67edea13f211..c7ff18730ef8 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj index c4a7204146ab..bbddc6e5ae5f 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj @@ -114,7 +114,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config b/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config index 514a78aea5b6..c63587d91698 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs b/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs index beb6c0803b55..6c190d0f92d8 100644 --- a/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs +++ b/src/ResourceManager/Network/Commands.Network/Common/NetworkResourceManagerProfile.cs @@ -101,12 +101,12 @@ protected override void Configure() // NetworkInterface // CNM to MNM Mapper.CreateMap(); - Mapper.CreateMap(); + Mapper.CreateMap(); Mapper.CreateMap(); // MNM to CNM Mapper.CreateMap(); - Mapper.CreateMap(); + Mapper.CreateMap(); Mapper.CreateMap(); // LoadBalancer diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceDnsSettings.cs b/src/ResourceManager/Network/Commands.Network/Models/PSDnsSettings.cs similarity index 86% rename from src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceDnsSettings.cs rename to src/ResourceManager/Network/Commands.Network/Models/PSDnsSettings.cs index 636a00ac4472..5d6e280ed29c 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceDnsSettings.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSDnsSettings.cs @@ -16,14 +16,10 @@ namespace Microsoft.Azure.Commands.Network.Models { - public class PSNetworkInterfaceDnsSettings + public class PSDnsSettings { public List DnsServers { get; set; } public List AppliedDnsServers { get; set; } - - public string InternalDnsNameLabel { get; set; } - - public string InternalFqdn { get; set; } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs index 5ef1080dd50a..6b736b3f4551 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs @@ -24,7 +24,7 @@ public class PSNetworkInterface : PSTopLevelResource public List IpConfigurations { get; set; } - public PSNetworkInterfaceDnsSettings DnsSettings { get; set; } + public PSDnsSettings DnsSettings { get; set; } public string MacAddress { get; set; } @@ -51,7 +51,7 @@ public string IpConfigurationsText [JsonIgnore] public string DnsSettingsText { - get { return JsonConvert.SerializeObject(this.DnsSettings, Formatting.Indented); } + get { return JsonConvert.SerializeObject(DnsSettings, Formatting.Indented); } } [JsonIgnore] diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj index 8b5ffde41de3..9bdbe5ae7378 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj @@ -48,7 +48,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config index 56e996d89572..03f202ee68bd 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj index 4b34a8b82978..02bfb7c12003 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Commands.OperationalInsights.csproj @@ -56,7 +56,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/packages.config b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/packages.config index 5c919864b440..dafb44025c7a 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/packages.config +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj index 810f182231f2..b4dec5f065a8 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj @@ -51,7 +51,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config index 3bc06a3f34c6..005323cf1526 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj index 09df6323d35b..3a4a5f88ed69 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj @@ -54,7 +54,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config index 031ea715fde8..937369736c54 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Commands.ResourceManager.Cmdlets.csproj b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Commands.ResourceManager.Cmdlets.csproj index f2253ccdd2f4..9a47aa2b11b4 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Commands.ResourceManager.Cmdlets.csproj +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Commands.ResourceManager.Cmdlets.csproj @@ -56,7 +56,7 @@ False - ..\..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/LongRunningOperationHelper.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/LongRunningOperationHelper.cs index b6fed99c6c1a..ffb1192d4f7b 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/LongRunningOperationHelper.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/LongRunningOperationHelper.cs @@ -76,14 +76,14 @@ internal LongRunningOperationHelper(string activityName, Func /// The operation result. - internal string WaitOnOperation(OperationResult operationResult) + internal JToken WaitOnOperation(OperationResult operationResult) { // TODO: Re-factor this mess. this.ProgressTrackerObject.UpdateProgress("Starting", 0); var trackingResult = this.HandleOperationResponse(operationResult, this.IsResourceCreateOrUpdate ? operationResult.OperationUri : operationResult.LocationUri); - while (trackingResult != null && trackingResult.ShouldWait) + while (trackingResult.ShouldWait) { operationResult = this.GetResourcesClient() @@ -161,11 +161,10 @@ private TrackingOperationResult HandleOperationResponse(OperationResult operatio /// The result of the operation. private TrackingOperationResult HandleCreateOrUpdateResponse(OperationResult operationResult) { - Resource> resource; - if (!operationResult.Value.TryConvertTo>>(out resource)) - { - return null; - } + var resource = operationResult.Value == null + ? null + : operationResult.Value + .ToObject>>(JsonExtensions.JsonObjectTypeSerializer); if(resource == null && operationResult.HttpStatusCode == HttpStatusCode.Created) { @@ -445,12 +444,11 @@ private string GetAzureAsyncOperationState(OperationResult operationResult) /// The operation result. private static string GetResourceState(OperationResult operationResult) { - Resource> resource; - if (!operationResult.Value.TryConvertTo>>(out resource)) - { - return null; - } - + var resource = operationResult.Value == null + ? null + : operationResult.Value + .ToObject>>(JsonExtensions.JsonObjectTypeSerializer); + if (resource == null) { return null; diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/OperationResult.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/OperationResult.cs index 2e0867edd675..c2496871f5ee 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/OperationResult.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/OperationResult.cs @@ -56,6 +56,6 @@ public class OperationResult /// /// Gets or sets the value. /// - public string Value { get; set; } + public JObject Value { get; set; } } } diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/ResourceIdUtility.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/ResourceIdUtility.cs index 19bcc29667c5..b5273a9e4651 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/ResourceIdUtility.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Components/ResourceIdUtility.cs @@ -40,7 +40,7 @@ public static string GetResourceId(string resourceId, string extensionResourceTy resourceIdBuilder.Append(ResourceIdUtility.ProcessResourceTypeAndName(resourceType: extensionResourceType, resourceName: extensionResourceName)); } - return resourceIdBuilder.ToString(); + return resourceId.ToString(); } /// diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/ErrorResponseMessageExceptionExtensions.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/ErrorResponseMessageExceptionExtensions.cs index ff96df6bf4e7..192d3bd51971 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/ErrorResponseMessageExceptionExtensions.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/ErrorResponseMessageExceptionExtensions.cs @@ -14,7 +14,6 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions { - using System; using System.Management.Automation; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses; @@ -32,25 +31,5 @@ internal static ErrorRecord ToErrorRecord(this ErrorResponseMessageException exc // TODO: Improve this. return new ErrorRecord(exception, exception.ErrorResponseMessage == null ? exception.HttpStatus.ToString() : exception.ErrorResponseMessage.Error.Code, ErrorCategory.CloseError, null); } - - /// - /// Converts objects into - /// - /// The exception - internal static ErrorRecord ToErrorRecord(this Exception exception) - { - // TODO: Improve this. - return new ErrorRecord(exception, exception.Message, ErrorCategory.CloseError, null); - } - - /// - /// Converts objects into - /// - /// The exception - internal static ErrorRecord ToErrorRecord(this AggregateException aggregateException) - { - // TODO: Improve this. - return new ErrorRecord(aggregateException, aggregateException.ToString(), ErrorCategory.CloseError, null); - } } } diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/HttpMessageExtensions.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/HttpMessageExtensions.cs index c16f5ca62b4a..a130ff4f7756 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/HttpMessageExtensions.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/HttpMessageExtensions.cs @@ -50,35 +50,5 @@ public static async Task ReadContentAsJsonAsync(this HttpResponseMessage m } } } - - /// - /// Reads the JSON content from the http response message. - /// - /// The type of object contained in the JSON. - /// The response message to be read. - /// Rewind content stream if set to true. - /// An object of type T instantiated from the response message's body. - public static async Task ReadContentAsStringAsync(this HttpResponseMessage message, bool rewindContentStream = false) - { - using (var stream = await message.Content - .ReadAsStreamAsync() - .ConfigureAwait(continueOnCapturedContext: false)) - using (var streamReader = new StreamReader(stream)) - { - var streamPosition = stream.Position; - try - { - - return streamReader.ReadToEnd(); - } - finally - { - if (stream.CanSeek && streamPosition != stream.Position && rewindContentStream) - { - stream.Seek(streamPosition, SeekOrigin.Begin); - } - } - } - } } } diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/JsonExtensions.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/JsonExtensions.cs index b977ddaa0b7c..abaa4cbb5a95 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/JsonExtensions.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Extensions/JsonExtensions.cs @@ -147,39 +147,6 @@ public static bool CanConvertTo(this JToken jobject) return jobject.TryConvertTo(out ignored); } - /// - /// Checks if a conversion from the supplied to a can be made. - /// - /// The type to convert to. - /// The string. - /// The result. - public static bool TryConvertTo(this string str, out TType result) - { - if (string.IsNullOrWhiteSpace(str)) - { - result = default(TType); - return true; - } - - try - { - result = str.FromJson(); - return !object.Equals(result, default(TType)); - } - catch (FormatException) - { - } - catch (ArgumentException) - { - } - catch (JsonException) - { - } - - result = default(TType); - return false; - } - /// /// Checks if a conversion from the supplied to a can be made. /// diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs index 4c2cbd6889d4..2421e540da10 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs @@ -80,10 +80,10 @@ protected override void OnProcessRecord() odataQuery: this.ODataQuery); var activity = string.Format("POST {0}", managementUri.PathAndQuery); - var resultString = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: false) + var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: false) .WaitOnOperation(operationResult: operationResult); - this.TryConvertAndWriteObject(resultString, ResourceObjectFormat.New); + this.WriteObject(result, ResourceObjectFormat.New); }); } diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs index f0cd604cb13f..e987b0a4b4f4 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs @@ -173,7 +173,7 @@ private void RunCmdlet() isResourceCreateOrUpdate: false) .WaitOnOperation(operationResult: operationResult); - this.TryConvertAndWriteObject(result, ResourceObjectFormat.New); + this.WriteObject(result, ResourceObjectFormat.New); } else { diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs index c17ae65a2c0b..c01e3ffcbe40 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs @@ -58,7 +58,7 @@ protected override void OnProcessRecord() var activity = string.Format("DELETE {0}", managementUri.PathAndQuery); - this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: false) + var result = this.GetLongRunningOperationTracker(activityName: activity, isResourceCreateOrUpdate: false) .WaitOnOperation(operationResult: operationResult); this.WriteObject(true); diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/RestClients/ResourceManagerRestClientBase.cs b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/RestClients/ResourceManagerRestClientBase.cs index de9a365dcb4b..b3a2c170ffc3 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/RestClients/ResourceManagerRestClientBase.cs +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/RestClients/ResourceManagerRestClientBase.cs @@ -293,7 +293,7 @@ private async Task GetOperationResult(HttpResponseMessage respo var operationResult = new OperationResult { Value = await response - .ReadContentAsStringAsync() + .ReadContentAsJsonAsync() .ConfigureAwait(continueOnCapturedContext: false), }; diff --git a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/packages.config b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/packages.config index 60865d267518..137cf646100e 100644 --- a/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/packages.config +++ b/src/ResourceManager/ResourceManager/Commands.ResourceManager/Cmdlets/packages.config @@ -2,7 +2,7 @@ - + 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 3c802f24e354..928124b8fa29 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj @@ -52,7 +52,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config index 399905462909..c10f632de135 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config +++ b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index 0f2cfdf062ec..0fec617c3c66 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -56,7 +56,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll @@ -240,10 +240,6 @@ {c60342b1-47d3-4a0e-8081-9b97ce60b7af} Commands.Profile - - {ed8ba708-af42-4c08-9f4e-daa1037797d5} - Commands.ApiManagement.ServiceManagement - {dc0a9742-df36-48c9-bd2f-68d01aed6257} Commands.ApiManagement diff --git a/src/ResourceManager/Resources/Commands.Resources/packages.config b/src/ResourceManager/Resources/Commands.Resources/packages.config index 7a239019c5d9..7d271d840ed5 100644 --- a/src/ResourceManager/Resources/Commands.Resources/packages.config +++ b/src/ResourceManager/Resources/Commands.Resources/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj index 45aad54a4180..9fa58d391873 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj @@ -59,7 +59,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config index 8240e46a0367..b2a6f9f1c78f 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config +++ b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index 4893a6121c69..ad5ceee5f3e5 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -206,7 +206,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ResourceManager/Sql/Commands.Sql/packages.config b/src/ResourceManager/Sql/Commands.Sql/packages.config index 80c7fc39ce71..6e9fa978f93a 100644 --- a/src/ResourceManager/Sql/Commands.Sql/packages.config +++ b/src/ResourceManager/Sql/Commands.Sql/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj b/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj index 05ab21b62df0..25bcecd36af3 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj +++ b/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj @@ -39,7 +39,7 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config b/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config index 37236d4b37ee..ec582dab3302 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config +++ b/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj index 8f4cc0443b9e..f3953c7fe4a9 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj +++ b/src/ResourceManager/Storage/Commands.Management.Storage/Commands.Management.Storage.csproj @@ -54,7 +54,7 @@ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/packages.config b/src/ResourceManager/Storage/Commands.Management.Storage/packages.config index aa1074f4dfb5..03c617ba9b74 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/packages.config +++ b/src/ResourceManager/Storage/Commands.Management.Storage/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj index ee198153c219..c59bba1e6a2d 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj @@ -49,7 +49,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config index 95efda05c9d1..5f460a86233d 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj index ad3ddd940f93..40e69aa97a04 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj @@ -56,7 +56,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config index 895dda48712f..a768da9c6a10 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj index 6203a9831576..30a26b7c803e 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj +++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj @@ -56,7 +56,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Tags/Commands.Tags/packages.config b/src/ResourceManager/Tags/Commands.Tags/packages.config index 0127cfe1b5ea..278646ed464b 100644 --- a/src/ResourceManager/Tags/Commands.Tags/packages.config +++ b/src/ResourceManager/Tags/Commands.Tags/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager2.Test.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager2.Test.csproj index e266dbbddfc8..f70024a54726 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager2.Test.csproj +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager2.Test.csproj @@ -46,7 +46,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config index e58ba6ef28d8..ba5c1c61dcab 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager2.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager2.csproj index 29462cadbc7f..3d0cdcd71b08 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager2.csproj +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Commands.TrafficManager2.csproj @@ -53,7 +53,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Management.TrafficManager.0.9.3-preview\lib\portable-net45+sl50+wp80+win\Microsoft.Azure.Management.TrafficManager.dll diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/packages.config b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/packages.config index ed3c3ce521bc..03ce61228cb9 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/packages.config +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj b/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj index e41343130a4f..02d6d330b271 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj +++ b/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj @@ -48,7 +48,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/packages.config b/src/ResourceManager/Websites/Commands.Websites.Test/packages.config index 8d251103d233..74a02c586504 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/packages.config +++ b/src/ResourceManager/Websites/Commands.Websites.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj index 105d5735aada..0bacb7c00a2f 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj +++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj @@ -56,7 +56,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ResourceManager/Websites/Commands.Websites/packages.config b/src/ResourceManager/Websites/Commands.Websites/packages.config index 05fbc1f574c8..c87b881e04b5 100644 --- a/src/ResourceManager/Websites/Commands.Websites/packages.config +++ b/src/ResourceManager/Websites/Commands.Websites/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj index 52d0c07237ee..5810c34c218e 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj @@ -57,7 +57,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config index 36836019e828..1d2582b26a35 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj index a876709cccbc..b74edf07a38b 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj +++ b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj @@ -60,7 +60,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Automation/Commands.Automation/packages.config b/src/ServiceManagement/Automation/Commands.Automation/packages.config index df4f0bf3d062..251f0b038bf2 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/packages.config +++ b/src/ServiceManagement/Automation/Commands.Automation/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj index 4dba9359a026..a68f58d642e5 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj @@ -50,7 +50,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config index 22a5d6af3357..4026dd3d472e 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj index 319a78dc2c25..b9577ff01cff 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj @@ -67,7 +67,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config index e45eb302f463..7f967628e230 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj index 3466e34fa27a..cbeb05d1cadf 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj @@ -67,7 +67,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config index 613371a84f8d..56372fb6c6ce 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj index 3b8b4230fa04..1c2207a56ff4 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj @@ -63,7 +63,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config index 4f5fff2343ef..69221e48e27d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj index 2751f356c1af..c9cc76409936 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj @@ -69,7 +69,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll @@ -248,7 +248,6 @@ - @@ -310,6 +309,7 @@ True Resources.resx + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs index 4e0675e55752..8c5fa36ebeb3 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs @@ -280,7 +280,7 @@ protected DeploymentGetResponse GetDeployment(string slot) { if (ex.Response.StatusCode != HttpStatusCode.NotFound && IsVerbose() == false) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } }); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureRole.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureRole.cs index a5c251676c96..c8140715b520 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureRole.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/GetAzureRole.cs @@ -163,7 +163,7 @@ private DeploymentGetResponse GetCurrentDeployment(out OperationStatusResponse o DeploymentGetResponse deploymentGetResponse = null; InvokeInOperationContext(() => deploymentGetResponse = this.ComputeClient.Deployments.GetBySlot(this.ServiceName, slot)); - operation = GetOperation(deploymentGetResponse.RequestId); + operation = GetOperationNewSM(deploymentGetResponse.RequestId); WriteVerboseWithTimestamp(Resources.GetDeploymentCompletedOperation); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs index 3bf023b5faf3..8a3990f92697 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs @@ -170,7 +170,7 @@ public virtual void NewPaaSDeploymentProcess() { if (ex.Response.StatusCode != HttpStatusCode.NotFound && IsVerbose() == false) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } @@ -225,7 +225,7 @@ public virtual void NewPaaSDeploymentProcess() } catch (CloudException ex) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } }); } @@ -249,7 +249,7 @@ private void AssertNoPersistenVmRoleExistsInDeployment(string slot) { if (ex.Response.StatusCode != HttpStatusCode.NotFound && IsVerbose() == false) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } }); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs index 114aa15cba3c..54655bc57ea4 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs @@ -175,7 +175,7 @@ public void ExecuteCommand() { if (ex.Response.StatusCode != HttpStatusCode.NotFound && IsVerbose() == false) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } @@ -263,7 +263,7 @@ public void ExecuteCommand() } catch (CloudException ex) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } }); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureRole.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureRole.cs index 50b557ebd4af..ba7bdb099e74 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureRole.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureRole.cs @@ -110,7 +110,7 @@ private DeploymentGetResponse GetCurrentDeployment(out OperationStatusResponse o WriteVerboseWithTimestamp(Resources.GetDeploymentBeginOperation); DeploymentGetResponse deploymentGetResponse = this.ComputeClient.Deployments.GetBySlot(this.ServiceName, slot); - operation = GetOperation(deploymentGetResponse.RequestId); + operation = GetOperationNewSM(deploymentGetResponse.RequestId); WriteVerboseWithTimestamp(Resources.GetDeploymentCompletedOperation); return deploymentGetResponse; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs index 48c10730732c..57856ee9352d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs @@ -246,7 +246,7 @@ private void SetPublicConfig() } else { - this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}}", + this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}", string.Format(AutoUpdateTemplate, AutoUpdateChefClient), string.Format(DeleteChefConfigTemplate, DeleteChefConfig), string.Format(ClientRbTemplate, ClientConfig), diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs index dd2be01b9731..1130dd1055f2 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs @@ -150,7 +150,7 @@ internal void GetCurrentDeployment() return; CurrentDeploymentNewSM = ComputeClient.Deployments.GetBySlot(Service, NSM.DeploymentSlot.Production); - GetDeploymentOperationNewSM = GetOperation(CurrentDeploymentNewSM.RequestId); + GetDeploymentOperationNewSM = GetOperationNewSM(CurrentDeploymentNewSM.RequestId); WriteVerboseWithTimestamp(Resources.GetDeploymentCompletedOperation); } catch (CloudException ex) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/RemoveAzureVMDscExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/RemoveAzureVMDscExtension.cs index af8f535d74f1..5d184f447f0f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/RemoveAzureVMDscExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/RemoveAzureVMDscExtension.cs @@ -30,9 +30,7 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions /// $vm = Get-AzureVM -ServiceName service -Name VM-name /// Remove-AzureVMDscExtension -VM $vm | Update-AzureVM -Verbose /// - [Cmdlet(VerbsCommon.Remove, - VirtualMachineDscExtensionCmdletNoun, - SupportsShouldProcess = true), + [Cmdlet(VerbsCommon.Remove, VirtualMachineDscExtensionCmdletNoun), OutputType(typeof(IPersistentVM))] public class RemoveAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBase { @@ -43,13 +41,10 @@ internal void ExecuteCommand() this.Uninstall = true; this.Version = DefaultExtensionVersion; - if (ShouldProcess(Resources.DscExtensionRemovalConfirmation, - Resources.DscExtensionRemovalCaption)) - { - RemovePredicateExtensions(); - AddResourceExtension(); - WriteObject(VM); - } + RemovePredicateExtensions(); + AddResourceExtension(); + + WriteObject(VM); } protected override void ProcessRecord() diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs index cc21d434495d..f755015a1bb9 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs @@ -32,7 +32,7 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions [Cmdlet(VerbsCommon.Set, VirtualMachineDscExtensionCmdletNoun, SupportsShouldProcess = true)] [OutputType(typeof(IPersistentVM))] - public class SetAzureVMDscExtension : VirtualMachineDscExtensionCmdletBase + public class SetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBase { /// /// The Extension Reference Name diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/IaaSDeploymentManagementCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/IaaSDeploymentManagementCmdletBase.cs index da993fd87578..ad9599639671 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/IaaSDeploymentManagementCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/IaaSDeploymentManagementCmdletBase.cs @@ -68,7 +68,7 @@ protected virtual void ExecuteCommand() try { CurrentDeploymentNewSM = this.ComputeClient.Deployments.GetBySlot(this.ServiceName, DeploymentSlot.Production); - GetDeploymentOperationNewSM = GetOperation(CurrentDeploymentNewSM.RequestId); + GetDeploymentOperationNewSM = GetOperationNewSM(CurrentDeploymentNewSM.RequestId); WriteVerboseWithTimestamp(Resources.GetDeploymentCompletedOperation); } catch (CloudException ex) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConfig.cs index b16f3ef275e8..02731ff680d2 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetConfig.cs @@ -48,7 +48,7 @@ public VirtualNetworkConfigContext GetVirtualNetworkConfigProcess() WriteVerboseWithTimestamp(string.Format(Resources.AzureVNetConfigBeginOperation, CommandRuntime.ToString())); var netcfg = this.NetworkClient.Networks.GetConfiguration(); - var operation = GetOperation(netcfg.RequestId); + var operation = GetOperationNewSM(netcfg.RequestId); WriteVerboseWithTimestamp(string.Format(Resources.AzureVNetConfigCompletedOperation, CommandRuntime.ToString())); @@ -81,7 +81,7 @@ public VirtualNetworkConfigContext GetVirtualNetworkConfigProcess() } else { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } }); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetSite.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetSite.cs index 0f801e6017ab..3b665bd54e35 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetSite.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureVNetSite.cs @@ -60,7 +60,7 @@ public IEnumerable GetVirtualNetworkSiteProcess() } } - var operation = GetOperation(response.RequestId); + var operation = GetOperationNewSM(response.RequestId); WriteVerboseWithTimestamp(string.Format(Resources.AzureVNetSiteCompletedOperation, CommandRuntime.ToString())); result = sites.Select(site => ContextFactory(site, operation)); } @@ -72,7 +72,7 @@ public IEnumerable GetVirtualNetworkSiteProcess() } else { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } }); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVirtualIP.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVirtualIP.cs index eb8d024764e7..473fe39be664 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVirtualIP.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVirtualIP.cs @@ -1,25 +1,18 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Management.Network; -using Microsoft.WindowsAzure.Management.Compute; -using Microsoft.WindowsAzure.Management.Compute.Models; -using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { + using System.Management.Automation; + using Microsoft.WindowsAzure.Commands.Utilities.Common; + using Microsoft.WindowsAzure.Management.Network; + using Microsoft.WindowsAzure.Management.Compute; + using Microsoft.WindowsAzure.Management.Compute.Models; + + [Cmdlet(VerbsCommon.Remove, "AzureVirtualIP"), OutputType(typeof(ManagementOperationContext))] public class RemoveAzureVirtualIP : ServiceManagementBaseCmdlet { @@ -33,24 +26,13 @@ public RemoveAzureVirtualIP(IClientProvider provider) : base(provider) [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = false)] [ValidateNotNullOrEmpty] - public string ServiceName { get; set; } + public string VirtualIPName { get; set; } [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = false)] [ValidateNotNullOrEmpty] - public string VirtualIPName { get; set; } - - [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Do not confirm removal of Virtual IP")] - public SwitchParameter Force { get; set; } + public string ServiceName { get; set; } public override void ExecuteCmdlet() - { - if (this.Force.IsPresent || this.ShouldContinue(Resources.VirtualIPWillBeRemoved, Resources.RemoveVirtualIP)) - { - this.ProcessRemoveAzureVirtualIP(); - } - } - - public void ProcessRemoveAzureVirtualIP() { ServiceManagementProfile.Initialize(); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureRemoteDesktopFile.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureRemoteDesktopFile.cs index d21b1061b655..b026198758f9 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureRemoteDesktopFile.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureRemoteDesktopFile.cs @@ -79,7 +79,7 @@ protected override void ExecuteCommand() } } - var operation = GetOperation(desktopFileResponse.RequestId); + var operation = GetOperationNewSM(desktopFileResponse.RequestId); WriteVerboseWithTimestamp(string.Format(Resources.AzureRemoteDesktopCompletedOperation, CommandRuntime)); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs index 6403e2854132..820076ba1aef 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs @@ -238,7 +238,7 @@ public void NewAzureVMProcess() } catch (CloudException ex) { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); return; } } @@ -354,7 +354,7 @@ public void NewAzureVMProcess() throw new Exception(Resources.ServiceDoesNotExistSpecifyLocationOrAffinityGroup); } - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } } @@ -549,7 +549,7 @@ protected bool DoesCloudServiceExist(string serviceName) { return false; } - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } return false; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs index e3c6f545b823..4cc05464f378 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs @@ -200,7 +200,7 @@ public void NewAzureVMProcess() if (existingService == null || existingService.Properties == null) { // The same service name is already used by another subscription. - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); return; } else if ((string.IsNullOrEmpty(existingService.Properties.Location) && @@ -217,13 +217,13 @@ public void NewAzureVMProcess() // The same service name is already created under the same subscription, // but its affinity group or location is not matched with the given parameter. this.WriteWarning("Location or AffinityGroup name is not matched with the existing service"); - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); return; } } else { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); return; } } @@ -335,7 +335,7 @@ public void NewAzureVMProcess() } else { - WriteExceptionError(ex); + this.WriteExceptionDetails(ex); } return; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs index 0d0566b13cfb..56f8393aac32 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs @@ -529,24 +529,6 @@ public static string DiagnosticsStorageAccountNotFound { } } - /// - /// Looks up a localized string similar to Remove Extension. - /// - public static string DscExtensionRemovalCaption { - get { - return ResourceManager.GetString("DscExtensionRemovalCaption", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}. - /// - public static string DscExtensionRemovalConfirmation { - get { - return ResourceManager.GetString("DscExtensionRemovalConfirmation", resourceCulture); - } - } - /// /// Looks up a localized string similar to Duplicate names '{0}' found in both VM and OS images. Please delete one of them, using other method such as Portal or Invoke-RestMethod call, and try again.. /// diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx index 0c7541325275..b75e916c631f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx @@ -817,10 +817,4 @@ The file needs to be a PowerShell script (.ps1 or .psm1). Remove Virtual IP from service - - Remove Extension - - - {0} - \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/RemoveAzureVirtualIP.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/RemoveAzureVirtualIP.cs new file mode 100644 index 000000000000..93750eec752b --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/RemoveAzureVirtualIP.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Network; +using Microsoft.WindowsAzure.Management.Compute; +using Microsoft.WindowsAzure.Management.Compute.Models; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +{ + [Cmdlet(VerbsCommon.Remove, "AzureVirtualIP"), OutputType(typeof(ManagementOperationContext))] + public class RemoveAzureVirtualIP : ServiceManagementBaseCmdlet + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string ServiceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = false)] + [ValidateNotNullOrEmpty] + public string VirtualIPName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Do not confirm removal of Virtual IP")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + if (this.Force.IsPresent || this.ShouldContinue(Resources.VirtualIPWillBeRemoved, Resources.RemoveVirtualIP)) + { + this.ProcessRemoveAzureVirtualIP(); + } + } + + public void ProcessRemoveAzureVirtualIP() + { + ServiceManagementProfile.Initialize(); + + string deploymentName = this.ComputeClient.Deployments.GetBySlot( + this.ServiceName, + DeploymentSlot.Production).Name; + + ExecuteClientActionNewSM( + null, + CommandRuntime.ToString(), + () => this.NetworkClient.VirtualIPs.Remove(this.ServiceName, deploymentName, this.VirtualIPName)); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config index 613371a84f8d..56372fb6c6ce 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj index 802716115ff1..ea9962c10d2f 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj @@ -49,7 +49,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config index 1de49e0aa841..ccafebbe943d 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index e968f130a2c5..062eed5d9609 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -54,7 +54,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config index f423a4034fea..3271e7739ed7 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index e9da1bed6b0c..aeab21c50422 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -61,7 +61,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config index 6dc5409d56ea..93a40af3a863 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj index 9241d82539ee..be5c0039f6a6 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj @@ -48,7 +48,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config index c8abec91f81d..42dfcb5b72c5 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj index acf70d05a9b0..0510030895ef 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj @@ -49,7 +49,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config index 02266d1aeeb2..6efc022ad29b 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj b/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj index 18d5d6943a8b..d1ab59067ee8 100644 --- a/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj +++ b/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj @@ -48,7 +48,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Network/Commands.Network.Test/packages.config b/src/ServiceManagement/Network/Commands.Network.Test/packages.config index 369d820ddc15..0225af83786c 100644 --- a/src/ServiceManagement/Network/Commands.Network.Test/packages.config +++ b/src/ServiceManagement/Network/Commands.Network.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj b/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj index 09fa5301d0d6..20b7dbaa92d4 100644 --- a/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj +++ b/src/ServiceManagement/Network/Commands.Network/Commands.ServiceManagement.Network.csproj @@ -57,7 +57,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Network/Commands.Network/packages.config b/src/ServiceManagement/Network/Commands.Network/packages.config index 95f317745e7a..e966b4a11681 100644 --- a/src/ServiceManagement/Network/Commands.Network/packages.config +++ b/src/ServiceManagement/Network/Commands.Network/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj index 9fd59c89632d..2af8beb9d7e4 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj @@ -39,7 +39,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.1-preview\lib\net40\Microsoft.Azure.ResourceManager.dll diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config index 42803e8fbfae..93ab3cd2a47f 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj index 891cf8f8d254..549e0bbe84c5 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj @@ -55,7 +55,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config index f75cd40ba9aa..fc5bb09c6b7b 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj index 7b0f295529b9..ada9b06cbb08 100644 --- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj +++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj @@ -63,7 +63,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/packages.config b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/packages.config index ee823ae6bf3d..00fcb29844b9 100644 --- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/packages.config +++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj index e3b038b0c129..f083a3f57a57 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj @@ -52,7 +52,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config index b214fb8d77b5..7209268749bd 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj index ab2e59e8e39b..b59860259416 100644 --- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj +++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj @@ -57,7 +57,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs index e87390a02123..3a6e1fbf742a 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs @@ -29,8 +29,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.Websites { - using System.Globalization; - + public class GetAzureWebsiteMetricsTests : WebsitesTestBase { [Fact] @@ -50,13 +49,13 @@ public void GetWebsiteMetricsBasicTest() Data = new MetricSet() { Name = "CPU Time", - StartTime = DateTime.Parse("7/28/2014 1:00:00 AM", new CultureInfo("en-US")), - EndTime = DateTime.Parse("7/28/2014 2:00:00 AM", new CultureInfo("en-US")), + StartTime = DateTime.Parse("7/28/2014 1:00:00 AM"), + EndTime = DateTime.Parse("7/28/2014 2:00:00 AM"), Values = new List { new MetricSample { - TimeCreated = DateTime.Parse("7/28/2014 1:00:00 AM", new CultureInfo("en-US")), + TimeCreated = DateTime.Parse("7/28/2014 1:00:00 AM"), Total = 201, } } diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config index 3b396289f92e..de0b4267b369 100644 --- a/src/ServiceManagement/Services/Commands.Test/packages.config +++ b/src/ServiceManagement/Services/Commands.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj index 16d13dc072a3..f59e6bebdfac 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj +++ b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj @@ -64,7 +64,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs index 16e892e4219b..98f9c4b7cf01 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs @@ -12,24 +12,25 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Management.Automation; +using System.Management.Automation.Runspaces; +using System.ServiceModel; +using System.ServiceModel.Dispatcher; using AutoMapper; -using Hyak.Common; -using Microsoft.Azure; -using Microsoft.Azure.Common.Authentication; -using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Management; using Microsoft.WindowsAzure.Management.Compute; using Microsoft.WindowsAzure.Management.Network; using Microsoft.WindowsAzure.Management.Storage; -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Management.Automation.Runspaces; -using System.ServiceModel; -using System.ServiceModel.Dispatcher; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure; +using Hyak.Common; namespace Microsoft.WindowsAzure.Commands.Utilities.Common { @@ -88,53 +89,104 @@ public NetworkManagementClient NetworkClient protected override void InitChannelCurrentSubscription(bool force) { - // Do nothing for service management based cmdlets } - protected OperationStatusResponse GetOperation(string operationId) + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification = "Disposing the client would also dispose the channel we are returning.")] + protected override IServiceManagement CreateChannel() { - OperationStatusResponse operation = null; + // If ShareChannel is set by a unit test, use the same channel that + // was passed into out constructor. This allows the test to submit + // a mock that we use for all network calls. + if (ShareChannel) + { + return Channel; + } - try + var messageInspectors = new List { - operation = this.ManagementClient.GetOperationStatus(operationId); + new ServiceManagementClientOutputMessageInspector(), + new HttpRestMessageInspector(this.WriteDebug) + }; - if (operation.Status == OperationStatus.Failed) + /* + var clientOptions = new ServiceManagementClientOptions(null, null, null, 0, RetryPolicy.NoRetryPolicy, ServiceManagementClientOptions.DefaultOptions.WaitTimeForOperationToComplete, messageInspectors); + var smClient = new ServiceManagementClient(new Uri(this.ServiceEndpoint), CurrentContext.Subscription.SubscriptionId, CurrentContext.Subscription.Certificate, clientOptions); + + Type serviceManagementClientType = typeof(ServiceManagementClient); + PropertyInfo propertyInfo = serviceManagementClientType.GetProperty("SyncService", BindingFlags.Instance | BindingFlags.NonPublic); + var syncService = (IServiceManagement)propertyInfo.GetValue(smClient, null); + + return syncService; + */ + return null; + } + + /// + /// Invoke the given operation within an OperationContextScope if the + /// channel supports it. + /// + /// The action to invoke. + protected override void InvokeInOperationContext(Action action) + { + IContextChannel contextChannel = ToContextChannel(); + if (contextChannel != null) + { + using (new OperationContextScope(contextChannel)) { - var errorMessage = string.Format(CultureInfo.InvariantCulture, "{0}: {1}", operation.Status, operation.Error.Message); - throw new Exception(errorMessage); + action(); } } - catch (AggregateException ex) + else { - if (ex.InnerException is CloudException) - { - WriteExceptionError(ex.InnerException); - } - else - { - WriteExceptionError(ex); - } + action(); + } + } + + protected virtual IContextChannel ToContextChannel() + { + try + { + //return Channel.ToContextChannel(); + return null; } - catch (Exception ex) + catch (Exception) { - WriteExceptionError(ex); + return null; } + } - return operation; + protected virtual void WriteExceptionDetails(Exception exception) + { + if (CommandRuntime != null) + { + WriteError(new ErrorRecord(exception, string.Empty, ErrorCategory.CloseError, null)); + } + } + + protected OperationStatusResponse GetOperationStatusNewSM(string operationId) + { + OperationStatusResponse response = this.ManagementClient.GetOperationStatus(operationId); + return response; } - protected OperationStatusResponse GetOperation(AzureOperationResponse result) + protected OperationStatusResponse GetOperationNewSM(string operationId) { - OperationStatusResponse operation; + OperationStatusResponse operation = null; - if (result is OperationStatusResponse) + try { - operation = result as OperationStatusResponse; + operation = GetOperationStatusNewSM(operationId); + + if (operation.Status == OperationStatus.Failed) + { + var errorMessage = string.Format(CultureInfo.InvariantCulture, "{0}: {1}", operation.Status, operation.Error.Message); + var exception = new Exception(errorMessage); + WriteError(new ErrorRecord(exception, string.Empty, ErrorCategory.CloseError, null)); + } } - else + catch (AggregateException ex) { - operation = result == null ? null : GetOperation(result.RequestId); + WriteExceptionDetails(ex); } return operation; @@ -143,32 +195,70 @@ protected OperationStatusResponse GetOperation(AzureOperationResponse result) //TODO: Input argument is not used and should probably be removed. protected void ExecuteClientActionNewSM(object input, string operationDescription, Func action, Func contextFactory) where TResult : AzureOperationResponse { - WriteVerboseWithTimestamp(Resources.ServiceManagementExecuteClientActionInOCSBeginOperation, operationDescription); + ExecuteClientActionNewSM(input, operationDescription, action, null, contextFactory); + } + protected void ExecuteClientActionNewSM(object input, string operationDescription, Func action, Func waitOperation, Func contextFactory) where TResult : AzureOperationResponse + { + TResult result = null; + OperationStatusResponse operation = null; + WriteVerboseWithTimestamp(string.Format(Resources.ServiceManagementExecuteClientActionInOCSBeginOperation, operationDescription)); try { try { - TResult result = action(); - OperationStatusResponse operation = GetOperation(result); - - var context = contextFactory(operation, result); - if (context != null) + try { - WriteObject(context, true); + result = action(); + } + catch (CloudException ce) + { + throw new ComputeCloudException(ce); } } - catch (CloudException ce) + catch (Exception ex) { - throw new ComputeCloudException(ce); + WriteExceptionError(ex); + } + + if (result is OperationStatusResponse) + { + operation = result as OperationStatusResponse; + } + else + { + if (waitOperation == null) + { + operation = result == null ? null : GetOperationNewSM(result.RequestId); + } + else + { + operation = result == null ? null : waitOperation(result.RequestId, operationDescription); + } } } - catch (Exception ex) + catch (AggregateException ex) { - WriteExceptionError(ex); + if (ex.InnerException is CloudException) + { + WriteExceptionDetails(ex.InnerException); + } + else + { + WriteExceptionDetails(ex); + } } - WriteVerboseWithTimestamp(Resources.ServiceManagementExecuteClientActionInOCSCompletedOperation, operationDescription); + WriteVerboseWithTimestamp(string.Format(Resources.ServiceManagementExecuteClientActionInOCSCompletedOperation, operationDescription)); + + if (result != null) + { + var context = contextFactory(operation, result); + if (context != null) + { + WriteObject(context, true); + } + } } protected void ExecuteClientActionNewSM(object input, string operationDescription, Func action) where TResult : AzureOperationResponse @@ -176,13 +266,12 @@ protected void ExecuteClientActionNewSM(object input, string operationD this.ExecuteClientActionNewSM(input, operationDescription, action, (s, response) => this.ContextFactory(response, s)); } - protected TDestination ContextFactory(TSource s1, OperationStatusResponse s2) where TDestination : ManagementOperationContext + protected T2 ContextFactory(T1 source, OperationStatusResponse response) where T2 : ManagementOperationContext { - TDestination result = Mapper.Map(s1); - result = Mapper.Map(s2, result); - result.OperationDescription = CommandRuntime.ToString(); - - return result; + var context = Mapper.Map(source); + context = Mapper.Map(response, context); + context.OperationDescription = CommandRuntime.ToString(); + return context; } } } \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs index ae9ab3488172..65ddcc09af41 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs @@ -178,7 +178,7 @@ public PSJobDetail CreateStorageJob(PSCreateJobParams jobRequest, out string sta Type = JobActionType.StorageQueue, QueueMessage = new JobQueueMessage { - Message = jobRequest.StorageQueueMessage ?? string.Empty, + Message = jobRequest.Body ?? string.Empty, StorageAccountName = jobRequest.StorageAccount, QueueName = jobRequest.QueueName, SasToken = jobRequest.SasToken diff --git a/src/ServiceManagement/Services/Commands.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Utilities/packages.config index 733f208479f1..936e405db3c8 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/packages.config +++ b/src/ServiceManagement/Services/Commands.Utilities/packages.config @@ -3,7 +3,7 @@ - + diff --git a/src/ServiceManagement/Services/Commands/Commands.csproj b/src/ServiceManagement/Services/Commands/Commands.csproj index ab38c16a6b5e..051683376865 100644 --- a/src/ServiceManagement/Services/Commands/Commands.csproj +++ b/src/ServiceManagement/Services/Commands/Commands.csproj @@ -62,7 +62,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Services/Commands/packages.config b/src/ServiceManagement/Services/Commands/packages.config index 811f6e6bd8a5..5716d7fe97a7 100644 --- a/src/ServiceManagement/Services/Commands/packages.config +++ b/src/ServiceManagement/Services/Commands/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj index d2e4782dcd98..e71c2a491f9a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj @@ -58,7 +58,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config index 4f157cb1598d..5bf61b7d300a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj index 6d20a5058373..14e64f2d55af 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj @@ -59,7 +59,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config index 307afa307d9e..d0ee1133035a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/app.config b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/App.config similarity index 100% rename from src/ServiceManagement/StorSimple/Commands.StorSimple.Test/app.config rename to src/ServiceManagement/StorSimple/Commands.StorSimple.Test/App.config diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj index b90fb1a081f1..25c3e3ea1040 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj @@ -41,7 +41,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config index 5b5ea216f065..b6bf033ab2dd 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ConfirmAzureStorSimpleLegacyVolumeContainerStatus.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ConfirmAzureStorSimpleLegacyVolumeContainerStatus.cs index 89e60b04dd1d..5e721402a876 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ConfirmAzureStorSimpleLegacyVolumeContainerStatus.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ConfirmAzureStorSimpleLegacyVolumeContainerStatus.cs @@ -34,43 +34,20 @@ public class ConfirmAzureStorSimpleLegacyVolumeContainerStatus : StorSimpleCmdle [ValidateSet("Commit", "Rollback", IgnoreCase = true)] public string MigrationOperation { get; set; } - [Parameter(Mandatory = true, Position = 2, ParameterSetName = StorSimpleCmdletParameterSet.MigrateSpecificContainer, + [Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.MigrationLegacyDataContainers)] public string[] LegacyContainerNames { get; set; } - [Parameter(Mandatory = true, Position = 2, ParameterSetName = StorSimpleCmdletParameterSet.MigrateAllContainer, - HelpMessage = StorSimpleCmdletHelpMessage.MigrationAllContainers)] - public SwitchParameter All { get; set; } - public override void ExecuteCmdlet() { try { var confirmMigrationRequest = new MigrationConfirmStatusRequest(); confirmMigrationRequest.Operation = - (MigrationOperation)Enum.Parse(typeof(MigrationOperation), MigrationOperation, true); - switch (ParameterSetName) - { - case StorSimpleCmdletParameterSet.MigrateAllContainer: - { - confirmMigrationRequest.DataContainerNameList = new List(); - break; - } - case StorSimpleCmdletParameterSet.MigrateSpecificContainer: - { - confirmMigrationRequest.DataContainerNameList = - new List(LegacyContainerNames.ToList().Distinct( - StringComparer.InvariantCultureIgnoreCase)); - break; - } - default: - { - // unexpected code path hit. - throw new ParameterBindingException( - string.Format(Resources.MigrationParameterSetNotFound, ParameterSetName)); - } - } - + (MigrationOperation) Enum.Parse(typeof (MigrationOperation), MigrationOperation, true); + confirmMigrationRequest.DataContainerNameList = (null != LegacyContainerNames) + ? new List(LegacyContainerNames.ToList().Distinct(StringComparer.InvariantCultureIgnoreCase)) + : new List(); var status = StorSimpleClient.ConfirmLegacyVolumeContainerStatus(LegacyConfigId, confirmMigrationRequest); MigrationCommonModelFormatter opFormatter = new MigrationCommonModelFormatter(); WriteObject(opFormatter.GetResultMessage(Resources.ConfirmMigrationSuccessMessage, status)); diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerConfirmStatus.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerConfirmStatus.cs index f940a810d2eb..a2cff4a53fde 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerConfirmStatus.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerConfirmStatus.cs @@ -19,8 +19,7 @@ namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets { - [Cmdlet(VerbsCommon.Get, "AzureStorSimpleLegacyVolumeContainerConfirmStatus"), - OutputType(typeof(ConfirmMigrationStatusMsg))] + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleLegacyVolumeContainerConfirmStatus")] public class GetAzureStorSimpleLegacyVolumeContainerConfirmStatus : StorSimpleCmdletBase { [Parameter(Mandatory = true, Position = 0, HelpMessage = StorSimpleCmdletHelpMessage.MigrationConfigId)] diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs index 1c42e608be1e..66b4eab25400 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs @@ -21,8 +21,7 @@ namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets { - [Cmdlet(VerbsCommon.Get, "AzureStorSimpleLegacyVolumeContainerMigrationPlan"), - OutputType(typeof(MigrationConfig), typeof(MigrationPlanMsg))] + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleLegacyVolumeContainerMigrationPlan"), OutputType(typeof(MigrationConfig), typeof(MigrationPlanMsg))] public class GetAzureStorSimpleLegacyVolumeContainerMigrationPlan : StorSimpleCmdletBase { [Parameter(Mandatory = false, Position = 0, HelpMessage = StorSimpleCmdletHelpMessage.MigrationConfigId)] diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerStatus.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerStatus.cs index 7d19d1f048c2..89c50aebd6e9 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerStatus.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/GetAzureStorSimpleLegacyVolumeContainerStatus.cs @@ -20,8 +20,7 @@ namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets { - [Cmdlet(VerbsCommon.Get, "AzureStorSimpleLegacyVolumeContainerStatus"), - OutputType(typeof(DataContainerMigrationStatus))] + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleLegacyVolumeContainerStatus")] public class GetAzureStorSimpleLegacyVolumeContainerStatus : StorSimpleCmdletBase { [Parameter(Mandatory = true, Position = 0, HelpMessage = StorSimpleCmdletHelpMessage.MigrationConfigId)] diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyApplianceConfig.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyApplianceConfig.cs index 0120381bad21..53c10078eb0c 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyApplianceConfig.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyApplianceConfig.cs @@ -22,7 +22,7 @@ namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets { - [Cmdlet(VerbsData.Import, "AzureStorSimpleLegacyApplianceConfig"), OutputType(typeof(LegacyApplianceConfiguration))] + [Cmdlet(VerbsData.Import, "AzureStorSimpleLegacyApplianceConfig")] public class ImportAzureStorSimpleLegacyApplianceConfig : StorSimpleCmdletBase { @@ -99,11 +99,11 @@ public override void ExecuteCmdlet() internal override void HandleException(Exception exception) { // Parser throws missing member exception if any expected fields are missing, handling this as special case. - if (typeof(MissingMemberException) == exception.GetType()) + if (typeof (MissingMemberException) == exception.GetType()) { WriteError(new ErrorRecord(exception, string.Empty, ErrorCategory.ParserError, null)); } - else if (typeof(CryptographicException) == exception.GetType()) + else if (typeof (CryptographicException) == exception.GetType()) { WriteError( new ErrorRecord( diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyVolumeContainer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyVolumeContainer.cs index 5093f0dba8a7..7082efddeb82 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyVolumeContainer.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/ImportAzureStorSimpleLegacyVolumeContainer.cs @@ -29,14 +29,10 @@ public class ImportAzureStorSimpleLegacyVolumeContainer : StorSimpleCmdletBase [ValidateNotNullOrEmpty] public string LegacyConfigId { get; set; } - [Parameter(Mandatory = true, Position = 1, ParameterSetName = StorSimpleCmdletParameterSet.MigrateSpecificContainer, + [Parameter(Mandatory = false, Position = 1, HelpMessage = StorSimpleCmdletHelpMessage.MigrationLegacyDataContainers)] public string[] LegacyContainerNames { get; set; } - [Parameter(Mandatory = true, Position = 1, ParameterSetName = StorSimpleCmdletParameterSet.MigrateAllContainer, - HelpMessage = StorSimpleCmdletHelpMessage.MigrationAllContainers)] - public SwitchParameter All { get; set; } - [Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.MigrationImportDCWithSkipACRs)] public SwitchParameter SkipACRs { get; set; } @@ -49,28 +45,9 @@ public override void ExecuteCmdlet() try { var importDataContainerRequest = new MigrationImportDataContainerRequest(); - switch (ParameterSetName) - { - case StorSimpleCmdletParameterSet.MigrateAllContainer: - { - importDataContainerRequest.DataContainerNames = new List(); - break; - } - case StorSimpleCmdletParameterSet.MigrateSpecificContainer: - { - importDataContainerRequest.DataContainerNames = - new List(LegacyContainerNames.ToList().Distinct( - StringComparer.InvariantCultureIgnoreCase)); - break; - } - default: - { - // unexpected code path. - throw new ParameterBindingException( - string.Format(Resources.MigrationParameterSetNotFound, ParameterSetName)); - } - } - + importDataContainerRequest.DataContainerNames = (null != LegacyContainerNames) + ? new List(LegacyContainerNames.ToList().Distinct(StringComparer.InvariantCultureIgnoreCase)) + : new List(); importDataContainerRequest.ForceOnOtherDevice = Force.IsPresent; importDataContainerRequest.SkipACRs = SkipACRs.IsPresent; diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/StartAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/StartAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs index 1323dd25535f..47ab96aee685 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/StartAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Migration/StartAzureStorSimpleLegacyVolumeContainerMigrationPlan.cs @@ -29,41 +29,19 @@ public class StartAzureStorSimpleLegacyVolumeContainerMigrationPlan : StorSimple [ValidateNotNullOrEmpty] public string LegacyConfigId { get; set; } - [Parameter(Mandatory = true, Position = 1, ParameterSetName = StorSimpleCmdletParameterSet.MigrateSpecificContainer, + [Parameter(Mandatory = false, Position = 1, HelpMessage = StorSimpleCmdletHelpMessage.MigrationLegacyDataContainers)] public string[] LegacyContainerNames { get; set; } - [Parameter(Mandatory = true, Position = 1, ParameterSetName = StorSimpleCmdletParameterSet.MigrateAllContainer, - HelpMessage = StorSimpleCmdletHelpMessage.MigrationAllContainers)] - public SwitchParameter All { get; set; } - public override void ExecuteCmdlet() { try { var startMigrationPlanRequest = new MigrationPlanStartRequest(); startMigrationPlanRequest.ConfigId = LegacyConfigId; - switch (ParameterSetName) - { - case StorSimpleCmdletParameterSet.MigrateAllContainer: - { - startMigrationPlanRequest.DataContainerNameList = new List(); - break; - } - case StorSimpleCmdletParameterSet.MigrateSpecificContainer: - { - startMigrationPlanRequest.DataContainerNameList = - new List(LegacyContainerNames.ToList().Distinct( - StringComparer.InvariantCultureIgnoreCase)); - break; - } - default: - { - // unexpected code path hit. - throw new ParameterBindingException( - string.Format(Resources.MigrationParameterSetNotFound, ParameterSetName)); - } - } + startMigrationPlanRequest.DataContainerNameList = (null != LegacyContainerNames) + ? new List(LegacyContainerNames.ToList().Distinct(StringComparer.InvariantCultureIgnoreCase)) + : new List(); var status = StorSimpleClient.StartLegacyVolumeContainerMigrationPlan(startMigrationPlanRequest); MigrationCommonModelFormatter opFormatter = new MigrationCommonModelFormatter(); diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj b/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj index bbe8c4776a13..621bf13cee38 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj @@ -51,7 +51,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs index 786eec13e779..66ffa45e3568 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs @@ -399,7 +399,7 @@ internal static string FoundVolumeMessage { internal static string ImportLegacyApplianceConfigSuccessMessage { get { return ResourceManager.GetString("ImportLegacyApplianceConfigSuccessMessage", resourceCulture); - } + } } /// @@ -609,15 +609,6 @@ internal static string MigrationMsgUploadingConfig { } } - /// - /// Looks up a localized string similar to Parameter set cannot be resolved using the specified named parameters {0}. - /// - internal static string MigrationParameterSetNotFound { - get { - return ResourceManager.GetString("MigrationParameterSetNotFound", resourceCulture); - } - } - /// /// Looks up a localized string similar to No ConfigFile imported.. /// diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx index af80362811ab..a445ce76dbf3 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx @@ -571,7 +571,4 @@ a special character No migration plan found corresponding to the LegacyConfigId. - - Parameter set cannot be resolved using the specified named parameters {0} - \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs index f8c045fa864b..8b84bbc19730 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs @@ -127,7 +127,6 @@ internal static class StorSimpleCmdletHelpMessage public const string MigrationTargetDevice = "The target appliance to which migration needs to be performed"; public const string MigrationConfigDecryptionKey = "The key to decrypt the legacy appliance config file"; public const string MigrationLegacyDataContainers = "Names of data containers to be migrated seperated by ','"; - public const string MigrationAllContainers = "All data containers will be considered for migration"; public const string MigrationConfigId = "Legacy config id"; public const string MigrationOperation = "Commit or Rollback"; public const string MigrationImportDCByForce = "Force import data container on a different device even if data container has been imported on a different device"; diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs index 75f325a0b76e..08e1dc8a751e 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs @@ -28,7 +28,5 @@ internal static class StorSimpleCmdletParameterSet public const string IdentifyByStatus = "IdentifyByStatus"; public const string UseExistingStorageAccount = "UseExistingStorageAccount"; public const string CreateNewStorageAccount = "CreateNewStorageAccount"; - public const string MigrateAllContainer = "MigrateAllContainer"; - public const string MigrateSpecificContainer = "MigrateSpecificContainer"; } } diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config b/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config index 8d446b9a1df9..783dac7853a9 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj b/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj index 840a2fe4afc2..4c872498a980 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj @@ -58,7 +58,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config b/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config index 99375c3f335c..72cca2d2cfb6 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj b/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj index 70e5d047aeed..3a579be0554b 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj @@ -51,7 +51,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False diff --git a/src/ServiceManagement/Storage/Commands.Storage/packages.config b/src/ServiceManagement/Storage/Commands.Storage/packages.config index 74ed56799aa8..55273f33dbe6 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/packages.config +++ b/src/ServiceManagement/Storage/Commands.Storage/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj index ed24ebee5949..221d5b2f5974 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj @@ -45,7 +45,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config index dd3ffaed117b..969924197f3e 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config @@ -2,7 +2,7 @@ - + diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj index 70ce5ef18e87..f85761b87bb1 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj @@ -53,7 +53,7 @@ False - ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.27-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config index f83dc86eaafb..0537910139c6 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config @@ -2,7 +2,7 @@ - +