@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
@@ -0,0 +1,547 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var expansionJobs_exports = {};
29
+ __export(expansionJobs_exports, {
30
+ ExpansionJobsImpl: () => ExpansionJobsImpl
31
+ });
32
+ module.exports = __toCommonJS(expansionJobs_exports);
33
+ var import_pagingHelper = require("../pagingHelper.js");
34
+ var coreClient = __toESM(require("@azure/core-client"));
35
+ var Mappers = __toESM(require("../models/mappers.js"));
36
+ var Parameters = __toESM(require("../models/parameters.js"));
37
+ var import_core_lro = require("@azure/core-lro");
38
+ var import_lroImpl = require("../lroImpl.js");
39
+ class ExpansionJobsImpl {
40
+ client;
41
+ /**
42
+ * Initialize a new instance of the class ExpansionJobs class.
43
+ * @param client Reference to the service client
44
+ */
45
+ constructor(client) {
46
+ this.client = client;
47
+ }
48
+ /**
49
+ * Returns all the expansion jobs the user has access to under an AML File System.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
52
+ * hyphens. Start and end with alphanumeric.
53
+ * @param options The options parameters.
54
+ */
55
+ listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
56
+ const iter = this.listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options);
57
+ return {
58
+ next() {
59
+ return iter.next();
60
+ },
61
+ [Symbol.asyncIterator]() {
62
+ return this;
63
+ },
64
+ byPage: (settings) => {
65
+ if (settings?.maxPageSize) {
66
+ throw new Error("maxPageSize is not supported by this operation.");
67
+ }
68
+ return this.listByAmlFilesystemPagingPage(
69
+ resourceGroupName,
70
+ amlFilesystemName,
71
+ options,
72
+ settings
73
+ );
74
+ }
75
+ };
76
+ }
77
+ async *listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options, settings) {
78
+ let result;
79
+ let continuationToken = settings?.continuationToken;
80
+ if (!continuationToken) {
81
+ result = await this._listByAmlFilesystem(resourceGroupName, amlFilesystemName, options);
82
+ let page = result.value || [];
83
+ continuationToken = result.nextLink;
84
+ (0, import_pagingHelper.setContinuationToken)(page, continuationToken);
85
+ yield page;
86
+ }
87
+ while (continuationToken) {
88
+ result = await this._listByAmlFilesystemNext(
89
+ resourceGroupName,
90
+ amlFilesystemName,
91
+ continuationToken,
92
+ options
93
+ );
94
+ continuationToken = result.nextLink;
95
+ let page = result.value || [];
96
+ (0, import_pagingHelper.setContinuationToken)(page, continuationToken);
97
+ yield page;
98
+ }
99
+ }
100
+ async *listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options) {
101
+ for await (const page of this.listByAmlFilesystemPagingPage(
102
+ resourceGroupName,
103
+ amlFilesystemName,
104
+ options
105
+ )) {
106
+ yield* page;
107
+ }
108
+ }
109
+ /**
110
+ * Schedules an expansion job for deletion.
111
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
112
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
113
+ * hyphens. Start and end with alphanumeric.
114
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
115
+ * Start and end with alphanumeric.
116
+ * @param options The options parameters.
117
+ */
118
+ async beginDelete(resourceGroupName, amlFilesystemName, expansionJobName, options) {
119
+ const directSendOperation = async (args, spec) => {
120
+ return this.client.sendOperationRequest(args, spec);
121
+ };
122
+ const sendOperationFn = async (args, spec) => {
123
+ let currentRawResponse = void 0;
124
+ const providedCallback = args.options?.onResponse;
125
+ const callback = (rawResponse, flatResponse2) => {
126
+ currentRawResponse = rawResponse;
127
+ providedCallback?.(rawResponse, flatResponse2);
128
+ };
129
+ const updatedArgs = {
130
+ ...args,
131
+ options: {
132
+ ...args.options,
133
+ onResponse: callback
134
+ }
135
+ };
136
+ const flatResponse = await directSendOperation(updatedArgs, spec);
137
+ return {
138
+ flatResponse,
139
+ rawResponse: {
140
+ statusCode: currentRawResponse.status,
141
+ body: currentRawResponse.parsedBody,
142
+ headers: currentRawResponse.headers.toJSON()
143
+ }
144
+ };
145
+ };
146
+ const lro = (0, import_lroImpl.createLroSpec)({
147
+ sendOperationFn,
148
+ args: { resourceGroupName, amlFilesystemName, expansionJobName, options },
149
+ spec: deleteOperationSpec
150
+ });
151
+ const poller = await (0, import_core_lro.createHttpPoller)(lro, {
152
+ restoreFrom: options?.resumeFrom,
153
+ intervalInMs: options?.updateIntervalInMs,
154
+ resourceLocationConfig: "location"
155
+ });
156
+ await poller.poll();
157
+ return poller;
158
+ }
159
+ /**
160
+ * Schedules an expansion job for deletion.
161
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
162
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
163
+ * hyphens. Start and end with alphanumeric.
164
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
165
+ * Start and end with alphanumeric.
166
+ * @param options The options parameters.
167
+ */
168
+ async beginDeleteAndWait(resourceGroupName, amlFilesystemName, expansionJobName, options) {
169
+ const poller = await this.beginDelete(
170
+ resourceGroupName,
171
+ amlFilesystemName,
172
+ expansionJobName,
173
+ options
174
+ );
175
+ return poller.pollUntilDone();
176
+ }
177
+ /**
178
+ * Returns an expansion job.
179
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
181
+ * hyphens. Start and end with alphanumeric.
182
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
183
+ * Start and end with alphanumeric.
184
+ * @param options The options parameters.
185
+ */
186
+ get(resourceGroupName, amlFilesystemName, expansionJobName, options) {
187
+ return this.client.sendOperationRequest(
188
+ { resourceGroupName, amlFilesystemName, expansionJobName, options },
189
+ getOperationSpec
190
+ );
191
+ }
192
+ /**
193
+ * Create or update an expansion job.
194
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
195
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
196
+ * hyphens. Start and end with alphanumeric.
197
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
198
+ * Start and end with alphanumeric.
199
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
200
+ * read-only properties are included, they must match the existing values of those properties.
201
+ * @param options The options parameters.
202
+ */
203
+ async beginCreateOrUpdate(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
204
+ const directSendOperation = async (args, spec) => {
205
+ return this.client.sendOperationRequest(args, spec);
206
+ };
207
+ const sendOperationFn = async (args, spec) => {
208
+ let currentRawResponse = void 0;
209
+ const providedCallback = args.options?.onResponse;
210
+ const callback = (rawResponse, flatResponse2) => {
211
+ currentRawResponse = rawResponse;
212
+ providedCallback?.(rawResponse, flatResponse2);
213
+ };
214
+ const updatedArgs = {
215
+ ...args,
216
+ options: {
217
+ ...args.options,
218
+ onResponse: callback
219
+ }
220
+ };
221
+ const flatResponse = await directSendOperation(updatedArgs, spec);
222
+ return {
223
+ flatResponse,
224
+ rawResponse: {
225
+ statusCode: currentRawResponse.status,
226
+ body: currentRawResponse.parsedBody,
227
+ headers: currentRawResponse.headers.toJSON()
228
+ }
229
+ };
230
+ };
231
+ const lro = (0, import_lroImpl.createLroSpec)({
232
+ sendOperationFn,
233
+ args: {
234
+ resourceGroupName,
235
+ amlFilesystemName,
236
+ expansionJobName,
237
+ expansionJob,
238
+ options
239
+ },
240
+ spec: createOrUpdateOperationSpec
241
+ });
242
+ const poller = await (0, import_core_lro.createHttpPoller)(lro, {
243
+ restoreFrom: options?.resumeFrom,
244
+ intervalInMs: options?.updateIntervalInMs,
245
+ resourceLocationConfig: "azure-async-operation"
246
+ });
247
+ await poller.poll();
248
+ return poller;
249
+ }
250
+ /**
251
+ * Create or update an expansion job.
252
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
253
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
254
+ * hyphens. Start and end with alphanumeric.
255
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
256
+ * Start and end with alphanumeric.
257
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
258
+ * read-only properties are included, they must match the existing values of those properties.
259
+ * @param options The options parameters.
260
+ */
261
+ async beginCreateOrUpdateAndWait(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
262
+ const poller = await this.beginCreateOrUpdate(
263
+ resourceGroupName,
264
+ amlFilesystemName,
265
+ expansionJobName,
266
+ expansionJob,
267
+ options
268
+ );
269
+ return poller.pollUntilDone();
270
+ }
271
+ /**
272
+ * Update an expansion job instance.
273
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
274
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
275
+ * hyphens. Start and end with alphanumeric.
276
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
277
+ * Start and end with alphanumeric.
278
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
279
+ * read-only properties are included, they must match the existing values of those properties.
280
+ * @param options The options parameters.
281
+ */
282
+ async beginUpdate(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
283
+ const directSendOperation = async (args, spec) => {
284
+ return this.client.sendOperationRequest(args, spec);
285
+ };
286
+ const sendOperationFn = async (args, spec) => {
287
+ let currentRawResponse = void 0;
288
+ const providedCallback = args.options?.onResponse;
289
+ const callback = (rawResponse, flatResponse2) => {
290
+ currentRawResponse = rawResponse;
291
+ providedCallback?.(rawResponse, flatResponse2);
292
+ };
293
+ const updatedArgs = {
294
+ ...args,
295
+ options: {
296
+ ...args.options,
297
+ onResponse: callback
298
+ }
299
+ };
300
+ const flatResponse = await directSendOperation(updatedArgs, spec);
301
+ return {
302
+ flatResponse,
303
+ rawResponse: {
304
+ statusCode: currentRawResponse.status,
305
+ body: currentRawResponse.parsedBody,
306
+ headers: currentRawResponse.headers.toJSON()
307
+ }
308
+ };
309
+ };
310
+ const lro = (0, import_lroImpl.createLroSpec)({
311
+ sendOperationFn,
312
+ args: {
313
+ resourceGroupName,
314
+ amlFilesystemName,
315
+ expansionJobName,
316
+ expansionJob,
317
+ options
318
+ },
319
+ spec: updateOperationSpec
320
+ });
321
+ const poller = await (0, import_core_lro.createHttpPoller)(lro, {
322
+ restoreFrom: options?.resumeFrom,
323
+ intervalInMs: options?.updateIntervalInMs,
324
+ resourceLocationConfig: "azure-async-operation"
325
+ });
326
+ await poller.poll();
327
+ return poller;
328
+ }
329
+ /**
330
+ * Update an expansion job instance.
331
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
332
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
333
+ * hyphens. Start and end with alphanumeric.
334
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
335
+ * Start and end with alphanumeric.
336
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
337
+ * read-only properties are included, they must match the existing values of those properties.
338
+ * @param options The options parameters.
339
+ */
340
+ async beginUpdateAndWait(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
341
+ const poller = await this.beginUpdate(
342
+ resourceGroupName,
343
+ amlFilesystemName,
344
+ expansionJobName,
345
+ expansionJob,
346
+ options
347
+ );
348
+ return poller.pollUntilDone();
349
+ }
350
+ /**
351
+ * Returns all the expansion jobs the user has access to under an AML File System.
352
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
353
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
354
+ * hyphens. Start and end with alphanumeric.
355
+ * @param options The options parameters.
356
+ */
357
+ _listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
358
+ return this.client.sendOperationRequest(
359
+ { resourceGroupName, amlFilesystemName, options },
360
+ listByAmlFilesystemOperationSpec
361
+ );
362
+ }
363
+ /**
364
+ * ListByAmlFilesystemNext
365
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
366
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
367
+ * hyphens. Start and end with alphanumeric.
368
+ * @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.
369
+ * @param options The options parameters.
370
+ */
371
+ _listByAmlFilesystemNext(resourceGroupName, amlFilesystemName, nextLink, options) {
372
+ return this.client.sendOperationRequest(
373
+ { resourceGroupName, amlFilesystemName, nextLink, options },
374
+ listByAmlFilesystemNextOperationSpec
375
+ );
376
+ }
377
+ }
378
+ const serializer = coreClient.createSerializer(
379
+ Mappers,
380
+ /* isXml */
381
+ false
382
+ );
383
+ const deleteOperationSpec = {
384
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
385
+ httpMethod: "DELETE",
386
+ responses: {
387
+ 200: {
388
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
389
+ },
390
+ 201: {
391
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
392
+ },
393
+ 202: {
394
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
395
+ },
396
+ 204: {
397
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
398
+ },
399
+ default: {
400
+ bodyMapper: Mappers.ErrorResponse
401
+ }
402
+ },
403
+ queryParameters: [Parameters.apiVersion],
404
+ urlParameters: [
405
+ Parameters.$host,
406
+ Parameters.subscriptionId,
407
+ Parameters.resourceGroupName,
408
+ Parameters.amlFilesystemName,
409
+ Parameters.expansionJobName
410
+ ],
411
+ headerParameters: [Parameters.accept],
412
+ serializer
413
+ };
414
+ const getOperationSpec = {
415
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
416
+ httpMethod: "GET",
417
+ responses: {
418
+ 200: {
419
+ bodyMapper: Mappers.ExpansionJob
420
+ },
421
+ default: {
422
+ bodyMapper: Mappers.CloudError
423
+ }
424
+ },
425
+ queryParameters: [Parameters.apiVersion],
426
+ urlParameters: [
427
+ Parameters.$host,
428
+ Parameters.subscriptionId,
429
+ Parameters.resourceGroupName,
430
+ Parameters.amlFilesystemName,
431
+ Parameters.expansionJobName
432
+ ],
433
+ headerParameters: [Parameters.accept],
434
+ serializer
435
+ };
436
+ const createOrUpdateOperationSpec = {
437
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
438
+ httpMethod: "PUT",
439
+ responses: {
440
+ 200: {
441
+ bodyMapper: Mappers.ExpansionJob
442
+ },
443
+ 201: {
444
+ bodyMapper: Mappers.ExpansionJob
445
+ },
446
+ 202: {
447
+ bodyMapper: Mappers.ExpansionJob
448
+ },
449
+ 204: {
450
+ bodyMapper: Mappers.ExpansionJob
451
+ },
452
+ default: {
453
+ bodyMapper: Mappers.ErrorResponse
454
+ }
455
+ },
456
+ requestBody: Parameters.expansionJob,
457
+ queryParameters: [Parameters.apiVersion],
458
+ urlParameters: [
459
+ Parameters.$host,
460
+ Parameters.subscriptionId,
461
+ Parameters.resourceGroupName,
462
+ Parameters.amlFilesystemName,
463
+ Parameters.expansionJobName
464
+ ],
465
+ headerParameters: [Parameters.accept, Parameters.contentType],
466
+ mediaType: "json",
467
+ serializer
468
+ };
469
+ const updateOperationSpec = {
470
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
471
+ httpMethod: "PATCH",
472
+ responses: {
473
+ 200: {
474
+ bodyMapper: Mappers.ExpansionJob
475
+ },
476
+ 201: {
477
+ bodyMapper: Mappers.ExpansionJob
478
+ },
479
+ 202: {
480
+ bodyMapper: Mappers.ExpansionJob
481
+ },
482
+ 204: {
483
+ bodyMapper: Mappers.ExpansionJob
484
+ },
485
+ default: {
486
+ bodyMapper: Mappers.ErrorResponse
487
+ }
488
+ },
489
+ requestBody: Parameters.expansionJob1,
490
+ queryParameters: [Parameters.apiVersion],
491
+ urlParameters: [
492
+ Parameters.$host,
493
+ Parameters.subscriptionId,
494
+ Parameters.resourceGroupName,
495
+ Parameters.amlFilesystemName,
496
+ Parameters.expansionJobName
497
+ ],
498
+ headerParameters: [Parameters.accept, Parameters.contentType],
499
+ mediaType: "json",
500
+ serializer
501
+ };
502
+ const listByAmlFilesystemOperationSpec = {
503
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs",
504
+ httpMethod: "GET",
505
+ responses: {
506
+ 200: {
507
+ bodyMapper: Mappers.ExpansionJobsListResult
508
+ },
509
+ default: {
510
+ bodyMapper: Mappers.CloudError
511
+ }
512
+ },
513
+ queryParameters: [Parameters.apiVersion],
514
+ urlParameters: [
515
+ Parameters.$host,
516
+ Parameters.subscriptionId,
517
+ Parameters.resourceGroupName,
518
+ Parameters.amlFilesystemName
519
+ ],
520
+ headerParameters: [Parameters.accept],
521
+ serializer
522
+ };
523
+ const listByAmlFilesystemNextOperationSpec = {
524
+ path: "{nextLink}",
525
+ httpMethod: "GET",
526
+ responses: {
527
+ 200: {
528
+ bodyMapper: Mappers.ExpansionJobsListResult
529
+ },
530
+ default: {
531
+ bodyMapper: Mappers.CloudError
532
+ }
533
+ },
534
+ urlParameters: [
535
+ Parameters.$host,
536
+ Parameters.subscriptionId,
537
+ Parameters.resourceGroupName,
538
+ Parameters.amlFilesystemName,
539
+ Parameters.nextLink
540
+ ],
541
+ headerParameters: [Parameters.accept],
542
+ serializer
543
+ };
544
+ // Annotate the CommonJS export names for ESM import in node:
545
+ 0 && (module.exports = {
546
+ ExpansionJobsImpl
547
+ });
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["/mnt/vss/_work/1/s/sdk/storagecache/arm-storagecache/src/operations/expansionJobs.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, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ExpansionJobs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageCacheManagementClient } from \"../storageCacheManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ExpansionJob,\n ExpansionJobsListByAmlFilesystemNextOptionalParams,\n ExpansionJobsListByAmlFilesystemOptionalParams,\n ExpansionJobsListByAmlFilesystemResponse,\n ExpansionJobsDeleteOptionalParams,\n ExpansionJobsDeleteResponse,\n ExpansionJobsGetOptionalParams,\n ExpansionJobsGetResponse,\n ExpansionJobsCreateOrUpdateOptionalParams,\n ExpansionJobsCreateOrUpdateResponse,\n ExpansionJobUpdate,\n ExpansionJobsUpdateOptionalParams,\n ExpansionJobsUpdateResponse,\n ExpansionJobsListByAmlFilesystemNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ExpansionJobs operations. */\nexport class ExpansionJobsImpl implements ExpansionJobs {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class ExpansionJobs class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all the expansion jobs the user has access to under an AML File System.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n public listByAmlFilesystem(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: ExpansionJobsListByAmlFilesystemOptionalParams,\n ): PagedAsyncIterableIterator<ExpansionJob> {\n const iter = this.listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByAmlFilesystemPagingPage(\n resourceGroupName,\n amlFilesystemName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByAmlFilesystemPagingPage(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: ExpansionJobsListByAmlFilesystemOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ExpansionJob[]> {\n let result: ExpansionJobsListByAmlFilesystemResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByAmlFilesystem(resourceGroupName, amlFilesystemName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByAmlFilesystemNext(\n resourceGroupName,\n amlFilesystemName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByAmlFilesystemPagingAll(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: ExpansionJobsListByAmlFilesystemOptionalParams,\n ): AsyncIterableIterator<ExpansionJob> {\n for await (const page of this.listByAmlFilesystemPagingPage(\n resourceGroupName,\n amlFilesystemName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Schedules an expansion job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ExpansionJobsDeleteResponse>, ExpansionJobsDeleteResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ExpansionJobsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, amlFilesystemName, expansionJobName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ExpansionJobsDeleteResponse,\n OperationState<ExpansionJobsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Schedules an expansion job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsDeleteOptionalParams,\n ): Promise<ExpansionJobsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n amlFilesystemName,\n expansionJobName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsGetOptionalParams,\n ): Promise<ExpansionJobsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, expansionJobName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJob,\n options?: ExpansionJobsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ExpansionJobsCreateOrUpdateResponse>,\n ExpansionJobsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ExpansionJobsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n amlFilesystemName,\n expansionJobName,\n expansionJob,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ExpansionJobsCreateOrUpdateResponse,\n OperationState<ExpansionJobsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJob,\n options?: ExpansionJobsCreateOrUpdateOptionalParams,\n ): Promise<ExpansionJobsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n amlFilesystemName,\n expansionJobName,\n expansionJob,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an expansion job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJobUpdate,\n options?: ExpansionJobsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ExpansionJobsUpdateResponse>, ExpansionJobsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ExpansionJobsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n amlFilesystemName,\n expansionJobName,\n expansionJob,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ExpansionJobsUpdateResponse,\n OperationState<ExpansionJobsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an expansion job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJobUpdate,\n options?: ExpansionJobsUpdateOptionalParams,\n ): Promise<ExpansionJobsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n amlFilesystemName,\n expansionJobName,\n expansionJob,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns all the expansion jobs the user has access to under an AML File System.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n private _listByAmlFilesystem(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: ExpansionJobsListByAmlFilesystemOptionalParams,\n ): Promise<ExpansionJobsListByAmlFilesystemResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n listByAmlFilesystemOperationSpec,\n );\n }\n\n /**\n * ListByAmlFilesystemNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.\n * @param options The options parameters.\n */\n private _listByAmlFilesystemNext(\n resourceGroupName: string,\n amlFilesystemName: string,\n nextLink: string,\n options?: ExpansionJobsListByAmlFilesystemNextOptionalParams,\n ): Promise<ExpansionJobsListByAmlFilesystemNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, nextLink, options },\n listByAmlFilesystemNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ExpansionJobsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ExpansionJobsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ExpansionJobsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ExpansionJobsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n Parameters.expansionJobName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExpansionJob,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n Parameters.expansionJobName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExpansionJob,\n },\n 201: {\n bodyMapper: Mappers.ExpansionJob,\n },\n 202: {\n bodyMapper: Mappers.ExpansionJob,\n },\n 204: {\n bodyMapper: Mappers.ExpansionJob,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.expansionJob,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n Parameters.expansionJobName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExpansionJob,\n },\n 201: {\n bodyMapper: Mappers.ExpansionJob,\n },\n 202: {\n bodyMapper: Mappers.ExpansionJob,\n },\n 204: {\n bodyMapper: Mappers.ExpansionJob,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.expansionJob1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n Parameters.expansionJobName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByAmlFilesystemOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExpansionJobsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByAmlFilesystemNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ExpansionJobsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n Parameters.nextLink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