@azure/arm-netapp 14.1.1 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +71 -79
  4. package/dist/index.js +8881 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +2374 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +162 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +76 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +2254 -1426
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +46 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +319 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/netAppManagementClient.d.ts +31 -0
  29. package/dist-esm/src/netAppManagementClient.d.ts.map +1 -0
  30. package/dist-esm/src/netAppManagementClient.js +64 -0
  31. package/dist-esm/src/netAppManagementClient.js.map +1 -0
  32. package/dist-esm/src/operations/accountBackups.d.ts +55 -0
  33. package/dist-esm/src/operations/accountBackups.d.ts.map +1 -0
  34. package/dist-esm/src/operations/accountBackups.js +195 -0
  35. package/dist-esm/src/operations/accountBackups.js.map +1 -0
  36. package/dist-esm/src/operations/accounts.d.ts +107 -0
  37. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  38. package/dist-esm/src/operations/accounts.js +482 -0
  39. package/dist-esm/src/operations/accounts.js.map +1 -0
  40. package/dist-esm/src/operations/backupPolicies.d.ts +91 -0
  41. package/dist-esm/src/operations/backupPolicies.d.ts.map +1 -0
  42. package/dist-esm/src/operations/backupPolicies.js +365 -0
  43. package/dist-esm/src/operations/backupPolicies.js.map +1 -0
  44. package/dist-esm/src/operations/backups.d.ts +125 -0
  45. package/dist-esm/src/operations/backups.d.ts.map +1 -0
  46. package/dist-esm/src/operations/backups.js +484 -0
  47. package/dist-esm/src/operations/backups.js.map +1 -0
  48. package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +21 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/netAppResource.d.ts +40 -0
  53. package/dist-esm/src/operations/netAppResource.d.ts.map +1 -0
  54. package/dist-esm/src/operations/netAppResource.js +133 -0
  55. package/dist-esm/src/operations/netAppResource.js.map +1 -0
  56. package/dist-esm/src/operations/netAppResourceQuotaLimits.d.ts +35 -0
  57. package/dist-esm/src/operations/netAppResourceQuotaLimits.d.ts.map +1 -0
  58. package/dist-esm/src/operations/netAppResourceQuotaLimits.js +122 -0
  59. package/dist-esm/src/operations/netAppResourceQuotaLimits.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +26 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +88 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/pools.d.ts +99 -0
  65. package/dist-esm/src/operations/pools.d.ts.map +1 -0
  66. package/dist-esm/src/operations/pools.js +401 -0
  67. package/dist-esm/src/operations/pools.js.map +1 -0
  68. package/dist-esm/src/operations/snapshotPolicies.d.ts +90 -0
  69. package/dist-esm/src/operations/snapshotPolicies.d.ts.map +1 -0
  70. package/dist-esm/src/operations/snapshotPolicies.js +346 -0
  71. package/dist-esm/src/operations/snapshotPolicies.js.map +1 -0
  72. package/dist-esm/src/operations/snapshots.d.ts +109 -0
  73. package/dist-esm/src/operations/snapshots.d.ts.map +1 -0
  74. package/dist-esm/src/operations/snapshots.js +423 -0
  75. package/dist-esm/src/operations/snapshots.js.map +1 -0
  76. package/dist-esm/src/operations/vaults.d.ts +30 -0
  77. package/dist-esm/src/operations/vaults.d.ts.map +1 -0
  78. package/dist-esm/src/operations/vaults.js +97 -0
  79. package/dist-esm/src/operations/vaults.js.map +1 -0
  80. package/dist-esm/src/operations/volumeGroups.d.ts +73 -0
  81. package/dist-esm/src/operations/volumeGroups.d.ts.map +1 -0
  82. package/dist-esm/src/operations/volumeGroups.js +278 -0
  83. package/dist-esm/src/operations/volumeGroups.js.map +1 -0
  84. package/dist-esm/src/operations/volumes.d.ts +254 -0
  85. package/dist-esm/src/operations/volumes.d.ts.map +1 -0
  86. package/dist-esm/src/operations/volumes.js +956 -0
  87. package/dist-esm/src/operations/volumes.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/accountBackups.d.ts +38 -0
  89. package/dist-esm/src/operationsInterfaces/accountBackups.d.ts.map +1 -0
  90. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/accountBackups.js} +2 -10
  91. package/dist-esm/src/operationsInterfaces/accountBackups.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/accounts.d.ts +71 -0
  93. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  94. package/{src/models/netAppResourceMappers.ts → dist-esm/src/operationsInterfaces/accounts.js} +2 -8
  95. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts +74 -0
  97. package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts.map +1 -0
  98. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/backupPolicies.js} +2 -2
  99. package/dist-esm/src/operationsInterfaces/backupPolicies.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/backups.d.ts +106 -0
  101. package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/backups.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/backups.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/index.d.ts +14 -0
  105. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.js +21 -0
  107. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/netAppResource.d.ts +32 -0
  109. package/dist-esm/src/operationsInterfaces/netAppResource.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/netAppResource.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/netAppResource.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.d.ts +19 -0
  113. package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/netAppResourceQuotaLimits.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  117. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/pools.d.ts +74 -0
  121. package/dist-esm/src/operationsInterfaces/pools.d.ts.map +1 -0
  122. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/pools.js} +2 -1
  123. package/dist-esm/src/operationsInterfaces/pools.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/snapshotPolicies.d.ts +73 -0
  125. package/dist-esm/src/operationsInterfaces/snapshotPolicies.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/snapshotPolicies.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/snapshotPolicies.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/snapshots.d.ts +90 -0
  129. package/dist-esm/src/operationsInterfaces/snapshots.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/snapshots.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/snapshots.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/vaults.d.ts +13 -0
  133. package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/vaults.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/vaults.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts +56 -0
  137. package/dist-esm/src/operationsInterfaces/volumeGroups.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/volumeGroups.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/volumeGroups.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/volumes.d.ts +227 -0
  141. package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/volumes.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/volumes.js.map +1 -0
  144. package/dist-esm/test/sampleTest.d.ts +2 -0
  145. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  146. package/dist-esm/test/sampleTest.js +40 -0
  147. package/dist-esm/test/sampleTest.js.map +1 -0
  148. package/package.json +70 -32
  149. package/review/arm-netapp.api.md +1681 -0
  150. package/rollup.config.js +181 -30
  151. package/src/index.ts +12 -0
  152. package/src/lroImpl.ts +34 -0
  153. package/src/models/index.ts +1977 -2621
  154. package/src/models/mappers.ts +2392 -1509
  155. package/src/models/parameters.ts +281 -51
  156. package/src/netAppManagementClient.ts +128 -0
  157. package/src/operations/accountBackups.ts +187 -132
  158. package/src/operations/accounts.ts +506 -243
  159. package/src/operations/backupPolicies.ts +390 -223
  160. package/src/operations/backups.ts +486 -313
  161. package/src/operations/index.ts +3 -2
  162. package/src/operations/netAppResource.ts +112 -204
  163. package/src/operations/netAppResourceQuotaLimits.ts +150 -0
  164. package/src/operations/operations.ts +65 -43
  165. package/src/operations/pools.ts +430 -263
  166. package/src/operations/snapshotPolicies.ts +352 -282
  167. package/src/operations/snapshots.ts +459 -231
  168. package/src/operations/vaults.ts +81 -51
  169. package/src/operations/volumeGroups.ts +408 -0
  170. package/src/operations/volumes.ts +1101 -637
  171. package/src/operationsInterfaces/accountBackups.ts +72 -0
  172. package/src/operationsInterfaces/accounts.ts +139 -0
  173. package/src/operationsInterfaces/backupPolicies.ts +147 -0
  174. package/src/operationsInterfaces/backups.ts +202 -0
  175. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +4 -3
  176. package/src/operationsInterfaces/netAppResource.ts +66 -0
  177. package/src/operationsInterfaces/netAppResourceQuotaLimits.ts +40 -0
  178. package/src/operationsInterfaces/operations.ts +22 -0
  179. package/src/operationsInterfaces/pools.ts +144 -0
  180. package/src/operationsInterfaces/snapshotPolicies.ts +142 -0
  181. package/src/operationsInterfaces/snapshots.ts +178 -0
  182. package/src/operationsInterfaces/vaults.ts +26 -0
  183. package/src/operationsInterfaces/volumeGroups.ts +110 -0
  184. package/src/operationsInterfaces/volumes.ts +413 -0
  185. package/tsconfig.json +3 -3
  186. package/types/arm-netapp.d.ts +3485 -0
  187. package/types/tsdoc-metadata.json +11 -0
  188. package/dist/arm-netapp.js +0 -7016
  189. package/dist/arm-netapp.js.map +0 -1
  190. package/dist/arm-netapp.min.js +0 -1
  191. package/dist/arm-netapp.min.js.map +0 -1
  192. package/esm/azureNetAppFilesManagementClient.d.ts +0 -35
  193. package/esm/azureNetAppFilesManagementClient.d.ts.map +0 -1
  194. package/esm/azureNetAppFilesManagementClient.js +0 -48
  195. package/esm/azureNetAppFilesManagementClient.js.map +0 -1
  196. package/esm/azureNetAppFilesManagementClientContext.d.ts +0 -23
  197. package/esm/azureNetAppFilesManagementClientContext.d.ts.map +0 -1
  198. package/esm/azureNetAppFilesManagementClientContext.js +0 -61
  199. package/esm/azureNetAppFilesManagementClientContext.js.map +0 -1
  200. package/esm/models/accountBackupsMappers.d.ts +0 -2
  201. package/esm/models/accountBackupsMappers.d.ts.map +0 -1
  202. package/esm/models/accountBackupsMappers.js +0 -9
  203. package/esm/models/accountBackupsMappers.js.map +0 -1
  204. package/esm/models/accountsMappers.d.ts +0 -2
  205. package/esm/models/accountsMappers.d.ts.map +0 -1
  206. package/esm/models/accountsMappers.js +0 -9
  207. package/esm/models/accountsMappers.js.map +0 -1
  208. package/esm/models/backupPoliciesMappers.d.ts +0 -2
  209. package/esm/models/backupPoliciesMappers.d.ts.map +0 -1
  210. package/esm/models/backupPoliciesMappers.js +0 -9
  211. package/esm/models/backupPoliciesMappers.js.map +0 -1
  212. package/esm/models/backupsMappers.d.ts +0 -2
  213. package/esm/models/backupsMappers.d.ts.map +0 -1
  214. package/esm/models/backupsMappers.js +0 -9
  215. package/esm/models/backupsMappers.js.map +0 -1
  216. package/esm/models/index.d.ts +0 -3070
  217. package/esm/models/index.d.ts.map +0 -1
  218. package/esm/models/index.js.map +0 -1
  219. package/esm/models/mappers.d.ts +0 -65
  220. package/esm/models/mappers.d.ts.map +0 -1
  221. package/esm/models/mappers.js.map +0 -1
  222. package/esm/models/netAppResourceMappers.d.ts +0 -2
  223. package/esm/models/netAppResourceMappers.d.ts.map +0 -1
  224. package/esm/models/netAppResourceMappers.js +0 -9
  225. package/esm/models/netAppResourceMappers.js.map +0 -1
  226. package/esm/models/operationsMappers.d.ts +0 -2
  227. package/esm/models/operationsMappers.d.ts.map +0 -1
  228. package/esm/models/operationsMappers.js.map +0 -1
  229. package/esm/models/parameters.d.ts +0 -15
  230. package/esm/models/parameters.d.ts.map +0 -1
  231. package/esm/models/parameters.js +0 -158
  232. package/esm/models/parameters.js.map +0 -1
  233. package/esm/models/poolsMappers.d.ts +0 -2
  234. package/esm/models/poolsMappers.d.ts.map +0 -1
  235. package/esm/models/poolsMappers.js +0 -9
  236. package/esm/models/poolsMappers.js.map +0 -1
  237. package/esm/models/snapshotPoliciesMappers.d.ts +0 -2
  238. package/esm/models/snapshotPoliciesMappers.d.ts.map +0 -1
  239. package/esm/models/snapshotPoliciesMappers.js +0 -9
  240. package/esm/models/snapshotPoliciesMappers.js.map +0 -1
  241. package/esm/models/snapshotsMappers.d.ts +0 -2
  242. package/esm/models/snapshotsMappers.d.ts.map +0 -1
  243. package/esm/models/snapshotsMappers.js +0 -9
  244. package/esm/models/snapshotsMappers.js.map +0 -1
  245. package/esm/models/vaultsMappers.d.ts +0 -2
  246. package/esm/models/vaultsMappers.d.ts.map +0 -1
  247. package/esm/models/vaultsMappers.js +0 -9
  248. package/esm/models/vaultsMappers.js.map +0 -1
  249. package/esm/models/volumesMappers.d.ts +0 -2
  250. package/esm/models/volumesMappers.d.ts.map +0 -1
  251. package/esm/models/volumesMappers.js +0 -9
  252. package/esm/models/volumesMappers.js.map +0 -1
  253. package/esm/operations/accountBackups.d.ts +0 -81
  254. package/esm/operations/accountBackups.d.ts.map +0 -1
  255. package/esm/operations/accountBackups.js +0 -145
  256. package/esm/operations/accountBackups.js.map +0 -1
  257. package/esm/operations/accounts.d.ts +0 -132
  258. package/esm/operations/accounts.d.ts.map +0 -1
  259. package/esm/operations/accounts.js +0 -288
  260. package/esm/operations/accounts.js.map +0 -1
  261. package/esm/operations/backupPolicies.d.ts +0 -125
  262. package/esm/operations/backupPolicies.d.ts.map +0 -1
  263. package/esm/operations/backupPolicies.js +0 -277
  264. package/esm/operations/backupPolicies.js.map +0 -1
  265. package/esm/operations/backups.d.ts +0 -203
  266. package/esm/operations/backups.d.ts.map +0 -1
  267. package/esm/operations/backups.js +0 -379
  268. package/esm/operations/backups.js.map +0 -1
  269. package/esm/operations/index.d.ts.map +0 -1
  270. package/esm/operations/index.js.map +0 -1
  271. package/esm/operations/netAppResource.d.ts +0 -115
  272. package/esm/operations/netAppResource.d.ts.map +0 -1
  273. package/esm/operations/netAppResource.js +0 -145
  274. package/esm/operations/netAppResource.js.map +0 -1
  275. package/esm/operations/operations.d.ts +0 -29
  276. package/esm/operations/operations.d.ts.map +0 -1
  277. package/esm/operations/operations.js +0 -50
  278. package/esm/operations/operations.js.map +0 -1
  279. package/esm/operations/pools.d.ts +0 -144
  280. package/esm/operations/pools.d.ts.map +0 -1
  281. package/esm/operations/pools.js +0 -302
  282. package/esm/operations/pools.js.map +0 -1
  283. package/esm/operations/snapshotPolicies.d.ts +0 -149
  284. package/esm/operations/snapshotPolicies.d.ts.map +0 -1
  285. package/esm/operations/snapshotPolicies.js +0 -281
  286. package/esm/operations/snapshotPolicies.js.map +0 -1
  287. package/esm/operations/snapshots.d.ts +0 -149
  288. package/esm/operations/snapshots.d.ts.map +0 -1
  289. package/esm/operations/snapshots.js +0 -312
  290. package/esm/operations/snapshots.js.map +0 -1
  291. package/esm/operations/vaults.d.ts +0 -35
  292. package/esm/operations/vaults.d.ts.map +0 -1
  293. package/esm/operations/vaults.js +0 -57
  294. package/esm/operations/vaults.js.map +0 -1
  295. package/esm/operations/volumes.d.ts +0 -344
  296. package/esm/operations/volumes.d.ts.map +0 -1
  297. package/esm/operations/volumes.js +0 -800
  298. package/esm/operations/volumes.js.map +0 -1
  299. package/src/azureNetAppFilesManagementClient.ts +0 -68
  300. package/src/azureNetAppFilesManagementClientContext.ts +0 -68
  301. package/src/models/accountBackupsMappers.ts +0 -44
  302. package/src/models/accountsMappers.ts +0 -44
  303. package/src/models/backupPoliciesMappers.ts +0 -44
  304. package/src/models/backupsMappers.ts +0 -46
  305. package/src/models/poolsMappers.ts +0 -44
  306. package/src/models/snapshotPoliciesMappers.ts +0 -46
  307. package/src/models/snapshotsMappers.ts +0 -44
  308. package/src/models/vaultsMappers.ts +0 -44
  309. package/src/models/volumesMappers.ts +0 -49
@@ -0,0 +1,133 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing NetAppResource operations. */
12
+ export class NetAppResourceImpl {
13
+ /**
14
+ * Initialize a new instance of the class NetAppResource class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Check if a resource name is available.
22
+ * @param location The location
23
+ * @param name Resource name to verify.
24
+ * @param resourceGroup Resource group name.
25
+ * @param typeParam Resource type used for verification.
26
+ * @param options The options parameters.
27
+ */
28
+ checkNameAvailability(location, name, resourceGroup, typeParam, options) {
29
+ return this.client.sendOperationRequest({ location, name, resourceGroup, typeParam, options }, checkNameAvailabilityOperationSpec);
30
+ }
31
+ /**
32
+ * Check if a file path is available.
33
+ * @param location The location
34
+ * @param name File path to verify.
35
+ * @param subnetId The Azure Resource URI for a delegated subnet. Must have the delegation
36
+ * Microsoft.NetApp/volumes
37
+ * @param options The options parameters.
38
+ */
39
+ checkFilePathAvailability(location, name, subnetId, options) {
40
+ return this.client.sendOperationRequest({ location, name, subnetId, options }, checkFilePathAvailabilityOperationSpec);
41
+ }
42
+ /**
43
+ * Check if a quota is available.
44
+ * @param location The location
45
+ * @param name Name of the resource to verify.
46
+ * @param resourceGroup Resource group name.
47
+ * @param typeParam Resource type used for verification.
48
+ * @param options The options parameters.
49
+ */
50
+ checkQuotaAvailability(location, name, resourceGroup, typeParam, options) {
51
+ return this.client.sendOperationRequest({ location, name, resourceGroup, typeParam, options }, checkQuotaAvailabilityOperationSpec);
52
+ }
53
+ }
54
+ // Operation Specifications
55
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
56
+ const checkNameAvailabilityOperationSpec = {
57
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability",
58
+ httpMethod: "POST",
59
+ responses: {
60
+ 200: {
61
+ bodyMapper: Mappers.CheckAvailabilityResponse
62
+ },
63
+ default: {}
64
+ },
65
+ requestBody: {
66
+ parameterPath: {
67
+ name: ["name"],
68
+ typeParam: ["typeParam"],
69
+ resourceGroup: ["resourceGroup"]
70
+ },
71
+ mapper: Object.assign(Object.assign({}, Mappers.ResourceNameAvailabilityRequest), { required: true })
72
+ },
73
+ queryParameters: [Parameters.apiVersion],
74
+ urlParameters: [
75
+ Parameters.$host,
76
+ Parameters.subscriptionId,
77
+ Parameters.location
78
+ ],
79
+ headerParameters: [Parameters.accept, Parameters.contentType],
80
+ mediaType: "json",
81
+ serializer
82
+ };
83
+ const checkFilePathAvailabilityOperationSpec = {
84
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability",
85
+ httpMethod: "POST",
86
+ responses: {
87
+ 200: {
88
+ bodyMapper: Mappers.CheckAvailabilityResponse
89
+ },
90
+ default: {}
91
+ },
92
+ requestBody: {
93
+ parameterPath: { name: ["name"], subnetId: ["subnetId"] },
94
+ mapper: Object.assign(Object.assign({}, Mappers.FilePathAvailabilityRequest), { required: true })
95
+ },
96
+ queryParameters: [Parameters.apiVersion],
97
+ urlParameters: [
98
+ Parameters.$host,
99
+ Parameters.subscriptionId,
100
+ Parameters.location
101
+ ],
102
+ headerParameters: [Parameters.accept, Parameters.contentType],
103
+ mediaType: "json",
104
+ serializer
105
+ };
106
+ const checkQuotaAvailabilityOperationSpec = {
107
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability",
108
+ httpMethod: "POST",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: Mappers.CheckAvailabilityResponse
112
+ },
113
+ default: {}
114
+ },
115
+ requestBody: {
116
+ parameterPath: {
117
+ name: ["name"],
118
+ typeParam: ["typeParam"],
119
+ resourceGroup: ["resourceGroup"]
120
+ },
121
+ mapper: Object.assign(Object.assign({}, Mappers.QuotaAvailabilityRequest), { required: true })
122
+ },
123
+ queryParameters: [Parameters.apiVersion],
124
+ urlParameters: [
125
+ Parameters.$host,
126
+ Parameters.subscriptionId,
127
+ Parameters.location
128
+ ],
129
+ headerParameters: [Parameters.accept, Parameters.contentType],
130
+ mediaType: "json",
131
+ serializer
132
+ };
133
+ //# sourceMappingURL=netAppResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"netAppResource.js","sourceRoot":"","sources":["../../../src/operations/netAppResource.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAanD,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,qBAAqB,CACnB,QAAgB,EAChB,IAAY,EACZ,aAAqB,EACrB,SAAiC,EACjC,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,EACrD,kCAAkC,CACnC,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,yBAAyB,CACvB,QAAgB,EAChB,IAAY,EACZ,QAAgB,EAChB,OAA+D;QAE/D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrC,sCAAsC,CACvC,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,sBAAsB,CACpB,QAAgB,EAChB,IAAY,EACZ,aAAqB,EACrB,SAAsC,EACtC,OAA4D;Q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,EAAE;QACzD,MAAM,kCAAO,OAAO,CAAC,2BAA2B,KAAE,QAAQ,EAAE,IAAI,GAAE;KACnE;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EACF,wGAAwG;IAC1G,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,IAAI,EAAE,CAAC,MAAM,CAAC;YACd,SAAS,EAAE,CAAC,WAAW,CAAC;YACxB,aAAa,EAAE,CAAC,eAAe,CAAC;SACjC;QACD,MAAM,kCAAO,OAAO,CAAC,wBAAwB,KAAE,QAAQ,EAAE,IAAI,GAAE;KAChE;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { NetAppResourceQuotaLimits } from "../operationsInterfaces";
3
+ import { NetAppManagementClient } from "../netAppManagementClient";
4
+ import { SubscriptionQuotaItem, NetAppResourceQuotaLimitsListOptionalParams, NetAppResourceQuotaLimitsGetOptionalParams, NetAppResourceQuotaLimitsGetResponse } from "../models";
5
+ /** Class containing NetAppResourceQuotaLimits operations. */
6
+ export declare class NetAppResourceQuotaLimitsImpl implements NetAppResourceQuotaLimits {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class NetAppResourceQuotaLimits class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: NetAppManagementClient);
13
+ /**
14
+ * Get the default and current limits for quotas
15
+ * @param location The location
16
+ * @param options The options parameters.
17
+ */
18
+ list(location: string, options?: NetAppResourceQuotaLimitsListOptionalParams): PagedAsyncIterableIterator<SubscriptionQuotaItem>;
19
+ private listPagingPage;
20
+ private listPagingAll;
21
+ /**
22
+ * Get the default and current limits for quotas
23
+ * @param location The location
24
+ * @param options The options parameters.
25
+ */
26
+ private _list;
27
+ /**
28
+ * Get the default and current subscription quota limit
29
+ * @param location The location
30
+ * @param quotaLimitName The name of the Quota Limit
31
+ * @param options The options parameters.
32
+ */
33
+ get(location: string, quotaLimitName: string, options?: NetAppResourceQuotaLimitsGetOptionalParams): Promise<NetAppResourceQuotaLimitsGetResponse>;
34
+ }
35
+ //# sourceMappingURL=netAppResourceQuotaLimits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"netAppResourceQuotaLimits.d.ts","sourceRoot":"","sources":["../../../src/operations/netAppResourceQuotaLimits.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAIpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,qBAAqB,EACrB,2CAA2C,EAE3C,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,WAAW,CAAC;AAGnB,6DAA6D;AAC7D,qBAAa,6BACX,YAAW,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACI,IAAI,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,qBAAqB,CAAC;YAerC,cAAc;YAQd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;CAMjD"}
@@ -0,0 +1,122 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing NetAppResourceQuotaLimits operations. */
14
+ export class NetAppResourceQuotaLimitsImpl {
15
+ /**
16
+ * Initialize a new instance of the class NetAppResourceQuotaLimits class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Get the default and current limits for quotas
24
+ * @param location The location
25
+ * @param options The options parameters.
26
+ */
27
+ list(location, options) {
28
+ const iter = this.listPagingAll(location, options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: () => {
37
+ return this.listPagingPage(location, options);
38
+ }
39
+ };
40
+ }
41
+ listPagingPage(location, options) {
42
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
43
+ let result = yield __await(this._list(location, options));
44
+ yield yield __await(result.value || []);
45
+ });
46
+ }
47
+ listPagingAll(location, options) {
48
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
49
+ var e_1, _a;
50
+ try {
51
+ for (var _b = __asyncValues(this.listPagingPage(location, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
52
+ const page = _c.value;
53
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
54
+ }
55
+ }
56
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
57
+ finally {
58
+ try {
59
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
60
+ }
61
+ finally { if (e_1) throw e_1.error; }
62
+ }
63
+ });
64
+ }
65
+ /**
66
+ * Get the default and current limits for quotas
67
+ * @param location The location
68
+ * @param options The options parameters.
69
+ */
70
+ _list(location, options) {
71
+ return this.client.sendOperationRequest({ location, options }, listOperationSpec);
72
+ }
73
+ /**
74
+ * Get the default and current subscription quota limit
75
+ * @param location The location
76
+ * @param quotaLimitName The name of the Quota Limit
77
+ * @param options The options parameters.
78
+ */
79
+ get(location, quotaLimitName, options) {
80
+ return this.client.sendOperationRequest({ location, quotaLimitName, options }, getOperationSpec);
81
+ }
82
+ }
83
+ // Operation Specifications
84
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
85
+ const listOperationSpec = {
86
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits",
87
+ httpMethod: "GET",
88
+ responses: {
89
+ 200: {
90
+ bodyMapper: Mappers.SubscriptionQuotaItemList
91
+ },
92
+ default: {}
93
+ },
94
+ queryParameters: [Parameters.apiVersion],
95
+ urlParameters: [
96
+ Parameters.$host,
97
+ Parameters.subscriptionId,
98
+ Parameters.location
99
+ ],
100
+ headerParameters: [Parameters.accept],
101
+ serializer
102
+ };
103
+ const getOperationSpec = {
104
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}",
105
+ httpMethod: "GET",
106
+ responses: {
107
+ 200: {
108
+ bodyMapper: Mappers.SubscriptionQuotaItem
109
+ },
110
+ default: {}
111
+ },
112
+ queryParameters: [Parameters.apiVersion],
113
+ urlParameters: [
114
+ Parameters.$host,
115
+ Parameters.subscriptionId,
116
+ Parameters.location,
117
+ Parameters.quotaLimitName
118
+ ],
119
+ headerParameters: [Parameters.accept],
120
+ serializer
121
+ };
122
+ //# sourceMappingURL=netAppResourceQuotaLimits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"netAppResourceQuotaLimits.js","sourceRoot":"","sources":["../../../src/operations/netAppResourceQuotaLimits.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAM,OAAO,6BAA6B;IAIxC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,QAAgB,EAChB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,QAAgB,EAChB,OAAqD;;YAErD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA,CAAC;YACjD,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;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AChH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { NetAppManagementClient } from "../netAppManagementClient";
4
+ import { Operation, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: NetAppManagementClient);
13
+ /**
14
+ * Lists all of the available Microsoft.NetApp Rest API operations
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all of the available Microsoft.NetApp Rest API operations
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ }
26
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAOd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
@@ -0,0 +1,88 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Operations operations. */
14
+ export class OperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Operations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all of the available Microsoft.NetApp Rest API operations
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ });
45
+ }
46
+ listPagingAll(options) {
47
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
48
+ var e_1, _a;
49
+ try {
50
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
51
+ const page = _c.value;
52
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
53
+ }
54
+ }
55
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
56
+ finally {
57
+ try {
58
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
59
+ }
60
+ finally { if (e_1) throw e_1.error; }
61
+ }
62
+ });
63
+ }
64
+ /**
65
+ * Lists all of the available Microsoft.NetApp Rest API operations
66
+ * @param options The options parameters.
67
+ */
68
+ _list(options) {
69
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
70
+ }
71
+ }
72
+ // Operation Specifications
73
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
74
+ const listOperationSpec = {
75
+ path: "/providers/Microsoft.NetApp/operations",
76
+ httpMethod: "GET",
77
+ responses: {
78
+ 200: {
79
+ bodyMapper: Mappers.OperationListResult
80
+ },
81
+ default: {}
82
+ },
83
+ queryParameters: [Parameters.apiVersion],
84
+ urlParameters: [Parameters.$host],
85
+ headerParameters: [Parameters.accept],
86
+ serializer
87
+ };
88
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YAC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BAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,99 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Pools } from "../operationsInterfaces";
3
+ import { NetAppManagementClient } from "../netAppManagementClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { CapacityPool, PoolsListOptionalParams, PoolsGetOptionalParams, PoolsGetResponse, PoolsCreateOrUpdateOptionalParams, PoolsCreateOrUpdateResponse, CapacityPoolPatch, PoolsUpdateOptionalParams, PoolsUpdateResponse, PoolsDeleteOptionalParams } from "../models";
6
+ /** Class containing Pools operations. */
7
+ export declare class PoolsImpl implements Pools {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Pools class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: NetAppManagementClient);
14
+ /**
15
+ * List all capacity pools in the NetApp Account
16
+ * @param resourceGroupName The name of the resource group.
17
+ * @param accountName The name of the NetApp account
18
+ * @param options The options parameters.
19
+ */
20
+ list(resourceGroupName: string, accountName: string, options?: PoolsListOptionalParams): PagedAsyncIterableIterator<CapacityPool>;
21
+ private listPagingPage;
22
+ private listPagingAll;
23
+ /**
24
+ * List all capacity pools in the NetApp Account
25
+ * @param resourceGroupName The name of the resource group.
26
+ * @param accountName The name of the NetApp account
27
+ * @param options The options parameters.
28
+ */
29
+ private _list;
30
+ /**
31
+ * Get details of the specified capacity pool
32
+ * @param resourceGroupName The name of the resource group.
33
+ * @param accountName The name of the NetApp account
34
+ * @param poolName The name of the capacity pool
35
+ * @param options The options parameters.
36
+ */
37
+ get(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsGetOptionalParams): Promise<PoolsGetResponse>;
38
+ /**
39
+ * Create or Update a capacity pool
40
+ * @param resourceGroupName The name of the resource group.
41
+ * @param accountName The name of the NetApp account
42
+ * @param poolName The name of the capacity pool
43
+ * @param body Capacity pool object supplied in the body of the operation.
44
+ * @param options The options parameters.
45
+ */
46
+ beginCreateOrUpdate(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPool, options?: PoolsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PoolsCreateOrUpdateResponse>, PoolsCreateOrUpdateResponse>>;
47
+ /**
48
+ * Create or Update a capacity pool
49
+ * @param resourceGroupName The name of the resource group.
50
+ * @param accountName The name of the NetApp account
51
+ * @param poolName The name of the capacity pool
52
+ * @param body Capacity pool object supplied in the body of the operation.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPool, options?: PoolsCreateOrUpdateOptionalParams): Promise<PoolsCreateOrUpdateResponse>;
56
+ /**
57
+ * Patch the specified capacity pool
58
+ * @param resourceGroupName The name of the resource group.
59
+ * @param accountName The name of the NetApp account
60
+ * @param poolName The name of the capacity pool
61
+ * @param body Capacity pool object supplied in the body of the operation.
62
+ * @param options The options parameters.
63
+ */
64
+ beginUpdate(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPoolPatch, options?: PoolsUpdateOptionalParams): Promise<PollerLike<PollOperationState<PoolsUpdateResponse>, PoolsUpdateResponse>>;
65
+ /**
66
+ * Patch the specified capacity pool
67
+ * @param resourceGroupName The name of the resource group.
68
+ * @param accountName The name of the NetApp account
69
+ * @param poolName The name of the capacity pool
70
+ * @param body Capacity pool object supplied in the body of the operation.
71
+ * @param options The options parameters.
72
+ */
73
+ beginUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, body: CapacityPoolPatch, options?: PoolsUpdateOptionalParams): Promise<PoolsUpdateResponse>;
74
+ /**
75
+ * Delete the specified capacity pool
76
+ * @param resourceGroupName The name of the resource group.
77
+ * @param accountName The name of the NetApp account
78
+ * @param poolName The name of the capacity pool
79
+ * @param options The options parameters.
80
+ */
81
+ beginDelete(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
82
+ /**
83
+ * Delete the specified capacity pool
84
+ * @param resourceGroupName The name of the resource group.
85
+ * @param accountName The name of the NetApp account
86
+ * @param poolName The name of the capacity pool
87
+ * @param options The options parameters.
88
+ */
89
+ beginDeleteAndWait(resourceGroupName: string, accountName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise<void>;
90
+ /**
91
+ * ListNext
92
+ * @param resourceGroupName The name of the resource group.
93
+ * @param accountName The name of the NetApp account
94
+ * @param nextLink The nextLink from the previous successful call to the List method.
95
+ * @param options The options parameters.
96
+ */
97
+ private _listNext;
98
+ }
99
+ //# sourceMappingURL=pools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pools.d.ts","sourceRoot":"","sources":["../../../src/operations/pools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,YAAY,EAEZ,uBAAuB,EAEvB,sBAAsB,EACtB,gBAAgB,EAChB,iCAAiC,EACjC,2BAA2B,EAC3B,iBAAiB,EACjB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EAE1B,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,uBAAuB,GAChC,0BAA0B,CAAC,YAAY,CAAC;YAe5B,cAAc;YAoBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;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