@azure/arm-storagecache 8.0.2-alpha.20250925.1 → 8.1.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 (449) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -6
  3. package/dist/browser/index.d.ts.map +1 -1
  4. package/dist/browser/index.js +4 -7
  5. package/dist/browser/index.js.map +1 -1
  6. package/dist/browser/lroImpl.d.ts.map +1 -1
  7. package/dist/browser/lroImpl.js +2 -0
  8. package/dist/browser/lroImpl.js.map +1 -1
  9. package/dist/browser/models/index.d.ts +623 -3
  10. package/dist/browser/models/index.d.ts.map +1 -1
  11. package/dist/browser/models/index.js +92 -7
  12. package/dist/browser/models/index.js.map +1 -1
  13. package/dist/browser/models/mappers.d.ts +13 -0
  14. package/dist/browser/models/mappers.d.ts.map +1 -1
  15. package/dist/browser/models/mappers.js +759 -85
  16. package/dist/browser/models/mappers.js.map +1 -1
  17. package/dist/browser/models/parameters.d.ts +6 -0
  18. package/dist/browser/models/parameters.d.ts.map +1 -1
  19. package/dist/browser/models/parameters.js +50 -9
  20. package/dist/browser/models/parameters.js.map +1 -1
  21. package/dist/browser/operations/amlFilesystems.d.ts.map +1 -1
  22. package/dist/browser/operations/amlFilesystems.js +5 -18
  23. package/dist/browser/operations/amlFilesystems.js.map +1 -1
  24. package/dist/browser/operations/ascOperations.d.ts.map +1 -1
  25. package/dist/browser/operations/ascOperations.js +2 -7
  26. package/dist/browser/operations/ascOperations.js.map +1 -1
  27. package/dist/browser/operations/ascUsages.d.ts.map +1 -1
  28. package/dist/browser/operations/ascUsages.js +3 -12
  29. package/dist/browser/operations/ascUsages.js.map +1 -1
  30. package/dist/browser/operations/autoExportJobs.d.ts +120 -0
  31. package/dist/browser/operations/autoExportJobs.d.ts.map +1 -0
  32. package/dist/browser/operations/autoExportJobs.js +478 -0
  33. package/dist/browser/operations/autoExportJobs.js.map +1 -0
  34. package/dist/browser/operations/autoImportJobs.d.ts +120 -0
  35. package/dist/browser/operations/autoImportJobs.d.ts.map +1 -0
  36. package/dist/browser/operations/autoImportJobs.js +478 -0
  37. package/dist/browser/operations/autoImportJobs.js.map +1 -0
  38. package/dist/browser/operations/caches.d.ts.map +1 -1
  39. package/dist/browser/operations/caches.js +5 -18
  40. package/dist/browser/operations/caches.js.map +1 -1
  41. package/dist/browser/operations/importJobs.d.ts +2 -2
  42. package/dist/browser/operations/importJobs.d.ts.map +1 -1
  43. package/dist/browser/operations/importJobs.js +5 -10
  44. package/dist/browser/operations/importJobs.js.map +1 -1
  45. package/dist/browser/operations/index.d.ts +2 -0
  46. package/dist/browser/operations/index.d.ts.map +1 -1
  47. package/dist/browser/operations/index.js +6 -7
  48. package/dist/browser/operations/index.js.map +1 -1
  49. package/dist/browser/operations/operations.d.ts.map +1 -1
  50. package/dist/browser/operations/operations.js +2 -7
  51. package/dist/browser/operations/operations.js.map +1 -1
  52. package/dist/browser/operations/skus.d.ts.map +1 -1
  53. package/dist/browser/operations/skus.js +3 -12
  54. package/dist/browser/operations/skus.js.map +1 -1
  55. package/dist/browser/operations/storageTargetOperations.d.ts.map +1 -1
  56. package/dist/browser/operations/storageTargetOperations.js +3 -8
  57. package/dist/browser/operations/storageTargetOperations.js.map +1 -1
  58. package/dist/browser/operations/storageTargets.d.ts.map +1 -1
  59. package/dist/browser/operations/storageTargets.js +3 -8
  60. package/dist/browser/operations/storageTargets.js.map +1 -1
  61. package/dist/browser/operations/usageModels.d.ts.map +1 -1
  62. package/dist/browser/operations/usageModels.js +3 -12
  63. package/dist/browser/operations/usageModels.js.map +1 -1
  64. package/dist/browser/operationsInterfaces/amlFilesystems.d.ts.map +1 -1
  65. package/dist/browser/operationsInterfaces/amlFilesystems.js +2 -7
  66. package/dist/browser/operationsInterfaces/amlFilesystems.js.map +1 -1
  67. package/dist/browser/operationsInterfaces/ascOperations.d.ts.map +1 -1
  68. package/dist/browser/operationsInterfaces/ascOperations.js +2 -7
  69. package/dist/browser/operationsInterfaces/ascOperations.js.map +1 -1
  70. package/dist/browser/operationsInterfaces/ascUsages.d.ts.map +1 -1
  71. package/dist/browser/operationsInterfaces/ascUsages.js +2 -7
  72. package/dist/browser/operationsInterfaces/ascUsages.js.map +1 -1
  73. package/dist/browser/operationsInterfaces/autoExportJobs.d.ts +93 -0
  74. package/dist/browser/operationsInterfaces/autoExportJobs.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/autoExportJobs.js +4 -0
  76. package/dist/browser/operationsInterfaces/autoExportJobs.js.map +1 -0
  77. package/dist/browser/operationsInterfaces/autoImportJobs.d.ts +93 -0
  78. package/dist/browser/operationsInterfaces/autoImportJobs.d.ts.map +1 -0
  79. package/dist/browser/operationsInterfaces/autoImportJobs.js +4 -0
  80. package/dist/browser/operationsInterfaces/autoImportJobs.js.map +1 -0
  81. package/dist/browser/operationsInterfaces/caches.d.ts.map +1 -1
  82. package/dist/browser/operationsInterfaces/caches.js +2 -7
  83. package/dist/browser/operationsInterfaces/caches.js.map +1 -1
  84. package/dist/browser/operationsInterfaces/importJobs.d.ts +2 -2
  85. package/dist/browser/operationsInterfaces/importJobs.d.ts.map +1 -1
  86. package/dist/browser/operationsInterfaces/importJobs.js +2 -7
  87. package/dist/browser/operationsInterfaces/importJobs.js.map +1 -1
  88. package/dist/browser/operationsInterfaces/index.d.ts +2 -0
  89. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  90. package/dist/browser/operationsInterfaces/index.js +6 -7
  91. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  92. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  93. package/dist/browser/operationsInterfaces/operations.js +2 -7
  94. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  95. package/dist/browser/operationsInterfaces/skus.d.ts.map +1 -1
  96. package/dist/browser/operationsInterfaces/skus.js +2 -7
  97. package/dist/browser/operationsInterfaces/skus.js.map +1 -1
  98. package/dist/browser/operationsInterfaces/storageTargetOperations.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/storageTargetOperations.js +2 -7
  100. package/dist/browser/operationsInterfaces/storageTargetOperations.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/storageTargets.d.ts.map +1 -1
  102. package/dist/browser/operationsInterfaces/storageTargets.js +2 -7
  103. package/dist/browser/operationsInterfaces/storageTargets.js.map +1 -1
  104. package/dist/browser/operationsInterfaces/usageModels.d.ts.map +1 -1
  105. package/dist/browser/operationsInterfaces/usageModels.js +2 -7
  106. package/dist/browser/operationsInterfaces/usageModels.js.map +1 -1
  107. package/dist/browser/pagingHelper.d.ts.map +1 -1
  108. package/dist/browser/pagingHelper.js +2 -7
  109. package/dist/browser/pagingHelper.js.map +1 -1
  110. package/dist/browser/storageCacheManagementClient.d.ts +3 -1
  111. package/dist/browser/storageCacheManagementClient.d.ts.map +1 -1
  112. package/dist/browser/storageCacheManagementClient.js +13 -14
  113. package/dist/browser/storageCacheManagementClient.js.map +1 -1
  114. package/dist/commonjs/index.d.ts.map +1 -1
  115. package/dist/commonjs/index.js +4 -7
  116. package/dist/commonjs/index.js.map +1 -1
  117. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  118. package/dist/commonjs/lroImpl.js +2 -0
  119. package/dist/commonjs/lroImpl.js.map +1 -1
  120. package/dist/commonjs/models/index.d.ts +623 -3
  121. package/dist/commonjs/models/index.d.ts.map +1 -1
  122. package/dist/commonjs/models/index.js +93 -8
  123. package/dist/commonjs/models/index.js.map +1 -1
  124. package/dist/commonjs/models/mappers.d.ts +13 -0
  125. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  126. package/dist/commonjs/models/mappers.js +762 -88
  127. package/dist/commonjs/models/mappers.js.map +1 -1
  128. package/dist/commonjs/models/parameters.d.ts +6 -0
  129. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  130. package/dist/commonjs/models/parameters.js +50 -9
  131. package/dist/commonjs/models/parameters.js.map +1 -1
  132. package/dist/commonjs/operations/amlFilesystems.d.ts.map +1 -1
  133. package/dist/commonjs/operations/amlFilesystems.js +4 -17
  134. package/dist/commonjs/operations/amlFilesystems.js.map +1 -1
  135. package/dist/commonjs/operations/ascOperations.d.ts.map +1 -1
  136. package/dist/commonjs/operations/ascOperations.js +2 -7
  137. package/dist/commonjs/operations/ascOperations.js.map +1 -1
  138. package/dist/commonjs/operations/ascUsages.d.ts.map +1 -1
  139. package/dist/commonjs/operations/ascUsages.js +3 -12
  140. package/dist/commonjs/operations/ascUsages.js.map +1 -1
  141. package/dist/commonjs/operations/autoExportJobs.d.ts +120 -0
  142. package/dist/commonjs/operations/autoExportJobs.d.ts.map +1 -0
  143. package/dist/commonjs/operations/autoExportJobs.js +483 -0
  144. package/dist/commonjs/operations/autoExportJobs.js.map +1 -0
  145. package/dist/commonjs/operations/autoImportJobs.d.ts +120 -0
  146. package/dist/commonjs/operations/autoImportJobs.d.ts.map +1 -0
  147. package/dist/commonjs/operations/autoImportJobs.js +483 -0
  148. package/dist/commonjs/operations/autoImportJobs.js.map +1 -0
  149. package/dist/commonjs/operations/caches.d.ts.map +1 -1
  150. package/dist/commonjs/operations/caches.js +4 -17
  151. package/dist/commonjs/operations/caches.js.map +1 -1
  152. package/dist/commonjs/operations/importJobs.d.ts +2 -2
  153. package/dist/commonjs/operations/importJobs.d.ts.map +1 -1
  154. package/dist/commonjs/operations/importJobs.js +4 -9
  155. package/dist/commonjs/operations/importJobs.js.map +1 -1
  156. package/dist/commonjs/operations/index.d.ts +2 -0
  157. package/dist/commonjs/operations/index.d.ts.map +1 -1
  158. package/dist/commonjs/operations/index.js +6 -7
  159. package/dist/commonjs/operations/index.js.map +1 -1
  160. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  161. package/dist/commonjs/operations/operations.js +2 -7
  162. package/dist/commonjs/operations/operations.js.map +1 -1
  163. package/dist/commonjs/operations/skus.d.ts.map +1 -1
  164. package/dist/commonjs/operations/skus.js +3 -12
  165. package/dist/commonjs/operations/skus.js.map +1 -1
  166. package/dist/commonjs/operations/storageTargetOperations.d.ts.map +1 -1
  167. package/dist/commonjs/operations/storageTargetOperations.js +2 -7
  168. package/dist/commonjs/operations/storageTargetOperations.js.map +1 -1
  169. package/dist/commonjs/operations/storageTargets.d.ts.map +1 -1
  170. package/dist/commonjs/operations/storageTargets.js +2 -7
  171. package/dist/commonjs/operations/storageTargets.js.map +1 -1
  172. package/dist/commonjs/operations/usageModels.d.ts.map +1 -1
  173. package/dist/commonjs/operations/usageModels.js +3 -12
  174. package/dist/commonjs/operations/usageModels.js.map +1 -1
  175. package/dist/commonjs/operationsInterfaces/amlFilesystems.d.ts.map +1 -1
  176. package/dist/commonjs/operationsInterfaces/amlFilesystems.js +2 -7
  177. package/dist/commonjs/operationsInterfaces/amlFilesystems.js.map +1 -1
  178. package/dist/commonjs/operationsInterfaces/ascOperations.d.ts.map +1 -1
  179. package/dist/commonjs/operationsInterfaces/ascOperations.js +2 -7
  180. package/dist/commonjs/operationsInterfaces/ascOperations.js.map +1 -1
  181. package/dist/commonjs/operationsInterfaces/ascUsages.d.ts.map +1 -1
  182. package/dist/commonjs/operationsInterfaces/ascUsages.js +2 -7
  183. package/dist/commonjs/operationsInterfaces/ascUsages.js.map +1 -1
  184. package/dist/commonjs/operationsInterfaces/autoExportJobs.d.ts +93 -0
  185. package/dist/commonjs/operationsInterfaces/autoExportJobs.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/autoExportJobs.js +5 -0
  187. package/dist/commonjs/operationsInterfaces/autoExportJobs.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/autoImportJobs.d.ts +93 -0
  189. package/dist/commonjs/operationsInterfaces/autoImportJobs.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/autoImportJobs.js +5 -0
  191. package/dist/commonjs/operationsInterfaces/autoImportJobs.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/caches.d.ts.map +1 -1
  193. package/dist/commonjs/operationsInterfaces/caches.js +2 -7
  194. package/dist/commonjs/operationsInterfaces/caches.js.map +1 -1
  195. package/dist/commonjs/operationsInterfaces/importJobs.d.ts +2 -2
  196. package/dist/commonjs/operationsInterfaces/importJobs.d.ts.map +1 -1
  197. package/dist/commonjs/operationsInterfaces/importJobs.js +2 -7
  198. package/dist/commonjs/operationsInterfaces/importJobs.js.map +1 -1
  199. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
  200. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  201. package/dist/commonjs/operationsInterfaces/index.js +6 -7
  202. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  203. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  204. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  205. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  206. package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -1
  207. package/dist/commonjs/operationsInterfaces/skus.js +2 -7
  208. package/dist/commonjs/operationsInterfaces/skus.js.map +1 -1
  209. package/dist/commonjs/operationsInterfaces/storageTargetOperations.d.ts.map +1 -1
  210. package/dist/commonjs/operationsInterfaces/storageTargetOperations.js +2 -7
  211. package/dist/commonjs/operationsInterfaces/storageTargetOperations.js.map +1 -1
  212. package/dist/commonjs/operationsInterfaces/storageTargets.d.ts.map +1 -1
  213. package/dist/commonjs/operationsInterfaces/storageTargets.js +2 -7
  214. package/dist/commonjs/operationsInterfaces/storageTargets.js.map +1 -1
  215. package/dist/commonjs/operationsInterfaces/usageModels.d.ts.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/usageModels.js +2 -7
  217. package/dist/commonjs/operationsInterfaces/usageModels.js.map +1 -1
  218. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  219. package/dist/commonjs/pagingHelper.js +2 -7
  220. package/dist/commonjs/pagingHelper.js.map +1 -1
  221. package/dist/commonjs/storageCacheManagementClient.d.ts +3 -1
  222. package/dist/commonjs/storageCacheManagementClient.d.ts.map +1 -1
  223. package/dist/commonjs/storageCacheManagementClient.js +12 -13
  224. package/dist/commonjs/storageCacheManagementClient.js.map +1 -1
  225. package/dist/esm/index.d.ts.map +1 -1
  226. package/dist/esm/index.js +4 -7
  227. package/dist/esm/index.js.map +1 -1
  228. package/dist/esm/lroImpl.d.ts.map +1 -1
  229. package/dist/esm/lroImpl.js +2 -0
  230. package/dist/esm/lroImpl.js.map +1 -1
  231. package/dist/esm/models/index.d.ts +623 -3
  232. package/dist/esm/models/index.d.ts.map +1 -1
  233. package/dist/esm/models/index.js +92 -7
  234. package/dist/esm/models/index.js.map +1 -1
  235. package/dist/esm/models/mappers.d.ts +13 -0
  236. package/dist/esm/models/mappers.d.ts.map +1 -1
  237. package/dist/esm/models/mappers.js +759 -85
  238. package/dist/esm/models/mappers.js.map +1 -1
  239. package/dist/esm/models/parameters.d.ts +6 -0
  240. package/dist/esm/models/parameters.d.ts.map +1 -1
  241. package/dist/esm/models/parameters.js +50 -9
  242. package/dist/esm/models/parameters.js.map +1 -1
  243. package/dist/esm/operations/amlFilesystems.d.ts.map +1 -1
  244. package/dist/esm/operations/amlFilesystems.js +5 -18
  245. package/dist/esm/operations/amlFilesystems.js.map +1 -1
  246. package/dist/esm/operations/ascOperations.d.ts.map +1 -1
  247. package/dist/esm/operations/ascOperations.js +2 -7
  248. package/dist/esm/operations/ascOperations.js.map +1 -1
  249. package/dist/esm/operations/ascUsages.d.ts.map +1 -1
  250. package/dist/esm/operations/ascUsages.js +3 -12
  251. package/dist/esm/operations/ascUsages.js.map +1 -1
  252. package/dist/esm/operations/autoExportJobs.d.ts +120 -0
  253. package/dist/esm/operations/autoExportJobs.d.ts.map +1 -0
  254. package/dist/esm/operations/autoExportJobs.js +478 -0
  255. package/dist/esm/operations/autoExportJobs.js.map +1 -0
  256. package/dist/esm/operations/autoImportJobs.d.ts +120 -0
  257. package/dist/esm/operations/autoImportJobs.d.ts.map +1 -0
  258. package/dist/esm/operations/autoImportJobs.js +478 -0
  259. package/dist/esm/operations/autoImportJobs.js.map +1 -0
  260. package/dist/esm/operations/caches.d.ts.map +1 -1
  261. package/dist/esm/operations/caches.js +5 -18
  262. package/dist/esm/operations/caches.js.map +1 -1
  263. package/dist/esm/operations/importJobs.d.ts +2 -2
  264. package/dist/esm/operations/importJobs.d.ts.map +1 -1
  265. package/dist/esm/operations/importJobs.js +5 -10
  266. package/dist/esm/operations/importJobs.js.map +1 -1
  267. package/dist/esm/operations/index.d.ts +2 -0
  268. package/dist/esm/operations/index.d.ts.map +1 -1
  269. package/dist/esm/operations/index.js +6 -7
  270. package/dist/esm/operations/index.js.map +1 -1
  271. package/dist/esm/operations/operations.d.ts.map +1 -1
  272. package/dist/esm/operations/operations.js +2 -7
  273. package/dist/esm/operations/operations.js.map +1 -1
  274. package/dist/esm/operations/skus.d.ts.map +1 -1
  275. package/dist/esm/operations/skus.js +3 -12
  276. package/dist/esm/operations/skus.js.map +1 -1
  277. package/dist/esm/operations/storageTargetOperations.d.ts.map +1 -1
  278. package/dist/esm/operations/storageTargetOperations.js +3 -8
  279. package/dist/esm/operations/storageTargetOperations.js.map +1 -1
  280. package/dist/esm/operations/storageTargets.d.ts.map +1 -1
  281. package/dist/esm/operations/storageTargets.js +3 -8
  282. package/dist/esm/operations/storageTargets.js.map +1 -1
  283. package/dist/esm/operations/usageModels.d.ts.map +1 -1
  284. package/dist/esm/operations/usageModels.js +3 -12
  285. package/dist/esm/operations/usageModels.js.map +1 -1
  286. package/dist/esm/operationsInterfaces/amlFilesystems.d.ts.map +1 -1
  287. package/dist/esm/operationsInterfaces/amlFilesystems.js +2 -7
  288. package/dist/esm/operationsInterfaces/amlFilesystems.js.map +1 -1
  289. package/dist/esm/operationsInterfaces/ascOperations.d.ts.map +1 -1
  290. package/dist/esm/operationsInterfaces/ascOperations.js +2 -7
  291. package/dist/esm/operationsInterfaces/ascOperations.js.map +1 -1
  292. package/dist/esm/operationsInterfaces/ascUsages.d.ts.map +1 -1
  293. package/dist/esm/operationsInterfaces/ascUsages.js +2 -7
  294. package/dist/esm/operationsInterfaces/ascUsages.js.map +1 -1
  295. package/dist/esm/operationsInterfaces/autoExportJobs.d.ts +93 -0
  296. package/dist/esm/operationsInterfaces/autoExportJobs.d.ts.map +1 -0
  297. package/dist/esm/operationsInterfaces/autoExportJobs.js +4 -0
  298. package/dist/esm/operationsInterfaces/autoExportJobs.js.map +1 -0
  299. package/dist/esm/operationsInterfaces/autoImportJobs.d.ts +93 -0
  300. package/dist/esm/operationsInterfaces/autoImportJobs.d.ts.map +1 -0
  301. package/dist/esm/operationsInterfaces/autoImportJobs.js +4 -0
  302. package/dist/esm/operationsInterfaces/autoImportJobs.js.map +1 -0
  303. package/dist/esm/operationsInterfaces/caches.d.ts.map +1 -1
  304. package/dist/esm/operationsInterfaces/caches.js +2 -7
  305. package/dist/esm/operationsInterfaces/caches.js.map +1 -1
  306. package/dist/esm/operationsInterfaces/importJobs.d.ts +2 -2
  307. package/dist/esm/operationsInterfaces/importJobs.d.ts.map +1 -1
  308. package/dist/esm/operationsInterfaces/importJobs.js +2 -7
  309. package/dist/esm/operationsInterfaces/importJobs.js.map +1 -1
  310. package/dist/esm/operationsInterfaces/index.d.ts +2 -0
  311. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  312. package/dist/esm/operationsInterfaces/index.js +6 -7
  313. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  314. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  315. package/dist/esm/operationsInterfaces/operations.js +2 -7
  316. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  317. package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -1
  318. package/dist/esm/operationsInterfaces/skus.js +2 -7
  319. package/dist/esm/operationsInterfaces/skus.js.map +1 -1
  320. package/dist/esm/operationsInterfaces/storageTargetOperations.d.ts.map +1 -1
  321. package/dist/esm/operationsInterfaces/storageTargetOperations.js +2 -7
  322. package/dist/esm/operationsInterfaces/storageTargetOperations.js.map +1 -1
  323. package/dist/esm/operationsInterfaces/storageTargets.d.ts.map +1 -1
  324. package/dist/esm/operationsInterfaces/storageTargets.js +2 -7
  325. package/dist/esm/operationsInterfaces/storageTargets.js.map +1 -1
  326. package/dist/esm/operationsInterfaces/usageModels.d.ts.map +1 -1
  327. package/dist/esm/operationsInterfaces/usageModels.js +2 -7
  328. package/dist/esm/operationsInterfaces/usageModels.js.map +1 -1
  329. package/dist/esm/pagingHelper.d.ts.map +1 -1
  330. package/dist/esm/pagingHelper.js +2 -7
  331. package/dist/esm/pagingHelper.js.map +1 -1
  332. package/dist/esm/storageCacheManagementClient.d.ts +3 -1
  333. package/dist/esm/storageCacheManagementClient.d.ts.map +1 -1
  334. package/dist/esm/storageCacheManagementClient.js +13 -14
  335. package/dist/esm/storageCacheManagementClient.js.map +1 -1
  336. package/dist/react-native/index.d.ts.map +1 -1
  337. package/dist/react-native/index.js +4 -7
  338. package/dist/react-native/index.js.map +1 -1
  339. package/dist/react-native/lroImpl.d.ts.map +1 -1
  340. package/dist/react-native/lroImpl.js +2 -0
  341. package/dist/react-native/lroImpl.js.map +1 -1
  342. package/dist/react-native/models/index.d.ts +623 -3
  343. package/dist/react-native/models/index.d.ts.map +1 -1
  344. package/dist/react-native/models/index.js +92 -7
  345. package/dist/react-native/models/index.js.map +1 -1
  346. package/dist/react-native/models/mappers.d.ts +13 -0
  347. package/dist/react-native/models/mappers.d.ts.map +1 -1
  348. package/dist/react-native/models/mappers.js +759 -85
  349. package/dist/react-native/models/mappers.js.map +1 -1
  350. package/dist/react-native/models/parameters.d.ts +6 -0
  351. package/dist/react-native/models/parameters.d.ts.map +1 -1
  352. package/dist/react-native/models/parameters.js +50 -9
  353. package/dist/react-native/models/parameters.js.map +1 -1
  354. package/dist/react-native/operations/amlFilesystems.d.ts.map +1 -1
  355. package/dist/react-native/operations/amlFilesystems.js +5 -18
  356. package/dist/react-native/operations/amlFilesystems.js.map +1 -1
  357. package/dist/react-native/operations/ascOperations.d.ts.map +1 -1
  358. package/dist/react-native/operations/ascOperations.js +2 -7
  359. package/dist/react-native/operations/ascOperations.js.map +1 -1
  360. package/dist/react-native/operations/ascUsages.d.ts.map +1 -1
  361. package/dist/react-native/operations/ascUsages.js +3 -12
  362. package/dist/react-native/operations/ascUsages.js.map +1 -1
  363. package/dist/react-native/operations/autoExportJobs.d.ts +120 -0
  364. package/dist/react-native/operations/autoExportJobs.d.ts.map +1 -0
  365. package/dist/react-native/operations/autoExportJobs.js +478 -0
  366. package/dist/react-native/operations/autoExportJobs.js.map +1 -0
  367. package/dist/react-native/operations/autoImportJobs.d.ts +120 -0
  368. package/dist/react-native/operations/autoImportJobs.d.ts.map +1 -0
  369. package/dist/react-native/operations/autoImportJobs.js +478 -0
  370. package/dist/react-native/operations/autoImportJobs.js.map +1 -0
  371. package/dist/react-native/operations/caches.d.ts.map +1 -1
  372. package/dist/react-native/operations/caches.js +5 -18
  373. package/dist/react-native/operations/caches.js.map +1 -1
  374. package/dist/react-native/operations/importJobs.d.ts +2 -2
  375. package/dist/react-native/operations/importJobs.d.ts.map +1 -1
  376. package/dist/react-native/operations/importJobs.js +5 -10
  377. package/dist/react-native/operations/importJobs.js.map +1 -1
  378. package/dist/react-native/operations/index.d.ts +2 -0
  379. package/dist/react-native/operations/index.d.ts.map +1 -1
  380. package/dist/react-native/operations/index.js +6 -7
  381. package/dist/react-native/operations/index.js.map +1 -1
  382. package/dist/react-native/operations/operations.d.ts.map +1 -1
  383. package/dist/react-native/operations/operations.js +2 -7
  384. package/dist/react-native/operations/operations.js.map +1 -1
  385. package/dist/react-native/operations/skus.d.ts.map +1 -1
  386. package/dist/react-native/operations/skus.js +3 -12
  387. package/dist/react-native/operations/skus.js.map +1 -1
  388. package/dist/react-native/operations/storageTargetOperations.d.ts.map +1 -1
  389. package/dist/react-native/operations/storageTargetOperations.js +3 -8
  390. package/dist/react-native/operations/storageTargetOperations.js.map +1 -1
  391. package/dist/react-native/operations/storageTargets.d.ts.map +1 -1
  392. package/dist/react-native/operations/storageTargets.js +3 -8
  393. package/dist/react-native/operations/storageTargets.js.map +1 -1
  394. package/dist/react-native/operations/usageModels.d.ts.map +1 -1
  395. package/dist/react-native/operations/usageModels.js +3 -12
  396. package/dist/react-native/operations/usageModels.js.map +1 -1
  397. package/dist/react-native/operationsInterfaces/amlFilesystems.d.ts.map +1 -1
  398. package/dist/react-native/operationsInterfaces/amlFilesystems.js +2 -7
  399. package/dist/react-native/operationsInterfaces/amlFilesystems.js.map +1 -1
  400. package/dist/react-native/operationsInterfaces/ascOperations.d.ts.map +1 -1
  401. package/dist/react-native/operationsInterfaces/ascOperations.js +2 -7
  402. package/dist/react-native/operationsInterfaces/ascOperations.js.map +1 -1
  403. package/dist/react-native/operationsInterfaces/ascUsages.d.ts.map +1 -1
  404. package/dist/react-native/operationsInterfaces/ascUsages.js +2 -7
  405. package/dist/react-native/operationsInterfaces/ascUsages.js.map +1 -1
  406. package/dist/react-native/operationsInterfaces/autoExportJobs.d.ts +93 -0
  407. package/dist/react-native/operationsInterfaces/autoExportJobs.d.ts.map +1 -0
  408. package/dist/react-native/operationsInterfaces/autoExportJobs.js +4 -0
  409. package/dist/react-native/operationsInterfaces/autoExportJobs.js.map +1 -0
  410. package/dist/react-native/operationsInterfaces/autoImportJobs.d.ts +93 -0
  411. package/dist/react-native/operationsInterfaces/autoImportJobs.d.ts.map +1 -0
  412. package/dist/react-native/operationsInterfaces/autoImportJobs.js +4 -0
  413. package/dist/react-native/operationsInterfaces/autoImportJobs.js.map +1 -0
  414. package/dist/react-native/operationsInterfaces/caches.d.ts.map +1 -1
  415. package/dist/react-native/operationsInterfaces/caches.js +2 -7
  416. package/dist/react-native/operationsInterfaces/caches.js.map +1 -1
  417. package/dist/react-native/operationsInterfaces/importJobs.d.ts +2 -2
  418. package/dist/react-native/operationsInterfaces/importJobs.d.ts.map +1 -1
  419. package/dist/react-native/operationsInterfaces/importJobs.js +2 -7
  420. package/dist/react-native/operationsInterfaces/importJobs.js.map +1 -1
  421. package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
  422. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  423. package/dist/react-native/operationsInterfaces/index.js +6 -7
  424. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  425. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  426. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  427. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  428. package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -1
  429. package/dist/react-native/operationsInterfaces/skus.js +2 -7
  430. package/dist/react-native/operationsInterfaces/skus.js.map +1 -1
  431. package/dist/react-native/operationsInterfaces/storageTargetOperations.d.ts.map +1 -1
  432. package/dist/react-native/operationsInterfaces/storageTargetOperations.js +2 -7
  433. package/dist/react-native/operationsInterfaces/storageTargetOperations.js.map +1 -1
  434. package/dist/react-native/operationsInterfaces/storageTargets.d.ts.map +1 -1
  435. package/dist/react-native/operationsInterfaces/storageTargets.js +2 -7
  436. package/dist/react-native/operationsInterfaces/storageTargets.js.map +1 -1
  437. package/dist/react-native/operationsInterfaces/usageModels.d.ts.map +1 -1
  438. package/dist/react-native/operationsInterfaces/usageModels.js +2 -7
  439. package/dist/react-native/operationsInterfaces/usageModels.js.map +1 -1
  440. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  441. package/dist/react-native/pagingHelper.js +2 -7
  442. package/dist/react-native/pagingHelper.js.map +1 -1
  443. package/dist/react-native/storageCacheManagementClient.d.ts +3 -1
  444. package/dist/react-native/storageCacheManagementClient.d.ts.map +1 -1
  445. package/dist/react-native/storageCacheManagementClient.js +13 -14
  446. package/dist/react-native/storageCacheManagementClient.js.map +1 -1
  447. package/package.json +30 -33
  448. package/CHANGELOG.md +0 -269
  449. package/review/arm-storagecache-node.api.md +0 -1647
@@ -10,9 +10,15 @@ export declare const amlFilesystem: OperationParameter;
10
10
  export declare const amlFilesystem1: OperationParameter;
11
11
  export declare const archiveInfo: OperationParameter;
12
12
  export declare const nextLink: OperationURLParameter;
13
+ export declare const autoExportJobName: OperationURLParameter;
14
+ export declare const autoExportJob: OperationParameter;
15
+ export declare const autoExportJob1: OperationParameter;
13
16
  export declare const importJobName: OperationURLParameter;
14
17
  export declare const importJob: OperationParameter;
15
18
  export declare const importJob1: OperationParameter;
19
+ export declare const autoImportJobName: OperationURLParameter;
20
+ export declare const autoImportJob: OperationParameter;
21
+ export declare const autoImportJob1: OperationParameter;
16
22
  export declare const amlFilesystemSubnetInfo: OperationParameter;
17
23
  export declare const requiredAMLFilesystemSubnetsSizeInfo: OperationParameter;
18
24
  export declare const location: OperationURLParameter;
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAe5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAY5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAG5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAc3B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,kBAGvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,kBAGrC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,kBAGlD,CAAC;AAEF,eAAO,MAAM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O,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAG5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAc3B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,kBAGvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAG5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,kBAGrC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,kBAGlD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAYtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBAYzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBASvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAYvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAGpB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAc7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAY/B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,uBAQnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC"}
@@ -1,11 +1,6 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { AmlFilesystem as AmlFilesystemMapper, AmlFilesystemUpdate as AmlFilesystemUpdateMapper, AmlFilesystemArchiveInfo as AmlFilesystemArchiveInfoMapper, ImportJob as ImportJobMapper, ImportJobUpdate as ImportJobUpdateMapper, AmlFilesystemSubnetInfo as AmlFilesystemSubnetInfoMapper, RequiredAmlFilesystemSubnetsSizeInfo as RequiredAmlFilesystemSubnetsSizeInfoMapper, Cache as CacheMapper, PrimingJob as PrimingJobMapper, PrimingJobIdParameter as PrimingJobIdParameterMapper, StorageTarget as StorageTargetMapper, } from "../models/mappers.js";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { AmlFilesystem as AmlFilesystemMapper, AmlFilesystemUpdate as AmlFilesystemUpdateMapper, AmlFilesystemArchiveInfo as AmlFilesystemArchiveInfoMapper, AutoExportJob as AutoExportJobMapper, AutoExportJobUpdate as AutoExportJobUpdateMapper, ImportJob as ImportJobMapper, ImportJobUpdate as ImportJobUpdateMapper, AutoImportJob as AutoImportJobMapper, AutoImportJobUpdate as AutoImportJobUpdateMapper, AmlFilesystemSubnetInfo as AmlFilesystemSubnetInfoMapper, RequiredAmlFilesystemSubnetsSizeInfo as RequiredAmlFilesystemSubnetsSizeInfoMapper, Cache as CacheMapper, PrimingJob as PrimingJobMapper, PrimingJobIdParameter as PrimingJobIdParameterMapper, StorageTarget as StorageTargetMapper, } from "../models/mappers.js";
9
4
  export const accept = {
10
5
  parameterPath: "accept",
11
6
  mapper: {
@@ -31,7 +26,7 @@ export const $host = {
31
26
  export const apiVersion = {
32
27
  parameterPath: "apiVersion",
33
28
  mapper: {
34
- defaultValue: "2024-03-01",
29
+ defaultValue: "2025-07-01",
35
30
  isConstant: true,
36
31
  serializedName: "api-version",
37
32
  type: {
@@ -115,6 +110,29 @@ export const nextLink = {
115
110
  },
116
111
  skipEncoding: true,
117
112
  };
113
+ export const autoExportJobName = {
114
+ parameterPath: "autoExportJobName",
115
+ mapper: {
116
+ constraints: {
117
+ Pattern: new RegExp("^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$"),
118
+ MaxLength: 80,
119
+ MinLength: 2,
120
+ },
121
+ serializedName: "autoExportJobName",
122
+ required: true,
123
+ type: {
124
+ name: "String",
125
+ },
126
+ },
127
+ };
128
+ export const autoExportJob = {
129
+ parameterPath: "autoExportJob",
130
+ mapper: AutoExportJobMapper,
131
+ };
132
+ export const autoExportJob1 = {
133
+ parameterPath: "autoExportJob",
134
+ mapper: AutoExportJobUpdateMapper,
135
+ };
118
136
  export const importJobName = {
119
137
  parameterPath: "importJobName",
120
138
  mapper: {
@@ -138,6 +156,29 @@ export const importJob1 = {
138
156
  parameterPath: "importJob",
139
157
  mapper: ImportJobUpdateMapper,
140
158
  };
159
+ export const autoImportJobName = {
160
+ parameterPath: "autoImportJobName",
161
+ mapper: {
162
+ constraints: {
163
+ Pattern: new RegExp("^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$"),
164
+ MaxLength: 80,
165
+ MinLength: 2,
166
+ },
167
+ serializedName: "autoImportJobName",
168
+ required: true,
169
+ type: {
170
+ name: "String",
171
+ },
172
+ },
173
+ };
174
+ export const autoImportJob = {
175
+ parameterPath: "autoImportJob",
176
+ mapper: AutoImportJobMapper,
177
+ };
178
+ export const autoImportJob1 = {
179
+ parameterPath: "autoImportJob",
180
+ mapper: AutoImportJobUpdateMapper,
181
+ };
141
182
  export const amlFilesystemSubnetInfo = {
142
183
  parameterPath: ["options", "amlFilesystemSubnetInfo"],
143
184
  mapper: AmlFilesystemSubnetInfoMapper,
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,mBAAmB,IAAI,yBAAyB,EAChD,wBAAwB,IAAI,8BAA8B,EAC1D,SAAS,IAAI,eAAe,EAC5B,eAAe,IAAI,qBAAqB,EACxC,uBAAuB,IAAI,6BAA6B,EACxD,oCAAoC,IAAI,0CAA0C,EAClF,KAAK,IAAI,WAA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EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,uBAAuB,CAAC;SAC7C;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA4B;IAC5C,aAAa,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,mBAAmB;CAC5B,CAAC","sourcesContent":["/*\n * 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 */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n AmlFilesystem as AmlFilesystemMapper,\n AmlFilesystemUpdate as AmlFilesystemUpdateMapper,\n AmlFilesystemArchiveInfo as AmlFilesystemArchiveInfoMapper,\n ImportJob as ImportJobMapper,\n ImportJobUpdate as ImportJobUpdateMapper,\n AmlFilesystemSubnetInfo as AmlFilesystemSubnetInfoMapper,\n RequiredAmlFilesystemSubnetsSizeInfo as RequiredAmlFilesystemSubnetsSizeInfoMapper,\n Cache as CacheMapper,\n PrimingJob as PrimingJobMapper,\n PrimingJobIdParameter as PrimingJobIdParameterMapper,\n StorageTarget as StorageTargetMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-03-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const amlFilesystemName: OperationURLParameter = {\n parameterPath: \"amlFilesystemName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$\"),\n MaxLength: 80,\n MinLength: 2,\n },\n serializedName: \"amlFilesystemName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const amlFilesystem: OperationParameter = {\n parameterPath: \"amlFilesystem\",\n mapper: AmlFilesystemMapper,\n};\n\nexport const amlFilesystem1: OperationParameter = {\n parameterPath: \"amlFilesystem\",\n mapper: AmlFilesystemUpdateMapper,\n};\n\nexport const archiveInfo: OperationParameter = {\n parameterPath: [\"options\", \"archiveInfo\"],\n mapper: AmlFilesystemArchiveInfoMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const importJobName: OperationURLParameter = {\n parameterPath: \"importJobName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$\"),\n MaxLength: 80,\n MinLength: 2,\n },\n serializedName: \"importJobName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const importJob: OperationParameter = {\n parameterPath: \"importJob\",\n mapper: ImportJobMapper,\n};\n\nexport const importJob1: OperationParameter = {\n parameterPath: \"importJob\",\n mapper: ImportJobUpdateMapper,\n};\n\nexport const amlFilesystemSubnetInfo: OperationParameter = {\n parameterPath: [\"options\", \"amlFilesystemSubnetInfo\"],\n mapper: AmlFilesystemSubnetInfoMapper,\n};\n\nexport const requiredAMLFilesystemSubnetsSizeInfo: OperationParameter = {\n parameterPath: [\"options\", \"requiredAMLFilesystemSubnetsSizeInfo\"],\n mapper: RequiredAmlFilesystemSubnetsSizeInfoMapper,\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const location1: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const cacheName: OperationURLParameter = {\n parameterPath: \"cacheName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-0-9a-zA-Z_]{1,80}$\"),\n },\n serializedName: \"cacheName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const cache: OperationParameter = {\n parameterPath: \"cache\",\n mapper: CacheMapper,\n};\n\nexport const cache1: OperationParameter = {\n parameterPath: [\"options\", \"cache\"],\n mapper: CacheMapper,\n};\n\nexport const primingjob: OperationParameter = {\n parameterPath: [\"options\", \"primingjob\"],\n mapper: PrimingJobMapper,\n};\n\nexport const primingJobId: OperationParameter = {\n parameterPath: [\"options\", \"primingJobId\"],\n mapper: PrimingJobIdParameterMapper,\n};\n\nexport const spaceAllocation: OperationParameter = {\n parameterPath: [\"options\", \"spaceAllocation\"],\n mapper: {\n serializedName: \"spaceAllocation\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"StorageTargetSpaceAllocation\",\n },\n },\n },\n },\n};\n\nexport const storageTargetName: OperationURLParameter = {\n parameterPath: \"storageTargetName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-0-9a-zA-Z_]{1,80}$\"),\n },\n serializedName: \"storageTargetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const force: OperationQueryParameter = {\n parameterPath: [\"options\", \"force\"],\n mapper: {\n serializedName: \"force\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const storagetarget: OperationParameter = {\n parameterPath: \"storagetarget\",\n mapper: StorageTargetMapper,\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,mBAAmB,IAAI,yBAAyB,EAChD,wBAAwB,IAAI,8BAA8B,EAC1D,aAAa,IAAI,mBAAmB,EACpC,mBAAmB,IAAI,yBAAyB,EAChD,SAAS,IAAI,eAAe,EAC5B,eAAe,IAAI,qBAAqB,EACxC,aAAa,IAAI,mBAAmB,EACpC,mBAAmB,IAAI,yBAAyB,EAChD,uBAAuB,IAAI,6BAA6B,EACxD,oCAAoC,IAAI,0CAA0C,EAClF,KAAK,IAAI,WAAW,EACpB,UAAU,IAAI,gBAAgB,EAC9B,qBAAqB,IAAI,2BAA2B,EACpD,aAAa,IAAI,mBAAmB,GACrC,MAAM,sBAA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E;QACN,cAAc,EAAE,OAAO;QACvB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,mBAAmB;CAC5B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n AmlFilesystem as AmlFilesystemMapper,\n AmlFilesystemUpdate as AmlFilesystemUpdateMapper,\n AmlFilesystemArchiveInfo as AmlFilesystemArchiveInfoMapper,\n AutoExportJob as AutoExportJobMapper,\n AutoExportJobUpdate as AutoExportJobUpdateMapper,\n ImportJob as ImportJobMapper,\n ImportJobUpdate as ImportJobUpdateMapper,\n AutoImportJob as AutoImportJobMapper,\n AutoImportJobUpdate as AutoImportJobUpdateMapper,\n AmlFilesystemSubnetInfo as AmlFilesystemSubnetInfoMapper,\n RequiredAmlFilesystemSubnetsSizeInfo as RequiredAmlFilesystemSubnetsSizeInfoMapper,\n Cache as CacheMapper,\n PrimingJob as PrimingJobMapper,\n PrimingJobIdParameter as PrimingJobIdParameterMapper,\n StorageTarget as StorageTargetMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-07-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const amlFilesystemName: OperationURLParameter = {\n parameterPath: \"amlFilesystemName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$\"),\n MaxLength: 80,\n MinLength: 2,\n },\n serializedName: \"amlFilesystemName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const amlFilesystem: OperationParameter = {\n parameterPath: \"amlFilesystem\",\n mapper: AmlFilesystemMapper,\n};\n\nexport const amlFilesystem1: OperationParameter = {\n parameterPath: \"amlFilesystem\",\n mapper: AmlFilesystemUpdateMapper,\n};\n\nexport const archiveInfo: OperationParameter = {\n parameterPath: [\"options\", \"archiveInfo\"],\n mapper: AmlFilesystemArchiveInfoMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const autoExportJobName: OperationURLParameter = {\n parameterPath: \"autoExportJobName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$\"),\n MaxLength: 80,\n MinLength: 2,\n },\n serializedName: \"autoExportJobName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const autoExportJob: OperationParameter = {\n parameterPath: \"autoExportJob\",\n mapper: AutoExportJobMapper,\n};\n\nexport const autoExportJob1: OperationParameter = {\n parameterPath: \"autoExportJob\",\n mapper: AutoExportJobUpdateMapper,\n};\n\nexport const importJobName: OperationURLParameter = {\n parameterPath: \"importJobName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$\"),\n MaxLength: 80,\n MinLength: 2,\n },\n serializedName: \"importJobName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const importJob: OperationParameter = {\n parameterPath: \"importJob\",\n mapper: ImportJobMapper,\n};\n\nexport const importJob1: OperationParameter = {\n parameterPath: \"importJob\",\n mapper: ImportJobUpdateMapper,\n};\n\nexport const autoImportJobName: OperationURLParameter = {\n parameterPath: \"autoImportJobName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$\"),\n MaxLength: 80,\n MinLength: 2,\n },\n serializedName: \"autoImportJobName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const autoImportJob: OperationParameter = {\n parameterPath: \"autoImportJob\",\n mapper: AutoImportJobMapper,\n};\n\nexport const autoImportJob1: OperationParameter = {\n parameterPath: \"autoImportJob\",\n mapper: AutoImportJobUpdateMapper,\n};\n\nexport const amlFilesystemSubnetInfo: OperationParameter = {\n parameterPath: [\"options\", \"amlFilesystemSubnetInfo\"],\n mapper: AmlFilesystemSubnetInfoMapper,\n};\n\nexport const requiredAMLFilesystemSubnetsSizeInfo: OperationParameter = {\n parameterPath: [\"options\", \"requiredAMLFilesystemSubnetsSizeInfo\"],\n mapper: RequiredAmlFilesystemSubnetsSizeInfoMapper,\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const location1: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const cacheName: OperationURLParameter = {\n parameterPath: \"cacheName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-0-9a-zA-Z_]{1,80}$\"),\n },\n serializedName: \"cacheName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const cache: OperationParameter = {\n parameterPath: \"cache\",\n mapper: CacheMapper,\n};\n\nexport const cache1: OperationParameter = {\n parameterPath: [\"options\", \"cache\"],\n mapper: CacheMapper,\n};\n\nexport const primingjob: OperationParameter = {\n parameterPath: [\"options\", \"primingjob\"],\n mapper: PrimingJobMapper,\n};\n\nexport const primingJobId: OperationParameter = {\n parameterPath: [\"options\", \"primingJobId\"],\n mapper: PrimingJobIdParameterMapper,\n};\n\nexport const spaceAllocation: OperationParameter = {\n parameterPath: [\"options\", \"spaceAllocation\"],\n mapper: {\n serializedName: \"spaceAllocation\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"StorageTargetSpaceAllocation\",\n },\n },\n },\n },\n};\n\nexport const storageTargetName: OperationURLParameter = {\n parameterPath: \"storageTargetName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-0-9a-zA-Z_]{1,80}$\"),\n },\n serializedName: \"storageTargetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const force: OperationQueryParameter = {\n parameterPath: [\"options\", \"force\"],\n mapper: {\n serializedName: \"force\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const storagetarget: OperationParameter = {\n parameterPath: \"storagetarget\",\n mapper: StorageTargetMapper,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"amlFilesystems.d.ts","sourceRoot":"","sources":["../../../src/operations/amlFilesystems.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,aAAa,EAEb,gCAAgC,EAGhC,+CAA+C,EAE/C,kCAAkC,EAClC,+BAA+B,EAC/B,yBAAyB,EACzB,0CAA0C,EAC1C,oCAAoC,EACpC,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAC5B,mCAAmC,EACnC,yCAAyC,EAG1C,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,aAAa,CAAC;YAkB7B,cAAc;YAsBd,aAAa;IAQ5B;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,aAAa,CAAC;YAsB7B,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,gBAAgB,CAAC,cAAc,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;IAuDD;;;;;;;;OAQG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,mBAAmB,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAUxC;;;;;;OAMG;IACH,OAAO,CACL,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAOjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -1,15 +1,10 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import { setContinuationToken } from "../pagingHelper.js";
9
4
  import * as coreClient from "@azure/core-client";
10
5
  import * as Mappers from "../models/mappers.js";
11
6
  import * as Parameters from "../models/parameters.js";
12
- import { createHttpPoller, } from "@azure/core-lro";
7
+ import { createHttpPoller } from "@azure/core-lro";
13
8
  import { createLroSpec } from "../lroImpl.js";
14
9
  /// <reference lib="esnext.asynciterable" />
15
10
  /** Class containing AmlFilesystems operations. */
@@ -389,11 +384,7 @@ const listByResourceGroupOperationSpec = {
389
384
  },
390
385
  },
391
386
  queryParameters: [Parameters.apiVersion],
392
- urlParameters: [
393
- Parameters.$host,
394
- Parameters.subscriptionId,
395
- Parameters.resourceGroupName,
396
- ],
387
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
397
388
  headerParameters: [Parameters.accept],
398
389
  serializer,
399
390
  };
@@ -555,11 +546,7 @@ const listNextOperationSpec = {
555
546
  bodyMapper: Mappers.CloudError,
556
547
  },
557
548
  },
558
- urlParameters: [
559
- Parameters.$host,
560
- Parameters.subscriptionId,
561
- Parameters.nextLink,
562
- ],
549
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
563
550
  headerParameters: [Parameters.accept],
564
551
  serializer,
565
552
  };
@@ -1 +1 @@
1
- {"version":3,"file":"amlFilesystems.js","sourceRoot":"","sources":["../../../src/operations/amlFilesystems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAuB9C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IACZ,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1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ACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * 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 */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AmlFilesystems } 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 {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AmlFilesystem,\n AmlFilesystemsListNextOptionalParams,\n AmlFilesystemsListOptionalParams,\n AmlFilesystemsListResponse,\n AmlFilesystemsListByResourceGroupNextOptionalParams,\n AmlFilesystemsListByResourceGroupOptionalParams,\n AmlFilesystemsListByResourceGroupResponse,\n AmlFilesystemsDeleteOptionalParams,\n AmlFilesystemsGetOptionalParams,\n AmlFilesystemsGetResponse,\n AmlFilesystemsCreateOrUpdateOptionalParams,\n AmlFilesystemsCreateOrUpdateResponse,\n AmlFilesystemUpdate,\n AmlFilesystemsUpdateOptionalParams,\n AmlFilesystemsUpdateResponse,\n AmlFilesystemsArchiveOptionalParams,\n AmlFilesystemsCancelArchiveOptionalParams,\n AmlFilesystemsListNextResponse,\n AmlFilesystemsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AmlFilesystems operations. */\nexport class AmlFilesystemsImpl implements AmlFilesystems {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class AmlFilesystems class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all AML file systems the user has access to under a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: AmlFilesystemsListOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem> {\n const iter = this.listPagingAll(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.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: AmlFilesystemsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AmlFilesystem[]> {\n let result: AmlFilesystemsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AmlFilesystemsListOptionalParams,\n ): AsyncIterableIterator<AmlFilesystem> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns all AML file systems the user has access to under a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AmlFilesystem[]> {\n let result: AmlFilesystemsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\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 *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<AmlFilesystem> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns all AML file systems the user has access to under a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: AmlFilesystemsListOptionalParams,\n ): Promise<AmlFilesystemsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Returns all AML file systems the user has access to under a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): Promise<AmlFilesystemsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Schedules an AML file system 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 options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 =\n 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, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(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 AML file system 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 options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n amlFilesystemName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns 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 get(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsGetOptionalParams,\n ): Promise<AmlFilesystemsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AmlFilesystemsCreateOrUpdateResponse>,\n AmlFilesystemsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AmlFilesystemsCreateOrUpdateResponse> => {\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 =\n 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, amlFilesystem, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AmlFilesystemsCreateOrUpdateResponse,\n OperationState<AmlFilesystemsCreateOrUpdateResponse>\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 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<AmlFilesystemsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n amlFilesystemName,\n amlFilesystem,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an AML file system 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AmlFilesystemsUpdateResponse>,\n AmlFilesystemsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AmlFilesystemsUpdateResponse> => {\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 =\n 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, amlFilesystem, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n AmlFilesystemsUpdateResponse,\n OperationState<AmlFilesystemsUpdateResponse>\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 AML file system 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<AmlFilesystemsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n amlFilesystemName,\n amlFilesystem,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Archive data from the 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 archive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsArchiveOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n archiveOperationSpec,\n );\n }\n\n /**\n * Cancel archiving data from the 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 cancelArchive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsCancelArchiveOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n cancelArchiveOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AmlFilesystemsListNextOptionalParams,\n ): Promise<AmlFilesystemsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AmlFilesystemsListByResourceGroupNextOptionalParams,\n ): Promise<AmlFilesystemsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystem,\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 201: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 202: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 204: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystem,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\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}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 201: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 202: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 204: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystem1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst archiveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/archive\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.archiveInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst cancelArchiveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/cancelArchive\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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 listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"amlFilesystems.js","sourceRoot":"","sources":["../../../src/operations/amlFilesystems.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAoC,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAuB9C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IACZ,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,C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,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AmlFilesystems } 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 AmlFilesystem,\n AmlFilesystemsListNextOptionalParams,\n AmlFilesystemsListOptionalParams,\n AmlFilesystemsListResponse,\n AmlFilesystemsListByResourceGroupNextOptionalParams,\n AmlFilesystemsListByResourceGroupOptionalParams,\n AmlFilesystemsListByResourceGroupResponse,\n AmlFilesystemsDeleteOptionalParams,\n AmlFilesystemsGetOptionalParams,\n AmlFilesystemsGetResponse,\n AmlFilesystemsCreateOrUpdateOptionalParams,\n AmlFilesystemsCreateOrUpdateResponse,\n AmlFilesystemUpdate,\n AmlFilesystemsUpdateOptionalParams,\n AmlFilesystemsUpdateResponse,\n AmlFilesystemsArchiveOptionalParams,\n AmlFilesystemsCancelArchiveOptionalParams,\n AmlFilesystemsListNextResponse,\n AmlFilesystemsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AmlFilesystems operations. */\nexport class AmlFilesystemsImpl implements AmlFilesystems {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class AmlFilesystems class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns all AML file systems the user has access to under a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: AmlFilesystemsListOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem> {\n const iter = this.listPagingAll(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.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: AmlFilesystemsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AmlFilesystem[]> {\n let result: AmlFilesystemsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AmlFilesystemsListOptionalParams,\n ): AsyncIterableIterator<AmlFilesystem> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns all AML file systems the user has access to under a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AmlFilesystem[]> {\n let result: AmlFilesystemsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<AmlFilesystem> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Returns all AML file systems the user has access to under a subscription.\n * @param options The options parameters.\n */\n private _list(options?: AmlFilesystemsListOptionalParams): Promise<AmlFilesystemsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Returns all AML file systems the user has access to under a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): Promise<AmlFilesystemsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Schedules an AML file system 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 options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(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 AML file system 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 options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, amlFilesystemName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Returns 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 get(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsGetOptionalParams,\n ): Promise<AmlFilesystemsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AmlFilesystemsCreateOrUpdateResponse>,\n AmlFilesystemsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AmlFilesystemsCreateOrUpdateResponse> => {\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, amlFilesystem, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AmlFilesystemsCreateOrUpdateResponse,\n OperationState<AmlFilesystemsCreateOrUpdateResponse>\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 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<AmlFilesystemsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n amlFilesystemName,\n amlFilesystem,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an AML file system 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<AmlFilesystemsUpdateResponse>, AmlFilesystemsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AmlFilesystemsUpdateResponse> => {\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, amlFilesystem, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n AmlFilesystemsUpdateResponse,\n OperationState<AmlFilesystemsUpdateResponse>\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 AML file system 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 amlFilesystem Object containing the user-selectable properties of the AML file system. 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 amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<AmlFilesystemsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n amlFilesystemName,\n amlFilesystem,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Archive data from the 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 archive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsArchiveOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n archiveOperationSpec,\n );\n }\n\n /**\n * Cancel archiving data from the 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 cancelArchive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsCancelArchiveOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, amlFilesystemName, options },\n cancelArchiveOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AmlFilesystemsListNextOptionalParams,\n ): Promise<AmlFilesystemsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AmlFilesystemsListByResourceGroupNextOptionalParams,\n ): Promise<AmlFilesystemsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystem,\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 201: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 202: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 204: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystem,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\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}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 201: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 202: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n 204: {\n bodyMapper: Mappers.AmlFilesystem,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystem1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst archiveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/archive\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.archiveInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.amlFilesystemName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst cancelArchiveOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/cancelArchive\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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 listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AmlFilesystemsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ascOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/ascOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAMrC"}
1
+ {"version":3,"file":"ascOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/ascOperations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9F,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;CAGrC"}
@@ -1,10 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import * as coreClient from "@azure/core-client";
9
4
  import * as Mappers from "../models/mappers.js";
10
5
  import * as Parameters from "../models/parameters.js";
@@ -1 +1 @@
1
- {"version":3,"file":"ascOperations.js","sourceRoot":"","sources":["../../../src/operations/ascOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IACX,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,QAAgB,EAChB,WAAmB,EACnB,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,EAClC,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,mHAAmH;IACzH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * 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 */\n\nimport { AscOperations } 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 {\n AscOperationsGetOptionalParams,\n AscOperationsGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing AscOperations operations. */\nexport class AscOperationsImpl implements AscOperations {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class AscOperations class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the status of an asynchronous operation for the Azure HPC Cache\n * @param location The name of Azure region.\n * @param operationId The ID of an ongoing async operation.\n * @param options The options parameters.\n */\n get(\n location: string,\n operationId: string,\n options?: AscOperationsGetOptionalParams,\n ): Promise<AscOperationsGetResponse> {\n return this.client.sendOperationRequest(\n { location, operationId, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AscOperation,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.operationId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"ascOperations.js","sourceRoot":"","sources":["../../../src/operations/ascOperations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IACX,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,QAAgB,EAChB,WAAmB,EACnB,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,gBAAgB,CAAC,CAAC;IAChG,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,mHAAmH;IACzH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { AscOperations } 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 { AscOperationsGetOptionalParams, AscOperationsGetResponse } from \"../models/index.js\";\n\n/** Class containing AscOperations operations. */\nexport class AscOperationsImpl implements AscOperations {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class AscOperations class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the status of an asynchronous operation for the Azure HPC Cache\n * @param location The name of Azure region.\n * @param operationId The ID of an ongoing async operation.\n * @param options The options parameters.\n */\n get(\n location: string,\n operationId: string,\n options?: AscOperationsGetOptionalParams,\n ): Promise<AscOperationsGetResponse> {\n return this.client.sendOperationRequest({ location, operationId, options }, getOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AscOperation,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.operationId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ascUsages.d.ts","sourceRoot":"","sources":["../../../src/operations/ascUsages.ts"],"names":[],"mappings":"AA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G;IACH,OAAO,CAAC,SAAS;CAOlB"}
@@ -1,10 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import { setContinuationToken } from "../pagingHelper.js";
9
4
  import * as coreClient from "@azure/core-client";
10
5
  import * as Mappers from "../models/mappers.js";
@@ -97,11 +92,7 @@ const listOperationSpec = {
97
92
  },
98
93
  },
99
94
  queryParameters: [Parameters.apiVersion],
100
- urlParameters: [
101
- Parameters.$host,
102
- Parameters.subscriptionId,
103
- Parameters.location1,
104
- ],
95
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location1],
105
96
  headerParameters: [Parameters.accept],
106
97
  serializer,
107
98
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ascUsages.js","sourceRoot":"","sources":["../../../src/operations/ascUsages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,QAAgB,EAChB,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,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U,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * 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 */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AscUsages } 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 {\n ResourceUsage,\n AscUsagesListNextOptionalParams,\n AscUsagesListOptionalParams,\n AscUsagesListResponse,\n AscUsagesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AscUsages operations. */\nexport class AscUsagesImpl implements AscUsages {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class AscUsages class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the quantity used and quota limit for resources\n * @param location The name of the region to query for usage information.\n * @param options The options parameters.\n */\n public list(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): PagedAsyncIterableIterator<ResourceUsage> {\n const iter = this.listPagingAll(location, 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.listPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: AscUsagesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ResourceUsage[]> {\n let result: AscUsagesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(location, 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._listNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): AsyncIterableIterator<ResourceUsage> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the quantity used and quota limit for resources\n * @param location The name of the region to query for usage information.\n * @param options The options parameters.\n */\n private _list(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): Promise<AscUsagesListResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param location The name of the region to query for usage information.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n location: string,\n nextLink: string,\n options?: AscUsagesListNextOptionalParams,\n ): Promise<AscUsagesListNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"ascUsages.js","sourceRoot":"","sources":["../../../src/operations/ascUsages.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,QAAgB,EAChB,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;I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AAgB,EAChB,QAAgB,EAChB,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IAClG,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,8FAA8F;IACpG,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,SAAS,CAAC;IAClF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AscUsages } 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 {\n ResourceUsage,\n AscUsagesListNextOptionalParams,\n AscUsagesListOptionalParams,\n AscUsagesListResponse,\n AscUsagesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AscUsages operations. */\nexport class AscUsagesImpl implements AscUsages {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class AscUsages class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the quantity used and quota limit for resources\n * @param location The name of the region to query for usage information.\n * @param options The options parameters.\n */\n public list(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): PagedAsyncIterableIterator<ResourceUsage> {\n const iter = this.listPagingAll(location, 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.listPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: AscUsagesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ResourceUsage[]> {\n let result: AscUsagesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(location, 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._listNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): AsyncIterableIterator<ResourceUsage> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the quantity used and quota limit for resources\n * @param location The name of the region to query for usage information.\n * @param options The options parameters.\n */\n private _list(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): Promise<AscUsagesListResponse> {\n return this.client.sendOperationRequest({ location, options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param location The name of the region to query for usage information.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n location: string,\n nextLink: string,\n options?: AscUsagesListNextOptionalParams,\n ): Promise<AscUsagesListNextResponse> {\n return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location1],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}