@azure/arm-storagecache 8.0.1 → 8.1.0-alpha.20250926.3

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