@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
@@ -1 +1 @@
1
- {"version":3,"file":"storageTargets.js","sourceRoot":"","sources":["../../../src/operations/storageTargets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,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MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,2KAA2K;IACjL,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { StorageTargets } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageCacheManagementClient } from \"../storageCacheManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n StorageTarget,\n StorageTargetsListByCacheNextOptionalParams,\n StorageTargetsListByCacheOptionalParams,\n StorageTargetsListByCacheResponse,\n StorageTargetsDnsRefreshOptionalParams,\n StorageTargetsDeleteOptionalParams,\n StorageTargetsGetOptionalParams,\n StorageTargetsGetResponse,\n StorageTargetsCreateOrUpdateOptionalParams,\n StorageTargetsCreateOrUpdateResponse,\n StorageTargetsRestoreDefaultsOptionalParams,\n StorageTargetsListByCacheNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTargets operations. */\nexport class StorageTargetsImpl implements StorageTargets {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTargets class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of Storage Targets for the specified cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param options The options parameters.\n */\n public listByCache(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): PagedAsyncIterableIterator<StorageTarget> {\n const iter = this.listByCachePagingAll(\n resourceGroupName,\n cacheName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByCachePagingPage(\n resourceGroupName,\n cacheName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByCachePagingPage(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTarget[]> {\n let result: StorageTargetsListByCacheResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCache(resourceGroupName, cacheName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByCacheNext(\n resourceGroupName,\n cacheName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByCachePagingAll(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): AsyncIterableIterator<StorageTarget> {\n for await (const page of this.listByCachePagingPage(\n resourceGroupName,\n cacheName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDnsRefresh(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, cacheName, storageTargetName, options },\n spec: dnsRefreshOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDnsRefreshAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDnsRefresh(\n resourceGroupName,\n cacheName,\n storageTargetName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a list of Storage Targets for the specified cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param options The options parameters.\n */\n private _listByCache(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): Promise<StorageTargetsListByCacheResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, cacheName, options },\n listByCacheOperationSpec,\n );\n }\n\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, cacheName, storageTargetName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n cacheName,\n storageTargetName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a Storage Target from a cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsGetOptionalParams,\n ): Promise<StorageTargetsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, cacheName, storageTargetName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTargetsCreateOrUpdateResponse>,\n StorageTargetsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTargetsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n cacheName,\n storageTargetName,\n storagetarget,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTargetsCreateOrUpdateResponse,\n OperationState<StorageTargetsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<StorageTargetsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n cacheName,\n storageTargetName,\n storagetarget,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginRestoreDefaults(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, cacheName, storageTargetName, options },\n spec: restoreDefaultsOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginRestoreDefaultsAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<void> {\n const poller = await this.beginRestoreDefaults(\n resourceGroupName,\n cacheName,\n storageTargetName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByCacheNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param nextLink The nextLink from the previous successful call to the ListByCache method.\n * @param options The options parameters.\n */\n private _listByCacheNext(\n resourceGroupName: string,\n cacheName: string,\n nextLink: string,\n options?: StorageTargetsListByCacheNextOptionalParams,\n ): Promise<StorageTargetsListByCacheNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, cacheName, nextLink, options },\n listByCacheNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst dnsRefreshOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCacheOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTargetsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.force],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTarget,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTarget,\n },\n 201: {\n bodyMapper: Mappers.StorageTarget,\n },\n 202: {\n bodyMapper: Mappers.StorageTarget,\n },\n 204: {\n bodyMapper: Mappers.StorageTarget,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.storagetarget,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst restoreDefaultsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/restoreDefaults\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCacheNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTargetsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.cacheName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"storageTargets.js","sourceRoot":"","sources":["../../../src/operations/storageTargets.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAAqF;AACrF,8CAA8C;AAgB9C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,WAAW,CAChB,iBAAyB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ACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { StorageTargets } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageCacheManagementClient } from \"../storageCacheManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n StorageTarget,\n StorageTargetsListByCacheNextOptionalParams,\n StorageTargetsListByCacheOptionalParams,\n StorageTargetsListByCacheResponse,\n StorageTargetsDnsRefreshOptionalParams,\n StorageTargetsDeleteOptionalParams,\n StorageTargetsGetOptionalParams,\n StorageTargetsGetResponse,\n StorageTargetsCreateOrUpdateOptionalParams,\n StorageTargetsCreateOrUpdateResponse,\n StorageTargetsRestoreDefaultsOptionalParams,\n StorageTargetsListByCacheNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTargets operations. */\nexport class StorageTargetsImpl implements StorageTargets {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTargets class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of Storage Targets for the specified cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param options The options parameters.\n */\n public listByCache(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): PagedAsyncIterableIterator<StorageTarget> {\n const iter = this.listByCachePagingAll(resourceGroupName, cacheName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByCachePagingPage(resourceGroupName, cacheName, options, settings);\n },\n };\n }\n\n private async *listByCachePagingPage(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTarget[]> {\n let result: StorageTargetsListByCacheResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCache(resourceGroupName, cacheName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByCacheNext(\n resourceGroupName,\n cacheName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByCachePagingAll(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): AsyncIterableIterator<StorageTarget> {\n for await (const page of this.listByCachePagingPage(resourceGroupName, cacheName, options)) {\n yield* page;\n }\n }\n\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDnsRefresh(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, cacheName, storageTargetName, options },\n spec: dnsRefreshOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Tells a storage target to refresh its DNS information.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDnsRefreshAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDnsRefreshOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDnsRefresh(\n resourceGroupName,\n cacheName,\n storageTargetName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a list of Storage Targets for the specified cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param options The options parameters.\n */\n private _listByCache(\n resourceGroupName: string,\n cacheName: string,\n options?: StorageTargetsListByCacheOptionalParams,\n ): Promise<StorageTargetsListByCacheResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, cacheName, options },\n listByCacheOperationSpec,\n );\n }\n\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, cacheName, storageTargetName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is\n * down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is\n * healthy again. Note that if the cache has data to flush to the Storage Target, the data will be\n * flushed before the Storage Target will be deleted.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, cacheName, storageTargetName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a Storage Target from a cache.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsGetOptionalParams,\n ): Promise<StorageTargetsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, cacheName, storageTargetName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTargetsCreateOrUpdateResponse>,\n StorageTargetsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTargetsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n cacheName,\n storageTargetName,\n storagetarget,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTargetsCreateOrUpdateResponse,\n OperationState<StorageTargetsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down\n * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache\n * is healthy again.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param storagetarget Object containing the definition of a Storage Target.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n storagetarget: StorageTarget,\n options?: StorageTargetsCreateOrUpdateOptionalParams,\n ): Promise<StorageTargetsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n cacheName,\n storageTargetName,\n storagetarget,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginRestoreDefaults(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, cacheName, storageTargetName, options },\n spec: restoreDefaultsOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Tells a storage target to restore its settings to their default values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param storageTargetName Name of Storage Target.\n * @param options The options parameters.\n */\n async beginRestoreDefaultsAndWait(\n resourceGroupName: string,\n cacheName: string,\n storageTargetName: string,\n options?: StorageTargetsRestoreDefaultsOptionalParams,\n ): Promise<void> {\n const poller = await this.beginRestoreDefaults(\n resourceGroupName,\n cacheName,\n storageTargetName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByCacheNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from\n * the [-0-9a-zA-Z_] char class.\n * @param nextLink The nextLink from the previous successful call to the ListByCache method.\n * @param options The options parameters.\n */\n private _listByCacheNext(\n resourceGroupName: string,\n cacheName: string,\n nextLink: string,\n options?: StorageTargetsListByCacheNextOptionalParams,\n ): Promise<StorageTargetsListByCacheNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, cacheName, nextLink, options },\n listByCacheNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst dnsRefreshOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCacheOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTargetsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.force],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTarget,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTarget,\n },\n 201: {\n bodyMapper: Mappers.StorageTarget,\n },\n 202: {\n bodyMapper: Mappers.StorageTarget,\n },\n 204: {\n bodyMapper: Mappers.StorageTarget,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.storagetarget,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst restoreDefaultsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/restoreDefaults\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.cacheName,\n Parameters.storageTargetName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCacheNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTargetsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.cacheName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"usageModels.d.ts","sourceRoot":"","sources":["../../../src/operations/usageModels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,UAAU,EAEV,6BAA6B,EAG9B,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC;YAkB1B,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
1
+ {"version":3,"file":"usageModels.d.ts","sourceRoot":"","sources":["../../../src/operations/usageModels.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,UAAU,EAEV,6BAA6B,EAG9B,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,6BAA6B,GAAG,0BAA0B,CAAC,UAAU,CAAC;YAkB7E,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.UsageModelsImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -114,11 +109,7 @@ const listNextOperationSpec = {
114
109
  bodyMapper: Mappers.CloudError,
115
110
  },
116
111
  },
117
- urlParameters: [
118
- Parameters.$host,
119
- Parameters.subscriptionId,
120
- Parameters.nextLink,
121
- ],
112
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
122
113
  headerParameters: [Parameters.accept],
123
114
  serializer,
124
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"usageModels.js","sourceRoot":"","sources":["../../../src/oper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AE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { UsageModels } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageCacheManagementClient } from \"../storageCacheManagementClient.js\";\nimport {\n UsageModel,\n UsageModelsListNextOptionalParams,\n UsageModelsListOptionalParams,\n UsageModelsListResponse,\n UsageModelsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UsageModels operations. */\nexport class UsageModelsImpl implements UsageModels {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class UsageModels class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Get the list of cache usage models available to this subscription.\n * @param options The options parameters.\n */\n public list(\n options?: UsageModelsListOptionalParams,\n ): PagedAsyncIterableIterator<UsageModel> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: UsageModelsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<UsageModel[]> {\n let result: UsageModelsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: UsageModelsListOptionalParams,\n ): AsyncIterableIterator<UsageModel> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the list of cache usage models available to this subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: UsageModelsListOptionalParams,\n ): Promise<UsageModelsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: UsageModelsListNextOptionalParams,\n ): Promise<UsageModelsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UsageModelsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UsageModelsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"usageModels.js","sourceRoot":"","sources":["../../../src/operations/usageModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAa,eAAe;IACT,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAuC;QACjD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAAuC,EACvC,QAAuB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AlFD,0CAkFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,8EAA8E;IACpF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { UsageModels } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageCacheManagementClient } from \"../storageCacheManagementClient.js\";\nimport {\n UsageModel,\n UsageModelsListNextOptionalParams,\n UsageModelsListOptionalParams,\n UsageModelsListResponse,\n UsageModelsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UsageModels operations. */\nexport class UsageModelsImpl implements UsageModels {\n private readonly client: StorageCacheManagementClient;\n\n /**\n * Initialize a new instance of the class UsageModels class.\n * @param client Reference to the service client\n */\n constructor(client: StorageCacheManagementClient) {\n this.client = client;\n }\n\n /**\n * Get the list of cache usage models available to this subscription.\n * @param options The options parameters.\n */\n public list(options?: UsageModelsListOptionalParams): PagedAsyncIterableIterator<UsageModel> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: UsageModelsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<UsageModel[]> {\n let result: UsageModelsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: UsageModelsListOptionalParams,\n ): AsyncIterableIterator<UsageModel> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the list of cache usage models available to this subscription.\n * @param options The options parameters.\n */\n private _list(options?: UsageModelsListOptionalParams): Promise<UsageModelsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: UsageModelsListNextOptionalParams,\n ): Promise<UsageModelsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UsageModelsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UsageModelsResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"amlFilesystems.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/amlFilesystems.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,aAAa,EACb,gCAAgC,EAChC,+CAA+C,EAC/C,kCAAkC,EAClC,+BAA+B,EAC/B,yBAAyB,EACzB,0CAA0C,EAC1C,oCAAoC,EACpC,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAC5B,mCAAmC,EACnC,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,IAAI,CACF,O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O,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,4BAA4B,CAAC,EAC5C,4BAA4B,CAC7B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,mBAAmB,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,OAAO,CACL,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"amlFilesystems.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/amlFilesystems.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,aAAa,EACb,gCAAgC,EAChC,+CAA+C,EAC/C,kCAAkC,EAClC,+BAA+B,EAC/B,yBAAyB,EACzB,0CAA0C,EAC1C,oCAAoC,EACpC,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAC5B,mCAAmC,EACnC,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,gCAAgC,GAAG,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC5F;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE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C;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,mBAAmB,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,OAAO,CACL,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  //# sourceMappingURL=amlFilesystems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"amlFilesystems.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/amlFilesystems.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AmlFilesystem,\n AmlFilesystemsListOptionalParams,\n AmlFilesystemsListByResourceGroupOptionalParams,\n AmlFilesystemsDeleteOptionalParams,\n AmlFilesystemsGetOptionalParams,\n AmlFilesystemsGetResponse,\n AmlFilesystemsCreateOrUpdateOptionalParams,\n AmlFilesystemsCreateOrUpdateResponse,\n AmlFilesystemUpdate,\n AmlFilesystemsUpdateOptionalParams,\n AmlFilesystemsUpdateResponse,\n AmlFilesystemsArchiveOptionalParams,\n AmlFilesystemsCancelArchiveOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AmlFilesystems. */\nexport interface AmlFilesystems {\n /**\n * Returns all AML file systems the user has access to under a subscription.\n * @param options The options parameters.\n */\n list(\n options?: AmlFilesystemsListOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem>;\n /**\n * Returns all AML file systems the user has access to under a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem>;\n /**\n * Schedules an AML file system for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Schedules an AML file system for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Returns an AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsGetOptionalParams,\n ): Promise<AmlFilesystemsGetResponse>;\n /**\n * Create or update an AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AmlFilesystemsCreateOrUpdateResponse>,\n AmlFilesystemsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<AmlFilesystemsCreateOrUpdateResponse>;\n /**\n * Update an AML file system instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AmlFilesystemsUpdateResponse>,\n AmlFilesystemsUpdateResponse\n >\n >;\n /**\n * Update an AML file system instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<AmlFilesystemsUpdateResponse>;\n /**\n * Archive data from the AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n archive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsArchiveOptionalParams,\n ): Promise<void>;\n /**\n * Cancel archiving data from the AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n cancelArchive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsCancelArchiveOptionalParams,\n ): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"amlFilesystems.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/amlFilesystems.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AmlFilesystem,\n AmlFilesystemsListOptionalParams,\n AmlFilesystemsListByResourceGroupOptionalParams,\n AmlFilesystemsDeleteOptionalParams,\n AmlFilesystemsGetOptionalParams,\n AmlFilesystemsGetResponse,\n AmlFilesystemsCreateOrUpdateOptionalParams,\n AmlFilesystemsCreateOrUpdateResponse,\n AmlFilesystemUpdate,\n AmlFilesystemsUpdateOptionalParams,\n AmlFilesystemsUpdateResponse,\n AmlFilesystemsArchiveOptionalParams,\n AmlFilesystemsCancelArchiveOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AmlFilesystems. */\nexport interface AmlFilesystems {\n /**\n * Returns all AML file systems the user has access to under a subscription.\n * @param options The options parameters.\n */\n list(options?: AmlFilesystemsListOptionalParams): PagedAsyncIterableIterator<AmlFilesystem>;\n /**\n * Returns all AML file systems the user has access to under a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AmlFilesystemsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<AmlFilesystem>;\n /**\n * Schedules an AML file system for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Schedules an AML file system for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Returns an AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsGetOptionalParams,\n ): Promise<AmlFilesystemsGetResponse>;\n /**\n * Create or update an AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AmlFilesystemsCreateOrUpdateResponse>,\n AmlFilesystemsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystem,\n options?: AmlFilesystemsCreateOrUpdateOptionalParams,\n ): Promise<AmlFilesystemsCreateOrUpdateResponse>;\n /**\n * Update an AML file system instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<AmlFilesystemsUpdateResponse>, AmlFilesystemsUpdateResponse>\n >;\n /**\n * Update an AML file system instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param amlFilesystem Object containing the user-selectable properties of the AML file system. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n amlFilesystem: AmlFilesystemUpdate,\n options?: AmlFilesystemsUpdateOptionalParams,\n ): Promise<AmlFilesystemsUpdateResponse>;\n /**\n * Archive data from the AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n archive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsArchiveOptionalParams,\n ): Promise<void>;\n /**\n * Cancel archiving data from the AML file system.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n cancelArchive(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AmlFilesystemsCancelArchiveOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ascOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
1
+ {"version":3,"file":"ascOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascOperations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9F,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  //# sourceMappingURL=ascOperations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ascOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n AscOperationsGetOptionalParams,\n AscOperationsGetResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a AscOperations. */\nexport interface AscOperations {\n /**\n * Gets the status of an asynchronous operation for the Azure HPC Cache\n * @param location The name of Azure region.\n * @param operationId The ID of an ongoing async operation.\n * @param options The options parameters.\n */\n get(\n location: string,\n operationId: string,\n options?: AscOperationsGetOptionalParams,\n ): Promise<AscOperationsGetResponse>;\n}\n"]}
1
+ {"version":3,"file":"ascOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascOperations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { AscOperationsGetOptionalParams, AscOperationsGetResponse } from \"../models/index.js\";\n\n/** Interface representing a AscOperations. */\nexport interface AscOperations {\n /**\n * Gets the status of an asynchronous operation for the Azure HPC Cache\n * @param location The name of Azure region.\n * @param operationId The ID of an ongoing async operation.\n * @param options The options parameters.\n */\n get(\n location: string,\n operationId: string,\n options?: AscOperationsGetOptionalParams,\n ): Promise<AscOperationsGetResponse>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ascUsages.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascUsages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAGhF,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,aAAa,CAAC,CAAC;CAC9C"}
1
+ {"version":3,"file":"ascUsages.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascUsages.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAGhF,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,aAAa,CAAC,CAAC;CAC9C"}
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  //# sourceMappingURL=ascUsages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ascUsages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascUsages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ResourceUsage, AscUsagesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AscUsages. */\nexport interface AscUsages {\n /**\n * Gets the quantity used and quota limit for resources\n * @param location The name of the region to query for usage information.\n * @param options The options parameters.\n */\n list(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): PagedAsyncIterableIterator<ResourceUsage>;\n}\n"]}
1
+ {"version":3,"file":"ascUsages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ascUsages.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ResourceUsage, AscUsagesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AscUsages. */\nexport interface AscUsages {\n /**\n * Gets the quantity used and quota limit for resources\n * @param location The name of the region to query for usage information.\n * @param options The options parameters.\n */\n list(\n location: string,\n options?: AscUsagesListOptionalParams,\n ): PagedAsyncIterableIterator<ResourceUsage>;\n}\n"]}
@@ -0,0 +1,93 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { AutoExportJob, AutoExportJobsListByAmlFilesystemOptionalParams, AutoExportJobsDeleteOptionalParams, AutoExportJobsDeleteResponse, AutoExportJobsGetOptionalParams, AutoExportJobsGetResponse, AutoExportJobsCreateOrUpdateOptionalParams, AutoExportJobsCreateOrUpdateResponse, AutoExportJobUpdate, AutoExportJobsUpdateOptionalParams, AutoExportJobsUpdateResponse } from "../models/index.js";
4
+ /** Interface representing a AutoExportJobs. */
5
+ export interface AutoExportJobs {
6
+ /**
7
+ * Returns all the auto export jobs the user has access to under an AML File System.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
10
+ * hyphens. Start and end with alphanumeric.
11
+ * @param options The options parameters.
12
+ */
13
+ listByAmlFilesystem(resourceGroupName: string, amlFilesystemName: string, options?: AutoExportJobsListByAmlFilesystemOptionalParams): PagedAsyncIterableIterator<AutoExportJob>;
14
+ /**
15
+ * Schedules an auto export job for deletion.
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 autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
20
+ * hyphens. Start and end with alphanumeric.
21
+ * @param options The options parameters.
22
+ */
23
+ beginDelete(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, options?: AutoExportJobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AutoExportJobsDeleteResponse>, AutoExportJobsDeleteResponse>>;
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
+ beginDeleteAndWait(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, options?: AutoExportJobsDeleteOptionalParams): Promise<AutoExportJobsDeleteResponse>;
34
+ /**
35
+ * Returns an auto export job.
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
+ get(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, options?: AutoExportJobsGetOptionalParams): Promise<AutoExportJobsGetResponse>;
44
+ /**
45
+ * Create or update 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 autoExportJob Object containing the user-selectable properties of the auto export job. If
52
+ * read-only properties are included, they must match the existing values of those properties.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdate(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJob, options?: AutoExportJobsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AutoExportJobsCreateOrUpdateResponse>, AutoExportJobsCreateOrUpdateResponse>>;
56
+ /**
57
+ * Create or update an auto export job.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
60
+ * hyphens. Start and end with alphanumeric.
61
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
62
+ * hyphens. Start and end with alphanumeric.
63
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
64
+ * read-only properties are included, they must match the existing values of those properties.
65
+ * @param options The options parameters.
66
+ */
67
+ beginCreateOrUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJob, options?: AutoExportJobsCreateOrUpdateOptionalParams): Promise<AutoExportJobsCreateOrUpdateResponse>;
68
+ /**
69
+ * Update an auto export job instance.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
72
+ * hyphens. Start and end with alphanumeric.
73
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
74
+ * hyphens. Start and end with alphanumeric.
75
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
76
+ * read-only properties are included, they must match the existing values of those properties.
77
+ * @param options The options parameters.
78
+ */
79
+ beginUpdate(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJobUpdate, options?: AutoExportJobsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AutoExportJobsUpdateResponse>, AutoExportJobsUpdateResponse>>;
80
+ /**
81
+ * Update an auto export job instance.
82
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
83
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
84
+ * hyphens. Start and end with alphanumeric.
85
+ * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
86
+ * hyphens. Start and end with alphanumeric.
87
+ * @param autoExportJob Object containing the user-selectable properties of the auto export job. If
88
+ * read-only properties are included, they must match the existing values of those properties.
89
+ * @param options The options parameters.
90
+ */
91
+ beginUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, autoExportJobName: string, autoExportJob: AutoExportJobUpdate, options?: AutoExportJobsUpdateOptionalParams): Promise<AutoExportJobsUpdateResponse>;
92
+ }
93
+ //# sourceMappingURL=autoExportJobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoExportJobs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/autoExportJobs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,aAAa,EACb,+CAA+C,EAC/C,kCAAkC,EAClC,4BAA4B,EAC5B,+BAA+B,EAC/B,yBAAyB,EACzB,0CAA0C,EAC1C,oCAAoC,EACpC,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;;;OAQG;IACH,WAAW,CACT,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,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;;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,CAAC;IACtC;;;;;;;;;;OAUG;IACH,mBAAmB,CACjB,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,CAAC;IACF;;;;;;;;;;OAUG;IACH,0BAA0B,CACxB,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,CAAC;IACjD;;;;;;;;;;OAUG;IACH,WAAW,CACT,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,CAAC;IACF;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,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,CAAC;CAC1C"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=autoExportJobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoExportJobs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/autoExportJobs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AutoExportJob,\n AutoExportJobsListByAmlFilesystemOptionalParams,\n AutoExportJobsDeleteOptionalParams,\n AutoExportJobsDeleteResponse,\n AutoExportJobsGetOptionalParams,\n AutoExportJobsGetResponse,\n AutoExportJobsCreateOrUpdateOptionalParams,\n AutoExportJobsCreateOrUpdateResponse,\n AutoExportJobUpdate,\n AutoExportJobsUpdateOptionalParams,\n AutoExportJobsUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AutoExportJobs. */\nexport interface AutoExportJobs {\n /**\n * Returns all the auto export jobs the user has access to under an AML File System.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n listByAmlFilesystem(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: AutoExportJobsListByAmlFilesystemOptionalParams,\n ): PagedAsyncIterableIterator<AutoExportJob>;\n /**\n * Schedules an auto export job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n options?: AutoExportJobsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<AutoExportJobsDeleteResponse>, AutoExportJobsDeleteResponse>\n >;\n /**\n * Schedules an auto export job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n options?: AutoExportJobsDeleteOptionalParams,\n ): Promise<AutoExportJobsDeleteResponse>;\n /**\n * Returns an auto export job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n options?: AutoExportJobsGetOptionalParams,\n ): Promise<AutoExportJobsGetResponse>;\n /**\n * Create or update an auto export job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJob Object containing the user-selectable properties of the auto export job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n autoExportJob: AutoExportJob,\n options?: AutoExportJobsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AutoExportJobsCreateOrUpdateResponse>,\n AutoExportJobsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an auto export job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJob Object containing the user-selectable properties of the auto export job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n autoExportJob: AutoExportJob,\n options?: AutoExportJobsCreateOrUpdateOptionalParams,\n ): Promise<AutoExportJobsCreateOrUpdateResponse>;\n /**\n * Update an auto export job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJob Object containing the user-selectable properties of the auto export job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n autoExportJob: AutoExportJobUpdate,\n options?: AutoExportJobsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<AutoExportJobsUpdateResponse>, AutoExportJobsUpdateResponse>\n >;\n /**\n * Update an auto export job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param autoExportJob Object containing the user-selectable properties of the auto export job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n autoExportJobName: string,\n autoExportJob: AutoExportJobUpdate,\n options?: AutoExportJobsUpdateOptionalParams,\n ): Promise<AutoExportJobsUpdateResponse>;\n}\n"]}