forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
7,208 additions
and
0 deletions.
There are no files selected for viewing
1,473 changes: 1,473 additions & 0 deletions
1,473
src/StorageCache/HPCCache.Test/SessionRecords/HpcCacheTestFixture/.ctor.json
Large diffs are not rendered by default.
Oops, something went wrong.
189 changes: 189 additions & 0 deletions
189
...Tests.HpcCacheStorageTargetTest/TestGetAzHPCCacheStorageTargetByNameAndResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,189 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/providers/Microsoft.StorageCache/register?api-version=2016-09-01", | ||
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDY4NDFjMGUtNjljOC00YjE3LWFmNDYtNjYyNmVjYjE1ZmMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlL3JlZ2lzdGVyP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", | ||
"RequestMethod": "POST", | ||
"RequestBody": "", | ||
"RequestHeaders": { | ||
"x-ms-client-request-id": [ | ||
"09f43ed3-c6a8-4eb6-9204-b29591fa18a9" | ||
], | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"User-Agent": [ | ||
"FxVersion/4.6.28325.01", | ||
"OSName/Windows", | ||
"OSVersion/Microsoft.Windows.10.0.18363.", | ||
"Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5" | ||
] | ||
}, | ||
"ResponseHeaders": { | ||
"Cache-Control": [ | ||
"no-cache" | ||
], | ||
"Pragma": [ | ||
"no-cache" | ||
], | ||
"x-ms-ratelimit-remaining-subscription-writes": [ | ||
"1199" | ||
], | ||
"x-ms-request-id": [ | ||
"83aa0e88-6f56-43b0-9b16-eff0b4983892" | ||
], | ||
"x-ms-correlation-request-id": [ | ||
"83aa0e88-6f56-43b0-9b16-eff0b4983892" | ||
], | ||
"x-ms-routing-request-id": [ | ||
"EASTUS:20200313T142940Z:83aa0e88-6f56-43b0-9b16-eff0b4983892" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=31536000; includeSubDomains" | ||
], | ||
"X-Content-Type-Options": [ | ||
"nosniff" | ||
], | ||
"Date": [ | ||
"Fri, 13 Mar 2020 14:29:39 GMT" | ||
], | ||
"Content-Length": [ | ||
"1613" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Expires": [ | ||
"-1" | ||
] | ||
}, | ||
"ResponseBody": "{\r\n \"id\": \"/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/providers/Microsoft.StorageCache\",\r\n \"namespace\": \"Microsoft.StorageCache\",\r\n \"authorizations\": [\r\n {\r\n \"applicationId\": \"4392ab71-2ce2-4b0d-8770-b352745c73f5\",\r\n \"roleDefinitionId\": \"e27430df-bd6b-4f3a-bd6d-d52ad1a7d075\"\r\n }\r\n ],\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"South Central US\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"caches\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ],\r\n \"capabilities\": \"SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"caches/storageTargets\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usageModels\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2020-03-01\",\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/ascoperations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", | ||
"StatusCode": 200 | ||
}, | ||
{ | ||
"RequestUri": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/providers/Microsoft.StorageCache?api-version=2016-09-01", | ||
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDY4NDFjMGUtNjljOC00YjE3LWFmNDYtNjYyNmVjYjE1ZmMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZUNhY2hlP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", | ||
"RequestMethod": "GET", | ||
"RequestBody": "", | ||
"RequestHeaders": { | ||
"x-ms-client-request-id": [ | ||
"d214686d-8c22-408d-a078-776d690abcb8" | ||
], | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"User-Agent": [ | ||
"FxVersion/4.6.28325.01", | ||
"OSName/Windows", | ||
"OSVersion/Microsoft.Windows.10.0.18363.", | ||
"Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5" | ||
] | ||
}, | ||
"ResponseHeaders": { | ||
"Cache-Control": [ | ||
"no-cache" | ||
], | ||
"Pragma": [ | ||
"no-cache" | ||
], | ||
"x-ms-ratelimit-remaining-subscription-reads": [ | ||
"11999" | ||
], | ||
"x-ms-request-id": [ | ||
"3156cee9-6fc9-4d32-9379-d82a97cc78d2" | ||
], | ||
"x-ms-correlation-request-id": [ | ||
"3156cee9-6fc9-4d32-9379-d82a97cc78d2" | ||
], | ||
"x-ms-routing-request-id": [ | ||
"EASTUS:20200313T142940Z:3156cee9-6fc9-4d32-9379-d82a97cc78d2" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=31536000; includeSubDomains" | ||
], | ||
"X-Content-Type-Options": [ | ||
"nosniff" | ||
], | ||
"Date": [ | ||
"Fri, 13 Mar 2020 14:29:39 GMT" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Expires": [ | ||
"-1" | ||
], | ||
"Content-Length": [ | ||
"1613" | ||
] | ||
}, | ||
"ResponseBody": "{\r\n \"id\": \"/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/providers/Microsoft.StorageCache\",\r\n \"namespace\": \"Microsoft.StorageCache\",\r\n \"authorizations\": [\r\n {\r\n \"applicationId\": \"4392ab71-2ce2-4b0d-8770-b352745c73f5\",\r\n \"roleDefinitionId\": \"e27430df-bd6b-4f3a-bd6d-d52ad1a7d075\"\r\n }\r\n ],\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"South Central US\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"caches\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ],\r\n \"capabilities\": \"SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"caches/storageTargets\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"usageModels\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2020-03-01\",\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locations/ascoperations\",\r\n \"locations\": [\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East US 2 EUAP\",\r\n \"East US\",\r\n \"Korea Central\",\r\n \"West US 2\",\r\n \"East US 2\",\r\n \"Southeast Asia\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2019-11-01\",\r\n \"2019-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", | ||
"StatusCode": 200 | ||
}, | ||
{ | ||
"RequestUri": "/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourcegroups/hpc0313x636d2111/providers/Microsoft.StorageCache/caches/Cache-hpc0313x636d2111/storageTargets/msazure?api-version=2019-11-01", | ||
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDY4NDFjMGUtNjljOC00YjE3LWFmNDYtNjYyNmVjYjE1ZmMyL3Jlc291cmNlZ3JvdXBzL2hwYzAzMTN4NjM2ZDIxMTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlQ2FjaGUvY2FjaGVzL0NhY2hlLWhwYzAzMTN4NjM2ZDIxMTEvc3RvcmFnZVRhcmdldHMvbXNhenVyZT9hcGktdmVyc2lvbj0yMDE5LTExLTAx", | ||
"RequestMethod": "GET", | ||
"RequestBody": "", | ||
"RequestHeaders": { | ||
"User-Agent": [ | ||
"FxVersion/4.6.28325.01", | ||
"OSName/Windows", | ||
"OSVersion/Microsoft.Windows.10.0.18363.", | ||
"Microsoft.Azure.Management.StorageCache.StorageCacheManagementClient/1.0.0.0" | ||
] | ||
}, | ||
"ResponseHeaders": { | ||
"Cache-Control": [ | ||
"no-cache" | ||
], | ||
"Pragma": [ | ||
"no-cache" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=31536000; includeSubDomains" | ||
], | ||
"x-ms-served-by": [ | ||
"d7051dfa-e1e4-45f5-be1e-097f5f1a8eb1_132186511409211667,d7051dfa-e1e4-45f5-be1e-097f5f1a8eb1_132186511409211667" | ||
], | ||
"x-ms-request-id": [ | ||
"915ef5b2-d43d-427f-9b0d-33694179a90b" | ||
], | ||
"Server": [ | ||
"Microsoft-HTTPAPI/2.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"x-ms-ratelimit-remaining-subscription-reads": [ | ||
"11987" | ||
], | ||
"x-ms-correlation-request-id": [ | ||
"3e8abce8-ad6c-4b71-a2f8-fbabfd871857" | ||
], | ||
"x-ms-routing-request-id": [ | ||
"EASTUS:20200313T142940Z:3e8abce8-ad6c-4b71-a2f8-fbabfd871857" | ||
], | ||
"X-Content-Type-Options": [ | ||
"nosniff" | ||
], | ||
"Date": [ | ||
"Fri, 13 Mar 2020 14:29:40 GMT" | ||
], | ||
"Content-Length": [ | ||
"743" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Expires": [ | ||
"-1" | ||
] | ||
}, | ||
"ResponseBody": "{\r\n \"name\": \"msazure\",\r\n \"id\": \"/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/hpc0313x636d2111/providers/Microsoft.StorageCache/caches/Cache-hpc0313x636d2111/storageTargets/msazure\",\r\n \"type\": \"Microsoft.StorageCache/caches/storageTargets\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"targetType\": \"clfs\",\r\n \"provisioningState\": \"Deleting\",\r\n \"junctions\": [\r\n {\r\n \"namespacePath\": \"/abcdefgh\",\r\n \"nfsExport\": \"/\",\r\n \"targetPath\": \"/\"\r\n }\r\n ],\r\n \"clfs\": {\r\n \"target\": \"/subscriptions/46841c0e-69c8-4b17-af46-6626ecb15fc2/resourceGroups/hpc0313x636d2111/providers/Microsoft.Storage/storageAccounts/cmdletsa/blobServices/default/containers/cmdletcontnr\"\r\n }\r\n }\r\n}", | ||
"StatusCode": 200 | ||
} | ||
], | ||
"Names": {}, | ||
"Variables": { | ||
"SubscriptionId": "46841c0e-69c8-4b17-af46-6626ecb15fc2" | ||
} | ||
} |
Oops, something went wrong.