@azure/arm-qumulo 2.0.2-alpha.20260310.1 → 3.0.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 (389) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +12 -11
  3. package/dist/browser/api/fileSystems/index.d.ts +3 -0
  4. package/dist/browser/api/fileSystems/index.js +4 -0
  5. package/dist/browser/api/fileSystems/index.js.map +1 -0
  6. package/dist/browser/api/fileSystems/operations.d.ts +31 -0
  7. package/dist/browser/api/fileSystems/operations.js +194 -0
  8. package/dist/browser/api/fileSystems/operations.js.map +1 -0
  9. package/dist/browser/api/fileSystems/options.d.ts +24 -0
  10. package/dist/browser/api/fileSystems/options.js +4 -0
  11. package/dist/browser/api/fileSystems/options.js.map +1 -0
  12. package/dist/browser/api/index.d.ts +3 -0
  13. package/dist/browser/api/index.js +4 -0
  14. package/dist/browser/api/index.js.map +1 -0
  15. package/dist/browser/api/operations/index.d.ts +3 -0
  16. package/dist/browser/api/operations/index.js +4 -0
  17. package/dist/browser/api/operations/index.js.map +1 -0
  18. package/dist/browser/api/operations/operations.d.ts +10 -0
  19. package/dist/browser/api/operations/operations.js +33 -0
  20. package/dist/browser/api/operations/operations.js.map +1 -0
  21. package/dist/browser/api/operations/options.d.ts +5 -0
  22. package/dist/browser/api/operations/options.js +4 -0
  23. package/dist/browser/api/operations/options.js.map +1 -0
  24. package/dist/browser/api/qumuloStorageContext.d.ts +20 -0
  25. package/dist/browser/api/qumuloStorageContext.js +25 -0
  26. package/dist/browser/api/qumuloStorageContext.js.map +1 -0
  27. package/dist/browser/classic/fileSystems/index.d.ts +31 -0
  28. package/dist/browser/classic/fileSystems/index.js +36 -0
  29. package/dist/browser/classic/fileSystems/index.js.map +1 -0
  30. package/dist/browser/classic/index.d.ts +3 -0
  31. package/dist/browser/classic/index.js +4 -0
  32. package/dist/browser/classic/index.js.map +1 -0
  33. package/dist/browser/classic/operations/index.d.ts +11 -0
  34. package/dist/browser/classic/operations/index.js +14 -0
  35. package/dist/browser/classic/operations/index.js.map +1 -0
  36. package/dist/browser/index.d.ts +16 -3
  37. package/dist/browser/index.js +7 -11
  38. package/dist/browser/index.js.map +1 -1
  39. package/dist/browser/logger.d.ts +2 -0
  40. package/dist/browser/logger.js +5 -0
  41. package/dist/browser/logger.js.map +1 -0
  42. package/dist/browser/models/index.d.ts +2 -478
  43. package/dist/browser/models/index.js +3 -79
  44. package/dist/browser/models/index.js.map +1 -1
  45. package/dist/browser/models/models.d.ts +392 -0
  46. package/dist/browser/models/models.js +413 -0
  47. package/dist/browser/models/models.js.map +1 -0
  48. package/dist/browser/qumuloStorage.d.ts +15 -19
  49. package/dist/browser/qumuloStorage.js +23 -103
  50. package/dist/browser/qumuloStorage.js.map +1 -1
  51. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  52. package/dist/browser/restorePollerHelpers.js +95 -0
  53. package/dist/browser/restorePollerHelpers.js.map +1 -0
  54. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  55. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  56. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  57. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  58. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  59. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  60. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  61. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  62. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  63. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  64. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  65. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  66. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  67. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  68. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  69. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  70. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  71. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  72. package/dist/commonjs/api/fileSystems/index.d.ts +3 -0
  73. package/dist/commonjs/api/fileSystems/index.js +38 -0
  74. package/dist/commonjs/api/fileSystems/index.js.map +7 -0
  75. package/dist/commonjs/api/fileSystems/operations.d.ts +31 -0
  76. package/dist/commonjs/api/fileSystems/operations.js +282 -0
  77. package/dist/commonjs/api/fileSystems/operations.js.map +7 -0
  78. package/dist/commonjs/api/fileSystems/options.d.ts +24 -0
  79. package/dist/commonjs/{operationsInterfaces/operations.js → api/fileSystems/options.js} +3 -2
  80. package/dist/commonjs/api/fileSystems/options.js.map +7 -0
  81. package/dist/commonjs/api/index.d.ts +3 -0
  82. package/dist/commonjs/{operationsInterfaces → api}/index.js +12 -7
  83. package/dist/commonjs/api/index.js.map +7 -0
  84. package/dist/commonjs/api/operations/index.d.ts +3 -0
  85. package/dist/commonjs/{operations → api/operations}/index.js +10 -5
  86. package/dist/commonjs/api/operations/index.js.map +7 -0
  87. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  88. package/dist/commonjs/api/operations/operations.js +70 -0
  89. package/dist/commonjs/api/operations/operations.js.map +7 -0
  90. package/dist/commonjs/api/operations/options.d.ts +5 -0
  91. package/dist/commonjs/api/operations/options.js +16 -0
  92. package/dist/commonjs/api/operations/options.js.map +7 -0
  93. package/dist/commonjs/api/qumuloStorageContext.d.ts +20 -0
  94. package/dist/commonjs/api/qumuloStorageContext.js +47 -0
  95. package/dist/commonjs/api/qumuloStorageContext.js.map +7 -0
  96. package/dist/commonjs/classic/fileSystems/index.d.ts +31 -0
  97. package/dist/commonjs/classic/fileSystems/index.js +60 -0
  98. package/dist/commonjs/classic/fileSystems/index.js.map +7 -0
  99. package/dist/commonjs/classic/index.d.ts +3 -0
  100. package/dist/commonjs/{operationsInterfaces/fileSystems.js → classic/index.js} +3 -2
  101. package/dist/commonjs/classic/index.js.map +7 -0
  102. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  103. package/dist/commonjs/{lroImpl.js → classic/operations/index.js} +14 -19
  104. package/dist/commonjs/classic/operations/index.js.map +7 -0
  105. package/dist/commonjs/index.d.ts +16 -3
  106. package/dist/commonjs/index.js +27 -8
  107. package/dist/commonjs/index.js.map +3 -3
  108. package/dist/commonjs/logger.d.ts +2 -0
  109. package/dist/commonjs/logger.js +29 -0
  110. package/dist/commonjs/logger.js.map +7 -0
  111. package/dist/commonjs/models/index.d.ts +2 -478
  112. package/dist/commonjs/models/index.js +11 -49
  113. package/dist/commonjs/models/index.js.map +4 -4
  114. package/dist/commonjs/models/models.d.ts +392 -0
  115. package/dist/commonjs/models/models.js +436 -0
  116. package/dist/commonjs/models/models.js.map +7 -0
  117. package/dist/commonjs/qumuloStorage.d.ts +15 -19
  118. package/dist/commonjs/qumuloStorage.js +20 -99
  119. package/dist/commonjs/qumuloStorage.js.map +3 -3
  120. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  121. package/dist/commonjs/restorePollerHelpers.js +108 -0
  122. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  123. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  124. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  125. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  126. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  127. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  128. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  129. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  130. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  131. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  132. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  133. package/dist/commonjs/{pagingHelper.js → static-helpers/serialization/check-prop-undefined.js} +12 -20
  134. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  135. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  136. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  137. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  138. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  139. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  140. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  141. package/dist/commonjs/tsdoc-metadata.json +1 -1
  142. package/dist/esm/api/fileSystems/index.d.ts +3 -0
  143. package/dist/esm/api/fileSystems/index.js +4 -0
  144. package/dist/esm/api/fileSystems/index.js.map +1 -0
  145. package/dist/esm/api/fileSystems/operations.d.ts +31 -0
  146. package/dist/esm/api/fileSystems/operations.js +194 -0
  147. package/dist/esm/api/fileSystems/operations.js.map +1 -0
  148. package/dist/esm/api/fileSystems/options.d.ts +24 -0
  149. package/dist/esm/api/fileSystems/options.js +4 -0
  150. package/dist/esm/api/fileSystems/options.js.map +1 -0
  151. package/dist/esm/api/index.d.ts +3 -0
  152. package/dist/esm/api/index.js +4 -0
  153. package/dist/esm/api/index.js.map +1 -0
  154. package/dist/esm/api/operations/index.d.ts +3 -0
  155. package/dist/esm/api/operations/index.js +4 -0
  156. package/dist/esm/api/operations/index.js.map +1 -0
  157. package/dist/esm/api/operations/operations.d.ts +10 -0
  158. package/dist/esm/api/operations/operations.js +33 -0
  159. package/dist/esm/api/operations/operations.js.map +1 -0
  160. package/dist/esm/api/operations/options.d.ts +5 -0
  161. package/dist/esm/api/operations/options.js +4 -0
  162. package/dist/esm/api/operations/options.js.map +1 -0
  163. package/dist/esm/api/qumuloStorageContext.d.ts +20 -0
  164. package/dist/esm/api/qumuloStorageContext.js +25 -0
  165. package/dist/esm/api/qumuloStorageContext.js.map +1 -0
  166. package/dist/esm/classic/fileSystems/index.d.ts +31 -0
  167. package/dist/esm/classic/fileSystems/index.js +36 -0
  168. package/dist/esm/classic/fileSystems/index.js.map +1 -0
  169. package/dist/esm/classic/index.d.ts +3 -0
  170. package/dist/esm/classic/index.js +4 -0
  171. package/dist/esm/classic/index.js.map +1 -0
  172. package/dist/esm/classic/operations/index.d.ts +11 -0
  173. package/dist/esm/classic/operations/index.js +14 -0
  174. package/dist/esm/classic/operations/index.js.map +1 -0
  175. package/dist/esm/index.d.ts +16 -3
  176. package/dist/esm/index.js +9 -8
  177. package/dist/esm/index.js.map +1 -7
  178. package/dist/esm/logger.d.ts +2 -0
  179. package/dist/esm/logger.js +5 -0
  180. package/dist/esm/logger.js.map +1 -0
  181. package/dist/esm/models/index.d.ts +2 -478
  182. package/dist/esm/models/index.js +4 -50
  183. package/dist/esm/models/index.js.map +1 -7
  184. package/dist/esm/models/models.d.ts +392 -0
  185. package/dist/esm/models/models.js +413 -0
  186. package/dist/esm/models/models.js.map +1 -0
  187. package/dist/esm/qumuloStorage.d.ts +15 -19
  188. package/dist/esm/qumuloStorage.js +26 -94
  189. package/dist/esm/qumuloStorage.js.map +1 -7
  190. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  191. package/dist/esm/restorePollerHelpers.js +95 -0
  192. package/dist/esm/restorePollerHelpers.js.map +1 -0
  193. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  194. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  195. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  196. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  197. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  198. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  199. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  200. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  201. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  202. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  203. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  204. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  205. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  206. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  207. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  208. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  209. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  210. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  211. package/package.json +147 -81
  212. package/CHANGELOG.md +0 -40
  213. package/dist/browser/index.d.ts.map +0 -1
  214. package/dist/browser/lroImpl.d.ts +0 -11
  215. package/dist/browser/lroImpl.d.ts.map +0 -1
  216. package/dist/browser/lroImpl.js +0 -18
  217. package/dist/browser/lroImpl.js.map +0 -1
  218. package/dist/browser/models/index.d.ts.map +0 -1
  219. package/dist/browser/models/mappers.d.ts +0 -21
  220. package/dist/browser/models/mappers.d.ts.map +0 -1
  221. package/dist/browser/models/mappers.js +0 -641
  222. package/dist/browser/models/mappers.js.map +0 -1
  223. package/dist/browser/models/parameters.d.ts +0 -12
  224. package/dist/browser/models/parameters.d.ts.map +0 -1
  225. package/dist/browser/models/parameters.js +0 -112
  226. package/dist/browser/models/parameters.js.map +0 -1
  227. package/dist/browser/operations/fileSystems.d.ts +0 -99
  228. package/dist/browser/operations/fileSystems.d.ts.map +0 -1
  229. package/dist/browser/operations/fileSystems.js +0 -465
  230. package/dist/browser/operations/fileSystems.js.map +0 -1
  231. package/dist/browser/operations/index.d.ts +0 -3
  232. package/dist/browser/operations/index.d.ts.map +0 -1
  233. package/dist/browser/operations/index.js +0 -10
  234. package/dist/browser/operations/index.js.map +0 -1
  235. package/dist/browser/operations/operations.d.ts +0 -32
  236. package/dist/browser/operations/operations.d.ts.map +0 -1
  237. package/dist/browser/operations/operations.js +0 -116
  238. package/dist/browser/operations/operations.js.map +0 -1
  239. package/dist/browser/operationsInterfaces/fileSystems.d.ts +0 -63
  240. package/dist/browser/operationsInterfaces/fileSystems.d.ts.map +0 -1
  241. package/dist/browser/operationsInterfaces/fileSystems.js +0 -9
  242. package/dist/browser/operationsInterfaces/fileSystems.js.map +0 -1
  243. package/dist/browser/operationsInterfaces/index.d.ts +0 -3
  244. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  245. package/dist/browser/operationsInterfaces/index.js +0 -10
  246. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  247. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  248. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  249. package/dist/browser/operationsInterfaces/operations.js +0 -9
  250. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  251. package/dist/browser/pagingHelper.d.ts +0 -13
  252. package/dist/browser/pagingHelper.d.ts.map +0 -1
  253. package/dist/browser/pagingHelper.js +0 -30
  254. package/dist/browser/pagingHelper.js.map +0 -1
  255. package/dist/browser/qumuloStorage.d.ts.map +0 -1
  256. package/dist/commonjs/index.d.ts.map +0 -1
  257. package/dist/commonjs/lroImpl.d.ts +0 -11
  258. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  259. package/dist/commonjs/lroImpl.js.map +0 -7
  260. package/dist/commonjs/models/index.d.ts.map +0 -1
  261. package/dist/commonjs/models/mappers.d.ts +0 -21
  262. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  263. package/dist/commonjs/models/mappers.js +0 -695
  264. package/dist/commonjs/models/mappers.js.map +0 -7
  265. package/dist/commonjs/models/parameters.d.ts +0 -12
  266. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  267. package/dist/commonjs/models/parameters.js +0 -148
  268. package/dist/commonjs/models/parameters.js.map +0 -7
  269. package/dist/commonjs/operations/fileSystems.d.ts +0 -99
  270. package/dist/commonjs/operations/fileSystems.d.ts.map +0 -1
  271. package/dist/commonjs/operations/fileSystems.js +0 -532
  272. package/dist/commonjs/operations/fileSystems.js.map +0 -7
  273. package/dist/commonjs/operations/index.d.ts +0 -3
  274. package/dist/commonjs/operations/index.d.ts.map +0 -1
  275. package/dist/commonjs/operations/index.js.map +0 -7
  276. package/dist/commonjs/operations/operations.d.ts +0 -32
  277. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  278. package/dist/commonjs/operations/operations.js +0 -148
  279. package/dist/commonjs/operations/operations.js.map +0 -7
  280. package/dist/commonjs/operationsInterfaces/fileSystems.d.ts +0 -63
  281. package/dist/commonjs/operationsInterfaces/fileSystems.d.ts.map +0 -1
  282. package/dist/commonjs/operationsInterfaces/fileSystems.js.map +0 -7
  283. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -3
  284. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  285. package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
  286. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  287. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  288. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -7
  289. package/dist/commonjs/pagingHelper.d.ts +0 -13
  290. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  291. package/dist/commonjs/pagingHelper.js.map +0 -7
  292. package/dist/commonjs/qumuloStorage.d.ts.map +0 -1
  293. package/dist/esm/index.d.ts.map +0 -1
  294. package/dist/esm/lroImpl.d.ts +0 -11
  295. package/dist/esm/lroImpl.d.ts.map +0 -1
  296. package/dist/esm/lroImpl.js +0 -20
  297. package/dist/esm/lroImpl.js.map +0 -7
  298. package/dist/esm/models/index.d.ts.map +0 -1
  299. package/dist/esm/models/mappers.d.ts +0 -21
  300. package/dist/esm/models/mappers.d.ts.map +0 -1
  301. package/dist/esm/models/mappers.js +0 -654
  302. package/dist/esm/models/mappers.js.map +0 -7
  303. package/dist/esm/models/parameters.d.ts +0 -12
  304. package/dist/esm/models/parameters.d.ts.map +0 -1
  305. package/dist/esm/models/parameters.js +0 -119
  306. package/dist/esm/models/parameters.js.map +0 -7
  307. package/dist/esm/operations/fileSystems.d.ts +0 -99
  308. package/dist/esm/operations/fileSystems.d.ts.map +0 -1
  309. package/dist/esm/operations/fileSystems.js +0 -501
  310. package/dist/esm/operations/fileSystems.js.map +0 -7
  311. package/dist/esm/operations/index.d.ts +0 -3
  312. package/dist/esm/operations/index.d.ts.map +0 -1
  313. package/dist/esm/operations/index.js +0 -2
  314. package/dist/esm/operations/index.js.map +0 -7
  315. package/dist/esm/operations/operations.d.ts +0 -32
  316. package/dist/esm/operations/operations.d.ts.map +0 -1
  317. package/dist/esm/operations/operations.js +0 -115
  318. package/dist/esm/operations/operations.js.map +0 -7
  319. package/dist/esm/operationsInterfaces/fileSystems.d.ts +0 -63
  320. package/dist/esm/operationsInterfaces/fileSystems.d.ts.map +0 -1
  321. package/dist/esm/operationsInterfaces/fileSystems.js +0 -0
  322. package/dist/esm/operationsInterfaces/fileSystems.js.map +0 -7
  323. package/dist/esm/operationsInterfaces/index.d.ts +0 -3
  324. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  325. package/dist/esm/operationsInterfaces/index.js +0 -2
  326. package/dist/esm/operationsInterfaces/index.js.map +0 -7
  327. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  328. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  329. package/dist/esm/operationsInterfaces/operations.js +0 -0
  330. package/dist/esm/operationsInterfaces/operations.js.map +0 -7
  331. package/dist/esm/pagingHelper.d.ts +0 -13
  332. package/dist/esm/pagingHelper.d.ts.map +0 -1
  333. package/dist/esm/pagingHelper.js +0 -19
  334. package/dist/esm/pagingHelper.js.map +0 -7
  335. package/dist/esm/qumuloStorage.d.ts.map +0 -1
  336. package/dist/react-native/index.d.ts +0 -5
  337. package/dist/react-native/index.d.ts.map +0 -1
  338. package/dist/react-native/index.js +0 -13
  339. package/dist/react-native/index.js.map +0 -1
  340. package/dist/react-native/lroImpl.d.ts +0 -11
  341. package/dist/react-native/lroImpl.d.ts.map +0 -1
  342. package/dist/react-native/lroImpl.js +0 -18
  343. package/dist/react-native/lroImpl.js.map +0 -1
  344. package/dist/react-native/models/index.d.ts +0 -479
  345. package/dist/react-native/models/index.d.ts.map +0 -1
  346. package/dist/react-native/models/index.js +0 -80
  347. package/dist/react-native/models/index.js.map +0 -1
  348. package/dist/react-native/models/mappers.d.ts +0 -21
  349. package/dist/react-native/models/mappers.d.ts.map +0 -1
  350. package/dist/react-native/models/mappers.js +0 -641
  351. package/dist/react-native/models/mappers.js.map +0 -1
  352. package/dist/react-native/models/parameters.d.ts +0 -12
  353. package/dist/react-native/models/parameters.d.ts.map +0 -1
  354. package/dist/react-native/models/parameters.js +0 -112
  355. package/dist/react-native/models/parameters.js.map +0 -1
  356. package/dist/react-native/operations/fileSystems.d.ts +0 -99
  357. package/dist/react-native/operations/fileSystems.d.ts.map +0 -1
  358. package/dist/react-native/operations/fileSystems.js +0 -465
  359. package/dist/react-native/operations/fileSystems.js.map +0 -1
  360. package/dist/react-native/operations/index.d.ts +0 -3
  361. package/dist/react-native/operations/index.d.ts.map +0 -1
  362. package/dist/react-native/operations/index.js +0 -10
  363. package/dist/react-native/operations/index.js.map +0 -1
  364. package/dist/react-native/operations/operations.d.ts +0 -32
  365. package/dist/react-native/operations/operations.d.ts.map +0 -1
  366. package/dist/react-native/operations/operations.js +0 -116
  367. package/dist/react-native/operations/operations.js.map +0 -1
  368. package/dist/react-native/operationsInterfaces/fileSystems.d.ts +0 -63
  369. package/dist/react-native/operationsInterfaces/fileSystems.d.ts.map +0 -1
  370. package/dist/react-native/operationsInterfaces/fileSystems.js +0 -9
  371. package/dist/react-native/operationsInterfaces/fileSystems.js.map +0 -1
  372. package/dist/react-native/operationsInterfaces/index.d.ts +0 -3
  373. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  374. package/dist/react-native/operationsInterfaces/index.js +0 -10
  375. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  376. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  377. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  378. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  379. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  380. package/dist/react-native/package.json +0 -3
  381. package/dist/react-native/pagingHelper.d.ts +0 -13
  382. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  383. package/dist/react-native/pagingHelper.js +0 -30
  384. package/dist/react-native/pagingHelper.js.map +0 -1
  385. package/dist/react-native/qumuloStorage.d.ts +0 -21
  386. package/dist/react-native/qumuloStorage.d.ts.map +0 -1
  387. package/dist/react-native/qumuloStorage.js +0 -108
  388. package/dist/react-native/qumuloStorage.js.map +0 -1
  389. package/review/arm-qumulo-node.api.md +0 -346
@@ -1,116 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { setContinuationToken } from "../pagingHelper.js";
9
- import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
12
- /// <reference lib="esnext.asynciterable" />
13
- /** Class containing Operations operations. */
14
- export class OperationsImpl {
15
- client;
16
- /**
17
- * Initialize a new instance of the class Operations class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * List the operations for the provider
25
- * @param options The options parameters.
26
- */
27
- list(options) {
28
- const iter = this.listPagingAll(options);
29
- return {
30
- next() {
31
- return iter.next();
32
- },
33
- [Symbol.asyncIterator]() {
34
- return this;
35
- },
36
- byPage: (settings) => {
37
- if (settings?.maxPageSize) {
38
- throw new Error("maxPageSize is not supported by this operation.");
39
- }
40
- return this.listPagingPage(options, settings);
41
- },
42
- };
43
- }
44
- async *listPagingPage(options, settings) {
45
- let result;
46
- let continuationToken = settings?.continuationToken;
47
- if (!continuationToken) {
48
- result = await this._list(options);
49
- let page = result.value || [];
50
- continuationToken = result.nextLink;
51
- setContinuationToken(page, continuationToken);
52
- yield page;
53
- }
54
- while (continuationToken) {
55
- result = await this._listNext(continuationToken, options);
56
- continuationToken = result.nextLink;
57
- let page = result.value || [];
58
- setContinuationToken(page, continuationToken);
59
- yield page;
60
- }
61
- }
62
- async *listPagingAll(options) {
63
- for await (const page of this.listPagingPage(options)) {
64
- yield* page;
65
- }
66
- }
67
- /**
68
- * List the operations for the provider
69
- * @param options The options parameters.
70
- */
71
- _list(options) {
72
- return this.client.sendOperationRequest({ options }, listOperationSpec);
73
- }
74
- /**
75
- * ListNext
76
- * @param nextLink The nextLink from the previous successful call to the List method.
77
- * @param options The options parameters.
78
- */
79
- _listNext(nextLink, options) {
80
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
81
- }
82
- }
83
- // Operation Specifications
84
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
85
- const listOperationSpec = {
86
- path: "/providers/Qumulo.Storage/operations",
87
- httpMethod: "GET",
88
- responses: {
89
- 200: {
90
- bodyMapper: Mappers.OperationListResult,
91
- },
92
- default: {
93
- bodyMapper: Mappers.ErrorResponse,
94
- },
95
- },
96
- queryParameters: [Parameters.apiVersion],
97
- urlParameters: [Parameters.$host],
98
- headerParameters: [Parameters.accept],
99
- serializer,
100
- };
101
- const listNextOperationSpec = {
102
- path: "{nextLink}",
103
- httpMethod: "GET",
104
- responses: {
105
- 200: {
106
- bodyMapper: Mappers.OperationListResult,
107
- },
108
- default: {
109
- bodyMapper: Mappers.ErrorResponse,
110
- },
111
- },
112
- urlParameters: [Parameters.$host, Parameters.nextLink],
113
- headerParameters: [Parameters.accept],
114
- serializer,
115
- };
116
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU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AC,KAAK,CAAC;IACjC,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,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } 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 { QumuloStorage } from \"../qumuloStorage.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: QumuloStorage;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: QumuloStorage) {\n this.client = client;\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\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?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\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?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\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?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\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: \"/providers/Qumulo.Storage/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,63 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { FileSystemResource, FileSystemsListBySubscriptionOptionalParams, FileSystemsListByResourceGroupOptionalParams, FileSystemsGetOptionalParams, FileSystemsGetResponse, FileSystemsCreateOrUpdateOptionalParams, FileSystemsCreateOrUpdateResponse, FileSystemResourceUpdate, FileSystemsUpdateOptionalParams, FileSystemsUpdateResponse, FileSystemsDeleteOptionalParams, FileSystemsDeleteResponse } from "../models/index.js";
4
- /** Interface representing a FileSystems. */
5
- export interface FileSystems {
6
- /**
7
- * List FileSystemResource resources by subscription ID
8
- * @param options The options parameters.
9
- */
10
- listBySubscription(options?: FileSystemsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FileSystemResource>;
11
- /**
12
- * List FileSystemResource resources by resource group
13
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
14
- * @param options The options parameters.
15
- */
16
- listByResourceGroup(resourceGroupName: string, options?: FileSystemsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<FileSystemResource>;
17
- /**
18
- * Get a FileSystemResource
19
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
- * @param fileSystemName Name of the File System resource
21
- * @param options The options parameters.
22
- */
23
- get(resourceGroupName: string, fileSystemName: string, options?: FileSystemsGetOptionalParams): Promise<FileSystemsGetResponse>;
24
- /**
25
- * Create a FileSystemResource
26
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
- * @param fileSystemName Name of the File System resource
28
- * @param resource Resource create parameters.
29
- * @param options The options parameters.
30
- */
31
- beginCreateOrUpdate(resourceGroupName: string, fileSystemName: string, resource: FileSystemResource, options?: FileSystemsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FileSystemsCreateOrUpdateResponse>, FileSystemsCreateOrUpdateResponse>>;
32
- /**
33
- * Create a FileSystemResource
34
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
- * @param fileSystemName Name of the File System resource
36
- * @param resource Resource create parameters.
37
- * @param options The options parameters.
38
- */
39
- beginCreateOrUpdateAndWait(resourceGroupName: string, fileSystemName: string, resource: FileSystemResource, options?: FileSystemsCreateOrUpdateOptionalParams): Promise<FileSystemsCreateOrUpdateResponse>;
40
- /**
41
- * Update a FileSystemResource
42
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
- * @param fileSystemName Name of the File System resource
44
- * @param properties The resource properties to be updated.
45
- * @param options The options parameters.
46
- */
47
- update(resourceGroupName: string, fileSystemName: string, properties: FileSystemResourceUpdate, options?: FileSystemsUpdateOptionalParams): Promise<FileSystemsUpdateResponse>;
48
- /**
49
- * Delete a FileSystemResource
50
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
- * @param fileSystemName Name of the File System resource
52
- * @param options The options parameters.
53
- */
54
- beginDelete(resourceGroupName: string, fileSystemName: string, options?: FileSystemsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<FileSystemsDeleteResponse>, FileSystemsDeleteResponse>>;
55
- /**
56
- * Delete a FileSystemResource
57
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
- * @param fileSystemName Name of the File System resource
59
- * @param options The options parameters.
60
- */
61
- beginDeleteAndWait(resourceGroupName: string, fileSystemName: string, options?: FileSystemsDeleteOptionalParams): Promise<FileSystemsDeleteResponse>;
62
- }
63
- //# sourceMappingURL=fileSystems.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fileSystems.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fileSystems.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL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,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yBAAyB,CAAC,EACzC,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=fileSystems.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fileSystems.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fileSystems.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 FileSystemResource,\n FileSystemsListBySubscriptionOptionalParams,\n FileSystemsListByResourceGroupOptionalParams,\n FileSystemsGetOptionalParams,\n FileSystemsGetResponse,\n FileSystemsCreateOrUpdateOptionalParams,\n FileSystemsCreateOrUpdateResponse,\n FileSystemResourceUpdate,\n FileSystemsUpdateOptionalParams,\n FileSystemsUpdateResponse,\n FileSystemsDeleteOptionalParams,\n FileSystemsDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a FileSystems. */\nexport interface FileSystems {\n /**\n * List FileSystemResource resources by subscription ID\n * @param options The options parameters.\n */\n listBySubscription(\n options?: FileSystemsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<FileSystemResource>;\n /**\n * List FileSystemResource resources by 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?: FileSystemsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<FileSystemResource>;\n /**\n * Get a FileSystemResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param fileSystemName Name of the File System resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n fileSystemName: string,\n options?: FileSystemsGetOptionalParams,\n ): Promise<FileSystemsGetResponse>;\n /**\n * Create a FileSystemResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param fileSystemName Name of the File System resource\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n fileSystemName: string,\n resource: FileSystemResource,\n options?: FileSystemsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<FileSystemsCreateOrUpdateResponse>,\n FileSystemsCreateOrUpdateResponse\n >\n >;\n /**\n * Create a FileSystemResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param fileSystemName Name of the File System resource\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n fileSystemName: string,\n resource: FileSystemResource,\n options?: FileSystemsCreateOrUpdateOptionalParams,\n ): Promise<FileSystemsCreateOrUpdateResponse>;\n /**\n * Update a FileSystemResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param fileSystemName Name of the File System resource\n * @param properties The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n fileSystemName: string,\n properties: FileSystemResourceUpdate,\n options?: FileSystemsUpdateOptionalParams,\n ): Promise<FileSystemsUpdateResponse>;\n /**\n * Delete a FileSystemResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param fileSystemName Name of the File System resource\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n fileSystemName: string,\n options?: FileSystemsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<FileSystemsDeleteResponse>,\n FileSystemsDeleteResponse\n >\n >;\n /**\n * Delete a FileSystemResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param fileSystemName Name of the File System resource\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n fileSystemName: string,\n options?: FileSystemsDeleteOptionalParams,\n ): Promise<FileSystemsDeleteResponse>;\n}\n"]}
@@ -1,3 +0,0 @@
1
- export * from "./operations.js";
2
- export * from "./fileSystems.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -1,10 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export * from "./operations.js";
9
- export * from "./fileSystems.js";
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,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\nexport * from \"./operations.js\";\nexport * from \"./fileSystems.js\";\n"]}
@@ -1,11 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
- /** Interface representing a Operations. */
4
- export interface Operations {
5
- /**
6
- * List the operations for the provider
7
- * @param options The options parameters.
8
- */
9
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
- }
11
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export {};
9
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
@@ -1,13 +0,0 @@
1
- export interface PageInfo {
2
- continuationToken?: string;
3
- }
4
- /**
5
- * Given the last `.value` produced by the `byPage` iterator,
6
- * returns a continuation token that can be used to begin paging from
7
- * that point later.
8
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
- * @returns The continuation token that can be passed into byPage() during future calls.
10
- */
11
- export declare function getContinuationToken(page: unknown): string | undefined;
12
- export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
- //# sourceMappingURL=pagingHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -1,30 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- const pageMap = new WeakMap();
9
- /**
10
- * Given the last `.value` produced by the `byPage` iterator,
11
- * returns a continuation token that can be used to begin paging from
12
- * that point later.
13
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
- * @returns The continuation token that can be passed into byPage() during future calls.
15
- */
16
- export function getContinuationToken(page) {
17
- if (typeof page !== "object" || page === null) {
18
- return undefined;
19
- }
20
- return pageMap.get(page)?.continuationToken;
21
- }
22
- export function setContinuationToken(page, continuationToken) {
23
- if (typeof page !== "object" || page === null || !continuationToken) {
24
- return;
25
- }
26
- const pageInfo = pageMap.get(page) ?? {};
27
- pageInfo.continuationToken = continuationToken;
28
- pageMap.set(page, pageInfo);
29
- }
30
- //# sourceMappingURL=pagingHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -1,21 +0,0 @@
1
- import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { Operations, FileSystems } from "./operationsInterfaces/index.js";
4
- import { QumuloStorageOptionalParams } from "./models/index.js";
5
- export declare class QumuloStorage extends coreClient.ServiceClient {
6
- $host: string;
7
- apiVersion: string;
8
- subscriptionId: string;
9
- /**
10
- * Initializes a new instance of the QumuloStorage class.
11
- * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId The ID of the target subscription.
13
- * @param options The parameter options
14
- */
15
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: QumuloStorageOptionalParams);
16
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
- private addCustomApiVersionPolicy;
18
- operations: Operations;
19
- fileSystems: FileSystems;
20
- }
21
- //# sourceMappingURL=qumuloStorage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"qumuloStorage.d.ts","sourceRoot":"","sources":["../../src/qumuloStorage.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAEhE,qBAAa,aAAc,SAAQ,UAAU,CAAC,aAAa;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2BAA2B;IA8EvC,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B"}
@@ -1,108 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import * as coreClient from "@azure/core-client";
9
- import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
- import { OperationsImpl, FileSystemsImpl } from "./operations/index.js";
11
- export class QumuloStorage extends coreClient.ServiceClient {
12
- $host;
13
- apiVersion;
14
- subscriptionId;
15
- /**
16
- * Initializes a new instance of the QumuloStorage class.
17
- * @param credentials Subscription credentials which uniquely identify client subscription.
18
- * @param subscriptionId The ID of the target subscription.
19
- * @param options The parameter options
20
- */
21
- constructor(credentials, subscriptionId, options) {
22
- if (credentials === undefined) {
23
- throw new Error("'credentials' cannot be null");
24
- }
25
- if (subscriptionId === undefined) {
26
- throw new Error("'subscriptionId' cannot be null");
27
- }
28
- // Initializing default values for options
29
- if (!options) {
30
- options = {};
31
- }
32
- const defaults = {
33
- requestContentType: "application/json; charset=utf-8",
34
- credential: credentials,
35
- };
36
- const packageDetails = `azsdk-js-arm-qumulo/2.0.2`;
37
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
- : `${packageDetails}`;
40
- const optionsWithDefaults = {
41
- ...defaults,
42
- ...options,
43
- userAgentOptions: {
44
- userAgentPrefix,
45
- },
46
- endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
47
- };
48
- super(optionsWithDefaults);
49
- let bearerTokenAuthenticationPolicyFound = false;
50
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
51
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
52
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
53
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
54
- }
55
- if (!options ||
56
- !options.pipeline ||
57
- options.pipeline.getOrderedPolicies().length == 0 ||
58
- !bearerTokenAuthenticationPolicyFound) {
59
- this.pipeline.removePolicy({
60
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
61
- });
62
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
63
- credential: credentials,
64
- scopes: optionsWithDefaults.credentialScopes ??
65
- `${optionsWithDefaults.endpoint}/.default`,
66
- challengeCallbacks: {
67
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
68
- },
69
- }));
70
- }
71
- // Parameter assignments
72
- this.subscriptionId = subscriptionId;
73
- // Assigning values to Constant parameters
74
- this.$host = options.$host || "https://management.azure.com";
75
- this.apiVersion = options.apiVersion || "2024-06-19";
76
- this.operations = new OperationsImpl(this);
77
- this.fileSystems = new FileSystemsImpl(this);
78
- this.addCustomApiVersionPolicy(options.apiVersion);
79
- }
80
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
81
- addCustomApiVersionPolicy(apiVersion) {
82
- if (!apiVersion) {
83
- return;
84
- }
85
- const apiVersionPolicy = {
86
- name: "CustomApiVersionPolicy",
87
- async sendRequest(request, next) {
88
- const param = request.url.split("?");
89
- if (param.length > 1) {
90
- const newParams = param[1].split("&").map((item) => {
91
- if (item.indexOf("api-version") > -1) {
92
- return "api-version=" + apiVersion;
93
- }
94
- else {
95
- return item;
96
- }
97
- });
98
- request.url = param[0] + "?" + newParams.join("&");
99
- }
100
- return next(request);
101
- },
102
- };
103
- this.pipeline.addPolicy(apiVersionPolicy);
104
- }
105
- operations;
106
- fileSystems;
107
- }
108
- //# sourceMappingURL=qumuloStorage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"qumuloStorage.js","sourceRoot":"","sources":["../../src/qumuloStorage.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxE,MAAM,OAAO,aAAc,SAAQ,UAAU,CAAC,aAAa;IACzD,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqC;QAErC,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgC;YAC5C,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,2BAA2B,CAAC;QACnD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBACh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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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, FileSystemsImpl } from \"./operations/index.js\";\nimport { Operations, FileSystems } from \"./operationsInterfaces/index.js\";\nimport { QumuloStorageOptionalParams } from \"./models/index.js\";\n\nexport class QumuloStorage extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the QumuloStorage class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: QumuloStorageOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: QumuloStorageOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-qumulo/2.0.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-06-19\";\n this.operations = new OperationsImpl(this);\n this.fileSystems = new FileSystemsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n fileSystems: FileSystems;\n}\n"]}