@azure/arm-storagecache 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/README.md +2 -2
  2. package/dist/browser/models/index.d.ts +185 -2
  3. package/dist/browser/models/index.d.ts.map +1 -1
  4. package/dist/browser/models/index.js +32 -0
  5. package/dist/browser/models/index.js.map +1 -1
  6. package/dist/browser/models/mappers.d.ts +6 -0
  7. package/dist/browser/models/mappers.d.ts.map +1 -1
  8. package/dist/browser/models/mappers.js +183 -0
  9. package/dist/browser/models/mappers.js.map +1 -1
  10. package/dist/browser/models/parameters.d.ts +3 -0
  11. package/dist/browser/models/parameters.d.ts.map +1 -1
  12. package/dist/browser/models/parameters.js +25 -2
  13. package/dist/browser/models/parameters.js.map +1 -1
  14. package/dist/browser/operations/expansionJobs.d.ts +120 -0
  15. package/dist/browser/operations/expansionJobs.d.ts.map +1 -0
  16. package/dist/browser/operations/expansionJobs.js +473 -0
  17. package/dist/browser/operations/expansionJobs.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +1 -0
  19. package/dist/browser/operations/index.d.ts.map +1 -1
  20. package/dist/browser/operations/index.js +1 -0
  21. package/dist/browser/operations/index.js.map +1 -1
  22. package/dist/browser/operationsInterfaces/expansionJobs.d.ts +93 -0
  23. package/dist/browser/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  24. package/dist/browser/operationsInterfaces/expansionJobs.js +4 -0
  25. package/dist/browser/operationsInterfaces/expansionJobs.js.map +1 -0
  26. package/dist/browser/operationsInterfaces/index.d.ts +1 -0
  27. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  28. package/dist/browser/operationsInterfaces/index.js +1 -0
  29. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  30. package/dist/browser/storageCacheManagementClient.d.ts +2 -1
  31. package/dist/browser/storageCacheManagementClient.d.ts.map +1 -1
  32. package/dist/browser/storageCacheManagementClient.js +5 -3
  33. package/dist/browser/storageCacheManagementClient.js.map +1 -1
  34. package/dist/commonjs/index.js +35 -16
  35. package/dist/commonjs/index.js.map +7 -1
  36. package/dist/commonjs/lroImpl.js +41 -21
  37. package/dist/commonjs/lroImpl.js.map +7 -1
  38. package/dist/commonjs/models/index.d.ts +185 -2
  39. package/dist/commonjs/models/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/index.js +326 -386
  41. package/dist/commonjs/models/index.js.map +7 -1
  42. package/dist/commonjs/models/mappers.d.ts +6 -0
  43. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  44. package/dist/commonjs/models/mappers.js +4573 -4116
  45. package/dist/commonjs/models/mappers.js.map +7 -1
  46. package/dist/commonjs/models/parameters.d.ts +3 -0
  47. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  48. package/dist/commonjs/models/parameters.js +402 -287
  49. package/dist/commonjs/models/parameters.js.map +7 -1
  50. package/dist/commonjs/operations/amlFilesystems.js +594 -540
  51. package/dist/commonjs/operations/amlFilesystems.js.map +7 -1
  52. package/dist/commonjs/operations/ascOperations.js +79 -49
  53. package/dist/commonjs/operations/ascOperations.js.map +7 -1
  54. package/dist/commonjs/operations/ascUsages.js +141 -112
  55. package/dist/commonjs/operations/ascUsages.js.map +7 -1
  56. package/dist/commonjs/operations/autoExportJobs.js +527 -458
  57. package/dist/commonjs/operations/autoExportJobs.js.map +7 -1
  58. package/dist/commonjs/operations/autoImportJobs.js +527 -458
  59. package/dist/commonjs/operations/autoImportJobs.js.map +7 -1
  60. package/dist/commonjs/operations/caches.js +1353 -1315
  61. package/dist/commonjs/operations/caches.js.map +7 -1
  62. package/dist/commonjs/operations/expansionJobs.d.ts +120 -0
  63. package/dist/commonjs/operations/expansionJobs.d.ts.map +1 -0
  64. package/dist/commonjs/operations/expansionJobs.js +547 -0
  65. package/dist/commonjs/operations/expansionJobs.js.map +7 -0
  66. package/dist/commonjs/operations/importJobs.js +522 -453
  67. package/dist/commonjs/operations/importJobs.js.map +7 -1
  68. package/dist/commonjs/operations/index.d.ts +1 -0
  69. package/dist/commonjs/operations/index.d.ts.map +1 -1
  70. package/dist/commonjs/operations/index.js +45 -20
  71. package/dist/commonjs/operations/index.js.map +7 -1
  72. package/dist/commonjs/operations/operations.js +133 -104
  73. package/dist/commonjs/operations/operations.js.map +7 -1
  74. package/dist/commonjs/operations/skus.js +133 -104
  75. package/dist/commonjs/operations/skus.js.map +7 -1
  76. package/dist/commonjs/operations/storageTargetOperations.js +396 -356
  77. package/dist/commonjs/operations/storageTargetOperations.js.map +7 -1
  78. package/dist/commonjs/operations/storageTargets.js +567 -508
  79. package/dist/commonjs/operations/storageTargets.js.map +7 -1
  80. package/dist/commonjs/operations/usageModels.js +133 -104
  81. package/dist/commonjs/operations/usageModels.js.map +7 -1
  82. package/dist/commonjs/operationsInterfaces/amlFilesystems.js +15 -5
  83. package/dist/commonjs/operationsInterfaces/amlFilesystems.js.map +7 -1
  84. package/dist/commonjs/operationsInterfaces/ascOperations.js +15 -5
  85. package/dist/commonjs/operationsInterfaces/ascOperations.js.map +7 -1
  86. package/dist/commonjs/operationsInterfaces/ascUsages.js +15 -5
  87. package/dist/commonjs/operationsInterfaces/ascUsages.js.map +7 -1
  88. package/dist/commonjs/operationsInterfaces/autoExportJobs.js +15 -5
  89. package/dist/commonjs/operationsInterfaces/autoExportJobs.js.map +7 -1
  90. package/dist/commonjs/operationsInterfaces/autoImportJobs.js +15 -5
  91. package/dist/commonjs/operationsInterfaces/autoImportJobs.js.map +7 -1
  92. package/dist/commonjs/operationsInterfaces/caches.js +15 -5
  93. package/dist/commonjs/operationsInterfaces/caches.js.map +7 -1
  94. package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts +93 -0
  95. package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/expansionJobs.js +15 -0
  97. package/dist/commonjs/operationsInterfaces/expansionJobs.js.map +7 -0
  98. package/dist/commonjs/operationsInterfaces/importJobs.js +15 -5
  99. package/dist/commonjs/operationsInterfaces/importJobs.js.map +7 -1
  100. package/dist/commonjs/operationsInterfaces/index.d.ts +1 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  102. package/dist/commonjs/operationsInterfaces/index.js +45 -20
  103. package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
  104. package/dist/commonjs/operationsInterfaces/operations.js +15 -5
  105. package/dist/commonjs/operationsInterfaces/operations.js.map +7 -1
  106. package/dist/commonjs/operationsInterfaces/skus.js +15 -5
  107. package/dist/commonjs/operationsInterfaces/skus.js.map +7 -1
  108. package/dist/commonjs/operationsInterfaces/storageTargetOperations.js +15 -5
  109. package/dist/commonjs/operationsInterfaces/storageTargetOperations.js.map +7 -1
  110. package/dist/commonjs/operationsInterfaces/storageTargets.js +15 -5
  111. package/dist/commonjs/operationsInterfaces/storageTargets.js.map +7 -1
  112. package/dist/commonjs/operationsInterfaces/usageModels.js +15 -5
  113. package/dist/commonjs/operationsInterfaces/usageModels.js.map +7 -1
  114. package/dist/commonjs/pagingHelper.js +39 -25
  115. package/dist/commonjs/pagingHelper.js.map +7 -1
  116. package/dist/commonjs/storageCacheManagementClient.d.ts +2 -1
  117. package/dist/commonjs/storageCacheManagementClient.d.ts.map +1 -1
  118. package/dist/commonjs/storageCacheManagementClient.js +198 -172
  119. package/dist/commonjs/storageCacheManagementClient.js.map +7 -1
  120. package/dist/commonjs/tsdoc-metadata.json +1 -1
  121. package/dist/esm/index.js +6 -8
  122. package/dist/esm/index.js.map +7 -1
  123. package/dist/esm/lroImpl.js +19 -19
  124. package/dist/esm/lroImpl.js.map +7 -1
  125. package/dist/esm/models/index.d.ts +185 -2
  126. package/dist/esm/models/index.d.ts.map +1 -1
  127. package/dist/esm/models/index.js +272 -383
  128. package/dist/esm/models/index.js.map +7 -1
  129. package/dist/esm/models/mappers.d.ts +6 -0
  130. package/dist/esm/models/mappers.d.ts.map +1 -1
  131. package/dist/esm/models/mappers.js +4422 -4111
  132. package/dist/esm/models/mappers.js.map +7 -1
  133. package/dist/esm/models/parameters.d.ts +3 -0
  134. package/dist/esm/models/parameters.d.ts.map +1 -1
  135. package/dist/esm/models/parameters.js +360 -283
  136. package/dist/esm/models/parameters.js.map +7 -1
  137. package/dist/esm/operations/amlFilesystems.js +556 -530
  138. package/dist/esm/operations/amlFilesystems.js.map +7 -1
  139. package/dist/esm/operations/ascOperations.js +44 -42
  140. package/dist/esm/operations/ascOperations.js.map +7 -1
  141. package/dist/esm/operations/ascUsages.js +105 -104
  142. package/dist/esm/operations/ascUsages.js.map +7 -1
  143. package/dist/esm/operations/autoExportJobs.js +489 -448
  144. package/dist/esm/operations/autoExportJobs.js.map +7 -1
  145. package/dist/esm/operations/autoImportJobs.js +489 -448
  146. package/dist/esm/operations/autoImportJobs.js.map +7 -1
  147. package/dist/esm/operations/caches.js +1315 -1305
  148. package/dist/esm/operations/caches.js.map +7 -1
  149. package/dist/esm/operations/expansionJobs.d.ts +120 -0
  150. package/dist/esm/operations/expansionJobs.d.ts.map +1 -0
  151. package/dist/esm/operations/expansionJobs.js +514 -0
  152. package/dist/esm/operations/expansionJobs.js.map +7 -0
  153. package/dist/esm/operations/importJobs.js +484 -443
  154. package/dist/esm/operations/importJobs.js.map +7 -1
  155. package/dist/esm/operations/index.d.ts +1 -0
  156. package/dist/esm/operations/index.d.ts.map +1 -1
  157. package/dist/esm/operations/index.js +1 -5
  158. package/dist/esm/operations/index.js.map +7 -1
  159. package/dist/esm/operations/operations.js +97 -96
  160. package/dist/esm/operations/operations.js.map +7 -1
  161. package/dist/esm/operations/skus.js +97 -96
  162. package/dist/esm/operations/skus.js.map +7 -1
  163. package/dist/esm/operations/storageTargetOperations.js +359 -347
  164. package/dist/esm/operations/storageTargetOperations.js.map +7 -1
  165. package/dist/esm/operations/storageTargets.js +529 -498
  166. package/dist/esm/operations/storageTargets.js.map +7 -1
  167. package/dist/esm/operations/usageModels.js +97 -96
  168. package/dist/esm/operations/usageModels.js.map +7 -1
  169. package/dist/esm/operationsInterfaces/amlFilesystems.js +0 -4
  170. package/dist/esm/operationsInterfaces/amlFilesystems.js.map +7 -1
  171. package/dist/esm/operationsInterfaces/ascOperations.js +0 -4
  172. package/dist/esm/operationsInterfaces/ascOperations.js.map +7 -1
  173. package/dist/esm/operationsInterfaces/ascUsages.js +0 -4
  174. package/dist/esm/operationsInterfaces/ascUsages.js.map +7 -1
  175. package/dist/esm/operationsInterfaces/autoExportJobs.js +0 -4
  176. package/dist/esm/operationsInterfaces/autoExportJobs.js.map +7 -1
  177. package/dist/esm/operationsInterfaces/autoImportJobs.js +0 -4
  178. package/dist/esm/operationsInterfaces/autoImportJobs.js.map +7 -1
  179. package/dist/esm/operationsInterfaces/caches.js +0 -4
  180. package/dist/esm/operationsInterfaces/caches.js.map +7 -1
  181. package/dist/esm/operationsInterfaces/expansionJobs.d.ts +93 -0
  182. package/dist/esm/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/expansionJobs.js +0 -0
  184. package/dist/esm/operationsInterfaces/expansionJobs.js.map +7 -0
  185. package/dist/esm/operationsInterfaces/importJobs.js +0 -4
  186. package/dist/esm/operationsInterfaces/importJobs.js.map +7 -1
  187. package/dist/esm/operationsInterfaces/index.d.ts +1 -0
  188. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  189. package/dist/esm/operationsInterfaces/index.js +1 -5
  190. package/dist/esm/operationsInterfaces/index.js.map +7 -1
  191. package/dist/esm/operationsInterfaces/operations.js +0 -4
  192. package/dist/esm/operationsInterfaces/operations.js.map +7 -1
  193. package/dist/esm/operationsInterfaces/skus.js +0 -4
  194. package/dist/esm/operationsInterfaces/skus.js.map +7 -1
  195. package/dist/esm/operationsInterfaces/storageTargetOperations.js +0 -4
  196. package/dist/esm/operationsInterfaces/storageTargetOperations.js.map +7 -1
  197. package/dist/esm/operationsInterfaces/storageTargets.js +0 -4
  198. package/dist/esm/operationsInterfaces/storageTargets.js.map +7 -1
  199. package/dist/esm/operationsInterfaces/usageModels.js +0 -4
  200. package/dist/esm/operationsInterfaces/usageModels.js.map +7 -1
  201. package/dist/esm/pagingHelper.js +17 -23
  202. package/dist/esm/pagingHelper.js.map +7 -1
  203. package/dist/esm/storageCacheManagementClient.d.ts +2 -1
  204. package/dist/esm/storageCacheManagementClient.d.ts.map +1 -1
  205. package/dist/esm/storageCacheManagementClient.js +176 -164
  206. package/dist/esm/storageCacheManagementClient.js.map +7 -1
  207. package/dist/react-native/models/index.d.ts +185 -2
  208. package/dist/react-native/models/index.d.ts.map +1 -1
  209. package/dist/react-native/models/index.js +32 -0
  210. package/dist/react-native/models/index.js.map +1 -1
  211. package/dist/react-native/models/mappers.d.ts +6 -0
  212. package/dist/react-native/models/mappers.d.ts.map +1 -1
  213. package/dist/react-native/models/mappers.js +183 -0
  214. package/dist/react-native/models/mappers.js.map +1 -1
  215. package/dist/react-native/models/parameters.d.ts +3 -0
  216. package/dist/react-native/models/parameters.d.ts.map +1 -1
  217. package/dist/react-native/models/parameters.js +25 -2
  218. package/dist/react-native/models/parameters.js.map +1 -1
  219. package/dist/react-native/operations/expansionJobs.d.ts +120 -0
  220. package/dist/react-native/operations/expansionJobs.d.ts.map +1 -0
  221. package/dist/react-native/operations/expansionJobs.js +473 -0
  222. package/dist/react-native/operations/expansionJobs.js.map +1 -0
  223. package/dist/react-native/operations/index.d.ts +1 -0
  224. package/dist/react-native/operations/index.d.ts.map +1 -1
  225. package/dist/react-native/operations/index.js +1 -0
  226. package/dist/react-native/operations/index.js.map +1 -1
  227. package/dist/react-native/operationsInterfaces/expansionJobs.d.ts +93 -0
  228. package/dist/react-native/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/expansionJobs.js +4 -0
  230. package/dist/react-native/operationsInterfaces/expansionJobs.js.map +1 -0
  231. package/dist/react-native/operationsInterfaces/index.d.ts +1 -0
  232. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  233. package/dist/react-native/operationsInterfaces/index.js +1 -0
  234. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  235. package/dist/react-native/storageCacheManagementClient.d.ts +2 -1
  236. package/dist/react-native/storageCacheManagementClient.d.ts.map +1 -1
  237. package/dist/react-native/storageCacheManagementClient.js +5 -3
  238. package/dist/react-native/storageCacheManagementClient.js.map +1 -1
  239. package/package.json +26 -38
@@ -1,5 +1,15 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=skus.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var skus_exports = {};
15
+ module.exports = __toCommonJS(skus_exports);
@@ -1 +1,7 @@
1
- {"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/skus.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ResourceSku, SkusListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Skus. */\nexport interface Skus {\n /**\n * Get the list of StorageCache.Cache SKUs available to this subscription.\n * @param options The options parameters.\n */\n list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<ResourceSku>;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/storagecache/arm-storagecache/src/operationsInterfaces/skus.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ResourceSku, SkusListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Skus. */\nexport interface Skus {\n /**\n * Get the list of StorageCache.Cache SKUs available to this subscription.\n * @param options The options parameters.\n */\n list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<ResourceSku>;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,5 +1,15 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=storageTargetOperations.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var storageTargetOperations_exports = {};
15
+ module.exports = __toCommonJS(storageTargetOperations_exports);
@@ -1 +1,7 @@
1
- {"version":3,"file":"storageTargetOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/storageTargetOperations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StorageTargetFlushOptionalParams,\n StorageTargetSuspendOptionalParams,\n StorageTargetResumeOptionalParams,\n StorageTargetInvalidateOptionalParams,\n} from \"../models/index.js\";\n\n/** Interface representing a StorageTargetOperations. */\nexport interface StorageTargetOperations {\n /**\n * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to\n * this storage target's namespace will return errors until the flush operation completes.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginFlush(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetFlushOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to\n * this storage target's namespace will return errors until the flush operation completes.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginFlushAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetFlushOptionalParams,\n ): Promise<void>;\n /**\n * Suspends client access to a storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginSuspend(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetSuspendOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Suspends client access to a storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginSuspendAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetSuspendOptionalParams,\n ): Promise<void>;\n /**\n * Resumes client access to a previously suspended storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginResume(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetResumeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Resumes client access to a previously suspended storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginResumeAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetResumeOptionalParams,\n ): Promise<void>;\n /**\n * Invalidate all cached data for a storage target. Cached files are discarded and fetched from the\n * back end on the next request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginInvalidate(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetInvalidateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Invalidate all cached data for a storage target. Cached files are discarded and fetched from the\n * back end on the next request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginInvalidateAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetInvalidateOptionalParams,\n ): Promise<void>;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/storagecache/arm-storagecache/src/operationsInterfaces/storageTargetOperations.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StorageTargetFlushOptionalParams,\n StorageTargetSuspendOptionalParams,\n StorageTargetResumeOptionalParams,\n StorageTargetInvalidateOptionalParams,\n} from \"../models/index.js\";\n\n/** Interface representing a StorageTargetOperations. */\nexport interface StorageTargetOperations {\n /**\n * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to\n * this storage target's namespace will return errors until the flush operation completes.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginFlush(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetFlushOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to\n * this storage target's namespace will return errors until the flush operation completes.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginFlushAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetFlushOptionalParams,\n ): Promise<void>;\n /**\n * Suspends client access to a storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginSuspend(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetSuspendOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Suspends client access to a storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginSuspendAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetSuspendOptionalParams,\n ): Promise<void>;\n /**\n * Resumes client access to a previously suspended storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginResume(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetResumeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Resumes client access to a previously suspended storage target.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginResumeAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetResumeOptionalParams,\n ): Promise<void>;\n /**\n * Invalidate all cached data for a storage target. Cached files are discarded and fetched from the\n * back end on the next request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginInvalidate(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetInvalidateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Invalidate all cached data for a storage target. Cached files are discarded and fetched from the\n * back end on the next request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginInvalidateAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetInvalidateOptionalParams,\n ): Promise<void>;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,5 +1,15 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=storageTargets.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var storageTargets_exports = {};
15
+ module.exports = __toCommonJS(storageTargets_exports);
@@ -1 +1,7 @@
1
- {"version":3,"file":"storageTargets.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/storageTargets.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StorageTarget,\n StorageTargetsListByCacheOptionalParams,\n StorageTargetsDnsRefreshOptionalParams,\n StorageTargetsDeleteOptionalParams,\n StorageTargetsGetOptionalParams,\n StorageTargetsGetResponse,\n StorageTargetsCreateOrUpdateOptionalParams,\n StorageTargetsCreateOrUpdateResponse,\n StorageTargetsRestoreDefaultsOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a StorageTargets. */\nexport interface StorageTargets {\n /**\n * Returns a list of Storage Targets for the specified cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param options The options parameters.\n */\n listByCache(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): PagedAsyncIterableIterator<StorageTarget>;\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDnsRefresh(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDnsRefreshAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<void>;\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Returns a Storage Target from a cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsGetOptionalParams,\n ): Promise<StorageTargetsGetResponse>;\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTargetsCreateOrUpdateResponse>,\n StorageTargetsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<StorageTargetsCreateOrUpdateResponse>;\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginRestoreDefaults(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginRestoreDefaultsAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<void>;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/storagecache/arm-storagecache/src/operationsInterfaces/storageTargets.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StorageTarget,\n StorageTargetsListByCacheOptionalParams,\n StorageTargetsDnsRefreshOptionalParams,\n StorageTargetsDeleteOptionalParams,\n StorageTargetsGetOptionalParams,\n StorageTargetsGetResponse,\n StorageTargetsCreateOrUpdateOptionalParams,\n StorageTargetsCreateOrUpdateResponse,\n StorageTargetsRestoreDefaultsOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a StorageTargets. */\nexport interface StorageTargets {\n /**\n * Returns a list of Storage Targets for the specified cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param options The options parameters.\n */\n listByCache(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): PagedAsyncIterableIterator<StorageTarget>;\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDnsRefresh(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDnsRefreshAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<void>;\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Returns a Storage Target from a cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsGetOptionalParams,\n ): Promise<StorageTargetsGetResponse>;\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTargetsCreateOrUpdateResponse>,\n StorageTargetsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<StorageTargetsCreateOrUpdateResponse>;\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginRestoreDefaults(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n beginRestoreDefaultsAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<void>;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,5 +1,15 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=usageModels.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var usageModels_exports = {};
15
+ module.exports = __toCommonJS(usageModels_exports);
@@ -1 +1,7 @@
1
- {"version":3,"file":"usageModels.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usageModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { UsageModel, UsageModelsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a UsageModels. */\nexport interface UsageModels {\n /**\n * Get the list of cache usage models available to this subscription.\n * @param options The options parameters.\n */\n list(options?: UsageModelsListOptionalParams): PagedAsyncIterableIterator<UsageModel>;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/storagecache/arm-storagecache/src/operationsInterfaces/usageModels.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { UsageModel, UsageModelsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a UsageModels. */\nexport interface UsageModels {\n /**\n * Get the list of cache usage models available to this subscription.\n * @param options The options parameters.\n */\n list(options?: UsageModelsListOptionalParams): PagedAsyncIterableIterator<UsageModel>;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,29 +1,43 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getContinuationToken = getContinuationToken;
6
- exports.setContinuationToken = setContinuationToken;
7
- const pageMap = new WeakMap();
8
- /**
9
- * Given the last `.value` produced by the `byPage` iterator,
10
- * returns a continuation token that can be used to begin paging from
11
- * that point later.
12
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
13
- * @returns The continuation token that can be passed into byPage() during future calls.
14
- */
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var pagingHelper_exports = {};
19
+ __export(pagingHelper_exports, {
20
+ getContinuationToken: () => getContinuationToken,
21
+ setContinuationToken: () => setContinuationToken
22
+ });
23
+ module.exports = __toCommonJS(pagingHelper_exports);
24
+ const pageMap = /* @__PURE__ */ new WeakMap();
15
25
  function getContinuationToken(page) {
16
- if (typeof page !== "object" || page === null) {
17
- return undefined;
18
- }
19
- return pageMap.get(page)?.continuationToken;
26
+ if (typeof page !== "object" || page === null) {
27
+ return void 0;
28
+ }
29
+ return pageMap.get(page)?.continuationToken;
20
30
  }
21
31
  function setContinuationToken(page, continuationToken) {
22
- if (typeof page !== "object" || page === null || !continuationToken) {
23
- return;
24
- }
25
- const pageInfo = pageMap.get(page) ?? {};
26
- pageInfo.continuationToken = continuationToken;
27
- pageMap.set(page, pageInfo);
32
+ if (typeof page !== "object" || page === null || !continuationToken) {
33
+ return;
34
+ }
35
+ const pageInfo = pageMap.get(page) ?? {};
36
+ pageInfo.continuationToken = continuationToken;
37
+ pageMap.set(page, pageInfo);
28
38
  }
29
- //# sourceMappingURL=pagingHelper.js.map
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ getContinuationToken,
42
+ setContinuationToken
43
+ });
@@ -1 +1,7 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkBlC,oDAKC;AAED,oDAOC;AAvBD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/storagecache/arm-storagecache/src/pagingHelper.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,MAAM,UAAU,oBAAI,QAA0B;AASvC,SAAS,qBAAqB,MAAmC;AACtE,MAAI,OAAO,SAAS,YAAY,SAAS,MAAM;AAC7C,WAAO;AAAA,EACT;AACA,SAAO,QAAQ,IAAI,IAAI,GAAG;AAC5B;AAEO,SAAS,qBAAqB,MAAe,mBAA6C;AAC/F,MAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,CAAC,mBAAmB;AACnE;AAAA,EACF;AACA,QAAM,WAAW,QAAQ,IAAI,IAAI,KAAK,CAAC;AACvC,WAAS,oBAAoB;AAC7B,UAAQ,IAAI,MAAM,QAAQ;AAC5B;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { AmlFilesystems, AutoExportJobs, ImportJobs, AutoImportJobs, Operations, Skus, UsageModels, AscOperations, AscUsages, Caches, StorageTargets, StorageTargetOperations } from "./operationsInterfaces/index.js";
3
+ import { AmlFilesystems, AutoExportJobs, ImportJobs, AutoImportJobs, ExpansionJobs, Operations, Skus, UsageModels, AscOperations, AscUsages, Caches, StorageTargets, StorageTargetOperations } from "./operationsInterfaces/index.js";
4
4
  import { StorageCacheManagementClientOptionalParams, CheckAmlFSSubnetsOptionalParams, GetRequiredAmlFSSubnetsSizeOptionalParams, GetRequiredAmlFSSubnetsSizeResponse } from "./models/index.js";
5
5
  export declare class StorageCacheManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -29,6 +29,7 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
29
29
  autoExportJobs: AutoExportJobs;
30
30
  importJobs: ImportJobs;
31
31
  autoImportJobs: AutoImportJobs;
32
+ expansionJobs: ExpansionJobs;
32
33
  operations: Operations;
33
34
  skus: Skus;
34
35
  usageModels: UsageModels;
@@ -1 +1 @@
1
- {"version":3,"file":"storageCacheManagementClient.d.ts","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAe7C,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,MAAM,EACN,cAAc,EACd,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,0CAA0C,EAC1C,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAoFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC;;;OAGG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;OAGG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAI/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}
1
+ {"version":3,"file":"storageCacheManagementClient.d.ts","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAgB7C,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,MAAM,EACN,cAAc,EACd,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,0CAA0C,EAC1C,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAqFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC;;;OAGG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;OAGG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAI/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}