@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
@@ -0,0 +1,120 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AutoExportJobs } from "../operationsInterfaces/index.js";
3
+ import { StorageCacheManagementClient } from "../storageCacheManagementClient.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { AutoExportJob, AutoExportJobsListByAmlFilesystemOptionalParams, AutoExportJobsDeleteOptionalParams, AutoExportJobsDeleteResponse, AutoExportJobsGetOptionalParams, AutoExportJobsGetResponse, AutoExportJobsCreateOrUpdateOptionalParams, AutoExportJobsCreateOrUpdateResponse, AutoExportJobUpdate, AutoExportJobsUpdateOptionalParams, AutoExportJobsUpdateResponse } from "../models/index.js";
6
+ /** Class containing AutoExportJobs operations. */
7
+ export declare class AutoExportJobsImpl implements AutoExportJobs {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class AutoExportJobs class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: StorageCacheManagementClient);
14
+ /**
15
+ * Returns all the auto export jobs the user has access to under an AML File System.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
18
+ * hyphens. Start and end with alphanumeric.
19
+ * @param options The options parameters.
20
+ */
21
+ listByAmlFilesystem(resourceGroupName: string, amlFilesystemName: string, options?: AutoExportJobsListByAmlFilesystemOptionalParams): PagedAsyncIterableIterator<AutoExportJob>;
22
+ private listByAmlFilesystemPagingPage;
23
+ private listByAmlFilesystemPagingAll;
24
+ /**
25
+ * Schedules an auto export job for deletion.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
28
+ * hyphens. Start and end with alphanumeric.
29
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
30
+ * hyphens. Start and end with alphanumeric.
31
+ * @param options The options parameters.
32
+ */
33
+ beginDelete(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, options?: AutoExportJobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AutoExportJobsDeleteResponse>, AutoExportJobsDeleteResponse>>;
34
+ /**
35
+ * Schedules an auto export job for deletion.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
38
+ * hyphens. Start and end with alphanumeric.
39
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
40
+ * hyphens. Start and end with alphanumeric.
41
+ * @param options The options parameters.
42
+ */
43
+ beginDeleteAndWait(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, options?: AutoExportJobsDeleteOptionalParams): Promise<AutoExportJobsDeleteResponse>;
44
+ /**
45
+ * Returns an auto export job.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
48
+ * hyphens. Start and end with alphanumeric.
49
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
50
+ * hyphens. Start and end with alphanumeric.
51
+ * @param options The options parameters.
52
+ */
53
+ get(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, options?: AutoExportJobsGetOptionalParams): Promise<AutoExportJobsGetResponse>;
54
+ /**
55
+ * Create or update an auto export job.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
58
+ * hyphens. Start and end with alphanumeric.
59
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
60
+ * hyphens. Start and end with alphanumeric.
61
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
62
+ * read-only properties are included, they must match the existing values of those properties.
63
+ * @param options The options parameters.
64
+ */
65
+ beginCreateOrUpdate(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJob, options?: AutoExportJobsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AutoExportJobsCreateOrUpdateResponse>, AutoExportJobsCreateOrUpdateResponse>>;
66
+ /**
67
+ * Create or update an auto export job.
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
70
+ * hyphens. Start and end with alphanumeric.
71
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
72
+ * hyphens. Start and end with alphanumeric.
73
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
74
+ * read-only properties are included, they must match the existing values of those properties.
75
+ * @param options The options parameters.
76
+ */
77
+ beginCreateOrUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJob, options?: AutoExportJobsCreateOrUpdateOptionalParams): Promise<AutoExportJobsCreateOrUpdateResponse>;
78
+ /**
79
+ * Update an auto export job instance.
80
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
81
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
82
+ * hyphens. Start and end with alphanumeric.
83
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
84
+ * hyphens. Start and end with alphanumeric.
85
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
86
+ * read-only properties are included, they must match the existing values of those properties.
87
+ * @param options The options parameters.
88
+ */
89
+ beginUpdate(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJobUpdate, options?: AutoExportJobsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AutoExportJobsUpdateResponse>, AutoExportJobsUpdateResponse>>;
90
+ /**
91
+ * Update an auto export job instance.
92
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
94
+ * hyphens. Start and end with alphanumeric.
95
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
96
+ * hyphens. Start and end with alphanumeric.
97
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
98
+ * read-only properties are included, they must match the existing values of those properties.
99
+ * @param options The options parameters.
100
+ */
101
+ beginUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJobUpdate, options?: AutoExportJobsUpdateOptionalParams): Promise<AutoExportJobsUpdateResponse>;
102
+ /**
103
+ * Returns all the auto export jobs the user has access to under an AML File System.
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
106
+ * hyphens. Start and end with alphanumeric.
107
+ * @param options The options parameters.
108
+ */
109
+ private _listByAmlFilesystem;
110
+ /**
111
+ * ListByAmlFilesystemNext
112
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
113
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
114
+ * hyphens. Start and end with alphanumeric.
115
+ * @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.
116
+ * @param options The options parameters.
117
+ */
118
+ private _listByAmlFilesystemNext;
119
+ }
120
+ //# sourceMappingURL=autoExportJobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoExportJobs.d.ts","sourceRoot":"","sources":["../../../src/operations/autoExportJobs.ts"],"names":[],"mappings":"AAMA,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,EAAE,gBAAgB,EAAE,cAAc,EAAoB,MAAM,iBAAiB,CAAC;AAErF,OAAO,EACL,aAAa,EAEb,+CAA+C,EAE/C,kCAAkC,EAClC,4BAA4B,EAC5B,+BAA+B,EAC/B,yBAAyB,EACzB,0CAA0C,EAC1C,oCAAoC,EACpC,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAE7B,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;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,aAAa,CAAC;YAuB7B,6BAA6B;YA6B7B,4BAA4B;IAc3C;;;;;;;;OAQG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,4BAA4B,CAAC,EAAE,4BAA4B,CAAC,CAC7F;IA4DD;;;;;;;;OAQG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAUxC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;;;;;OAUG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oCAAoC,CAAC,EACpD,oCAAoC,CACrC,CACF;IA6DD;;;;;;;;;;OAUG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAWhD;;;;;;;;;;OAUG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,mBAAmB,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,4BAA4B,CAAC,EAAE,4BAA4B,CAAC,CAC7F;IA6DD;;;;;;;;;;OAUG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,mBAAmB,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAWxC;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAW5B;;;;;;;OAOG;IACH,OAAO,CAAC,wBAAwB;CAWjC"}
@@ -0,0 +1,478 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { setContinuationToken } from "../pagingHelper.js";
4
+ import * as coreClient from "@azure/core-client";
5
+ import * as Mappers from "../models/mappers.js";
6
+ import * as Parameters from "../models/parameters.js";
7
+ import { createHttpPoller } from "@azure/core-lro";
8
+ import { createLroSpec } from "../lroImpl.js";
9
+ /// <reference lib="esnext.asynciterable" />
10
+ /** Class containing AutoExportJobs operations. */
11
+ export class AutoExportJobsImpl {
12
+ client;
13
+ /**
14
+ * Initialize a new instance of the class AutoExportJobs class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Returns all the auto export jobs the user has access to under an AML File System.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
24
+ * hyphens. Start and end with alphanumeric.
25
+ * @param options The options parameters.
26
+ */
27
+ listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
28
+ const iter = this.listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings?.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options, settings);
41
+ },
42
+ };
43
+ }
44
+ async *listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._listByAmlFilesystem(resourceGroupName, amlFilesystemName, options);
49
+ let page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listByAmlFilesystemNext(resourceGroupName, amlFilesystemName, continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ let page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
61
+ }
62
+ async *listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options) {
63
+ for await (const page of this.listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options)) {
64
+ yield* page;
65
+ }
66
+ }
67
+ /**
68
+ * Schedules an auto export job for deletion.
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
71
+ * hyphens. Start and end with alphanumeric.
72
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
73
+ * hyphens. Start and end with alphanumeric.
74
+ * @param options The options parameters.
75
+ */
76
+ async beginDelete(resourceGroupName, amlFilesystemName, autoExportJobName, options) {
77
+ const directSendOperation = async (args, spec) => {
78
+ return this.client.sendOperationRequest(args, spec);
79
+ };
80
+ const sendOperationFn = async (args, spec) => {
81
+ let currentRawResponse = undefined;
82
+ const providedCallback = args.options?.onResponse;
83
+ const callback = (rawResponse, flatResponse) => {
84
+ currentRawResponse = rawResponse;
85
+ providedCallback?.(rawResponse, flatResponse);
86
+ };
87
+ const updatedArgs = {
88
+ ...args,
89
+ options: {
90
+ ...args.options,
91
+ onResponse: callback,
92
+ },
93
+ };
94
+ const flatResponse = await directSendOperation(updatedArgs, spec);
95
+ return {
96
+ flatResponse,
97
+ rawResponse: {
98
+ statusCode: currentRawResponse.status,
99
+ body: currentRawResponse.parsedBody,
100
+ headers: currentRawResponse.headers.toJSON(),
101
+ },
102
+ };
103
+ };
104
+ const lro = createLroSpec({
105
+ sendOperationFn,
106
+ args: {
107
+ resourceGroupName,
108
+ amlFilesystemName,
109
+ autoExportJobName,
110
+ options,
111
+ },
112
+ spec: deleteOperationSpec,
113
+ });
114
+ const poller = await createHttpPoller(lro, {
115
+ restoreFrom: options?.resumeFrom,
116
+ intervalInMs: options?.updateIntervalInMs,
117
+ resourceLocationConfig: "location",
118
+ });
119
+ await poller.poll();
120
+ return poller;
121
+ }
122
+ /**
123
+ * Schedules an auto export job for deletion.
124
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
125
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
126
+ * hyphens. Start and end with alphanumeric.
127
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
128
+ * hyphens. Start and end with alphanumeric.
129
+ * @param options The options parameters.
130
+ */
131
+ async beginDeleteAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, options) {
132
+ const poller = await this.beginDelete(resourceGroupName, amlFilesystemName, autoExportJobName, options);
133
+ return poller.pollUntilDone();
134
+ }
135
+ /**
136
+ * Returns an auto export job.
137
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
138
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
139
+ * hyphens. Start and end with alphanumeric.
140
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
141
+ * hyphens. Start and end with alphanumeric.
142
+ * @param options The options parameters.
143
+ */
144
+ get(resourceGroupName, amlFilesystemName, autoExportJobName, options) {
145
+ return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, autoExportJobName, options }, getOperationSpec);
146
+ }
147
+ /**
148
+ * Create or update an auto export job.
149
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
150
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
151
+ * hyphens. Start and end with alphanumeric.
152
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
153
+ * hyphens. Start and end with alphanumeric.
154
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
155
+ * read-only properties are included, they must match the existing values of those properties.
156
+ * @param options The options parameters.
157
+ */
158
+ async beginCreateOrUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
159
+ const directSendOperation = async (args, spec) => {
160
+ return this.client.sendOperationRequest(args, spec);
161
+ };
162
+ const sendOperationFn = async (args, spec) => {
163
+ let currentRawResponse = undefined;
164
+ const providedCallback = args.options?.onResponse;
165
+ const callback = (rawResponse, flatResponse) => {
166
+ currentRawResponse = rawResponse;
167
+ providedCallback?.(rawResponse, flatResponse);
168
+ };
169
+ const updatedArgs = {
170
+ ...args,
171
+ options: {
172
+ ...args.options,
173
+ onResponse: callback,
174
+ },
175
+ };
176
+ const flatResponse = await directSendOperation(updatedArgs, spec);
177
+ return {
178
+ flatResponse,
179
+ rawResponse: {
180
+ statusCode: currentRawResponse.status,
181
+ body: currentRawResponse.parsedBody,
182
+ headers: currentRawResponse.headers.toJSON(),
183
+ },
184
+ };
185
+ };
186
+ const lro = createLroSpec({
187
+ sendOperationFn,
188
+ args: {
189
+ resourceGroupName,
190
+ amlFilesystemName,
191
+ autoExportJobName,
192
+ autoExportJob,
193
+ options,
194
+ },
195
+ spec: createOrUpdateOperationSpec,
196
+ });
197
+ const poller = await createHttpPoller(lro, {
198
+ restoreFrom: options?.resumeFrom,
199
+ intervalInMs: options?.updateIntervalInMs,
200
+ resourceLocationConfig: "azure-async-operation",
201
+ });
202
+ await poller.poll();
203
+ return poller;
204
+ }
205
+ /**
206
+ * Create or update an auto export job.
207
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
208
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
209
+ * hyphens. Start and end with alphanumeric.
210
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
211
+ * hyphens. Start and end with alphanumeric.
212
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
213
+ * read-only properties are included, they must match the existing values of those properties.
214
+ * @param options The options parameters.
215
+ */
216
+ async beginCreateOrUpdateAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
217
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options);
218
+ return poller.pollUntilDone();
219
+ }
220
+ /**
221
+ * Update an auto export job instance.
222
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
223
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
224
+ * hyphens. Start and end with alphanumeric.
225
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
226
+ * hyphens. Start and end with alphanumeric.
227
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
228
+ * read-only properties are included, they must match the existing values of those properties.
229
+ * @param options The options parameters.
230
+ */
231
+ async beginUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
232
+ const directSendOperation = async (args, spec) => {
233
+ return this.client.sendOperationRequest(args, spec);
234
+ };
235
+ const sendOperationFn = async (args, spec) => {
236
+ let currentRawResponse = undefined;
237
+ const providedCallback = args.options?.onResponse;
238
+ const callback = (rawResponse, flatResponse) => {
239
+ currentRawResponse = rawResponse;
240
+ providedCallback?.(rawResponse, flatResponse);
241
+ };
242
+ const updatedArgs = {
243
+ ...args,
244
+ options: {
245
+ ...args.options,
246
+ onResponse: callback,
247
+ },
248
+ };
249
+ const flatResponse = await directSendOperation(updatedArgs, spec);
250
+ return {
251
+ flatResponse,
252
+ rawResponse: {
253
+ statusCode: currentRawResponse.status,
254
+ body: currentRawResponse.parsedBody,
255
+ headers: currentRawResponse.headers.toJSON(),
256
+ },
257
+ };
258
+ };
259
+ const lro = createLroSpec({
260
+ sendOperationFn,
261
+ args: {
262
+ resourceGroupName,
263
+ amlFilesystemName,
264
+ autoExportJobName,
265
+ autoExportJob,
266
+ options,
267
+ },
268
+ spec: updateOperationSpec,
269
+ });
270
+ const poller = await createHttpPoller(lro, {
271
+ restoreFrom: options?.resumeFrom,
272
+ intervalInMs: options?.updateIntervalInMs,
273
+ resourceLocationConfig: "azure-async-operation",
274
+ });
275
+ await poller.poll();
276
+ return poller;
277
+ }
278
+ /**
279
+ * Update an auto export job instance.
280
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
281
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
282
+ * hyphens. Start and end with alphanumeric.
283
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
284
+ * hyphens. Start and end with alphanumeric.
285
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
286
+ * read-only properties are included, they must match the existing values of those properties.
287
+ * @param options The options parameters.
288
+ */
289
+ async beginUpdateAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
290
+ const poller = await this.beginUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options);
291
+ return poller.pollUntilDone();
292
+ }
293
+ /**
294
+ * Returns all the auto export jobs the user has access to under an AML File System.
295
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
296
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
297
+ * hyphens. Start and end with alphanumeric.
298
+ * @param options The options parameters.
299
+ */
300
+ _listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
301
+ return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, options }, listByAmlFilesystemOperationSpec);
302
+ }
303
+ /**
304
+ * ListByAmlFilesystemNext
305
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
306
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
307
+ * hyphens. Start and end with alphanumeric.
308
+ * @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.
309
+ * @param options The options parameters.
310
+ */
311
+ _listByAmlFilesystemNext(resourceGroupName, amlFilesystemName, nextLink, options) {
312
+ return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, nextLink, options }, listByAmlFilesystemNextOperationSpec);
313
+ }
314
+ }
315
+ // Operation Specifications
316
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
317
+ const deleteOperationSpec = {
318
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
319
+ httpMethod: "DELETE",
320
+ responses: {
321
+ 200: {
322
+ headersMapper: Mappers.AutoExportJobsDeleteHeaders,
323
+ },
324
+ 201: {
325
+ headersMapper: Mappers.AutoExportJobsDeleteHeaders,
326
+ },
327
+ 202: {
328
+ headersMapper: Mappers.AutoExportJobsDeleteHeaders,
329
+ },
330
+ 204: {
331
+ headersMapper: Mappers.AutoExportJobsDeleteHeaders,
332
+ },
333
+ default: {
334
+ bodyMapper: Mappers.ErrorResponse,
335
+ },
336
+ },
337
+ queryParameters: [Parameters.apiVersion],
338
+ urlParameters: [
339
+ Parameters.$host,
340
+ Parameters.subscriptionId,
341
+ Parameters.resourceGroupName,
342
+ Parameters.amlFilesystemName,
343
+ Parameters.autoExportJobName,
344
+ ],
345
+ headerParameters: [Parameters.accept],
346
+ serializer,
347
+ };
348
+ const getOperationSpec = {
349
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
350
+ httpMethod: "GET",
351
+ responses: {
352
+ 200: {
353
+ bodyMapper: Mappers.AutoExportJob,
354
+ },
355
+ default: {
356
+ bodyMapper: Mappers.ErrorResponse,
357
+ },
358
+ },
359
+ queryParameters: [Parameters.apiVersion],
360
+ urlParameters: [
361
+ Parameters.$host,
362
+ Parameters.subscriptionId,
363
+ Parameters.resourceGroupName,
364
+ Parameters.amlFilesystemName,
365
+ Parameters.autoExportJobName,
366
+ ],
367
+ headerParameters: [Parameters.accept],
368
+ serializer,
369
+ };
370
+ const createOrUpdateOperationSpec = {
371
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
372
+ httpMethod: "PUT",
373
+ responses: {
374
+ 200: {
375
+ bodyMapper: Mappers.AutoExportJob,
376
+ },
377
+ 201: {
378
+ bodyMapper: Mappers.AutoExportJob,
379
+ },
380
+ 202: {
381
+ bodyMapper: Mappers.AutoExportJob,
382
+ },
383
+ 204: {
384
+ bodyMapper: Mappers.AutoExportJob,
385
+ },
386
+ default: {
387
+ bodyMapper: Mappers.ErrorResponse,
388
+ },
389
+ },
390
+ requestBody: Parameters.autoExportJob,
391
+ queryParameters: [Parameters.apiVersion],
392
+ urlParameters: [
393
+ Parameters.$host,
394
+ Parameters.subscriptionId,
395
+ Parameters.resourceGroupName,
396
+ Parameters.amlFilesystemName,
397
+ Parameters.autoExportJobName,
398
+ ],
399
+ headerParameters: [Parameters.accept, Parameters.contentType],
400
+ mediaType: "json",
401
+ serializer,
402
+ };
403
+ const updateOperationSpec = {
404
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
405
+ httpMethod: "PATCH",
406
+ responses: {
407
+ 200: {
408
+ bodyMapper: Mappers.AutoExportJob,
409
+ },
410
+ 201: {
411
+ bodyMapper: Mappers.AutoExportJob,
412
+ },
413
+ 202: {
414
+ bodyMapper: Mappers.AutoExportJob,
415
+ },
416
+ 204: {
417
+ bodyMapper: Mappers.AutoExportJob,
418
+ },
419
+ default: {
420
+ bodyMapper: Mappers.ErrorResponse,
421
+ },
422
+ },
423
+ requestBody: Parameters.autoExportJob1,
424
+ queryParameters: [Parameters.apiVersion],
425
+ urlParameters: [
426
+ Parameters.$host,
427
+ Parameters.subscriptionId,
428
+ Parameters.resourceGroupName,
429
+ Parameters.amlFilesystemName,
430
+ Parameters.autoExportJobName,
431
+ ],
432
+ headerParameters: [Parameters.accept, Parameters.contentType],
433
+ mediaType: "json",
434
+ serializer,
435
+ };
436
+ const listByAmlFilesystemOperationSpec = {
437
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs",
438
+ httpMethod: "GET",
439
+ responses: {
440
+ 200: {
441
+ bodyMapper: Mappers.AutoExportJobsListResult,
442
+ },
443
+ default: {
444
+ bodyMapper: Mappers.CloudError,
445
+ },
446
+ },
447
+ queryParameters: [Parameters.apiVersion],
448
+ urlParameters: [
449
+ Parameters.$host,
450
+ Parameters.subscriptionId,
451
+ Parameters.resourceGroupName,
452
+ Parameters.amlFilesystemName,
453
+ ],
454
+ headerParameters: [Parameters.accept],
455
+ serializer,
456
+ };
457
+ const listByAmlFilesystemNextOperationSpec = {
458
+ path: "{nextLink}",
459
+ httpMethod: "GET",
460
+ responses: {
461
+ 200: {
462
+ bodyMapper: Mappers.AutoExportJobsListResult,
463
+ },
464
+ default: {
465
+ bodyMapper: Mappers.CloudError,
466
+ },
467
+ },
468
+ urlParameters: [
469
+ Parameters.$host,
470
+ Parameters.subscriptionId,
471
+ Parameters.resourceGroupName,
472
+ Parameters.amlFilesystemName,
473
+ Parameters.nextLink,
474
+ ],
475
+ headerParameters: [Parameters.accept],
476
+ serializer,
477
+ };
478
+ //# sourceMappingURL=autoExportJobs.js.map