@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,514 @@
1
+ import { setContinuationToken } from "../pagingHelper.js";
2
+ import * as coreClient from "@azure/core-client";
3
+ import * as Mappers from "../models/mappers.js";
4
+ import * as Parameters from "../models/parameters.js";
5
+ import { createHttpPoller } from "@azure/core-lro";
6
+ import { createLroSpec } from "../lroImpl.js";
7
+ class ExpansionJobsImpl {
8
+ client;
9
+ /**
10
+ * Initialize a new instance of the class ExpansionJobs class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client) {
14
+ this.client = client;
15
+ }
16
+ /**
17
+ * Returns all the expansion jobs the user has access to under an AML File System.
18
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
19
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
20
+ * hyphens. Start and end with alphanumeric.
21
+ * @param options The options parameters.
22
+ */
23
+ listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
24
+ const iter = this.listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options);
25
+ return {
26
+ next() {
27
+ return iter.next();
28
+ },
29
+ [Symbol.asyncIterator]() {
30
+ return this;
31
+ },
32
+ byPage: (settings) => {
33
+ if (settings?.maxPageSize) {
34
+ throw new Error("maxPageSize is not supported by this operation.");
35
+ }
36
+ return this.listByAmlFilesystemPagingPage(
37
+ resourceGroupName,
38
+ amlFilesystemName,
39
+ options,
40
+ settings
41
+ );
42
+ }
43
+ };
44
+ }
45
+ async *listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options, settings) {
46
+ let result;
47
+ let continuationToken = settings?.continuationToken;
48
+ if (!continuationToken) {
49
+ result = await this._listByAmlFilesystem(resourceGroupName, amlFilesystemName, options);
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield page;
54
+ }
55
+ while (continuationToken) {
56
+ result = await this._listByAmlFilesystemNext(
57
+ resourceGroupName,
58
+ amlFilesystemName,
59
+ continuationToken,
60
+ options
61
+ );
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ setContinuationToken(page, continuationToken);
65
+ yield page;
66
+ }
67
+ }
68
+ async *listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options) {
69
+ for await (const page of this.listByAmlFilesystemPagingPage(
70
+ resourceGroupName,
71
+ amlFilesystemName,
72
+ options
73
+ )) {
74
+ yield* page;
75
+ }
76
+ }
77
+ /**
78
+ * Schedules an expansion job for deletion.
79
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
80
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
81
+ * hyphens. Start and end with alphanumeric.
82
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
83
+ * Start and end with alphanumeric.
84
+ * @param options The options parameters.
85
+ */
86
+ async beginDelete(resourceGroupName, amlFilesystemName, expansionJobName, options) {
87
+ const directSendOperation = async (args, spec) => {
88
+ return this.client.sendOperationRequest(args, spec);
89
+ };
90
+ const sendOperationFn = async (args, spec) => {
91
+ let currentRawResponse = void 0;
92
+ const providedCallback = args.options?.onResponse;
93
+ const callback = (rawResponse, flatResponse2) => {
94
+ currentRawResponse = rawResponse;
95
+ providedCallback?.(rawResponse, flatResponse2);
96
+ };
97
+ const updatedArgs = {
98
+ ...args,
99
+ options: {
100
+ ...args.options,
101
+ onResponse: callback
102
+ }
103
+ };
104
+ const flatResponse = await directSendOperation(updatedArgs, spec);
105
+ return {
106
+ flatResponse,
107
+ rawResponse: {
108
+ statusCode: currentRawResponse.status,
109
+ body: currentRawResponse.parsedBody,
110
+ headers: currentRawResponse.headers.toJSON()
111
+ }
112
+ };
113
+ };
114
+ const lro = createLroSpec({
115
+ sendOperationFn,
116
+ args: { resourceGroupName, amlFilesystemName, expansionJobName, options },
117
+ spec: deleteOperationSpec
118
+ });
119
+ const poller = await createHttpPoller(lro, {
120
+ restoreFrom: options?.resumeFrom,
121
+ intervalInMs: options?.updateIntervalInMs,
122
+ resourceLocationConfig: "location"
123
+ });
124
+ await poller.poll();
125
+ return poller;
126
+ }
127
+ /**
128
+ * Schedules an expansion job for deletion.
129
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
131
+ * hyphens. Start and end with alphanumeric.
132
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
133
+ * Start and end with alphanumeric.
134
+ * @param options The options parameters.
135
+ */
136
+ async beginDeleteAndWait(resourceGroupName, amlFilesystemName, expansionJobName, options) {
137
+ const poller = await this.beginDelete(
138
+ resourceGroupName,
139
+ amlFilesystemName,
140
+ expansionJobName,
141
+ options
142
+ );
143
+ return poller.pollUntilDone();
144
+ }
145
+ /**
146
+ * Returns an expansion job.
147
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
149
+ * hyphens. Start and end with alphanumeric.
150
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
151
+ * Start and end with alphanumeric.
152
+ * @param options The options parameters.
153
+ */
154
+ get(resourceGroupName, amlFilesystemName, expansionJobName, options) {
155
+ return this.client.sendOperationRequest(
156
+ { resourceGroupName, amlFilesystemName, expansionJobName, options },
157
+ getOperationSpec
158
+ );
159
+ }
160
+ /**
161
+ * Create or update an expansion job.
162
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
163
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
164
+ * hyphens. Start and end with alphanumeric.
165
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
166
+ * Start and end with alphanumeric.
167
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
168
+ * read-only properties are included, they must match the existing values of those properties.
169
+ * @param options The options parameters.
170
+ */
171
+ async beginCreateOrUpdate(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
172
+ const directSendOperation = async (args, spec) => {
173
+ return this.client.sendOperationRequest(args, spec);
174
+ };
175
+ const sendOperationFn = async (args, spec) => {
176
+ let currentRawResponse = void 0;
177
+ const providedCallback = args.options?.onResponse;
178
+ const callback = (rawResponse, flatResponse2) => {
179
+ currentRawResponse = rawResponse;
180
+ providedCallback?.(rawResponse, flatResponse2);
181
+ };
182
+ const updatedArgs = {
183
+ ...args,
184
+ options: {
185
+ ...args.options,
186
+ onResponse: callback
187
+ }
188
+ };
189
+ const flatResponse = await directSendOperation(updatedArgs, spec);
190
+ return {
191
+ flatResponse,
192
+ rawResponse: {
193
+ statusCode: currentRawResponse.status,
194
+ body: currentRawResponse.parsedBody,
195
+ headers: currentRawResponse.headers.toJSON()
196
+ }
197
+ };
198
+ };
199
+ const lro = createLroSpec({
200
+ sendOperationFn,
201
+ args: {
202
+ resourceGroupName,
203
+ amlFilesystemName,
204
+ expansionJobName,
205
+ expansionJob,
206
+ options
207
+ },
208
+ spec: createOrUpdateOperationSpec
209
+ });
210
+ const poller = await createHttpPoller(lro, {
211
+ restoreFrom: options?.resumeFrom,
212
+ intervalInMs: options?.updateIntervalInMs,
213
+ resourceLocationConfig: "azure-async-operation"
214
+ });
215
+ await poller.poll();
216
+ return poller;
217
+ }
218
+ /**
219
+ * Create or update an expansion job.
220
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
221
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
222
+ * hyphens. Start and end with alphanumeric.
223
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
224
+ * Start and end with alphanumeric.
225
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
226
+ * read-only properties are included, they must match the existing values of those properties.
227
+ * @param options The options parameters.
228
+ */
229
+ async beginCreateOrUpdateAndWait(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
230
+ const poller = await this.beginCreateOrUpdate(
231
+ resourceGroupName,
232
+ amlFilesystemName,
233
+ expansionJobName,
234
+ expansionJob,
235
+ options
236
+ );
237
+ return poller.pollUntilDone();
238
+ }
239
+ /**
240
+ * Update an expansion job instance.
241
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
242
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
243
+ * hyphens. Start and end with alphanumeric.
244
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
245
+ * Start and end with alphanumeric.
246
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
247
+ * read-only properties are included, they must match the existing values of those properties.
248
+ * @param options The options parameters.
249
+ */
250
+ async beginUpdate(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
251
+ const directSendOperation = async (args, spec) => {
252
+ return this.client.sendOperationRequest(args, spec);
253
+ };
254
+ const sendOperationFn = async (args, spec) => {
255
+ let currentRawResponse = void 0;
256
+ const providedCallback = args.options?.onResponse;
257
+ const callback = (rawResponse, flatResponse2) => {
258
+ currentRawResponse = rawResponse;
259
+ providedCallback?.(rawResponse, flatResponse2);
260
+ };
261
+ const updatedArgs = {
262
+ ...args,
263
+ options: {
264
+ ...args.options,
265
+ onResponse: callback
266
+ }
267
+ };
268
+ const flatResponse = await directSendOperation(updatedArgs, spec);
269
+ return {
270
+ flatResponse,
271
+ rawResponse: {
272
+ statusCode: currentRawResponse.status,
273
+ body: currentRawResponse.parsedBody,
274
+ headers: currentRawResponse.headers.toJSON()
275
+ }
276
+ };
277
+ };
278
+ const lro = createLroSpec({
279
+ sendOperationFn,
280
+ args: {
281
+ resourceGroupName,
282
+ amlFilesystemName,
283
+ expansionJobName,
284
+ expansionJob,
285
+ options
286
+ },
287
+ spec: updateOperationSpec
288
+ });
289
+ const poller = await createHttpPoller(lro, {
290
+ restoreFrom: options?.resumeFrom,
291
+ intervalInMs: options?.updateIntervalInMs,
292
+ resourceLocationConfig: "azure-async-operation"
293
+ });
294
+ await poller.poll();
295
+ return poller;
296
+ }
297
+ /**
298
+ * Update an expansion job instance.
299
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
300
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
301
+ * hyphens. Start and end with alphanumeric.
302
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
303
+ * Start and end with alphanumeric.
304
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
305
+ * read-only properties are included, they must match the existing values of those properties.
306
+ * @param options The options parameters.
307
+ */
308
+ async beginUpdateAndWait(resourceGroupName, amlFilesystemName, expansionJobName, expansionJob, options) {
309
+ const poller = await this.beginUpdate(
310
+ resourceGroupName,
311
+ amlFilesystemName,
312
+ expansionJobName,
313
+ expansionJob,
314
+ options
315
+ );
316
+ return poller.pollUntilDone();
317
+ }
318
+ /**
319
+ * Returns all the expansion jobs the user has access to under an AML File System.
320
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
321
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
322
+ * hyphens. Start and end with alphanumeric.
323
+ * @param options The options parameters.
324
+ */
325
+ _listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
326
+ return this.client.sendOperationRequest(
327
+ { resourceGroupName, amlFilesystemName, options },
328
+ listByAmlFilesystemOperationSpec
329
+ );
330
+ }
331
+ /**
332
+ * ListByAmlFilesystemNext
333
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
334
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
335
+ * hyphens. Start and end with alphanumeric.
336
+ * @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.
337
+ * @param options The options parameters.
338
+ */
339
+ _listByAmlFilesystemNext(resourceGroupName, amlFilesystemName, nextLink, options) {
340
+ return this.client.sendOperationRequest(
341
+ { resourceGroupName, amlFilesystemName, nextLink, options },
342
+ listByAmlFilesystemNextOperationSpec
343
+ );
344
+ }
345
+ }
346
+ const serializer = coreClient.createSerializer(
347
+ Mappers,
348
+ /* isXml */
349
+ false
350
+ );
351
+ const deleteOperationSpec = {
352
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
353
+ httpMethod: "DELETE",
354
+ responses: {
355
+ 200: {
356
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
357
+ },
358
+ 201: {
359
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
360
+ },
361
+ 202: {
362
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
363
+ },
364
+ 204: {
365
+ headersMapper: Mappers.ExpansionJobsDeleteHeaders
366
+ },
367
+ default: {
368
+ bodyMapper: Mappers.ErrorResponse
369
+ }
370
+ },
371
+ queryParameters: [Parameters.apiVersion],
372
+ urlParameters: [
373
+ Parameters.$host,
374
+ Parameters.subscriptionId,
375
+ Parameters.resourceGroupName,
376
+ Parameters.amlFilesystemName,
377
+ Parameters.expansionJobName
378
+ ],
379
+ headerParameters: [Parameters.accept],
380
+ serializer
381
+ };
382
+ const getOperationSpec = {
383
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
384
+ httpMethod: "GET",
385
+ responses: {
386
+ 200: {
387
+ bodyMapper: Mappers.ExpansionJob
388
+ },
389
+ default: {
390
+ bodyMapper: Mappers.CloudError
391
+ }
392
+ },
393
+ queryParameters: [Parameters.apiVersion],
394
+ urlParameters: [
395
+ Parameters.$host,
396
+ Parameters.subscriptionId,
397
+ Parameters.resourceGroupName,
398
+ Parameters.amlFilesystemName,
399
+ Parameters.expansionJobName
400
+ ],
401
+ headerParameters: [Parameters.accept],
402
+ serializer
403
+ };
404
+ const createOrUpdateOperationSpec = {
405
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
406
+ httpMethod: "PUT",
407
+ responses: {
408
+ 200: {
409
+ bodyMapper: Mappers.ExpansionJob
410
+ },
411
+ 201: {
412
+ bodyMapper: Mappers.ExpansionJob
413
+ },
414
+ 202: {
415
+ bodyMapper: Mappers.ExpansionJob
416
+ },
417
+ 204: {
418
+ bodyMapper: Mappers.ExpansionJob
419
+ },
420
+ default: {
421
+ bodyMapper: Mappers.ErrorResponse
422
+ }
423
+ },
424
+ requestBody: Parameters.expansionJob,
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, Parameters.contentType],
434
+ mediaType: "json",
435
+ serializer
436
+ };
437
+ const updateOperationSpec = {
438
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}",
439
+ httpMethod: "PATCH",
440
+ responses: {
441
+ 200: {
442
+ bodyMapper: Mappers.ExpansionJob
443
+ },
444
+ 201: {
445
+ bodyMapper: Mappers.ExpansionJob
446
+ },
447
+ 202: {
448
+ bodyMapper: Mappers.ExpansionJob
449
+ },
450
+ 204: {
451
+ bodyMapper: Mappers.ExpansionJob
452
+ },
453
+ default: {
454
+ bodyMapper: Mappers.ErrorResponse
455
+ }
456
+ },
457
+ requestBody: Parameters.expansionJob1,
458
+ queryParameters: [Parameters.apiVersion],
459
+ urlParameters: [
460
+ Parameters.$host,
461
+ Parameters.subscriptionId,
462
+ Parameters.resourceGroupName,
463
+ Parameters.amlFilesystemName,
464
+ Parameters.expansionJobName
465
+ ],
466
+ headerParameters: [Parameters.accept, Parameters.contentType],
467
+ mediaType: "json",
468
+ serializer
469
+ };
470
+ const listByAmlFilesystemOperationSpec = {
471
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs",
472
+ httpMethod: "GET",
473
+ responses: {
474
+ 200: {
475
+ bodyMapper: Mappers.ExpansionJobsListResult
476
+ },
477
+ default: {
478
+ bodyMapper: Mappers.CloudError
479
+ }
480
+ },
481
+ queryParameters: [Parameters.apiVersion],
482
+ urlParameters: [
483
+ Parameters.$host,
484
+ Parameters.subscriptionId,
485
+ Parameters.resourceGroupName,
486
+ Parameters.amlFilesystemName
487
+ ],
488
+ headerParameters: [Parameters.accept],
489
+ serializer
490
+ };
491
+ const listByAmlFilesystemNextOperationSpec = {
492
+ path: "{nextLink}",
493
+ httpMethod: "GET",
494
+ responses: {
495
+ 200: {
496
+ bodyMapper: Mappers.ExpansionJobsListResult
497
+ },
498
+ default: {
499
+ bodyMapper: Mappers.CloudError
500
+ }
501
+ },
502
+ urlParameters: [
503
+ Parameters.$host,
504
+ Parameters.subscriptionId,
505
+ Parameters.resourceGroupName,
506
+ Parameters.amlFilesystemName,
507
+ Parameters.nextLink
508
+ ],
509
+ headerParameters: [Parameters.accept],
510
+ serializer
511
+ };
512
+ export {
513
+ ExpansionJobsImpl
514
+ };
@@ -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,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"],
5
+ "mappings": "AAOA,SAAS,4BAA4B;AAErC,YAAY,gBAAgB;AAC5B,YAAY,aAAa;AACzB,YAAY,gBAAgB;AAE5B,SAA2C,wBAAwB;AACnE,SAAS,qBAAqB;AAoBvB,MAAM,kBAA2C;AAAA,EACrC;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAAsC;AAChD,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASO,oBACL,mBACA,mBACA,SAC0C;AAC1C,UAAM,OAAO,KAAK,6BAA6B,mBAAmB,mBAAmB,OAAO;AAC5F,WAAO;AAAA,MACL,OAAO;AACL,eAAO,KAAK,KAAK;AAAA,MACnB;AAAA,MACA,CAAC,OAAO,aAAa,IAAI;AACvB,eAAO;AAAA,MACT;AAAA,MACA,QAAQ,CAAC,aAA4B;AACnC,YAAI,UAAU,aAAa;AACzB,gBAAM,IAAI,MAAM,iDAAiD;AAAA,QACnE;AACA,eAAO,KAAK;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,OAAe,8BACb,mBACA,mBACA,SACA,UACuC;AACvC,QAAI;AACJ,QAAI,oBAAoB,UAAU;AAClC,QAAI,CAAC,mBAAmB;AACtB,eAAS,MAAM,KAAK,qBAAqB,mBAAmB,mBAAmB,OAAO;AACtF,UAAI,OAAO,OAAO,SAAS,CAAC;AAC5B,0BAAoB,OAAO;AAC3B,2BAAqB,MAAM,iBAAiB;AAC5C,YAAM;AAAA,IACR;AACA,WAAO,mBAAmB;AACxB,eAAS,MAAM,KAAK;AAAA,QAClB;AAAA,QACA;AAAA,QACA;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