@azure/arm-qumulo 2.0.1-alpha.20250210.1 → 2.0.1-alpha.20250212.1

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 (282) hide show
  1. package/README.md +21 -14
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/operations/fileSystems.d.ts +3 -3
  12. package/dist/browser/operations/fileSystems.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/fileSystems.js +79 -87
  14. package/dist/browser/operations/fileSystems.js.map +1 -0
  15. package/dist/browser/operations/index.d.ts +3 -0
  16. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  17. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
  18. package/dist/browser/operations/index.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  20. package/dist/browser/operations/operations.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  22. package/dist/browser/operations/operations.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operationsInterfaces/fileSystems.d.ts +1 -1
  24. package/dist/browser/operationsInterfaces/fileSystems.d.ts.map +1 -0
  25. package/dist/browser/operationsInterfaces/fileSystems.js.map +1 -0
  26. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  27. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  28. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
  29. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  32. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  33. package/dist/browser/package.json +3 -0
  34. package/dist/browser/pagingHelper.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/qumuloStorage.d.ts +2 -2
  36. package/dist/browser/qumuloStorage.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/qumuloStorage.js +15 -18
  38. package/dist/browser/qumuloStorage.js.map +1 -0
  39. package/dist/commonjs/index.d.ts +5 -0
  40. package/dist/commonjs/index.d.ts.map +1 -0
  41. package/dist/commonjs/index.js +19 -0
  42. package/dist/commonjs/index.js.map +1 -0
  43. package/dist/commonjs/lroImpl.d.ts +11 -0
  44. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  45. package/dist/commonjs/lroImpl.js +17 -0
  46. package/dist/commonjs/lroImpl.js.map +1 -0
  47. package/{types/arm-qumulo.d.ts → dist/commonjs/models/index.d.ts} +479 -631
  48. package/dist/commonjs/models/index.d.ts.map +1 -0
  49. package/dist/commonjs/models/index.js +83 -0
  50. package/dist/commonjs/models/index.js.map +1 -0
  51. package/dist/commonjs/models/mappers.d.ts +21 -0
  52. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  53. package/dist/commonjs/models/mappers.js +628 -0
  54. package/dist/commonjs/models/mappers.js.map +1 -0
  55. package/dist/commonjs/models/parameters.d.ts +12 -0
  56. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  57. package/dist/commonjs/models/parameters.js +115 -0
  58. package/dist/commonjs/models/parameters.js.map +1 -0
  59. package/dist/commonjs/operations/fileSystems.d.ts +99 -0
  60. package/dist/commonjs/operations/fileSystems.d.ts.map +1 -0
  61. package/dist/commonjs/operations/fileSystems.js +493 -0
  62. package/dist/commonjs/operations/fileSystems.js.map +1 -0
  63. package/dist/commonjs/operations/index.d.ts +3 -0
  64. package/dist/commonjs/operations/index.d.ts.map +1 -0
  65. package/dist/commonjs/operations/index.js +13 -0
  66. package/dist/commonjs/operations/index.js.map +1 -0
  67. package/dist/commonjs/operations/operations.d.ts +32 -0
  68. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  69. package/dist/commonjs/operations/operations.js +137 -0
  70. package/dist/commonjs/operations/operations.js.map +1 -0
  71. package/dist/commonjs/operationsInterfaces/fileSystems.d.ts +63 -0
  72. package/dist/commonjs/operationsInterfaces/fileSystems.d.ts.map +1 -0
  73. package/dist/commonjs/operationsInterfaces/fileSystems.js +10 -0
  74. package/dist/commonjs/operationsInterfaces/fileSystems.js.map +1 -0
  75. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  76. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  77. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  78. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  79. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  80. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  81. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  82. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  83. package/dist/commonjs/package.json +3 -0
  84. package/dist/commonjs/pagingHelper.d.ts +13 -0
  85. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  86. package/dist/commonjs/pagingHelper.js +36 -0
  87. package/dist/commonjs/pagingHelper.js.map +1 -0
  88. package/dist/commonjs/qumuloStorage.d.ts +21 -0
  89. package/dist/commonjs/qumuloStorage.d.ts.map +1 -0
  90. package/dist/commonjs/qumuloStorage.js +103 -0
  91. package/dist/commonjs/qumuloStorage.js.map +1 -0
  92. package/dist/esm/index.d.ts +5 -0
  93. package/dist/esm/index.d.ts.map +1 -0
  94. package/{src/index.ts → dist/esm/index.js} +5 -5
  95. package/dist/esm/index.js.map +1 -0
  96. package/dist/esm/lroImpl.d.ts +11 -0
  97. package/dist/esm/lroImpl.d.ts.map +1 -0
  98. package/dist/esm/lroImpl.js +14 -0
  99. package/dist/esm/lroImpl.js.map +1 -0
  100. package/dist/esm/models/index.d.ts +479 -0
  101. package/dist/esm/models/index.d.ts.map +1 -0
  102. package/dist/esm/models/index.js +80 -0
  103. package/dist/esm/models/index.js.map +1 -0
  104. package/dist/esm/models/mappers.d.ts +21 -0
  105. package/dist/esm/models/mappers.d.ts.map +1 -0
  106. package/dist/esm/models/mappers.js +625 -0
  107. package/dist/esm/models/mappers.js.map +1 -0
  108. package/dist/esm/models/parameters.d.ts +12 -0
  109. package/dist/esm/models/parameters.d.ts.map +1 -0
  110. package/dist/esm/models/parameters.js +112 -0
  111. package/dist/esm/models/parameters.js.map +1 -0
  112. package/dist/esm/operations/fileSystems.d.ts +99 -0
  113. package/dist/esm/operations/fileSystems.d.ts.map +1 -0
  114. package/dist/esm/operations/fileSystems.js +489 -0
  115. package/dist/esm/operations/fileSystems.js.map +1 -0
  116. package/dist/esm/operations/index.d.ts +3 -0
  117. package/dist/esm/operations/index.d.ts.map +1 -0
  118. package/dist/esm/operations/index.js +10 -0
  119. package/dist/esm/operations/index.js.map +1 -0
  120. package/dist/esm/operations/operations.d.ts +32 -0
  121. package/dist/esm/operations/operations.d.ts.map +1 -0
  122. package/dist/esm/operations/operations.js +133 -0
  123. package/dist/esm/operations/operations.js.map +1 -0
  124. package/dist/esm/operationsInterfaces/fileSystems.d.ts +63 -0
  125. package/dist/esm/operationsInterfaces/fileSystems.d.ts.map +1 -0
  126. package/{src/operations/index.ts → dist/esm/operationsInterfaces/fileSystems.js} +2 -3
  127. package/dist/esm/operationsInterfaces/fileSystems.js.map +1 -0
  128. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  129. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  130. package/dist/esm/operationsInterfaces/index.js +10 -0
  131. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  132. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  133. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  134. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/operations.js} +2 -3
  135. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  136. package/dist/esm/package.json +3 -0
  137. package/dist/esm/pagingHelper.d.ts +13 -0
  138. package/dist/esm/pagingHelper.d.ts.map +1 -0
  139. package/dist/esm/pagingHelper.js +32 -0
  140. package/dist/esm/pagingHelper.js.map +1 -0
  141. package/dist/esm/qumuloStorage.d.ts +21 -0
  142. package/dist/esm/qumuloStorage.d.ts.map +1 -0
  143. package/dist/esm/qumuloStorage.js +98 -0
  144. package/dist/esm/qumuloStorage.js.map +1 -0
  145. package/dist/react-native/index.d.ts +5 -0
  146. package/dist/react-native/index.d.ts.map +1 -0
  147. package/dist/react-native/index.js +13 -0
  148. package/dist/react-native/index.js.map +1 -0
  149. package/dist/react-native/lroImpl.d.ts +11 -0
  150. package/dist/react-native/lroImpl.d.ts.map +1 -0
  151. package/dist/react-native/lroImpl.js +14 -0
  152. package/dist/react-native/lroImpl.js.map +1 -0
  153. package/dist/react-native/models/index.d.ts +479 -0
  154. package/dist/react-native/models/index.d.ts.map +1 -0
  155. package/dist/react-native/models/index.js +80 -0
  156. package/dist/react-native/models/index.js.map +1 -0
  157. package/dist/react-native/models/mappers.d.ts +21 -0
  158. package/dist/react-native/models/mappers.d.ts.map +1 -0
  159. package/dist/react-native/models/mappers.js +625 -0
  160. package/dist/react-native/models/mappers.js.map +1 -0
  161. package/dist/react-native/models/parameters.d.ts +12 -0
  162. package/dist/react-native/models/parameters.d.ts.map +1 -0
  163. package/dist/react-native/models/parameters.js +112 -0
  164. package/dist/react-native/models/parameters.js.map +1 -0
  165. package/dist/react-native/operations/fileSystems.d.ts +99 -0
  166. package/dist/react-native/operations/fileSystems.d.ts.map +1 -0
  167. package/dist/react-native/operations/fileSystems.js +489 -0
  168. package/dist/react-native/operations/fileSystems.js.map +1 -0
  169. package/dist/react-native/operations/index.d.ts +3 -0
  170. package/dist/react-native/operations/index.d.ts.map +1 -0
  171. package/dist/react-native/operations/index.js +10 -0
  172. package/dist/react-native/operations/index.js.map +1 -0
  173. package/dist/react-native/operations/operations.d.ts +32 -0
  174. package/dist/react-native/operations/operations.d.ts.map +1 -0
  175. package/dist/react-native/operations/operations.js +133 -0
  176. package/dist/react-native/operations/operations.js.map +1 -0
  177. package/dist/react-native/operationsInterfaces/fileSystems.d.ts +63 -0
  178. package/dist/react-native/operationsInterfaces/fileSystems.d.ts.map +1 -0
  179. package/dist/react-native/operationsInterfaces/fileSystems.js +9 -0
  180. package/dist/react-native/operationsInterfaces/fileSystems.js.map +1 -0
  181. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  182. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  183. package/dist/react-native/operationsInterfaces/index.js +10 -0
  184. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  185. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  186. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  187. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  188. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  189. package/dist/react-native/package.json +3 -0
  190. package/dist/react-native/pagingHelper.d.ts +13 -0
  191. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  192. package/dist/react-native/pagingHelper.js +32 -0
  193. package/dist/react-native/pagingHelper.js.map +1 -0
  194. package/dist/react-native/qumuloStorage.d.ts +21 -0
  195. package/dist/react-native/qumuloStorage.d.ts.map +1 -0
  196. package/dist/react-native/qumuloStorage.js +98 -0
  197. package/dist/react-native/qumuloStorage.js.map +1 -0
  198. package/package.json +70 -42
  199. package/dist/index.js +0 -1631
  200. package/dist/index.js.map +0 -1
  201. package/dist/index.min.js +0 -1
  202. package/dist/index.min.js.map +0 -1
  203. package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.d.ts +0 -2
  204. package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.d.ts.map +0 -1
  205. package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.js +0 -80
  206. package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.js.map +0 -1
  207. package/dist-esm/samples-dev/fileSystemsDeleteSample.d.ts +0 -2
  208. package/dist-esm/samples-dev/fileSystemsDeleteSample.d.ts.map +0 -1
  209. package/dist-esm/samples-dev/fileSystemsDeleteSample.js +0 -54
  210. package/dist-esm/samples-dev/fileSystemsDeleteSample.js.map +0 -1
  211. package/dist-esm/samples-dev/fileSystemsGetSample.d.ts +0 -2
  212. package/dist-esm/samples-dev/fileSystemsGetSample.d.ts.map +0 -1
  213. package/dist-esm/samples-dev/fileSystemsGetSample.js +0 -54
  214. package/dist-esm/samples-dev/fileSystemsGetSample.js.map +0 -1
  215. package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.d.ts +0 -2
  216. package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.js +0 -84
  218. package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.js.map +0 -1
  219. package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.d.ts +0 -2
  220. package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.js +0 -82
  222. package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.js.map +0 -1
  223. package/dist-esm/samples-dev/fileSystemsUpdateSample.d.ts +0 -2
  224. package/dist-esm/samples-dev/fileSystemsUpdateSample.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/fileSystemsUpdateSample.js +0 -64
  226. package/dist-esm/samples-dev/fileSystemsUpdateSample.js.map +0 -1
  227. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  228. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/operationsListSample.js +0 -82
  230. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  231. package/dist-esm/src/index.d.ts +0 -5
  232. package/dist-esm/src/index.js.map +0 -1
  233. package/dist-esm/src/lroImpl.js.map +0 -1
  234. package/dist-esm/src/models/index.js.map +0 -1
  235. package/dist-esm/src/models/mappers.js.map +0 -1
  236. package/dist-esm/src/models/parameters.js.map +0 -1
  237. package/dist-esm/src/operations/fileSystems.d.ts.map +0 -1
  238. package/dist-esm/src/operations/fileSystems.js.map +0 -1
  239. package/dist-esm/src/operations/index.d.ts +0 -3
  240. package/dist-esm/src/operations/index.js.map +0 -1
  241. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  242. package/dist-esm/src/operations/operations.js.map +0 -1
  243. package/dist-esm/src/operationsInterfaces/fileSystems.d.ts.map +0 -1
  244. package/dist-esm/src/operationsInterfaces/fileSystems.js.map +0 -1
  245. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  246. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  247. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  248. package/dist-esm/src/pagingHelper.js.map +0 -1
  249. package/dist-esm/src/qumuloStorage.d.ts.map +0 -1
  250. package/dist-esm/src/qumuloStorage.js.map +0 -1
  251. package/dist-esm/test/liftrqumulo_operations_test.spec.d.ts +0 -4
  252. package/dist-esm/test/liftrqumulo_operations_test.spec.d.ts.map +0 -1
  253. package/dist-esm/test/liftrqumulo_operations_test.spec.js +0 -72
  254. package/dist-esm/test/liftrqumulo_operations_test.spec.js.map +0 -1
  255. package/src/lroImpl.ts +0 -38
  256. package/src/models/index.ts +0 -539
  257. package/src/models/mappers.ts +0 -661
  258. package/src/models/parameters.ts +0 -130
  259. package/src/operations/fileSystems.ts +0 -643
  260. package/src/operations/operations.ts +0 -149
  261. package/src/operationsInterfaces/fileSystems.ts +0 -127
  262. package/src/operationsInterfaces/operations.ts +0 -22
  263. package/src/pagingHelper.ts +0 -39
  264. package/src/qumuloStorage.ts +0 -143
  265. package/tsconfig.json +0 -33
  266. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  267. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  268. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  269. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  270. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  271. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  272. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  273. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  274. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  275. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  276. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  277. /package/{dist-esm/src → dist/browser}/operationsInterfaces/fileSystems.js +0 -0
  278. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  279. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  280. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  281. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  282. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
package/README.md CHANGED
@@ -46,20 +46,28 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica
46
46
 
47
47
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
48
 
49
- ```javascript
50
- const { QumuloStorage } = require("@azure/arm-qumulo");
51
- const { DefaultAzureCredential } = require("@azure/identity");
52
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
49
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
50
+
51
+ ```ts snippet:ReadmeSampleCreateClient_Node
52
+ import { QumuloStorage } from "@azure/arm-qumulo";
53
+ import { DefaultAzureCredential } from "@azure/identity";
53
54
 
54
55
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
55
56
  const client = new QumuloStorage(new DefaultAzureCredential(), subscriptionId);
57
+ ```
58
+
59
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
60
+
61
+ ```ts snippet:ReadmeSampleCreateClient_Browser
62
+ import { InteractiveBrowserCredential } from "@azure/identity";
63
+ import { QumuloStorage } from "@azure/arm-qumulo";
56
64
 
57
- // For client-side applications running in the browser, use this code instead:
58
- // const credential = new InteractiveBrowserCredential({
59
- // tenantId: "<YOUR_TENANT_ID>",
60
- // clientId: "<YOUR_CLIENT_ID>"
61
- // });
62
- // const client = new QumuloStorage(credential, subscriptionId);
65
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
66
+ const credential = new InteractiveBrowserCredential({
67
+ tenantId: "<YOUR_TENANT_ID>",
68
+ clientId: "<YOUR_CLIENT_ID>",
69
+ });
70
+ const client = new QumuloStorage(credential, subscriptionId);
63
71
  ```
64
72
 
65
73
  ### JavaScript Bundle
@@ -78,8 +86,9 @@ To use this client library in the browser, first you need to use a bundler. For
78
86
 
79
87
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
80
88
 
81
- ```javascript
82
- const { setLogLevel } = require("@azure/logger");
89
+ ```ts snippet:SetLogLevel
90
+ import { setLogLevel } from "@azure/logger";
91
+
83
92
  setLogLevel("info");
84
93
  ```
85
94
 
@@ -97,8 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
97
106
 
98
107
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
99
108
 
100
-
101
-
102
109
  [azure_cli]: https://learn.microsoft.com/cli/azure
103
110
  [azure_sub]: https://azure.microsoft.com/free/
104
111
  [azure_sub]: https://azure.microsoft.com/free/
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { QumuloStorage } from "./qumuloStorage.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { QumuloStorage } from "./qumuloStorage";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { QumuloStorage } from "./qumuloStorage.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { QumuloStorage } from \"./qumuloStorage.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuSH,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,iBAAiB;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,sFAAsF;AACtF,MAAM,CAAN,IAAY,kCASX;AATD,WAAY,kCAAkC;IAC5C,kCAAkC;IAClC,yFAAmD,CAAA;IACnD,sCAAsC;IACtC,+DAAyB,CAAA;IACzB,4DAA4D;IAC5D,6DAAuB,CAAA;IACvB,wCAAwC;IACxC,mEAA6B,CAAA;AAC/B,CAAC,EATW,kCAAkC,KAAlC,kCAAkC,QAS7C;AAcD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAiBX;AAjBD,WAAY,sBAAsB;IAChC,qDAAqD;IACrD,+CAAqB,CAAA;IACrB,4CAA4C;IAC5C,+CAAqB,CAAA;IACrB,4CAA4C;IAC5C,+CAAqB,CAAA;IACrB,4CAA4C;IAC5C,+CAAqB,CAAA;IACrB,+CAA+C;IAC/C,iDAAuB,CAAA;IACvB,2CAA2C;IAC3C,2CAAiB,CAAA;IACjB,6CAA6C;IAC7C,+CAAqB,CAAA;IACrB,sCAAsC;IACtC,6CAAmB,CAAA;AACrB,CAAC,EAjBW,sBAAsB,KAAtB,sBAAsB,QAiBjC;AAkBD,mFAAmF;AACnF,MAAM,CAAN,IAAY,+BASX;AATD,WAAY,+BAA+B;IACzC,WAAW;IACX,gDAAa,CAAA;IACb,qBAAqB;IACrB,oEAAiC,CAAA;IACjC,mBAAmB;IACnB,gEAA6B,CAAA;IAC7B,iCAAiC;IACjC,6FAA0D,CAAA;AAC5D,CAAC,EATW,+BAA+B,KAA/B,+BAA+B,QAS1C;AAcD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","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 * as coreClient from \"@azure/core-client\";\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface OperationListResult {\n /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The response of a FileSystemResource list operation. */\nexport interface FileSystemResourceListResult {\n /** The FileSystemResource items on this page */\n value: FileSystemResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** MarketplaceDetails of Qumulo FileSystem resource */\nexport interface MarketplaceDetails {\n /** Marketplace Subscription Id */\n marketplaceSubscriptionId?: string;\n /** Plan Id */\n planId: string;\n /** Offer Id */\n offerId: string;\n /** Publisher Id */\n publisherId?: string;\n /** Term Unit */\n termUnit?: string;\n /**\n * Marketplace subscription status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;\n}\n\n/** User Details of Qumulo FileSystem resource */\nexport interface UserDetails {\n /** User Email */\n email: string;\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /**\n * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\n type: ManagedServiceIdentityType;\n /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */\n userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };\n}\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /**\n * The principal ID of the assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The client ID of the assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly clientId?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The type used for update operations of the FileSystemResource. */\nexport interface FileSystemResourceUpdate {\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The updatable properties of the FileSystemResource. */\n properties?: FileSystemResourceUpdateProperties;\n}\n\n/** The updatable properties of the FileSystemResource. */\nexport interface FileSystemResourceUpdateProperties {\n /** Marketplace details */\n marketplaceDetails?: MarketplaceDetails;\n /** User Details */\n userDetails?: UserDetails;\n /** Delegated subnet id for Vnet injection */\n delegatedSubnetId?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Concrete tracked resource types can be created by aliasing this type using a specific property type. */\nexport interface FileSystemResource extends TrackedResource {\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n /** Marketplace details */\n marketplaceDetails?: MarketplaceDetails;\n /**\n * Provisioning State of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n /** Storage Sku */\n storageSku?: string;\n /** User Details */\n userDetails?: UserDetails;\n /** Delegated subnet id for Vnet injection */\n delegatedSubnetId?: string;\n /** File system Id of the resource */\n clusterLoginUrl?: string;\n /** Private IPs of the resource */\n privateIPs?: string[];\n /** Initial administrator password of the resource */\n adminPassword?: string;\n /** Availability zone */\n availabilityZone?: string;\n}\n\n/** Defines headers for FileSystems_createOrUpdate operation. */\nexport interface FileSystemsCreateOrUpdateHeaders {\n /** A link to the status monitor */\n azureAsyncOperation?: string;\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n retryAfter?: number;\n}\n\n/** Defines headers for FileSystems_delete operation. */\nexport interface FileSystemsDeleteHeaders {\n /** A link to the status monitor */\n azureAsyncOperation?: string;\n /** The Location header contains the URL where the status of the long running operation can be checked. */\n location?: string;\n /** The Retry-After header can indicate how long the client should wait before polling the operation status. */\n retryAfter?: number;\n}\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** User */\n User = \"user\",\n /** System */\n System = \"system\",\n /** UserSystem */\n UserSystem = \"user,system\",\n}\n\n/**\n * Defines values for Origin. \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\",\n}\n\n/**\n * Defines values for ActionType. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */\nexport enum KnownMarketplaceSubscriptionStatus {\n /** Fulfillment has not started */\n PendingFulfillmentStart = \"PendingFulfillmentStart\",\n /** Marketplace offer is subscribed */\n Subscribed = \"Subscribed\",\n /** Marketplace offer is suspended because of non payment */\n Suspended = \"Suspended\",\n /** Marketplace offer is unsubscribed */\n Unsubscribed = \"Unsubscribed\",\n}\n\n/**\n * Defines values for MarketplaceSubscriptionStatus. \\\n * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **PendingFulfillmentStart**: Fulfillment has not started \\\n * **Subscribed**: Marketplace offer is subscribed \\\n * **Suspended**: Marketplace offer is suspended because of non payment \\\n * **Unsubscribed**: Marketplace offer is unsubscribed\n */\nexport type MarketplaceSubscriptionStatus = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** File system resource creation request accepted */\n Accepted = \"Accepted\",\n /** File system resource creation started */\n Creating = \"Creating\",\n /** File system resource is being updated */\n Updating = \"Updating\",\n /** File system resource deletion started */\n Deleting = \"Deleting\",\n /** File system resource creation successful */\n Succeeded = \"Succeeded\",\n /** File system resource creation failed */\n Failed = \"Failed\",\n /** File system resource creation canceled */\n Canceled = \"Canceled\",\n /** File system resource is deleted */\n Deleted = \"Deleted\",\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Accepted**: File system resource creation request accepted \\\n * **Creating**: File system resource creation started \\\n * **Updating**: File system resource is being updated \\\n * **Deleting**: File system resource deletion started \\\n * **Succeeded**: File system resource creation successful \\\n * **Failed**: File system resource creation failed \\\n * **Canceled**: File system resource creation canceled \\\n * **Deleted**: File system resource is deleted\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */\nexport enum KnownManagedServiceIdentityType {\n /** None */\n None = \"None\",\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** UserAssigned */\n UserAssigned = \"UserAssigned\",\n /** SystemAssignedUserAssigned */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Defines values for ManagedServiceIdentityType. \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None** \\\n * **SystemAssigned** \\\n * **UserAssigned** \\\n * **SystemAssigned,UserAssigned**\n */\nexport type ManagedServiceIdentityType = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface FileSystemsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type FileSystemsListBySubscriptionResponse =\n FileSystemResourceListResult;\n\n/** Optional parameters. */\nexport interface FileSystemsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type FileSystemsListByResourceGroupResponse =\n FileSystemResourceListResult;\n\n/** Optional parameters. */\nexport interface FileSystemsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type FileSystemsGetResponse = FileSystemResource;\n\n/** Optional parameters. */\nexport interface FileSystemsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type FileSystemsCreateOrUpdateResponse = FileSystemResource;\n\n/** Optional parameters. */\nexport interface FileSystemsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type FileSystemsUpdateResponse = FileSystemResource;\n\n/** Optional parameters. */\nexport interface FileSystemsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the delete operation. */\nexport type FileSystemsDeleteResponse = FileSystemsDeleteHeaders;\n\n/** Optional parameters. */\nexport interface FileSystemsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type FileSystemsListBySubscriptionNextResponse =\n FileSystemResourceListResult;\n\n/** Optional parameters. */\nexport interface FileSystemsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type FileSystemsListByResourceGroupNextResponse =\n FileSystemResourceListResult;\n\n/** Optional parameters. */\nexport interface QumuloStorageOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,QAAQ,EAAE,IAAI;gBACd,IAAI,E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AE,WAAW;QACjB,SAAS,EAAE,kCAAkC;QAC7C,eAAe,EAAE;YACf,mBAAmB,EAAE;gBACnB,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAA+B;IAClE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,0BAA0B;QACrC,eAAe,EAAE;YACf,mBAAmB,EAAE;gBACnB,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n },\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const FileSystemResourceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FileSystemResourceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"FileSystemResource\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MarketplaceDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MarketplaceDetails\",\n modelProperties: {\n marketplaceSubscriptionId: {\n serializedName: \"marketplaceSubscriptionId\",\n type: {\n name: \"String\",\n },\n },\n planId: {\n serializedName: \"planId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n offerId: {\n serializedName: \"offerId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n publisherId: {\n serializedName: \"publisherId\",\n type: {\n name: \"String\",\n },\n },\n termUnit: {\n serializedName: \"termUnit\",\n type: {\n name: \"String\",\n },\n },\n marketplaceSubscriptionStatus: {\n serializedName: \"marketplaceSubscriptionStatus\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const UserDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UserDetails\",\n modelProperties: {\n email: {\n serializedName: \"email\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedServiceIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedServiceIdentity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"Uuid\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"Uuid\",\n },\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n userAssignedIdentities: {\n serializedName: \"userAssignedIdentities\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Composite\", className: \"UserAssignedIdentity\" },\n },\n },\n },\n },\n },\n};\n\nexport const UserAssignedIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UserAssignedIdentity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"Uuid\",\n },\n },\n clientId: {\n serializedName: \"clientId\",\n readOnly: true,\n type: {\n name: \"Uuid\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const FileSystemResourceUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FileSystemResourceUpdate\",\n modelProperties: {\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"ManagedServiceIdentity\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"FileSystemResourceUpdateProperties\",\n },\n },\n },\n },\n};\n\nexport const FileSystemResourceUpdateProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FileSystemResourceUpdateProperties\",\n modelProperties: {\n marketplaceDetails: {\n serializedName: \"marketplaceDetails\",\n type: {\n name: \"Composite\",\n className: \"MarketplaceDetails\",\n },\n },\n userDetails: {\n serializedName: \"userDetails\",\n type: {\n name: \"Composite\",\n className: \"UserDetails\",\n },\n },\n delegatedSubnetId: {\n serializedName: \"delegatedSubnetId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const FileSystemResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FileSystemResource\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"ManagedServiceIdentity\",\n },\n },\n marketplaceDetails: {\n serializedName: \"properties.marketplaceDetails\",\n type: {\n name: \"Composite\",\n className: \"MarketplaceDetails\",\n },\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n storageSku: {\n serializedName: \"properties.storageSku\",\n type: {\n name: \"String\",\n },\n },\n userDetails: {\n serializedName: \"properties.userDetails\",\n type: {\n name: \"Composite\",\n className: \"UserDetails\",\n },\n },\n delegatedSubnetId: {\n serializedName: \"properties.delegatedSubnetId\",\n type: {\n name: \"String\",\n },\n },\n clusterLoginUrl: {\n serializedName: \"properties.clusterLoginUrl\",\n type: {\n name: \"String\",\n },\n },\n privateIPs: {\n serializedName: \"properties.privateIPs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n adminPassword: {\n serializedName: \"properties.adminPassword\",\n type: {\n name: \"String\",\n },\n },\n availabilityZone: {\n serializedName: \"properties.availabilityZone\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const FileSystemsCreateOrUpdateHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FileSystemsCreateOrUpdateHeaders\",\n modelProperties: {\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const FileSystemsDeleteHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FileSystemsDeleteHeaders\",\n modelProperties: {\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\",\n },\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { FileSystemResource as FileSystemResourceMapper, FileSystemResourceUpdate as FileSystemResourceUpdateMapper, } from "../models/mappers";
8
+ import { FileSystemResource as FileSystemResourceMapper, FileSystemResourceUpdate as FileSystemResourceUpdateMapper, } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,kBAAkB,IAAI,wBAAwB,EAC9C,wBAAwB,IAAI,8BAA8B,GAC3D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;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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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n FileSystemResource as FileSystemResourceMapper,\n FileSystemResourceUpdate as FileSystemResourceUpdateMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-06-19\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const fileSystemName: OperationURLParameter = {\n parameterPath: \"fileSystemName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9_-]*$\"),\n },\n serializedName: \"fileSystemName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource: OperationParameter = {\n parameterPath: \"resource\",\n mapper: FileSystemResourceMapper,\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: FileSystemResourceUpdateMapper,\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { FileSystems } from "../operationsInterfaces";
3
- import { QumuloStorage } from "../qumuloStorage";
2
+ import { FileSystems } from "../operationsInterfaces/index.js";
3
+ import { QumuloStorage } from "../qumuloStorage.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { FileSystemResource, FileSystemsListBySubscriptionOptionalParams, FileSystemsListByResourceGroupOptionalParams, FileSystemsGetOptionalParams, FileSystemsGetResponse, FileSystemsCreateOrUpdateOptionalParams, FileSystemsCreateOrUpdateResponse, FileSystemResourceUpdate, FileSystemsUpdateOptionalParams, FileSystemsUpdateResponse, FileSystemsDeleteOptionalParams, FileSystemsDeleteResponse } from "../models";
5
+ import { FileSystemResource, FileSystemsListBySubscriptionOptionalParams, FileSystemsListByResourceGroupOptionalParams, FileSystemsGetOptionalParams, FileSystemsGetResponse, FileSystemsCreateOrUpdateOptionalParams, FileSystemsCreateOrUpdateResponse, FileSystemResourceUpdate, FileSystemsUpdateOptionalParams, FileSystemsUpdateResponse, FileSystemsDeleteOptionalParams, FileSystemsDeleteResponse } from "../models/index.js";
6
6
  /** Class containing FileSystems operations. */
7
7
  export declare class FileSystemsImpl implements FileSystems {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileSystems.d.ts","sourceRoot":"","sources":["../../../src/operations/fileSystems.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WA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C,CACF;IAwDD;;;;;;OAMG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAU7C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,wBAAwB,EACpC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;OAKG;IACG,WAAW,CACf,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;IAwDD;;;;;OAKG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IASrC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing FileSystems operations. */
17
17
  export class FileSystemsImpl {
@@ -176,43 +176,41 @@ export class FileSystemsImpl {
176
176
  * @param resource Resource create parameters.
177
177
  * @param options The options parameters.
178
178
  */
179
- beginCreateOrUpdate(resourceGroupName, fileSystemName, resource, options) {
180
- return __awaiter(this, void 0, void 0, function* () {
181
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
182
- return this.client.sendOperationRequest(args, spec);
183
- });
184
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
185
- var _a;
186
- let currentRawResponse = undefined;
187
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
188
- const callback = (rawResponse, flatResponse) => {
189
- currentRawResponse = rawResponse;
190
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
191
- };
192
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
193
- const flatResponse = yield directSendOperation(updatedArgs, spec);
194
- return {
195
- flatResponse,
196
- rawResponse: {
197
- statusCode: currentRawResponse.status,
198
- body: currentRawResponse.parsedBody,
199
- headers: currentRawResponse.headers.toJSON(),
200
- },
201
- };
202
- });
203
- const lro = createLroSpec({
204
- sendOperationFn,
205
- args: { resourceGroupName, fileSystemName, resource, options },
206
- spec: createOrUpdateOperationSpec,
207
- });
208
- const poller = yield createHttpPoller(lro, {
209
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
210
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
211
- resourceLocationConfig: "azure-async-operation",
212
- });
213
- yield poller.poll();
214
- return poller;
179
+ async beginCreateOrUpdate(resourceGroupName, fileSystemName, resource, options) {
180
+ const directSendOperation = async (args, spec) => {
181
+ return this.client.sendOperationRequest(args, spec);
182
+ };
183
+ const sendOperationFn = async (args, spec) => {
184
+ var _a;
185
+ let currentRawResponse = undefined;
186
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
187
+ const callback = (rawResponse, flatResponse) => {
188
+ currentRawResponse = rawResponse;
189
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
190
+ };
191
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
192
+ const flatResponse = await directSendOperation(updatedArgs, spec);
193
+ return {
194
+ flatResponse,
195
+ rawResponse: {
196
+ statusCode: currentRawResponse.status,
197
+ body: currentRawResponse.parsedBody,
198
+ headers: currentRawResponse.headers.toJSON(),
199
+ },
200
+ };
201
+ };
202
+ const lro = createLroSpec({
203
+ sendOperationFn,
204
+ args: { resourceGroupName, fileSystemName, resource, options },
205
+ spec: createOrUpdateOperationSpec,
215
206
  });
207
+ const poller = await createHttpPoller(lro, {
208
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
209
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
210
+ resourceLocationConfig: "azure-async-operation",
211
+ });
212
+ await poller.poll();
213
+ return poller;
216
214
  }
217
215
  /**
218
216
  * Create a FileSystemResource
@@ -221,11 +219,9 @@ export class FileSystemsImpl {
221
219
  * @param resource Resource create parameters.
222
220
  * @param options The options parameters.
223
221
  */
224
- beginCreateOrUpdateAndWait(resourceGroupName, fileSystemName, resource, options) {
225
- return __awaiter(this, void 0, void 0, function* () {
226
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, fileSystemName, resource, options);
227
- return poller.pollUntilDone();
228
- });
222
+ async beginCreateOrUpdateAndWait(resourceGroupName, fileSystemName, resource, options) {
223
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, fileSystemName, resource, options);
224
+ return poller.pollUntilDone();
229
225
  }
230
226
  /**
231
227
  * Update a FileSystemResource
@@ -243,43 +239,41 @@ export class FileSystemsImpl {
243
239
  * @param fileSystemName Name of the File System resource
244
240
  * @param options The options parameters.
245
241
  */
246
- beginDelete(resourceGroupName, fileSystemName, options) {
247
- return __awaiter(this, void 0, void 0, function* () {
248
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
249
- return this.client.sendOperationRequest(args, spec);
250
- });
251
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
252
- var _a;
253
- let currentRawResponse = undefined;
254
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
255
- const callback = (rawResponse, flatResponse) => {
256
- currentRawResponse = rawResponse;
257
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
258
- };
259
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
260
- const flatResponse = yield directSendOperation(updatedArgs, spec);
261
- return {
262
- flatResponse,
263
- rawResponse: {
264
- statusCode: currentRawResponse.status,
265
- body: currentRawResponse.parsedBody,
266
- headers: currentRawResponse.headers.toJSON(),
267
- },
268
- };
269
- });
270
- const lro = createLroSpec({
271
- sendOperationFn,
272
- args: { resourceGroupName, fileSystemName, options },
273
- spec: deleteOperationSpec,
274
- });
275
- const poller = yield createHttpPoller(lro, {
276
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
277
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
278
- resourceLocationConfig: "location",
279
- });
280
- yield poller.poll();
281
- return poller;
242
+ async beginDelete(resourceGroupName, fileSystemName, options) {
243
+ const directSendOperation = async (args, spec) => {
244
+ return this.client.sendOperationRequest(args, spec);
245
+ };
246
+ const sendOperationFn = async (args, spec) => {
247
+ var _a;
248
+ let currentRawResponse = undefined;
249
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
250
+ const callback = (rawResponse, flatResponse) => {
251
+ currentRawResponse = rawResponse;
252
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
253
+ };
254
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
255
+ const flatResponse = await directSendOperation(updatedArgs, spec);
256
+ return {
257
+ flatResponse,
258
+ rawResponse: {
259
+ statusCode: currentRawResponse.status,
260
+ body: currentRawResponse.parsedBody,
261
+ headers: currentRawResponse.headers.toJSON(),
262
+ },
263
+ };
264
+ };
265
+ const lro = createLroSpec({
266
+ sendOperationFn,
267
+ args: { resourceGroupName, fileSystemName, options },
268
+ spec: deleteOperationSpec,
282
269
  });
270
+ const poller = await createHttpPoller(lro, {
271
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
272
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
273
+ resourceLocationConfig: "location",
274
+ });
275
+ await poller.poll();
276
+ return poller;
283
277
  }
284
278
  /**
285
279
  * Delete a FileSystemResource
@@ -287,11 +281,9 @@ export class FileSystemsImpl {
287
281
  * @param fileSystemName Name of the File System resource
288
282
  * @param options The options parameters.
289
283
  */
290
- beginDeleteAndWait(resourceGroupName, fileSystemName, options) {
291
- return __awaiter(this, void 0, void 0, function* () {
292
- const poller = yield this.beginDelete(resourceGroupName, fileSystemName, options);
293
- return poller.pollUntilDone();
294
- });
284
+ async beginDeleteAndWait(resourceGroupName, fileSystemName, options) {
285
+ const poller = await this.beginDelete(resourceGroupName, fileSystemName, options);
286
+ return poller.pollUntilDone();
295
287
  }
296
288
  /**
297
289
  * ListBySubscriptionNext
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileSystems.js","sourceRoot":"","sources":["../../../src/operations/fileSystems.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AACh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,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;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 { FileSystems } 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 SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n FileSystemResource,\n FileSystemsListBySubscriptionNextOptionalParams,\n FileSystemsListBySubscriptionOptionalParams,\n FileSystemsListBySubscriptionResponse,\n FileSystemsListByResourceGroupNextOptionalParams,\n FileSystemsListByResourceGroupOptionalParams,\n FileSystemsListByResourceGroupResponse,\n FileSystemsGetOptionalParams,\n FileSystemsGetResponse,\n FileSystemsCreateOrUpdateOptionalParams,\n FileSystemsCreateOrUpdateResponse,\n FileSystemResourceUpdate,\n FileSystemsUpdateOptionalParams,\n FileSystemsUpdateResponse,\n FileSystemsDeleteOptionalParams,\n FileSystemsDeleteResponse,\n FileSystemsListBySubscriptionNextResponse,\n FileSystemsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing FileSystems operations. */\nexport class FileSystemsImpl implements FileSystems {\n private readonly client: QumuloStorage;\n\n /**\n * Initialize a new instance of the class FileSystems class.\n * @param client Reference to the service client\n */\n constructor(client: QumuloStorage) {\n this.client = client;\n }\n\n /**\n * List FileSystemResource resources by subscription ID\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: FileSystemsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<FileSystemResource> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: FileSystemsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<FileSystemResource[]> {\n let result: FileSystemsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: FileSystemsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<FileSystemResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\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 public listByResourceGroup(\n resourceGroupName: string,\n options?: FileSystemsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<FileSystemResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: FileSystemsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<FileSystemResource[]> {\n let result: FileSystemsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: FileSystemsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<FileSystemResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List FileSystemResource resources by subscription ID\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: FileSystemsListBySubscriptionOptionalParams,\n ): Promise<FileSystemsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\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 private _listByResourceGroup(\n resourceGroupName: string,\n options?: FileSystemsListByResourceGroupOptionalParams,\n ): Promise<FileSystemsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, fileSystemName, options },\n getOperationSpec,\n );\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 async 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 const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<FileSystemsCreateOrUpdateResponse> => {\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, fileSystemName, resource, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n FileSystemsCreateOrUpdateResponse,\n OperationState<FileSystemsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create 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 async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n fileSystemName: string,\n resource: FileSystemResource,\n options?: FileSystemsCreateOrUpdateOptionalParams,\n ): Promise<FileSystemsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n fileSystemName,\n resource,\n options,\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, fileSystemName, properties, options },\n updateOperationSpec,\n );\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 async beginDelete(\n resourceGroupName: string,\n fileSystemName: string,\n options?: FileSystemsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<FileSystemsDeleteResponse>,\n FileSystemsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<FileSystemsDeleteResponse> => {\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, fileSystemName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n FileSystemsDeleteResponse,\n OperationState<FileSystemsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\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 async beginDeleteAndWait(\n resourceGroupName: string,\n fileSystemName: string,\n options?: FileSystemsDeleteOptionalParams,\n ): Promise<FileSystemsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n fileSystemName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: FileSystemsListBySubscriptionNextOptionalParams,\n ): Promise<FileSystemsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: FileSystemsListByResourceGroupNextOptionalParams,\n ): Promise<FileSystemsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Qumulo.Storage/fileSystems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.fileSystemName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResource,\n },\n 201: {\n bodyMapper: Mappers.FileSystemResource,\n },\n 202: {\n bodyMapper: Mappers.FileSystemResource,\n },\n 204: {\n bodyMapper: Mappers.FileSystemResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.resource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.fileSystemName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.fileSystemName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Qumulo.Storage/fileSystems/{fileSystemName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.FileSystemsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.FileSystemsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.FileSystemsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.FileSystemsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.fileSystemName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileSystemResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./operations.js";
2
+ export * from "./fileSystems.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -5,6 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./operations";
9
- export * from "./fileSystems";
8
+ export * from "./operations.js";
9
+ export * from "./fileSystems.js";
10
10
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/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,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { QumuloStorage } from "../qumuloStorage";
4
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { QumuloStorage } from "../qumuloStorage.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}