@azure/arm-netapp 14.4.0 → 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 (327) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -78
  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/{esm/models/netAppResourceMappers.js → dist-esm/src/index.js} +5 -2
  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 +1505 -1644
  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 +0 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/{esm → dist-esm/src}/operations/index.js +1 -2
  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/netAppResourceMappers.ts → dist-esm/src/operationsInterfaces/accountBackups.js} +2 -8
  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/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  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/dist-esm/src/operationsInterfaces/backupPolicies.js +9 -0
  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/{models/operationsMappers.ts → index.ts} +4 -10
  152. package/src/lroImpl.ts +34 -0
  153. package/src/models/index.ts +1888 -3345
  154. package/src/models/mappers.ts +1542 -1652
  155. package/src/models/parameters.ts +271 -66
  156. package/src/netAppManagementClient.ts +128 -0
  157. package/src/operations/accountBackups.ts +187 -132
  158. package/src/operations/accounts.ts +487 -325
  159. package/src/operations/backupPolicies.ts +390 -223
  160. package/src/operations/backups.ts +486 -313
  161. package/src/operations/index.ts +1 -2
  162. package/src/operations/netAppResource.ts +112 -204
  163. package/src/operations/netAppResourceQuotaLimits.ts +100 -90
  164. package/src/operations/operations.ts +65 -43
  165. package/src/operations/pools.ts +430 -263
  166. package/src/operations/snapshotPolicies.ts +345 -275
  167. package/src/operations/snapshots.ts +454 -226
  168. package/src/operations/vaults.ts +81 -51
  169. package/src/operations/volumeGroups.ts +303 -182
  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/src/operationsInterfaces/index.ts +21 -0
  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 -8542
  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 -37
  193. package/esm/azureNetAppFilesManagementClient.d.ts.map +0 -1
  194. package/esm/azureNetAppFilesManagementClient.js +0 -50
  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 -3856
  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 -78
  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.map +0 -1
  225. package/esm/models/netAppResourceQuotaLimitsMappers.d.ts +0 -2
  226. package/esm/models/netAppResourceQuotaLimitsMappers.d.ts.map +0 -1
  227. package/esm/models/netAppResourceQuotaLimitsMappers.js +0 -9
  228. package/esm/models/netAppResourceQuotaLimitsMappers.js.map +0 -1
  229. package/esm/models/operationsMappers.d.ts +0 -2
  230. package/esm/models/operationsMappers.d.ts.map +0 -1
  231. package/esm/models/operationsMappers.js +0 -9
  232. package/esm/models/operationsMappers.js.map +0 -1
  233. package/esm/models/parameters.d.ts +0 -17
  234. package/esm/models/parameters.d.ts.map +0 -1
  235. package/esm/models/parameters.js +0 -183
  236. package/esm/models/parameters.js.map +0 -1
  237. package/esm/models/poolsMappers.d.ts +0 -2
  238. package/esm/models/poolsMappers.d.ts.map +0 -1
  239. package/esm/models/poolsMappers.js +0 -9
  240. package/esm/models/poolsMappers.js.map +0 -1
  241. package/esm/models/snapshotPoliciesMappers.d.ts +0 -2
  242. package/esm/models/snapshotPoliciesMappers.d.ts.map +0 -1
  243. package/esm/models/snapshotPoliciesMappers.js +0 -9
  244. package/esm/models/snapshotPoliciesMappers.js.map +0 -1
  245. package/esm/models/snapshotsMappers.d.ts +0 -2
  246. package/esm/models/snapshotsMappers.d.ts.map +0 -1
  247. package/esm/models/snapshotsMappers.js +0 -9
  248. package/esm/models/snapshotsMappers.js.map +0 -1
  249. package/esm/models/vaultsMappers.d.ts +0 -2
  250. package/esm/models/vaultsMappers.d.ts.map +0 -1
  251. package/esm/models/vaultsMappers.js +0 -9
  252. package/esm/models/vaultsMappers.js.map +0 -1
  253. package/esm/models/volumeGroupsMappers.d.ts +0 -2
  254. package/esm/models/volumeGroupsMappers.d.ts.map +0 -1
  255. package/esm/models/volumeGroupsMappers.js +0 -9
  256. package/esm/models/volumeGroupsMappers.js.map +0 -1
  257. package/esm/models/volumesMappers.d.ts +0 -2
  258. package/esm/models/volumesMappers.d.ts.map +0 -1
  259. package/esm/models/volumesMappers.js +0 -9
  260. package/esm/models/volumesMappers.js.map +0 -1
  261. package/esm/operations/accountBackups.d.ts +0 -81
  262. package/esm/operations/accountBackups.d.ts.map +0 -1
  263. package/esm/operations/accountBackups.js +0 -145
  264. package/esm/operations/accountBackups.js.map +0 -1
  265. package/esm/operations/accounts.d.ts +0 -167
  266. package/esm/operations/accounts.d.ts.map +0 -1
  267. package/esm/operations/accounts.js +0 -344
  268. package/esm/operations/accounts.js.map +0 -1
  269. package/esm/operations/backupPolicies.d.ts +0 -125
  270. package/esm/operations/backupPolicies.d.ts.map +0 -1
  271. package/esm/operations/backupPolicies.js +0 -277
  272. package/esm/operations/backupPolicies.js.map +0 -1
  273. package/esm/operations/backups.d.ts +0 -203
  274. package/esm/operations/backups.d.ts.map +0 -1
  275. package/esm/operations/backups.js +0 -379
  276. package/esm/operations/backups.js.map +0 -1
  277. package/esm/operations/index.d.ts.map +0 -1
  278. package/esm/operations/index.js.map +0 -1
  279. package/esm/operations/netAppResource.d.ts +0 -115
  280. package/esm/operations/netAppResource.d.ts.map +0 -1
  281. package/esm/operations/netAppResource.js +0 -145
  282. package/esm/operations/netAppResource.js.map +0 -1
  283. package/esm/operations/netAppResourceQuotaLimits.d.ts +0 -54
  284. package/esm/operations/netAppResourceQuotaLimits.d.ts.map +0 -1
  285. package/esm/operations/netAppResourceQuotaLimits.js +0 -86
  286. package/esm/operations/netAppResourceQuotaLimits.js.map +0 -1
  287. package/esm/operations/operations.d.ts +0 -29
  288. package/esm/operations/operations.d.ts.map +0 -1
  289. package/esm/operations/operations.js +0 -50
  290. package/esm/operations/operations.js.map +0 -1
  291. package/esm/operations/pools.d.ts +0 -144
  292. package/esm/operations/pools.d.ts.map +0 -1
  293. package/esm/operations/pools.js +0 -302
  294. package/esm/operations/pools.js.map +0 -1
  295. package/esm/operations/snapshotPolicies.d.ts +0 -149
  296. package/esm/operations/snapshotPolicies.d.ts.map +0 -1
  297. package/esm/operations/snapshotPolicies.js +0 -281
  298. package/esm/operations/snapshotPolicies.js.map +0 -1
  299. package/esm/operations/snapshots.d.ts +0 -149
  300. package/esm/operations/snapshots.d.ts.map +0 -1
  301. package/esm/operations/snapshots.js +0 -312
  302. package/esm/operations/snapshots.js.map +0 -1
  303. package/esm/operations/vaults.d.ts +0 -35
  304. package/esm/operations/vaults.d.ts.map +0 -1
  305. package/esm/operations/vaults.js +0 -57
  306. package/esm/operations/vaults.js.map +0 -1
  307. package/esm/operations/volumeGroups.d.ts +0 -107
  308. package/esm/operations/volumeGroups.d.ts.map +0 -1
  309. package/esm/operations/volumeGroups.js +0 -212
  310. package/esm/operations/volumeGroups.js.map +0 -1
  311. package/esm/operations/volumes.d.ts +0 -344
  312. package/esm/operations/volumes.d.ts.map +0 -1
  313. package/esm/operations/volumes.js +0 -800
  314. package/esm/operations/volumes.js.map +0 -1
  315. package/src/azureNetAppFilesManagementClient.ts +0 -72
  316. package/src/azureNetAppFilesManagementClientContext.ts +0 -68
  317. package/src/models/accountBackupsMappers.ts +0 -51
  318. package/src/models/accountsMappers.ts +0 -51
  319. package/src/models/backupPoliciesMappers.ts +0 -51
  320. package/src/models/backupsMappers.ts +0 -53
  321. package/src/models/netAppResourceQuotaLimitsMappers.ts +0 -51
  322. package/src/models/poolsMappers.ts +0 -51
  323. package/src/models/snapshotPoliciesMappers.ts +0 -53
  324. package/src/models/snapshotsMappers.ts +0 -51
  325. package/src/models/vaultsMappers.ts +0 -51
  326. package/src/models/volumeGroupsMappers.ts +0 -54
  327. package/src/models/volumesMappers.ts +0 -56
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Lists all of the available Microsoft.NetApp Rest API operations
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,144 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ CapacityPool,
13
+ PoolsListOptionalParams,
14
+ PoolsGetOptionalParams,
15
+ PoolsGetResponse,
16
+ PoolsCreateOrUpdateOptionalParams,
17
+ PoolsCreateOrUpdateResponse,
18
+ CapacityPoolPatch,
19
+ PoolsUpdateOptionalParams,
20
+ PoolsUpdateResponse,
21
+ PoolsDeleteOptionalParams
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a Pools. */
26
+ export interface Pools {
27
+ /**
28
+ * List all capacity pools in the NetApp Account
29
+ * @param resourceGroupName The name of the resource group.
30
+ * @param accountName The name of the NetApp account
31
+ * @param options The options parameters.
32
+ */
33
+ list(
34
+ resourceGroupName: string,
35
+ accountName: string,
36
+ options?: PoolsListOptionalParams
37
+ ): PagedAsyncIterableIterator<CapacityPool>;
38
+ /**
39
+ * Get details of the specified 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 options The options parameters.
44
+ */
45
+ get(
46
+ resourceGroupName: string,
47
+ accountName: string,
48
+ poolName: string,
49
+ options?: PoolsGetOptionalParams
50
+ ): Promise<PoolsGetResponse>;
51
+ /**
52
+ * Create or Update a capacity pool
53
+ * @param resourceGroupName The name of the resource group.
54
+ * @param accountName The name of the NetApp account
55
+ * @param poolName The name of the capacity pool
56
+ * @param body Capacity pool object supplied in the body of the operation.
57
+ * @param options The options parameters.
58
+ */
59
+ beginCreateOrUpdate(
60
+ resourceGroupName: string,
61
+ accountName: string,
62
+ poolName: string,
63
+ body: CapacityPool,
64
+ options?: PoolsCreateOrUpdateOptionalParams
65
+ ): Promise<
66
+ PollerLike<
67
+ PollOperationState<PoolsCreateOrUpdateResponse>,
68
+ PoolsCreateOrUpdateResponse
69
+ >
70
+ >;
71
+ /**
72
+ * Create or Update a capacity pool
73
+ * @param resourceGroupName The name of the resource group.
74
+ * @param accountName The name of the NetApp account
75
+ * @param poolName The name of the capacity pool
76
+ * @param body Capacity pool object supplied in the body of the operation.
77
+ * @param options The options parameters.
78
+ */
79
+ beginCreateOrUpdateAndWait(
80
+ resourceGroupName: string,
81
+ accountName: string,
82
+ poolName: string,
83
+ body: CapacityPool,
84
+ options?: PoolsCreateOrUpdateOptionalParams
85
+ ): Promise<PoolsCreateOrUpdateResponse>;
86
+ /**
87
+ * Patch the specified capacity pool
88
+ * @param resourceGroupName The name of the resource group.
89
+ * @param accountName The name of the NetApp account
90
+ * @param poolName The name of the capacity pool
91
+ * @param body Capacity pool object supplied in the body of the operation.
92
+ * @param options The options parameters.
93
+ */
94
+ beginUpdate(
95
+ resourceGroupName: string,
96
+ accountName: string,
97
+ poolName: string,
98
+ body: CapacityPoolPatch,
99
+ options?: PoolsUpdateOptionalParams
100
+ ): Promise<
101
+ PollerLike<PollOperationState<PoolsUpdateResponse>, PoolsUpdateResponse>
102
+ >;
103
+ /**
104
+ * Patch the specified capacity pool
105
+ * @param resourceGroupName The name of the resource group.
106
+ * @param accountName The name of the NetApp account
107
+ * @param poolName The name of the capacity pool
108
+ * @param body Capacity pool object supplied in the body of the operation.
109
+ * @param options The options parameters.
110
+ */
111
+ beginUpdateAndWait(
112
+ resourceGroupName: string,
113
+ accountName: string,
114
+ poolName: string,
115
+ body: CapacityPoolPatch,
116
+ options?: PoolsUpdateOptionalParams
117
+ ): Promise<PoolsUpdateResponse>;
118
+ /**
119
+ * Delete the specified capacity pool
120
+ * @param resourceGroupName The name of the resource group.
121
+ * @param accountName The name of the NetApp account
122
+ * @param poolName The name of the capacity pool
123
+ * @param options The options parameters.
124
+ */
125
+ beginDelete(
126
+ resourceGroupName: string,
127
+ accountName: string,
128
+ poolName: string,
129
+ options?: PoolsDeleteOptionalParams
130
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
131
+ /**
132
+ * Delete the specified capacity pool
133
+ * @param resourceGroupName The name of the resource group.
134
+ * @param accountName The name of the NetApp account
135
+ * @param poolName The name of the capacity pool
136
+ * @param options The options parameters.
137
+ */
138
+ beginDeleteAndWait(
139
+ resourceGroupName: string,
140
+ accountName: string,
141
+ poolName: string,
142
+ options?: PoolsDeleteOptionalParams
143
+ ): Promise<void>;
144
+ }
@@ -0,0 +1,142 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ SnapshotPolicy,
13
+ SnapshotPoliciesListOptionalParams,
14
+ SnapshotPoliciesGetOptionalParams,
15
+ SnapshotPoliciesGetResponse,
16
+ SnapshotPoliciesCreateOptionalParams,
17
+ SnapshotPoliciesCreateResponse,
18
+ SnapshotPolicyPatch,
19
+ SnapshotPoliciesUpdateOptionalParams,
20
+ SnapshotPoliciesUpdateResponse,
21
+ SnapshotPoliciesDeleteOptionalParams,
22
+ SnapshotPoliciesListVolumesOptionalParams,
23
+ SnapshotPoliciesListVolumesResponse
24
+ } from "../models";
25
+
26
+ /// <reference lib="esnext.asynciterable" />
27
+ /** Interface representing a SnapshotPolicies. */
28
+ export interface SnapshotPolicies {
29
+ /**
30
+ * List snapshot policy
31
+ * @param resourceGroupName The name of the resource group.
32
+ * @param accountName The name of the NetApp account
33
+ * @param options The options parameters.
34
+ */
35
+ list(
36
+ resourceGroupName: string,
37
+ accountName: string,
38
+ options?: SnapshotPoliciesListOptionalParams
39
+ ): PagedAsyncIterableIterator<SnapshotPolicy>;
40
+ /**
41
+ * Get a snapshot Policy
42
+ * @param resourceGroupName The name of the resource group.
43
+ * @param accountName The name of the NetApp account
44
+ * @param snapshotPolicyName The name of the snapshot policy
45
+ * @param options The options parameters.
46
+ */
47
+ get(
48
+ resourceGroupName: string,
49
+ accountName: string,
50
+ snapshotPolicyName: string,
51
+ options?: SnapshotPoliciesGetOptionalParams
52
+ ): Promise<SnapshotPoliciesGetResponse>;
53
+ /**
54
+ * Create a snapshot policy
55
+ * @param resourceGroupName The name of the resource group.
56
+ * @param accountName The name of the NetApp account
57
+ * @param snapshotPolicyName The name of the snapshot policy
58
+ * @param body Snapshot policy object supplied in the body of the operation.
59
+ * @param options The options parameters.
60
+ */
61
+ create(
62
+ resourceGroupName: string,
63
+ accountName: string,
64
+ snapshotPolicyName: string,
65
+ body: SnapshotPolicy,
66
+ options?: SnapshotPoliciesCreateOptionalParams
67
+ ): Promise<SnapshotPoliciesCreateResponse>;
68
+ /**
69
+ * Patch a snapshot policy
70
+ * @param resourceGroupName The name of the resource group.
71
+ * @param accountName The name of the NetApp account
72
+ * @param snapshotPolicyName The name of the snapshot policy
73
+ * @param body Snapshot policy object supplied in the body of the operation.
74
+ * @param options The options parameters.
75
+ */
76
+ beginUpdate(
77
+ resourceGroupName: string,
78
+ accountName: string,
79
+ snapshotPolicyName: string,
80
+ body: SnapshotPolicyPatch,
81
+ options?: SnapshotPoliciesUpdateOptionalParams
82
+ ): Promise<
83
+ PollerLike<
84
+ PollOperationState<SnapshotPoliciesUpdateResponse>,
85
+ SnapshotPoliciesUpdateResponse
86
+ >
87
+ >;
88
+ /**
89
+ * Patch a snapshot policy
90
+ * @param resourceGroupName The name of the resource group.
91
+ * @param accountName The name of the NetApp account
92
+ * @param snapshotPolicyName The name of the snapshot policy
93
+ * @param body Snapshot policy object supplied in the body of the operation.
94
+ * @param options The options parameters.
95
+ */
96
+ beginUpdateAndWait(
97
+ resourceGroupName: string,
98
+ accountName: string,
99
+ snapshotPolicyName: string,
100
+ body: SnapshotPolicyPatch,
101
+ options?: SnapshotPoliciesUpdateOptionalParams
102
+ ): Promise<SnapshotPoliciesUpdateResponse>;
103
+ /**
104
+ * Delete snapshot policy
105
+ * @param resourceGroupName The name of the resource group.
106
+ * @param accountName The name of the NetApp account
107
+ * @param snapshotPolicyName The name of the snapshot policy
108
+ * @param options The options parameters.
109
+ */
110
+ beginDelete(
111
+ resourceGroupName: string,
112
+ accountName: string,
113
+ snapshotPolicyName: string,
114
+ options?: SnapshotPoliciesDeleteOptionalParams
115
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
116
+ /**
117
+ * Delete snapshot policy
118
+ * @param resourceGroupName The name of the resource group.
119
+ * @param accountName The name of the NetApp account
120
+ * @param snapshotPolicyName The name of the snapshot policy
121
+ * @param options The options parameters.
122
+ */
123
+ beginDeleteAndWait(
124
+ resourceGroupName: string,
125
+ accountName: string,
126
+ snapshotPolicyName: string,
127
+ options?: SnapshotPoliciesDeleteOptionalParams
128
+ ): Promise<void>;
129
+ /**
130
+ * Get volumes associated with snapshot policy
131
+ * @param resourceGroupName The name of the resource group.
132
+ * @param accountName The name of the NetApp account
133
+ * @param snapshotPolicyName The name of the snapshot policy
134
+ * @param options The options parameters.
135
+ */
136
+ listVolumes(
137
+ resourceGroupName: string,
138
+ accountName: string,
139
+ snapshotPolicyName: string,
140
+ options?: SnapshotPoliciesListVolumesOptionalParams
141
+ ): Promise<SnapshotPoliciesListVolumesResponse>;
142
+ }
@@ -0,0 +1,178 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Snapshot,
13
+ SnapshotsListOptionalParams,
14
+ SnapshotsGetOptionalParams,
15
+ SnapshotsGetResponse,
16
+ SnapshotsCreateOptionalParams,
17
+ SnapshotsCreateResponse,
18
+ SnapshotsUpdateOptionalParams,
19
+ SnapshotsUpdateResponse,
20
+ SnapshotsDeleteOptionalParams
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Interface representing a Snapshots. */
25
+ export interface Snapshots {
26
+ /**
27
+ * List all snapshots associated with the volume
28
+ * @param resourceGroupName The name of the resource group.
29
+ * @param accountName The name of the NetApp account
30
+ * @param poolName The name of the capacity pool
31
+ * @param volumeName The name of the volume
32
+ * @param options The options parameters.
33
+ */
34
+ list(
35
+ resourceGroupName: string,
36
+ accountName: string,
37
+ poolName: string,
38
+ volumeName: string,
39
+ options?: SnapshotsListOptionalParams
40
+ ): PagedAsyncIterableIterator<Snapshot>;
41
+ /**
42
+ * Get details of the specified snapshot
43
+ * @param resourceGroupName The name of the resource group.
44
+ * @param accountName The name of the NetApp account
45
+ * @param poolName The name of the capacity pool
46
+ * @param volumeName The name of the volume
47
+ * @param snapshotName The name of the snapshot
48
+ * @param options The options parameters.
49
+ */
50
+ get(
51
+ resourceGroupName: string,
52
+ accountName: string,
53
+ poolName: string,
54
+ volumeName: string,
55
+ snapshotName: string,
56
+ options?: SnapshotsGetOptionalParams
57
+ ): Promise<SnapshotsGetResponse>;
58
+ /**
59
+ * Create the specified snapshot within the given volume
60
+ * @param resourceGroupName The name of the resource group.
61
+ * @param accountName The name of the NetApp account
62
+ * @param poolName The name of the capacity pool
63
+ * @param volumeName The name of the volume
64
+ * @param snapshotName The name of the snapshot
65
+ * @param body Snapshot object supplied in the body of the operation.
66
+ * @param options The options parameters.
67
+ */
68
+ beginCreate(
69
+ resourceGroupName: string,
70
+ accountName: string,
71
+ poolName: string,
72
+ volumeName: string,
73
+ snapshotName: string,
74
+ body: Snapshot,
75
+ options?: SnapshotsCreateOptionalParams
76
+ ): Promise<
77
+ PollerLike<
78
+ PollOperationState<SnapshotsCreateResponse>,
79
+ SnapshotsCreateResponse
80
+ >
81
+ >;
82
+ /**
83
+ * Create the specified snapshot within the given volume
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 volumeName The name of the volume
88
+ * @param snapshotName The name of the snapshot
89
+ * @param body Snapshot object supplied in the body of the operation.
90
+ * @param options The options parameters.
91
+ */
92
+ beginCreateAndWait(
93
+ resourceGroupName: string,
94
+ accountName: string,
95
+ poolName: string,
96
+ volumeName: string,
97
+ snapshotName: string,
98
+ body: Snapshot,
99
+ options?: SnapshotsCreateOptionalParams
100
+ ): Promise<SnapshotsCreateResponse>;
101
+ /**
102
+ * Patch a snapshot
103
+ * @param resourceGroupName The name of the resource group.
104
+ * @param accountName The name of the NetApp account
105
+ * @param poolName The name of the capacity pool
106
+ * @param volumeName The name of the volume
107
+ * @param snapshotName The name of the snapshot
108
+ * @param body Snapshot object supplied in the body of the operation.
109
+ * @param options The options parameters.
110
+ */
111
+ beginUpdate(
112
+ resourceGroupName: string,
113
+ accountName: string,
114
+ poolName: string,
115
+ volumeName: string,
116
+ snapshotName: string,
117
+ body: Record<string, unknown>,
118
+ options?: SnapshotsUpdateOptionalParams
119
+ ): Promise<
120
+ PollerLike<
121
+ PollOperationState<SnapshotsUpdateResponse>,
122
+ SnapshotsUpdateResponse
123
+ >
124
+ >;
125
+ /**
126
+ * Patch a snapshot
127
+ * @param resourceGroupName The name of the resource group.
128
+ * @param accountName The name of the NetApp account
129
+ * @param poolName The name of the capacity pool
130
+ * @param volumeName The name of the volume
131
+ * @param snapshotName The name of the snapshot
132
+ * @param body Snapshot object supplied in the body of the operation.
133
+ * @param options The options parameters.
134
+ */
135
+ beginUpdateAndWait(
136
+ resourceGroupName: string,
137
+ accountName: string,
138
+ poolName: string,
139
+ volumeName: string,
140
+ snapshotName: string,
141
+ body: Record<string, unknown>,
142
+ options?: SnapshotsUpdateOptionalParams
143
+ ): Promise<SnapshotsUpdateResponse>;
144
+ /**
145
+ * Delete snapshot
146
+ * @param resourceGroupName The name of the resource group.
147
+ * @param accountName The name of the NetApp account
148
+ * @param poolName The name of the capacity pool
149
+ * @param volumeName The name of the volume
150
+ * @param snapshotName The name of the snapshot
151
+ * @param options The options parameters.
152
+ */
153
+ beginDelete(
154
+ resourceGroupName: string,
155
+ accountName: string,
156
+ poolName: string,
157
+ volumeName: string,
158
+ snapshotName: string,
159
+ options?: SnapshotsDeleteOptionalParams
160
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
161
+ /**
162
+ * Delete snapshot
163
+ * @param resourceGroupName The name of the resource group.
164
+ * @param accountName The name of the NetApp account
165
+ * @param poolName The name of the capacity pool
166
+ * @param volumeName The name of the volume
167
+ * @param snapshotName The name of the snapshot
168
+ * @param options The options parameters.
169
+ */
170
+ beginDeleteAndWait(
171
+ resourceGroupName: string,
172
+ accountName: string,
173
+ poolName: string,
174
+ volumeName: string,
175
+ snapshotName: string,
176
+ options?: SnapshotsDeleteOptionalParams
177
+ ): Promise<void>;
178
+ }
@@ -0,0 +1,26 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Vault, VaultsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Vaults. */
14
+ export interface Vaults {
15
+ /**
16
+ * List vaults for a Netapp Account
17
+ * @param resourceGroupName The name of the resource group.
18
+ * @param accountName The name of the NetApp account
19
+ * @param options The options parameters.
20
+ */
21
+ list(
22
+ resourceGroupName: string,
23
+ accountName: string,
24
+ options?: VaultsListOptionalParams
25
+ ): PagedAsyncIterableIterator<Vault>;
26
+ }
@@ -0,0 +1,110 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ VolumeGroup,
13
+ VolumeGroupsListByNetAppAccountOptionalParams,
14
+ VolumeGroupsGetOptionalParams,
15
+ VolumeGroupsGetResponse,
16
+ VolumeGroupDetails,
17
+ VolumeGroupsCreateOptionalParams,
18
+ VolumeGroupsCreateResponse,
19
+ VolumeGroupsDeleteOptionalParams
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a VolumeGroups. */
24
+ export interface VolumeGroups {
25
+ /**
26
+ * List all volume groups for given account
27
+ * @param resourceGroupName The name of the resource group.
28
+ * @param accountName The name of the NetApp account
29
+ * @param options The options parameters.
30
+ */
31
+ listByNetAppAccount(
32
+ resourceGroupName: string,
33
+ accountName: string,
34
+ options?: VolumeGroupsListByNetAppAccountOptionalParams
35
+ ): PagedAsyncIterableIterator<VolumeGroup>;
36
+ /**
37
+ * Get details of the specified volume group
38
+ * @param resourceGroupName The name of the resource group.
39
+ * @param accountName The name of the NetApp account
40
+ * @param volumeGroupName The name of the volumeGroup
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ resourceGroupName: string,
45
+ accountName: string,
46
+ volumeGroupName: string,
47
+ options?: VolumeGroupsGetOptionalParams
48
+ ): Promise<VolumeGroupsGetResponse>;
49
+ /**
50
+ * Create a volume group along with specified volumes
51
+ * @param resourceGroupName The name of the resource group.
52
+ * @param accountName The name of the NetApp account
53
+ * @param volumeGroupName The name of the volumeGroup
54
+ * @param body Volume Group object supplied in the body of the operation.
55
+ * @param options The options parameters.
56
+ */
57
+ beginCreate(
58
+ resourceGroupName: string,
59
+ accountName: string,
60
+ volumeGroupName: string,
61
+ body: VolumeGroupDetails,
62
+ options?: VolumeGroupsCreateOptionalParams
63
+ ): Promise<
64
+ PollerLike<
65
+ PollOperationState<VolumeGroupsCreateResponse>,
66
+ VolumeGroupsCreateResponse
67
+ >
68
+ >;
69
+ /**
70
+ * Create a volume group along with specified volumes
71
+ * @param resourceGroupName The name of the resource group.
72
+ * @param accountName The name of the NetApp account
73
+ * @param volumeGroupName The name of the volumeGroup
74
+ * @param body Volume Group object supplied in the body of the operation.
75
+ * @param options The options parameters.
76
+ */
77
+ beginCreateAndWait(
78
+ resourceGroupName: string,
79
+ accountName: string,
80
+ volumeGroupName: string,
81
+ body: VolumeGroupDetails,
82
+ options?: VolumeGroupsCreateOptionalParams
83
+ ): Promise<VolumeGroupsCreateResponse>;
84
+ /**
85
+ * Delete the specified volume group only if there are no volumes under volume group.
86
+ * @param resourceGroupName The name of the resource group.
87
+ * @param accountName The name of the NetApp account
88
+ * @param volumeGroupName The name of the volumeGroup
89
+ * @param options The options parameters.
90
+ */
91
+ beginDelete(
92
+ resourceGroupName: string,
93
+ accountName: string,
94
+ volumeGroupName: string,
95
+ options?: VolumeGroupsDeleteOptionalParams
96
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
97
+ /**
98
+ * Delete the specified volume group only if there are no volumes under volume group.
99
+ * @param resourceGroupName The name of the resource group.
100
+ * @param accountName The name of the NetApp account
101
+ * @param volumeGroupName The name of the volumeGroup
102
+ * @param options The options parameters.
103
+ */
104
+ beginDeleteAndWait(
105
+ resourceGroupName: string,
106
+ accountName: string,
107
+ volumeGroupName: string,
108
+ options?: VolumeGroupsDeleteOptionalParams
109
+ ): Promise<void>;
110
+ }