diff --git a/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/AccountTests.ScenarioTests.cs b/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/AccountTests.ScenarioTests.cs index dc9ce01e1452..77751c539577 100644 --- a/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/AccountTests.ScenarioTests.cs +++ b/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/AccountTests.ScenarioTests.cs @@ -30,10 +30,20 @@ public async Task BatchAccountEndToEndAsync() try { + // Check if the account exists + var checkAvailabilityResult = await this.BatchManagementClient.Location.CheckNameAvailabilityAsync(this.Location, batchAccountName); + Assert.True(checkAvailabilityResult.NameAvailable); + // Create an account BatchAccountCreateParameters createParams = new BatchAccountCreateParameters(this.Location); await this.BatchManagementClient.BatchAccount.CreateAsync(resourceGroupName, batchAccountName, createParams); + // Check if the account exists now + checkAvailabilityResult = await this.BatchManagementClient.Location.CheckNameAvailabilityAsync(this.Location, batchAccountName); + Assert.False(checkAvailabilityResult.NameAvailable); + Assert.NotNull(checkAvailabilityResult.Message); + Assert.NotNull(checkAvailabilityResult.Reason); + // Get the account and verify some properties BatchAccount batchAccount = await this.BatchManagementClient.BatchAccount.GetAsync(resourceGroupName, batchAccountName); Assert.Equal(batchAccountName, batchAccount.Name); diff --git a/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/BatchScenarioTestBase.cs b/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/BatchScenarioTestBase.cs index 288b43dd1363..1024de45dadb 100644 --- a/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/BatchScenarioTestBase.cs +++ b/src/SDKs/Batch/Management/Management.Batch.Tests/ScenarioTests/BatchScenarioTestBase.cs @@ -27,19 +27,46 @@ protected MockContext StartMockContextAndInitializeClients(string className, string methodName = "") { MockContext context = MockContext.Start(className, methodName); - Initialize(context); + this.Location = FindLocation(context); + this.ResourceManagementClient = context.GetServiceClient(); + this.BatchManagementClient = context.GetServiceClient(); return context; } - private void Initialize(MockContext context) + private static string FindLocation(MockContext context) { - this.ResourceManagementClient = context.GetServiceClient(); - this.BatchManagementClient = context.GetServiceClient(); + var resourceManagementClient = context.GetServiceClient(); + Provider provider = resourceManagementClient.Providers.Get("Microsoft.Batch"); + IList locations = provider.ResourceTypes.First(resType => resType.ResourceType == "batchAccounts").Locations; + return locations.First(location => location == "East US"); + } + + // Can be used to find a region to test against, but probably shouldn't record tests that use this as it will leave your subscription account details in the + // logs + private static string FindLocationWithQuotaCheck(MockContext context) + { + var resourceManagementClient = context.GetServiceClient(); + var batchManagementClient = context.GetServiceClient(); + + Provider provider = resourceManagementClient.Providers.Get("Microsoft.Batch"); + IEnumerable locations = provider.ResourceTypes.First(resType => resType.ResourceType == "batchAccounts").Locations.DefaultIfEmpty("westus"); + + var locationQuotaInUse = batchManagementClient.BatchAccount.List().GroupBy(acct => acct.Location).ToDictionary(a => a.Key, x => x.Count()); + + foreach(var location in locations) + { + var transformedLocation = location.Replace(" ", "").ToLower(); + var quotas = batchManagementClient.Location.GetQuotas(location); + int accountsInUse; + locationQuotaInUse.TryGetValue(transformedLocation, out accountsInUse); + if (quotas.AccountQuota - accountsInUse > 0) + { + return location; + } + } - Provider provider = this.ResourceManagementClient.Providers.Get("Microsoft.Batch"); - IList locations = provider.ResourceTypes.Where((resType) => resType.ResourceType == "batchAccounts").First().Locations; - this.Location = locations.DefaultIfEmpty("westus").First(); + throw new ArgumentException("No location found that satisfies quota requirements"); } } } diff --git a/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountCanCreateWithBYOSEnabled.json b/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountCanCreateWithBYOSEnabled.json index 68b1c80453f4..a1665081e860 100644 --- a/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountCanCreateWithBYOSEnabled.json +++ b/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountCanCreateWithBYOSEnabled.json @@ -7,17 +7,17 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7821c3ca-7106-4507-97da-c068f7cc63dc" + "2cb5e5c9-3341-4099-892f-1b6794f23bf2" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"authorization\": {\r\n \"applicationId\": \"ddbf3205-c6bd-46ae-8127-60eb93363864\",\r\n \"roleDefinitionId\": \"b7f84953-1d03-4eab-9ea4-45f065258ff8\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\",\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"authorization\": {\r\n \"applicationId\": \"ddbf3205-c6bd-46ae-8127-60eb93363864\",\r\n \"roleDefinitionId\": \"b7f84953-1d03-4eab-9ea4-45f065258ff8\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\",\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/checkNameAvailability\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:29:52 GMT" + "Tue, 25 Jul 2017 01:05:23 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14993" ], "x-ms-request-id": [ - "b295c52b-65df-40b9-abe5-e439ae591df2" + "3a18430c-7fa7-41e4-9c3d-ed2315cf0258" ], "x-ms-correlation-request-id": [ - "b295c52b-65df-40b9-abe5-e439ae591df2" + "3a18430c-7fa7-41e4-9c3d-ed2315cf0258" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T222953Z:b295c52b-65df-40b9-abe5-e439ae591df2" + "WESTUS:20170725T010524Z:3a18430c-7fa7-41e4-9c3d-ed2315cf0258" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,32 +56,32 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet5480?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ1NDgwP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet40?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ0MD9hcGktdmVyc2lvbj0yMDE2LTAyLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US 2\"\r\n}", + "RequestBody": "{\r\n \"location\": \"East US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "29" ], "x-ms-client-request-id": [ - "c118c01c-1666-4dca-87ab-66888b011f88" + "96dda6e9-eb71-4abe-994f-e9e0fd2a54db" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480\",\r\n \"name\": \"azsmnet5480\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40\",\r\n \"name\": \"azsmnet40\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "176" + "171" ], "Content-Type": [ "application/json; charset=utf-8" @@ -93,22 +93,22 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:03 GMT" + "Tue, 25 Jul 2017 01:05:28 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1199" ], "x-ms-request-id": [ - "32dc5aa1-2420-4278-a1d0-221fcbda0eab" + "b1a483ab-adfd-4ecd-ac7f-dab4abf9f521" ], "x-ms-correlation-request-id": [ - "32dc5aa1-2420-4278-a1d0-221fcbda0eab" + "b1a483ab-adfd-4ecd-ac7f-dab4abf9f521" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223004Z:32dc5aa1-2420-4278-a1d0-221fcbda0eab" + "WESTUS:20170725T010529Z:b1a483ab-adfd-4ecd-ac7f-dab4abf9f521" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -123,14 +123,14 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "670efde0-a88a-4454-8b01-72a4c6715f3a" + "a4dd334c-cac2-4b36-bad2-354eb624dff1" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-10-01\",\r\n \"2015-06-01\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-10-01\",\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/accessPolicies\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-10-01\",\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-10-01\",\r\n \"2015-06-01\",\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-10-01\",\r\n \"2015-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deletedVaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-10-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2016-10-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/deletedVaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-10-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/operationResults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2016-10-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", @@ -145,7 +145,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:05 GMT" + "Tue, 25 Jul 2017 01:05:30 GMT" ], "Pragma": [ "no-cache" @@ -157,16 +157,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1198" ], "x-ms-request-id": [ - "14098882-9ff9-478d-a3ae-e6442d1bf2d6" + "be4ef553-c292-4bd7-b41b-92d066467665" ], "x-ms-correlation-request-id": [ - "14098882-9ff9-478d-a3ae-e6442d1bf2d6" + "be4ef553-c292-4bd7-b41b-92d066467665" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223006Z:14098882-9ff9-478d-a3ae-e6442d1bf2d6" + "WESTUS:20170725T010531Z:be4ef553-c292-4bd7-b41b-92d066467665" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -175,29 +175,29 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet5480/providers/Microsoft.KeyVault//vaults/azsmnet6718?api-version=2015-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ1NDgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuS2V5VmF1bHQvL3ZhdWx0cy9henNtbmV0NjcxOD9hcGktdmVyc2lvbj0yMDE1LTA2LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet40/providers/Microsoft.KeyVault//vaults/azsmnet7998?api-version=2015-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ0MC9wcm92aWRlcnMvTWljcm9zb2Z0LktleVZhdWx0Ly92YXVsdHMvYXpzbW5ldDc5OTg/YXBpLXZlcnNpb249MjAxNS0wNi0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"sku\": {\r\n \"family\": \"A\",\r\n \"name\": \"standard\"\r\n },\r\n \"accessPolicies\": [\r\n {\r\n \"objectId\": \"f520d84c-3fd3-4cc8-88d4-2ed25b00d27a\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"permissions\": {\r\n \"secrets\": [\r\n \"All\"\r\n ],\r\n \"keys\": [\r\n \"All\"\r\n ]\r\n }\r\n }\r\n ],\r\n \"enabledForDeployment\": true,\r\n \"enabledForTemplateDeployment\": true,\r\n \"enabledForDiskEncryption\": true\r\n },\r\n \"location\": \"East US 2\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"sku\": {\r\n \"family\": \"A\",\r\n \"name\": \"standard\"\r\n },\r\n \"accessPolicies\": [\r\n {\r\n \"objectId\": \"f520d84c-3fd3-4cc8-88d4-2ed25b00d27a\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"permissions\": {\r\n \"secrets\": [\r\n \"All\"\r\n ],\r\n \"keys\": [\r\n \"All\"\r\n ]\r\n }\r\n }\r\n ],\r\n \"enabledForDeployment\": true,\r\n \"enabledForTemplateDeployment\": true,\r\n \"enabledForDiskEncryption\": true\r\n },\r\n \"location\": \"East US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "619" + "617" ], "x-ms-client-request-id": [ - "8b224d6f-261b-459c-ab52-fa425dd8dbd0" + "ceb00fd7-f3da-422e-8c93-b17ae1441be3" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.KeyVault/vaults/azsmnet6718\",\r\n \"name\": \"azsmnet6718\",\r\n \"type\": \"Microsoft.KeyVault/vaults\",\r\n \"location\": \"East US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sku\": {\r\n \"family\": \"A\",\r\n \"name\": \"standard\"\r\n },\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"accessPolicies\": [\r\n {\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"objectId\": \"f520d84c-3fd3-4cc8-88d4-2ed25b00d27a\",\r\n \"permissions\": {\r\n \"secrets\": [\r\n \"All\"\r\n ],\r\n \"keys\": [\r\n \"All\"\r\n ]\r\n }\r\n }\r\n ],\r\n \"enabledForDeployment\": true,\r\n \"enabledForDiskEncryption\": true,\r\n \"enabledForTemplateDeployment\": true,\r\n \"vaultUri\": \"https://azsmnet6718.vault.azure.net\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.KeyVault/vaults/azsmnet7998\",\r\n \"name\": \"azsmnet7998\",\r\n \"type\": \"Microsoft.KeyVault/vaults\",\r\n \"location\": \"East US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sku\": {\r\n \"family\": \"A\",\r\n \"name\": \"standard\"\r\n },\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"accessPolicies\": [\r\n {\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"objectId\": \"f520d84c-3fd3-4cc8-88d4-2ed25b00d27a\",\r\n \"permissions\": {\r\n \"secrets\": [\r\n \"All\"\r\n ],\r\n \"keys\": [\r\n \"All\"\r\n ]\r\n }\r\n }\r\n ],\r\n \"enabledForDeployment\": true,\r\n \"enabledForDiskEncryption\": true,\r\n \"enabledForTemplateDeployment\": true,\r\n \"vaultUri\": \"https://azsmnet7998.vault.azure.net\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -209,7 +209,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:07 GMT" + "Tue, 25 Jul 2017 01:05:32 GMT" ], "Pragma": [ "no-cache" @@ -224,7 +224,7 @@ "Accept-Encoding" ], "x-ms-keyvault-service-version": [ - "1.0.0.157" + "1.0.0.178" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -239,41 +239,41 @@ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1197" ], "x-ms-request-id": [ - "6d820189-6bf1-4786-98a8-53e29cb32276" + "b10c7180-d994-4758-b587-63a3318f1325" ], "x-ms-correlation-request-id": [ - "6d820189-6bf1-4786-98a8-53e29cb32276" + "b10c7180-d994-4758-b587-63a3318f1325" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223008Z:6d820189-6bf1-4786-98a8-53e29cb32276" + "WESTUS:20170725T010533Z:b10c7180-d994-4758-b587-63a3318f1325" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.Batch/batchAccounts/azsmnet7954?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ1NDgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0Nzk1ND9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.Batch/batchAccounts/azsmnet1076?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ0MC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvYXpzbW5ldDEwNzY/YXBpLXZlcnNpb249MjAxNy0wNS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US 2\",\r\n \"properties\": {\r\n \"poolAllocationMode\": \"UserSubscription\",\r\n \"keyVaultReference\": {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.KeyVault/vaults/azsmnet6718\",\r\n \"url\": \"https://azsmnet6718.vault.azure.net/\"\r\n }\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"poolAllocationMode\": \"UserSubscription\",\r\n \"keyVaultReference\": {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.KeyVault/vaults/azsmnet7998\",\r\n \"url\": \"https://azsmnet7998.vault.azure.net/\"\r\n }\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "334" + "330" ], "x-ms-client-request-id": [ - "5f9dda6d-e68b-477e-bdca-5604297292ba" + "6d87b2d8-6619-470f-a0a9-6bb28c3388f1" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, "ResponseBody": "", @@ -288,13 +288,13 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:11 GMT" + "Tue, 25 Jul 2017 01:05:38 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.Batch/batchAccounts/azsmnet7954/operationResults/e89fbeee-5952-4caa-87e5-ce6f60cf801b?api-version=2017-05-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.Batch/batchAccounts/azsmnet1076/operationResults/60b17b39-2b06-4a62-80ec-cb0ce4ea98ef?api-version=2017-05-01" ], "Retry-After": [ "15" @@ -302,8 +302,8 @@ "Server": [ "Microsoft-HTTPAPI/2.0" ], - "request-id": [ - "e89fbeee-5952-4caa-87e5-ce6f60cf801b" + "x-ms-request-id": [ + "60b17b39-2b06-4a62-80ec-cb0ce4ea98ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -312,32 +312,29 @@ "nosniff" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-request-id": [ - "3b0e6da1-053f-4d40-bbbe-a97a521d97c9" + "1199" ], "x-ms-correlation-request-id": [ - "3b0e6da1-053f-4d40-bbbe-a97a521d97c9" + "787b7ce6-0c85-459f-a691-22fac0be233b" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223012Z:3b0e6da1-053f-4d40-bbbe-a97a521d97c9" + "WESTUS:20170725T010538Z:787b7ce6-0c85-459f-a691-22fac0be233b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.Batch/batchAccounts/azsmnet7954/operationResults/e89fbeee-5952-4caa-87e5-ce6f60cf801b?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ1NDgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0Nzk1NC9vcGVyYXRpb25SZXN1bHRzL2U4OWZiZWVlLTU5NTItNGNhYS04N2U1LWNlNmY2MGNmODAxYj9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.Batch/batchAccounts/azsmnet1076/operationResults/60b17b39-2b06-4a62-80ec-cb0ce4ea98ef?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ0MC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvYXpzbW5ldDEwNzYvb3BlcmF0aW9uUmVzdWx0cy82MGIxN2IzOS0yYjA2LTRhNjItODBlYy1jYjBjZTRlYTk4ZWY/YXBpLXZlcnNpb249MjAxNy0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.Batch/batchAccounts/azsmnet7954\",\r\n \"name\": \"azsmnet7954\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet7954.eastus2.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 2147483647,\r\n \"lowPriorityCoreQuota\": 0,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"usersubscription\",\r\n \"keyVaultReference\": {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.KeyVault/vaults/azsmnet6718\",\r\n \"url\": \"https://azsmnet6718.vault.azure.net/\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.Batch/batchAccounts/azsmnet1076\",\r\n \"name\": \"azsmnet1076\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet1076.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 2147483647,\r\n \"lowPriorityCoreQuota\": 0,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"usersubscription\",\r\n \"keyVaultReference\": {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.KeyVault/vaults/azsmnet7998\",\r\n \"url\": \"https://azsmnet7998.vault.azure.net/\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -346,13 +343,13 @@ "-1" ], "Last-Modified": [ - "Tue, 09 May 2017 22:30:44 GMT" + "Tue, 25 Jul 2017 01:06:08 GMT" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:41 GMT" + "Tue, 25 Jul 2017 01:06:08 GMT" ], "Pragma": [ "no-cache" @@ -361,7 +358,7 @@ "chunked" ], "ETag": [ - "\"0x8D4972B0816E549\"" + "\"0x8D4D2F9557546C8\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -370,10 +367,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14998" ], - "request-id": [ - "1c353dd5-90c1-4d9c-804d-08847541505d" + "x-ms-request-id": [ + "e00d2424-c231-4142-9d8a-7ee1f6c9b490" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -381,36 +378,33 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "b62b6c64-58ad-4e36-ad5e-687d1c6ecca4" - ], "x-ms-correlation-request-id": [ - "b62b6c64-58ad-4e36-ad5e-687d1c6ecca4" + "a70dceab-2858-44f8-834b-7651c99c985c" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223042Z:b62b6c64-58ad-4e36-ad5e-687d1c6ecca4" + "WESTUS:20170725T010608Z:a70dceab-2858-44f8-834b-7651c99c985c" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.Batch/batchAccounts/azsmnet7954?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ1NDgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0Nzk1ND9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.Batch/batchAccounts/azsmnet1076?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ0MC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvYXpzbW5ldDEwNzY/YXBpLXZlcnNpb249MjAxNy0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b045c823-0509-4113-ad02-1c17c8888370" + "a8ee55f5-996e-4612-ad65-4e0144024283" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.Batch/batchAccounts/azsmnet7954\",\r\n \"name\": \"azsmnet7954\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet7954.eastus2.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 2147483647,\r\n \"lowPriorityCoreQuota\": 0,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"usersubscription\",\r\n \"keyVaultReference\": {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet5480/providers/Microsoft.KeyVault/vaults/azsmnet6718\",\r\n \"url\": \"https://azsmnet6718.vault.azure.net/\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.Batch/batchAccounts/azsmnet1076\",\r\n \"name\": \"azsmnet1076\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet1076.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 2147483647,\r\n \"lowPriorityCoreQuota\": 0,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"usersubscription\",\r\n \"keyVaultReference\": {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet40/providers/Microsoft.KeyVault/vaults/azsmnet7998\",\r\n \"url\": \"https://azsmnet7998.vault.azure.net/\"\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -419,13 +413,13 @@ "-1" ], "Last-Modified": [ - "Tue, 09 May 2017 22:30:11 GMT" + "Tue, 25 Jul 2017 01:05:37 GMT" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:41 GMT" + "Tue, 25 Jul 2017 01:06:08 GMT" ], "Pragma": [ "no-cache" @@ -434,7 +428,7 @@ "chunked" ], "ETag": [ - "\"0x8D4972AF472F118\"" + "\"0x8D4D2F9430FE5D9\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -443,10 +437,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14997" ], - "request-id": [ - "4da77f0e-597b-47ce-b457-f6600c5be696" + "x-ms-request-id": [ + "ef0730a2-2809-4865-8e8e-12a03b0cd944" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -454,33 +448,30 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "a4bb421e-a179-4081-9916-359e65ecffae" - ], "x-ms-correlation-request-id": [ - "a4bb421e-a179-4081-9916-359e65ecffae" + "7d5915b0-089f-4691-bd06-edf02c075f56" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223042Z:a4bb421e-a179-4081-9916-359e65ecffae" + "WESTUS:20170725T010609Z:7d5915b0-089f-4691-bd06-edf02c075f56" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet5480?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ1NDgwP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet40?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ0MD9hcGktdmVyc2lvbj0yMDE2LTAyLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "af24a7e2-25b4-4c40-8733-e2ecea75aae9" + "d7295fa8-dbd4-47a6-8a35-d0a9b6c7b549" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -495,28 +486,28 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:30:43 GMT" + "Tue, 25 Jul 2017 01:06:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1196" ], "x-ms-request-id": [ - "809af990-e2c2-495d-becf-2d1a0c5e68b4" + "90c5c681-ec20-4000-8879-741f668cc87f" ], "x-ms-correlation-request-id": [ - "809af990-e2c2-495d-becf-2d1a0c5e68b4" + "90c5c681-ec20-4000-8879-741f668cc87f" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223043Z:809af990-e2c2-495d-becf-2d1a0c5e68b4" + "WESTUS:20170725T010610Z:90c5c681-ec20-4000-8879-741f668cc87f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -525,14 +516,14 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOVFE0TUMxRlFWTlVWVk15SWl3aWFtOWlURzlqWVhScGIyNGlPaUpsWVhOMGRYTXlJbjA/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOREF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -547,28 +538,28 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:31:13 GMT" + "Tue, 25 Jul 2017 01:06:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14995" ], "x-ms-request-id": [ - "c9cc8ef4-e608-4c0e-8598-1bb5a142dc36" + "ad722d60-9ab0-410b-a343-b10b4f41ba5e" ], "x-ms-correlation-request-id": [ - "c9cc8ef4-e608-4c0e-8598-1bb5a142dc36" + "ad722d60-9ab0-410b-a343-b10b4f41ba5e" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223113Z:c9cc8ef4-e608-4c0e-8598-1bb5a142dc36" + "WESTUS:20170725T010640Z:ad722d60-9ab0-410b-a343-b10b4f41ba5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -577,14 +568,14 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOVFE0TUMxRlFWTlVWVk15SWl3aWFtOWlURzlqWVhScGIyNGlPaUpsWVhOMGRYTXlJbjA/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOREF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -599,28 +590,28 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:31:43 GMT" + "Tue, 25 Jul 2017 01:07:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14994" ], "x-ms-request-id": [ - "84eb81fd-051a-48cd-9a4f-31f1d1bc4ae3" + "3ce12256-e775-47d9-b12e-ece3d1b748b5" ], "x-ms-correlation-request-id": [ - "84eb81fd-051a-48cd-9a4f-31f1d1bc4ae3" + "3ce12256-e775-47d9-b12e-ece3d1b748b5" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223143Z:84eb81fd-051a-48cd-9a4f-31f1d1bc4ae3" + "WESTUS:20170725T010710Z:3ce12256-e775-47d9-b12e-ece3d1b748b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -629,14 +620,14 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOVFE0TUMxRlFWTlVWVk15SWl3aWFtOWlURzlqWVhScGIyNGlPaUpsWVhOMGRYTXlJbjA/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOREF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -651,28 +642,28 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:32:13 GMT" + "Tue, 25 Jul 2017 01:07:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14993" ], "x-ms-request-id": [ - "274ca2e3-6c65-4fa4-a6e9-cc39c8959055" + "fc83fbed-9b20-4672-8c88-6d94e70aabf2" ], "x-ms-correlation-request-id": [ - "274ca2e3-6c65-4fa4-a6e9-cc39c8959055" + "fc83fbed-9b20-4672-8c88-6d94e70aabf2" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223214Z:274ca2e3-6c65-4fa4-a6e9-cc39c8959055" + "WESTUS:20170725T010740Z:fc83fbed-9b20-4672-8c88-6d94e70aabf2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -681,14 +672,14 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNTQ4MC1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOVFE0TUMxRlFWTlVWVk15SWl3aWFtOWlURzlqWVhScGIyNGlPaUpsWVhOMGRYTXlJbjA/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUNDAtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVOREF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -703,22 +694,22 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:32:43 GMT" + "Tue, 25 Jul 2017 01:08:09 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14992" ], "x-ms-request-id": [ - "cc14eebd-c239-42b0-877c-153783ca60c1" + "3ab19682-780e-4d9d-a4be-81734f60e11e" ], "x-ms-correlation-request-id": [ - "cc14eebd-c239-42b0-877c-153783ca60c1" + "3ab19682-780e-4d9d-a4be-81734f60e11e" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T223244Z:cc14eebd-c239-42b0-877c-153783ca60c1" + "WESTUS:20170725T010810Z:3ab19682-780e-4d9d-a4be-81734f60e11e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -729,9 +720,9 @@ ], "Names": { "BatchAccountCanCreateWithBYOSEnabled": [ - "azsmnet5480", - "azsmnet7954", - "azsmnet6718" + "azsmnet40", + "azsmnet1076", + "azsmnet7998" ] }, "Variables": { diff --git a/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountEndToEndAsync.json b/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountEndToEndAsync.json index 591f24784a1c..0351ba413a2a 100644 --- a/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountEndToEndAsync.json +++ b/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.AccountTests/BatchAccountEndToEndAsync.json @@ -7,17 +7,17 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "79ffed67-3019-4b41-b9fe-0a465f9d7d3c" + "5f36c9de-d7bc-483a-8b6b-373c8f922e6d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"authorization\": {\r\n \"applicationId\": \"ddbf3205-c6bd-46ae-8127-60eb93363864\",\r\n \"roleDefinitionId\": \"b7f84953-1d03-4eab-9ea4-45f065258ff8\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\",\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"authorization\": {\r\n \"applicationId\": \"ddbf3205-c6bd-46ae-8127-60eb93363864\",\r\n \"roleDefinitionId\": \"b7f84953-1d03-4eab-9ea4-45f065258ff8\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\",\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/checkNameAvailability\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:18:19 GMT" + "Tue, 25 Jul 2017 01:03:10 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14996" ], "x-ms-request-id": [ - "17ed3723-a842-4a13-8eeb-93eda745b299" + "78f87c2f-3748-4708-9de8-f5ea49cd754d" ], "x-ms-correlation-request-id": [ - "17ed3723-a842-4a13-8eeb-93eda745b299" + "78f87c2f-3748-4708-9de8-f5ea49cd754d" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221820Z:17ed3723-a842-4a13-8eeb-93eda745b299" + "WESTUS2:20170725T010310Z:78f87c2f-3748-4708-9de8-f5ea49cd754d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,32 +56,32 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet2611?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQyNjExP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet8002?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ4MDAyP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US 2\"\r\n}", + "RequestBody": "{\r\n \"location\": \"East US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "29" ], "x-ms-client-request-id": [ - "c64ec169-f843-490f-8417-ef1a6b258764" + "dee2bfc4-1254-4195-87a5-35e527654c1d" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611\",\r\n \"name\": \"azsmnet2611\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002\",\r\n \"name\": \"azsmnet8002\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "176" + "175" ], "Content-Type": [ "application/json; charset=utf-8" @@ -93,22 +93,22 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:19 GMT" + "Tue, 25 Jul 2017 01:03:14 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1192" ], "x-ms-request-id": [ - "9613019a-43e3-46be-98c9-a54e3d7162f0" + "c10710d5-e0c3-402f-b760-51a02a9f65c2" ], "x-ms-correlation-request-id": [ - "9613019a-43e3-46be-98c9-a54e3d7162f0" + "c10710d5-e0c3-402f-b760-51a02a9f65c2" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221919Z:9613019a-43e3-46be-98c9-a54e3d7162f0" + "WESTUS2:20170725T010315Z:c10710d5-e0c3-402f-b760-51a02a9f65c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,26 +117,166 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OD9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch/locations/East%20US/checkNameAvailability?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvbG9jYXRpb25zL0Vhc3QlMjBVUy9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxNy0wNS0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"azsmnet5399\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "73" + ], + "x-ms-client-request-id": [ + "dcb98dff-a1b4-4584-8723-02f50e7f2e1a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" + ] + }, + "ResponseBody": "{\r\n \"nameAvailable\": true\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 25 Jul 2017 01:03:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "99e654e0-8e28-49b0-bb5c-ec7d84c7631b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-correlation-request-id": [ + "87fbfa3f-4afc-4fe7-96dc-e762517071b2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20170725T010315Z:87fbfa3f-4afc-4fe7-96dc-e762517071b2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch/locations/East%20US/checkNameAvailability?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvbG9jYXRpb25zL0Vhc3QlMjBVUy9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxNy0wNS0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"azsmnet5399\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "73" + ], + "x-ms-client-request-id": [ + "05371e2f-975f-43ed-bc30-b435bf94bdd6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" + ] + }, + "ResponseBody": "{\r\n \"nameAvailable\": false,\r\n \"reason\": \"AlreadyExists\",\r\n \"message\": \"An account named 'azsmnet5399' is already in use.\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 25 Jul 2017 01:03:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "3b00ba5d-1de1-4956-b240-6509bd699235" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-correlation-request-id": [ + "1f10dae6-e3ee-453a-a5a8-a113a963af0b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20170725T010348Z:1f10dae6-e3ee-453a-a5a8-a113a963af0b" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OT9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US 2\"\r\n}", + "RequestBody": "{\r\n \"location\": \"East US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "29" ], "x-ms-client-request-id": [ - "869bceb8-3d02-408d-b321-9844f37567e0" + "21675c64-880c-42b7-9aae-e25ddf6ba13e" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, "ResponseBody": "", @@ -151,13 +291,13 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:22 GMT" + "Tue, 25 Jul 2017 01:03:17 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868/operationResults/c14584b7-586e-487c-9394-bdcde916e7f7?api-version=2017-05-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399/operationResults/fe211b70-e4d9-413c-abb4-7bcacc7f0207?api-version=2017-05-01" ], "Retry-After": [ "15" @@ -165,8 +305,8 @@ "Server": [ "Microsoft-HTTPAPI/2.0" ], - "request-id": [ - "c14584b7-586e-487c-9394-bdcde916e7f7" + "x-ms-request-id": [ + "fe211b70-e4d9-413c-abb4-7bcacc7f0207" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -175,32 +315,29 @@ "nosniff" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-request-id": [ - "8f1bece4-b935-4221-8d9d-662c5fb1b1e3" + "1192" ], "x-ms-correlation-request-id": [ - "8f1bece4-b935-4221-8d9d-662c5fb1b1e3" + "919a5312-a820-414d-be55-56c88caa2431" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221922Z:8f1bece4-b935-4221-8d9d-662c5fb1b1e3" + "WESTUS2:20170725T010318Z:919a5312-a820-414d-be55-56c88caa2431" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868/operationResults/c14584b7-586e-487c-9394-bdcde916e7f7?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OC9vcGVyYXRpb25SZXN1bHRzL2MxNDU4NGI3LTU4NmUtNDg3Yy05Mzk0LWJkY2RlOTE2ZTdmNz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399/operationResults/fe211b70-e4d9-413c-abb4-7bcacc7f0207?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OS9vcGVyYXRpb25SZXN1bHRzL2ZlMjExYjcwLWU0ZDktNDEzYy1hYmI0LTdiY2FjYzdmMDIwNz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868\",\r\n \"name\": \"azsmnet9868\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet9868.eastus2.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 20,\r\n \"lowPriorityCoreQuota\": 50,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"batchservice\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399\",\r\n \"name\": \"azsmnet5399\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet5399.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 20,\r\n \"lowPriorityCoreQuota\": 50,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"batchservice\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -209,13 +346,13 @@ "-1" ], "Last-Modified": [ - "Tue, 09 May 2017 22:19:53 GMT" + "Tue, 25 Jul 2017 01:03:47 GMT" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:52 GMT" + "Tue, 25 Jul 2017 01:03:47 GMT" ], "Pragma": [ "no-cache" @@ -224,7 +361,7 @@ "chunked" ], "ETag": [ - "\"0x8D497298419F4B0\"" + "\"0x8D4D2F90175A18C\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -233,10 +370,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14989" ], - "request-id": [ - "4ca6b1a8-02d4-433e-ad94-78a190159636" + "x-ms-request-id": [ + "5b3cbe23-0616-4b92-9bb5-7f246f8aadd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -244,36 +381,33 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "4fc2d1b2-95d5-4dfd-b34c-98bbf2c93183" - ], "x-ms-correlation-request-id": [ - "4fc2d1b2-95d5-4dfd-b34c-98bbf2c93183" + "81f0011f-0a77-4bcd-9f6e-b42bd84ce015" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221952Z:4fc2d1b2-95d5-4dfd-b34c-98bbf2c93183" + "WESTUS2:20170725T010348Z:81f0011f-0a77-4bcd-9f6e-b42bd84ce015" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OD9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OT9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8a810f6c-0b73-44a1-9d3b-a64e6be1a9cf" + "d7b4ea46-7607-4066-8a1a-a87cf1016061" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868\",\r\n \"name\": \"azsmnet9868\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet9868.eastus2.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 20,\r\n \"lowPriorityCoreQuota\": 50,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"batchservice\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399\",\r\n \"name\": \"azsmnet5399\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet5399.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 20,\r\n \"lowPriorityCoreQuota\": 50,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"batchservice\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -282,13 +416,13 @@ "-1" ], "Last-Modified": [ - "Tue, 09 May 2017 22:19:19 GMT" + "Tue, 25 Jul 2017 01:03:17 GMT" ], "Cache-Control": [ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:53 GMT" + "Tue, 25 Jul 2017 01:03:48 GMT" ], "Pragma": [ "no-cache" @@ -297,7 +431,7 @@ "chunked" ], "ETag": [ - "\"0x8D49729704D932C\"" + "\"0x8D4D2F8EF621B19\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -306,10 +440,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14988" ], - "request-id": [ - "57ea11bd-f82d-4643-ad6c-95be5aa0429a" + "x-ms-request-id": [ + "b02577e2-9de5-43dc-8ff9-fc4a258a1a24" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -317,36 +451,33 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "8df827f6-9e28-4b5e-abe9-4c0256885500" - ], "x-ms-correlation-request-id": [ - "8df827f6-9e28-4b5e-abe9-4c0256885500" + "230675e0-9e66-42fa-8b98-3a6c66d461a6" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221953Z:8df827f6-9e28-4b5e-abe9-4c0256885500" + "WESTUS2:20170725T010348Z:230675e0-9e66-42fa-8b98-3a6c66d461a6" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OD9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OT9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "01c61bbd-7ab8-4b68-ad55-b08cbc3c3b78" + "e20725be-4b02-4611-9a87-d8a8311d4687" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Batch/batchAccounts/azsmnet9868' under resource group 'azsmnet2611' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Batch/batchAccounts/azsmnet5399' under resource group 'azsmnet8002' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "156" @@ -361,7 +492,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:20:25 GMT" + "Tue, 25 Jul 2017 01:04:19 GMT" ], "Pragma": [ "no-cache" @@ -370,13 +501,13 @@ "gateway" ], "x-ms-request-id": [ - "6d2adbc3-0510-49c0-bf8b-8607258aa36c" + "cb39f92b-3988-410f-bc64-111ec3871bd6" ], "x-ms-correlation-request-id": [ - "6d2adbc3-0510-49c0-bf8b-8607258aa36c" + "cb39f92b-3988-410f-bc64-111ec3871bd6" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T222025Z:6d2adbc3-0510-49c0-bf8b-8607258aa36c" + "WESTUS2:20170725T010420Z:cb39f92b-3988-410f-bc64-111ec3871bd6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -385,23 +516,23 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868/listKeys?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399/listKeys?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2a9558e7-24e3-4d4e-bf6f-76ac270bc3ca" + "759928ca-697f-4eae-b757-d8eb179fecd4" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"azsmnet9868\",\r\n \"primary\": \"0UsCMXsFng0hLZ8DTP2rI1Ewkz0/GaiotJ2sTzfo5qIjUjHf9tS1ryuFgfgxPaMMXrdgl6PJcvCv+W9/bvy7iw==\",\r\n \"secondary\": \"0k9V7mqXVmgjSaxQHeW/KjN9hVJZdTpZGh8TjKELdpgTEY3u+//sbTSGYcUJYk8CqAftdSAq1PYGPvfECtQ7JA==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"azsmnet5399\",\r\n \"primary\": \"atRvGn6bvAFGqCc70zRCEjXzekg9OVmlG3dScOfjfw+kGCP+edWlclNdv8sORKDIG2bQ265Wl521G3B0+rHL/w==\",\r\n \"secondary\": \"Ed0xPPju4KieoVVhXD+FZKWhVDhAp6RVxJTEjtvK4N8OSytGA7+TYMqgItwEi5CNbun4GWKKYbIvXrqgvKqWKA==\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -413,7 +544,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:53 GMT" + "Tue, 25 Jul 2017 01:03:48 GMT" ], "Pragma": [ "no-cache" @@ -428,10 +559,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1190" ], - "request-id": [ - "f5d28993-01dd-47da-aeef-59d3f4aa6518" + "x-ms-request-id": [ + "69a34ffa-e25f-4c69-a2bb-75b35d349343" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -439,21 +570,18 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "6d18f948-b224-4d97-8847-36e561983bf4" - ], "x-ms-correlation-request-id": [ - "6d18f948-b224-4d97-8847-36e561983bf4" + "0e3ab395-272a-46e5-aaad-91a523527abf" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221953Z:6d18f948-b224-4d97-8847-36e561983bf4" + "WESTUS2:20170725T010348Z:0e3ab395-272a-46e5-aaad-91a523527abf" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868/regenerateKeys?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OC9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399/regenerateKeys?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OS9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "POST", "RequestBody": "{\r\n \"keyName\": \"Primary\"\r\n}", "RequestHeaders": { @@ -464,17 +592,17 @@ "28" ], "x-ms-client-request-id": [ - "20fc02b1-8e69-4121-b370-fa86246af15e" + "19e0497d-aa89-485c-b39f-a26ab9406d38" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"accountName\": \"azsmnet9868\",\r\n \"primary\": \"+IAAS8FadXEvUsPtd+TUZYLhaghU+snFiHvxkU694dNAjFL36ugQjlLuNCG2+5UyKRFI7toVo6NGmCUlvNY6IQ==\",\r\n \"secondary\": \"0k9V7mqXVmgjSaxQHeW/KjN9hVJZdTpZGh8TjKELdpgTEY3u+//sbTSGYcUJYk8CqAftdSAq1PYGPvfECtQ7JA==\"\r\n}", + "ResponseBody": "{\r\n \"accountName\": \"azsmnet5399\",\r\n \"primary\": \"vS0l0IB/MuRYgBdVBE3U9QL3Px67VZKu+GDvx7nf2uV0/WFWZmeAh3mYOdOuNJup8zhp6qdPWPXpvipZLob85A==\",\r\n \"secondary\": \"Ed0xPPju4KieoVVhXD+FZKWhVDhAp6RVxJTEjtvK4N8OSytGA7+TYMqgItwEi5CNbun4GWKKYbIvXrqgvKqWKA==\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -486,7 +614,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:53 GMT" + "Tue, 25 Jul 2017 01:03:48 GMT" ], "Pragma": [ "no-cache" @@ -501,10 +629,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1189" ], - "request-id": [ - "8490689c-e89a-459f-9efd-d2b88c331b86" + "x-ms-request-id": [ + "55b44222-6a2d-4aff-bbd5-49c1abc2194d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -512,36 +640,33 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "193c9b30-190f-4480-bb9b-228b88eada4b" - ], "x-ms-correlation-request-id": [ - "193c9b30-190f-4480-bb9b-228b88eada4b" + "e8107f23-43b2-4d72-9e2b-278dc04d2082" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221953Z:193c9b30-190f-4480-bb9b-228b88eada4b" + "WESTUS2:20170725T010349Z:e8107f23-43b2-4d72-9e2b-278dc04d2082" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f080c79b-58fd-45cf-8d89-937dfc1b3faa" + "35d70d32-37a6-4170-b37e-079b47d7d55e" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868\",\r\n \"name\": \"azsmnet9868\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet9868.eastus2.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 20,\r\n \"lowPriorityCoreQuota\": 50,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"batchservice\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399\",\r\n \"name\": \"azsmnet5399\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"azsmnet5399.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"dedicatedCoreQuota\": 20,\r\n \"lowPriorityCoreQuota\": 50,\r\n \"poolQuota\": 20,\r\n \"activeJobAndJobScheduleQuota\": 20,\r\n \"poolAllocationMode\": \"batchservice\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -553,7 +678,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:53 GMT" + "Tue, 25 Jul 2017 01:03:48 GMT" ], "Pragma": [ "no-cache" @@ -568,10 +693,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14987" ], - "request-id": [ - "4f93683a-71fc-47a4-8bd1-d6204540165f" + "x-ms-request-id": [ + "b7e3d94a-ff8d-4a99-9ede-85d01ff03932" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -579,33 +704,30 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "8da37151-19ab-4951-992d-3d7dd72cee42" - ], "x-ms-correlation-request-id": [ - "8da37151-19ab-4951-992d-3d7dd72cee42" + "a4342050-f628-45cc-8485-ce744495be2c" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221953Z:8da37151-19ab-4951-992d-3d7dd72cee42" + "WESTUS2:20170725T010349Z:a4342050-f628-45cc-8485-ce744495be2c" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OD9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OT9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0e798732-8481-4844-bd21-8eb8acf19772" + "4bfe978a-460a-435b-81cb-8728b9e21907" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, "ResponseBody": "", @@ -620,13 +742,13 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:19:54 GMT" + "Tue, 25 Jul 2017 01:03:49 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868/operationResults/9d572bbe-62a0-44e4-9278-73c26419d1e8?api-version=2017-05-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399/operationResults/3a130b1e-e0ee-4fc9-8a0c-58e23ccf1e06?api-version=2017-05-01" ], "Retry-After": [ "15" @@ -634,8 +756,8 @@ "Server": [ "Microsoft-HTTPAPI/2.0" ], - "request-id": [ - "9d572bbe-62a0-44e4-9278-73c26419d1e8" + "x-ms-request-id": [ + "3a130b1e-e0ee-4fc9-8a0c-58e23ccf1e06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -644,32 +766,29 @@ "nosniff" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], - "x-ms-request-id": [ - "462bc9f8-8b7e-4d9b-bef3-d50bb512b618" + "1188" ], "x-ms-correlation-request-id": [ - "462bc9f8-8b7e-4d9b-bef3-d50bb512b618" + "4ab85b6a-2d11-4b50-afe2-621828ee18c0" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T221954Z:462bc9f8-8b7e-4d9b-bef3-d50bb512b618" + "WESTUS2:20170725T010349Z:4ab85b6a-2d11-4b50-afe2-621828ee18c0" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet2611/providers/Microsoft.Batch/batchAccounts/azsmnet9868/operationResults/9d572bbe-62a0-44e4-9278-73c26419d1e8?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQyNjExL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0OTg2OC9vcGVyYXRpb25SZXN1bHRzLzlkNTcyYmJlLTYyYTAtNDRlNC05Mjc4LTczYzI2NDE5ZDFlOD9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourceGroups/azsmnet8002/providers/Microsoft.Batch/batchAccounts/azsmnet5399/operationResults/3a130b1e-e0ee-4fc9-8a0c-58e23ccf1e06?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlR3JvdXBzL2F6c21uZXQ4MDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy9henNtbmV0NTM5OS9vcGVyYXRpb25SZXN1bHRzLzNhMTMwYjFlLWUwZWUtNGZjOS04YTBjLTU4ZTIzY2NmMWUwNj9hcGktdmVyc2lvbj0yMDE3LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Batch/batchAccounts/azsmnet9868' under resource group 'azsmnet2611' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Batch/batchAccounts/azsmnet5399' under resource group 'azsmnet8002' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "156" @@ -684,7 +803,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:20:24 GMT" + "Tue, 25 Jul 2017 01:04:19 GMT" ], "Pragma": [ "no-cache" @@ -693,13 +812,13 @@ "gateway" ], "x-ms-request-id": [ - "83c6b633-5e51-4182-bbb4-d76fb290bc88" + "5be1116e-064d-453f-af36-fd59a9828ab3" ], "x-ms-correlation-request-id": [ - "83c6b633-5e51-4182-bbb4-d76fb290bc88" + "5be1116e-064d-453f-af36-fd59a9828ab3" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T222024Z:83c6b633-5e51-4182-bbb4-d76fb290bc88" + "WESTUS2:20170725T010419Z:5be1116e-064d-453f-af36-fd59a9828ab3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -708,20 +827,20 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet2611?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQyNjExP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/resourcegroups/azsmnet8002?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Jlc291cmNlZ3JvdXBzL2F6c21uZXQ4MDAyP2FwaS12ZXJzaW9uPTIwMTYtMDItMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "06986afd-757f-4f32-ad78-4437c2581a36" + "7f52be07-b426-4563-bd4c-3ac33f1ee536" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -736,13 +855,13 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:20:26 GMT" + "Tue, 25 Jul 2017 01:04:21 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUMjYxMS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUODAwMi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2016-02-01" ], "Retry-After": [ "15" @@ -751,13 +870,13 @@ "1199" ], "x-ms-request-id": [ - "a2c32eda-b564-4df1-ad2e-f69b8196dc64" + "2b1f5c58-9117-4219-ac05-159b84fb5150" ], "x-ms-correlation-request-id": [ - "a2c32eda-b564-4df1-ad2e-f69b8196dc64" + "2b1f5c58-9117-4219-ac05-159b84fb5150" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T222027Z:a2c32eda-b564-4df1-ad2e-f69b8196dc64" + "WESTUS2:20170725T010422Z:2b1f5c58-9117-4219-ac05-159b84fb5150" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -766,14 +885,14 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUMjYxMS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVNall4TVMxRlFWTlVWVk15SWl3aWFtOWlURzlqWVhScGIyNGlPaUpsWVhOMGRYTXlJbjA/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUODAwMi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVPREF3TWkxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -788,28 +907,28 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:20:57 GMT" + "Tue, 25 Jul 2017 01:04:52 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUMjYxMS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01" + "https://management.azure.com/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUODAwMi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2016-02-01" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14998" ], "x-ms-request-id": [ - "6534db79-ebd1-4c73-98ee-25cd012fb707" + "75d2edcf-5f0f-41e2-9496-1135789011ce" ], "x-ms-correlation-request-id": [ - "6534db79-ebd1-4c73-98ee-25cd012fb707" + "75d2edcf-5f0f-41e2-9496-1135789011ce" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T222057Z:6534db79-ebd1-4c73-98ee-25cd012fb707" + "WESTUS2:20170725T010452Z:75d2edcf-5f0f-41e2-9496-1135789011ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -818,14 +937,14 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUMjYxMS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2016-02-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVNall4TVMxRlFWTlVWVk15SWl3aWFtOWlURzlqWVhScGIyNGlPaUpsWVhOMGRYTXlJbjA/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1BWlNNTkVUODAwMi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2016-02-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFCV2xOTlRrVlVPREF3TWkxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wMi0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, "ResponseBody": "", @@ -840,22 +959,22 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 22:21:27 GMT" + "Tue, 25 Jul 2017 01:05:21 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14997" ], "x-ms-request-id": [ - "f7fb0f6f-b1ad-4f15-ab08-38e2aa047d8d" + "b5dfb6fc-65f8-4d6a-ab99-1849ed49b594" ], "x-ms-correlation-request-id": [ - "f7fb0f6f-b1ad-4f15-ab08-38e2aa047d8d" + "b5dfb6fc-65f8-4d6a-ab99-1849ed49b594" ], "x-ms-routing-request-id": [ - "WESTUS:20170509T222127Z:f7fb0f6f-b1ad-4f15-ab08-38e2aa047d8d" + "WESTUS2:20170725T010522Z:b5dfb6fc-65f8-4d6a-ab99-1849ed49b594" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -866,8 +985,8 @@ ], "Names": { "BatchAccountEndToEndAsync": [ - "azsmnet2611", - "azsmnet9868" + "azsmnet8002", + "azsmnet5399" ] }, "Variables": { diff --git a/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.LocationTests/GetLocationQuotasAsync.json b/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.LocationTests/GetLocationQuotasAsync.json index 188e885cdf5d..64a0ecc727a7 100644 --- a/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.LocationTests/GetLocationQuotasAsync.json +++ b/src/SDKs/Batch/Management/Management.Batch.Tests/SessionRecords/Batch.Tests.ScenarioTests.LocationTests/GetLocationQuotasAsync.json @@ -7,17 +7,17 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "addfd377-78c7-4eb4-b9f4-3b9266f36c7e" + "a444fc9a-eb0d-4fda-a1ed-521f66e44dc8" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3-preview" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.1.3.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"authorization\": {\r\n \"applicationId\": \"ddbf3205-c6bd-46ae-8127-60eb93363864\",\r\n \"roleDefinitionId\": \"b7f84953-1d03-4eab-9ea4-45f065258ff8\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\",\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch\",\r\n \"namespace\": \"Microsoft.Batch\",\r\n \"authorization\": {\r\n \"applicationId\": \"ddbf3205-c6bd-46ae-8127-60eb93363864\",\r\n \"roleDefinitionId\": \"b7f84953-1d03-4eab-9ea4-45f065258ff8\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\",\r\n \"2015-07-01\",\r\n \"2014-05-01-privatepreview\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/quotas\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\",\r\n \"2017-01-01\",\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/checkNameAvailability\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"Australia Southeast\",\r\n \"Japan West\",\r\n \"Korea South\",\r\n \"Korea Central\",\r\n \"Southeast Asia\",\r\n \"South Central US\",\r\n \"Australia East\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"West Central US\",\r\n \"West US 2\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-05-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 21:49:14 GMT" + "Tue, 25 Jul 2017 01:08:12 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14998" ], "x-ms-request-id": [ - "79cbc4ce-3a5a-4927-ab71-c0fe0ead9c95" + "45c64218-ea62-4f93-8653-7a6f0b490718" ], "x-ms-correlation-request-id": [ - "79cbc4ce-3a5a-4927-ab71-c0fe0ead9c95" + "45c64218-ea62-4f93-8653-7a6f0b490718" ], "x-ms-routing-request-id": [ - "WESTUS2:20170509T214915Z:79cbc4ce-3a5a-4927-ab71-c0fe0ead9c95" + "WESTUS2:20170725T010812Z:45c64218-ea62-4f93-8653-7a6f0b490718" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,20 +56,20 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch/locations/West%20Europe/quotas?api-version=2017-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvbG9jYXRpb25zL1dlc3QlMjBFdXJvcGUvcXVvdGFzP2FwaS12ZXJzaW9uPTIwMTctMDUtMDE=", + "RequestUri": "/subscriptions/2915bbd6-1252-405f-8173-6c00428146d9/providers/Microsoft.Batch/locations/East%20US/quotas?api-version=2017-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjkxNWJiZDYtMTI1Mi00MDVmLTgxNzMtNmMwMDQyODE0NmQ5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvbG9jYXRpb25zL0Vhc3QlMjBVUy9xdW90YXM/YXBpLXZlcnNpb249MjAxNy0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ae97f5c4-47d4-43e5-8ab8-ee288c5cd5f6" + "08451340-60cf-4fb8-937b-cbf1495244ea" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25009.03", - "Microsoft.Azure.Management.Batch.BatchManagementClient/5.0.0" + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Batch.BatchManagementClient/5.1.0.0" ] }, "ResponseBody": "{\r\n \"accountQuota\": 1\r\n}", @@ -84,7 +84,7 @@ "no-cache" ], "Date": [ - "Tue, 09 May 2017 21:49:16 GMT" + "Tue, 25 Jul 2017 01:08:14 GMT" ], "Pragma": [ "no-cache" @@ -99,10 +99,10 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "14996" ], - "request-id": [ - "833342df-fd6a-4be1-8928-1e6fdfc84523" + "x-ms-request-id": [ + "8ed6428d-2652-4db3-a6a3-bf4186995e9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -110,14 +110,11 @@ "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ - "fa3138ae-1ee3-4660-9a81-8bdffa5f69c5" - ], "x-ms-correlation-request-id": [ - "fa3138ae-1ee3-4660-9a81-8bdffa5f69c5" + "c417748d-6735-4d6a-b7d8-aa201d88ecdb" ], "x-ms-routing-request-id": [ - "WESTUS2:20170509T214917Z:fa3138ae-1ee3-4660-9a81-8bdffa5f69c5" + "WESTUS2:20170725T010815Z:c417748d-6735-4d6a-b7d8-aa201d88ecdb" ] }, "StatusCode": 200 diff --git a/src/SDKs/Batch/Management/Management.Batch/Generated/ILocationOperations.cs b/src/SDKs/Batch/Management/Management.Batch/Generated/ILocationOperations.cs index ed70da0cdfb1..21dd36973c7c 100644 --- a/src/SDKs/Batch/Management/Management.Batch/Generated/ILocationOperations.cs +++ b/src/SDKs/Batch/Management/Management.Batch/Generated/ILocationOperations.cs @@ -46,6 +46,32 @@ public partial interface ILocationOperations /// Thrown when a required parameter is null /// Task> GetQuotasWithHttpMessagesAsync(string locationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Checks whether the Batch account name is available in the specified + /// region. + /// + /// + /// The desired region for the name check. + /// + /// + /// The name to check for availability + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckNameAvailabilityWithHttpMessagesAsync(string locationName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperations.cs b/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperations.cs index 7108a7d8643c..dbe0d163e2ec 100644 --- a/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperations.cs +++ b/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperations.cs @@ -236,6 +236,210 @@ internal LocationOperations(BatchManagementClient client) return _result; } + /// + /// Checks whether the Batch account name is available in the specified region. + /// + /// + /// The desired region for the name check. + /// + /// + /// The name to check for availability + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckNameAvailabilityWithHttpMessagesAsync(string locationName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (locationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "name"); + } + CheckNameAvailabilityParameters parameters = new CheckNameAvailabilityParameters(); + if (name != null) + { + parameters.Name = name; + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("locationName", locationName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckNameAvailability", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability").ToString(); + _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new System.Net.Http.HttpRequestMessage(); + System.Net.Http.HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new System.Net.Http.HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (Newtonsoft.Json.JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (Newtonsoft.Json.JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + } } diff --git a/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperationsExtensions.cs b/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperationsExtensions.cs index 0018eee34fdf..74a5c1258dc1 100644 --- a/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperationsExtensions.cs +++ b/src/SDKs/Batch/Management/Management.Batch/Generated/LocationOperationsExtensions.cs @@ -57,6 +57,46 @@ public static BatchLocationQuota GetQuotas(this ILocationOperations operations, } } + /// + /// Checks whether the Batch account name is available in the specified region. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The desired region for the name check. + /// + /// + /// The name to check for availability + /// + public static CheckNameAvailabilityResult CheckNameAvailability(this ILocationOperations operations, string locationName, string name) + { + return operations.CheckNameAvailabilityAsync(locationName, name).GetAwaiter().GetResult(); + } + + /// + /// Checks whether the Batch account name is available in the specified region. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The desired region for the name check. + /// + /// + /// The name to check for availability + /// + /// + /// The cancellation token. + /// + public static async Task CheckNameAvailabilityAsync(this ILocationOperations operations, string locationName, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckNameAvailabilityWithHttpMessagesAsync(locationName, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/src/SDKs/Batch/Management/Management.Batch/Generated/Models/CheckNameAvailabilityParameters.cs b/src/SDKs/Batch/Management/Management.Batch/Generated/Models/CheckNameAvailabilityParameters.cs new file mode 100644 index 000000000000..718c23a3aed5 --- /dev/null +++ b/src/SDKs/Batch/Management/Management.Batch/Generated/Models/CheckNameAvailabilityParameters.cs @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. + +namespace Microsoft.Azure.Management.Batch.Models +{ + using Azure; + using Management; + using Batch; + using Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Parameters for a check name availability request. + /// + public partial class CheckNameAvailabilityParameters + { + /// + /// Initializes a new instance of the CheckNameAvailabilityParameters + /// class. + /// + public CheckNameAvailabilityParameters() { } + + /// + /// Initializes a new instance of the CheckNameAvailabilityParameters + /// class. + /// + /// The name to check for availability + public CheckNameAvailabilityParameters(string name) + { + Name = name; + } + /// + /// Static constructor for CheckNameAvailabilityParameters class. + /// + static CheckNameAvailabilityParameters() + { + Type = "Microsoft.Batch/batchAccounts"; + } + + /// + /// Gets or sets the name to check for availability + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// The resource type. Must be set to Microsoft.Batch/batchAccounts + /// + [JsonProperty(PropertyName = "type")] + public static string Type { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} + diff --git a/src/SDKs/Batch/Management/Management.Batch/Generated/Models/CheckNameAvailabilityResult.cs b/src/SDKs/Batch/Management/Management.Batch/Generated/Models/CheckNameAvailabilityResult.cs new file mode 100644 index 000000000000..a16735d16307 --- /dev/null +++ b/src/SDKs/Batch/Management/Management.Batch/Generated/Models/CheckNameAvailabilityResult.cs @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. + +namespace Microsoft.Azure.Management.Batch.Models +{ + using Azure; + using Management; + using Batch; + using Newtonsoft.Json; + using System.Linq; + + /// + /// The CheckNameAvailability operation response. + /// + public partial class CheckNameAvailabilityResult + { + /// + /// Initializes a new instance of the CheckNameAvailabilityResult + /// class. + /// + public CheckNameAvailabilityResult() { } + + /// + /// Initializes a new instance of the CheckNameAvailabilityResult + /// class. + /// + /// Gets a boolean value that indicates + /// whether the name is available for you to use. If true, the name is + /// available. If false, the name has already been taken or invalid and + /// cannot be used. + /// Gets the reason that a Batch account name + /// could not be used. The Reason element is only returned if + /// NameAvailable is false. Possible values include: 'Invalid', + /// 'AlreadyExists' + /// Gets an error message explaining the Reason + /// value in more detail. + public CheckNameAvailabilityResult(bool? nameAvailable = default(bool?), NameAvailabilityReason? reason = default(NameAvailabilityReason?), string message = default(string)) + { + NameAvailable = nameAvailable; + Reason = reason; + Message = message; + } + + /// + /// Gets a boolean value that indicates whether the name is available + /// for you to use. If true, the name is available. If false, the name + /// has already been taken or invalid and cannot be used. + /// + [JsonProperty(PropertyName = "nameAvailable")] + public bool? NameAvailable { get; protected set; } + + /// + /// Gets the reason that a Batch account name could not be used. The + /// Reason element is only returned if NameAvailable is false. Possible + /// values include: 'Invalid', 'AlreadyExists' + /// + [JsonProperty(PropertyName = "reason")] + public NameAvailabilityReason? Reason { get; protected set; } + + /// + /// Gets an error message explaining the Reason value in more detail. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; protected set; } + + } +} + diff --git a/src/SDKs/Batch/Management/Management.Batch/Generated/Models/NameAvailabilityReason.cs b/src/SDKs/Batch/Management/Management.Batch/Generated/Models/NameAvailabilityReason.cs new file mode 100644 index 000000000000..a3c16e51bfea --- /dev/null +++ b/src/SDKs/Batch/Management/Management.Batch/Generated/Models/NameAvailabilityReason.cs @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. + +namespace Microsoft.Azure.Management.Batch.Models +{ + using Azure; + using Management; + using Batch; + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// + /// Defines values for NameAvailabilityReason. + /// + [JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public enum NameAvailabilityReason + { + [EnumMember(Value = "Invalid")] + Invalid, + [EnumMember(Value = "AlreadyExists")] + AlreadyExists + } +} + diff --git a/src/SDKs/Batch/Management/Management.Batch/Microsoft.Azure.Management.Batch.csproj b/src/SDKs/Batch/Management/Management.Batch/Microsoft.Azure.Management.Batch.csproj index a99e151ed0ed..9e12b7300deb 100644 --- a/src/SDKs/Batch/Management/Management.Batch/Microsoft.Azure.Management.Batch.csproj +++ b/src/SDKs/Batch/Management/Management.Batch/Microsoft.Azure.Management.Batch.csproj @@ -5,7 +5,7 @@ Provides management capabilities for Azure Batch service accounts. Microsoft Azure Batch Management Library Microsoft.Azure.Management.Batch - 5.0.0 + 5.1.0 Microsoft Azure batch management For detailed release notes, see: https://github.com/Azure/azure-sdk-for-net/blob/vs17Dev/src/SDKs/Batch/Management/changelog.md True diff --git a/src/SDKs/Batch/Management/Management.Batch/Properties/AssemblyInfo.cs b/src/SDKs/Batch/Management/Management.Batch/Properties/AssemblyInfo.cs index 47716526df22..018e6b77243d 100644 --- a/src/SDKs/Batch/Management/Management.Batch/Properties/AssemblyInfo.cs +++ b/src/SDKs/Batch/Management/Management.Batch/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ [assembly: AssemblyDescription("Provides management functions for Microsoft Azure Batch services.")] [assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] +[assembly: AssemblyFileVersion("5.1.0.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] diff --git a/src/SDKs/Batch/Management/changelog.md b/src/SDKs/Batch/Management/changelog.md index 96bbba9e6048..b26c5ef9188d 100644 --- a/src/SDKs/Batch/Management/changelog.md +++ b/src/SDKs/Batch/Management/changelog.md @@ -1,5 +1,12 @@ ## Microsoft.Azure.Management.Batch release notes +### Changes in 5.1.0 +#### REST API version +- This version targets REST API version 2017-05-01. + +#### Features +- Added a new `CheckNameAvailability` API which allows you to check if an account name is available on a particular region. + ### Changes in 5.0.0 #### REST API version - This version targets REST API version 2017-05-01. diff --git a/src/SDKs/Batch/Management/generate.cmd b/src/SDKs/Batch/Management/generate.cmd index 8b2a70082bc2..d9002bb77ab6 100644 --- a/src/SDKs/Batch/Management/generate.cmd +++ b/src/SDKs/Batch/Management/generate.cmd @@ -7,7 +7,7 @@ setlocal set autoRestVersion=1.0.0-Nightly20170129 if "%1" == "" ( - set specFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/19f63015ea5a8a0fc64b9d7e2cdfeac447d93eaf/arm-batch/2017-05-01/swagger/BatchManagement.json" + set specFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/118315820bf944185beaa95b51ca647ec1a87e1b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/BatchManagement.json" ) else ( set specFile="%1" )