Skip to content

Commit 3722b4f

Browse files
author
jasper-schneider
committed
Rerecord location test after helper method change
1 parent e37a5f4 commit 3722b4f

File tree

1 file changed

+23
-20
lines changed
  • src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.LocationTests

1 file changed

+23
-20
lines changed

src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.LocationTests/TestGetLocationQuotas.json

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
1111
]
1212
},
13-
"ResponseBody": "{\r\n \"id\": \"/subscriptions/46241355-bb95-46a9-ba6c-42b554d71925/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 \"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 \"West Central US\",\r\n \"West US 2\"\r\n ],\r\n \"apiVersions\": [\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 \"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 \"West Central US\",\r\n \"West US 2\"\r\n ],\r\n \"apiVersions\": [\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 \"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 \"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 \"West Central US\",\r\n \"West US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
13+
"ResponseBody": "{\r\n \"id\": \"/subscriptions/46241355-bb95-46a9-ba6c-42b554d71925/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 \"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 ],\r\n \"apiVersions\": [\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 \"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 ],\r\n \"apiVersions\": [\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 \"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 \"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 ],\r\n \"apiVersions\": [\r\n \"2015-12-01\",\r\n \"2015-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
1414
"ResponseHeaders": {
1515
"Content-Length": [
16-
"1733"
16+
"1796"
1717
],
1818
"Content-Type": [
1919
"application/json; charset=utf-8"
@@ -25,16 +25,16 @@
2525
"no-cache"
2626
],
2727
"x-ms-ratelimit-remaining-subscription-reads": [
28-
"14994"
28+
"14997"
2929
],
3030
"x-ms-request-id": [
31-
"bcac9803-f000-46f9-95b4-75709e6e1265"
31+
"6682e42d-cd66-4e6d-83c9-f45373e0903c"
3232
],
3333
"x-ms-correlation-request-id": [
34-
"bcac9803-f000-46f9-95b4-75709e6e1265"
34+
"6682e42d-cd66-4e6d-83c9-f45373e0903c"
3535
],
3636
"x-ms-routing-request-id": [
37-
"EASTUS:20160906T070547Z:bcac9803-f000-46f9-95b4-75709e6e1265"
37+
"WESTUS2:20161122T230843Z:6682e42d-cd66-4e6d-83c9-f45373e0903c"
3838
],
3939
"Strict-Transport-Security": [
4040
"max-age=31536000; includeSubDomains"
@@ -43,25 +43,25 @@
4343
"no-cache"
4444
],
4545
"Date": [
46-
"Tue, 06 Sep 2016 07:05:47 GMT"
46+
"Tue, 22 Nov 2016 23:08:43 GMT"
4747
]
4848
},
4949
"StatusCode": 200
5050
},
5151
{
52-
"RequestUri": "/subscriptions/46241355-bb95-46a9-ba6c-42b554d71925/providers/Microsoft.Batch/locations/West%20US/quotas?api-version=2015-12-01",
53-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDYyNDEzNTUtYmI5NS00NmE5LWJhNmMtNDJiNTU0ZDcxOTI1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvbG9jYXRpb25zL1dlc3QlMjBVUy9xdW90YXM/YXBpLXZlcnNpb249MjAxNS0xMi0wMQ==",
52+
"RequestUri": "/subscriptions/46241355-bb95-46a9-ba6c-42b554d71925/providers/Microsoft.Batch/locations/westus/quotas?api-version=2015-12-01",
53+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDYyNDEzNTUtYmI5NS00NmE5LWJhNmMtNDJiNTU0ZDcxOTI1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvbG9jYXRpb25zL3dlc3R1cy9xdW90YXM/YXBpLXZlcnNpb249MjAxNS0xMi0wMQ==",
5454
"RequestMethod": "GET",
5555
"RequestBody": "",
5656
"RequestHeaders": {
5757
"x-ms-client-request-id": [
58-
"ee7c582c-3a55-45c4-ae54-9c88275d0306"
58+
"24ff69f9-1f87-4a83-84ca-48172bb56b8c"
5959
],
6060
"accept-language": [
6161
"en-US"
6262
],
6363
"User-Agent": [
64-
"Microsoft.Azure.Management.Batch.BatchManagementClient/2.0.0.0"
64+
"Microsoft.Azure.Management.Batch.BatchManagementClient/3.0.0"
6565
]
6666
},
6767
"ResponseBody": "{\r\n \"accountQuota\": 10\r\n}",
@@ -79,28 +79,31 @@
7979
"no-cache"
8080
],
8181
"request-id": [
82-
"2bbcd88d-af40-4cea-b3c2-b0a7db619030"
82+
"abe9d45a-6859-446d-a8a3-108d8a5364db"
8383
],
8484
"Strict-Transport-Security": [
8585
"max-age=31536000; includeSubDomains"
8686
],
87+
"X-Content-Type-Options": [
88+
"nosniff"
89+
],
8790
"x-ms-ratelimit-remaining-subscription-reads": [
88-
"14992"
91+
"14995"
8992
],
9093
"x-ms-request-id": [
91-
"9a644a35-659d-4823-9a9b-56b6524d2b29"
94+
"4f5f7aa2-c5d4-4c1a-854c-6beeb5f43465"
9295
],
9396
"x-ms-correlation-request-id": [
94-
"9a644a35-659d-4823-9a9b-56b6524d2b29"
97+
"4f5f7aa2-c5d4-4c1a-854c-6beeb5f43465"
9598
],
9699
"x-ms-routing-request-id": [
97-
"EASTUS:20160906T070549Z:9a644a35-659d-4823-9a9b-56b6524d2b29"
100+
"WESTUS2:20161122T230844Z:4f5f7aa2-c5d4-4c1a-854c-6beeb5f43465"
98101
],
99102
"Cache-Control": [
100103
"no-cache"
101104
],
102105
"Date": [
103-
"Tue, 06 Sep 2016 07:05:49 GMT"
106+
"Tue, 22 Nov 2016 23:08:44 GMT"
104107
],
105108
"Server": [
106109
"Microsoft-HTTPAPI/2.0"
@@ -112,8 +115,8 @@
112115
"Names": {},
113116
"Variables": {
114117
"SubscriptionId": "46241355-bb95-46a9-ba6c-42b554d71925",
115-
"AZURE_BATCH_ACCOUNT": "pstestaccount",
116-
"AZURE_BATCH_ENDPOINT": "https://pstestaccount.centralus.batch.azure.com",
117-
"AZURE_BATCH_RESOURCE_GROUP": "accountmgmtsamplegroup"
118+
"AZURE_BATCH_ACCOUNT": "jstesteastus2",
119+
"AZURE_BATCH_ENDPOINT": "https://jstesteastus2.eastus2.batch.azure.com",
120+
"AZURE_BATCH_RESOURCE_GROUP": "default-eastus"
118121
}
119122
}

0 commit comments

Comments
 (0)