@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
@@ -1,212 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/volumeGroupsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a VolumeGroups. */
14
- var VolumeGroups = /** @class */ (function () {
15
- /**
16
- * Create a VolumeGroups.
17
- * @param {AzureNetAppFilesManagementClientContext} client Reference to the service client.
18
- */
19
- function VolumeGroups(client) {
20
- this.client = client;
21
- }
22
- VolumeGroups.prototype.listByNetAppAccount = function (resourceGroupName, accountName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- accountName: accountName,
26
- options: options
27
- }, listByNetAppAccountOperationSpec, callback);
28
- };
29
- VolumeGroups.prototype.get = function (resourceGroupName, accountName, volumeGroupName, options, callback) {
30
- return this.client.sendOperationRequest({
31
- resourceGroupName: resourceGroupName,
32
- accountName: accountName,
33
- volumeGroupName: volumeGroupName,
34
- options: options
35
- }, getOperationSpec, callback);
36
- };
37
- /**
38
- * Create a volume group along with specified volumes
39
- * @summary Create the specified volume group and volumes. Creating volume group will create all
40
- * the volumes specified in request body implicitly. Once volumes are created using volume group,
41
- * those will be treated as regular volumes thereafter.
42
- * @param body Volume Group object supplied in the body of the operation.
43
- * @param resourceGroupName The name of the resource group.
44
- * @param accountName The name of the NetApp account
45
- * @param volumeGroupName The name of the volumeGroup
46
- * @param [options] The optional parameters
47
- * @returns Promise<Models.VolumeGroupsCreateResponse>
48
- */
49
- VolumeGroups.prototype.create = function (body, resourceGroupName, accountName, volumeGroupName, options) {
50
- return this.beginCreate(body, resourceGroupName, accountName, volumeGroupName, options)
51
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
52
- };
53
- /**
54
- * Delete the specified volume group only if there are no volumes under volume group.
55
- * @summary Delete a volume group
56
- * @param resourceGroupName The name of the resource group.
57
- * @param accountName The name of the NetApp account
58
- * @param volumeGroupName The name of the volumeGroup
59
- * @param [options] The optional parameters
60
- * @returns Promise<msRest.RestResponse>
61
- */
62
- VolumeGroups.prototype.deleteMethod = function (resourceGroupName, accountName, volumeGroupName, options) {
63
- return this.beginDeleteMethod(resourceGroupName, accountName, volumeGroupName, options)
64
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
65
- };
66
- /**
67
- * Create a volume group along with specified volumes
68
- * @summary Create the specified volume group and volumes. Creating volume group will create all
69
- * the volumes specified in request body implicitly. Once volumes are created using volume group,
70
- * those will be treated as regular volumes thereafter.
71
- * @param body Volume Group object supplied in the body of the operation.
72
- * @param resourceGroupName The name of the resource group.
73
- * @param accountName The name of the NetApp account
74
- * @param volumeGroupName The name of the volumeGroup
75
- * @param [options] The optional parameters
76
- * @returns Promise<msRestAzure.LROPoller>
77
- */
78
- VolumeGroups.prototype.beginCreate = function (body, resourceGroupName, accountName, volumeGroupName, options) {
79
- return this.client.sendLRORequest({
80
- body: body,
81
- resourceGroupName: resourceGroupName,
82
- accountName: accountName,
83
- volumeGroupName: volumeGroupName,
84
- options: options
85
- }, beginCreateOperationSpec, options);
86
- };
87
- /**
88
- * Delete the specified volume group only if there are no volumes under volume group.
89
- * @summary Delete a volume group
90
- * @param resourceGroupName The name of the resource group.
91
- * @param accountName The name of the NetApp account
92
- * @param volumeGroupName The name of the volumeGroup
93
- * @param [options] The optional parameters
94
- * @returns Promise<msRestAzure.LROPoller>
95
- */
96
- VolumeGroups.prototype.beginDeleteMethod = function (resourceGroupName, accountName, volumeGroupName, options) {
97
- return this.client.sendLRORequest({
98
- resourceGroupName: resourceGroupName,
99
- accountName: accountName,
100
- volumeGroupName: volumeGroupName,
101
- options: options
102
- }, beginDeleteMethodOperationSpec, options);
103
- };
104
- return VolumeGroups;
105
- }());
106
- export { VolumeGroups };
107
- // Operation Specifications
108
- var serializer = new msRest.Serializer(Mappers);
109
- var listByNetAppAccountOperationSpec = {
110
- httpMethod: "GET",
111
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups",
112
- urlParameters: [
113
- Parameters.subscriptionId,
114
- Parameters.resourceGroupName,
115
- Parameters.accountName
116
- ],
117
- queryParameters: [
118
- Parameters.apiVersion
119
- ],
120
- headerParameters: [
121
- Parameters.acceptLanguage
122
- ],
123
- responses: {
124
- 200: {
125
- bodyMapper: Mappers.VolumeGroupList
126
- },
127
- default: {
128
- bodyMapper: Mappers.CloudError
129
- }
130
- },
131
- serializer: serializer
132
- };
133
- var getOperationSpec = {
134
- httpMethod: "GET",
135
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
136
- urlParameters: [
137
- Parameters.subscriptionId,
138
- Parameters.resourceGroupName,
139
- Parameters.accountName,
140
- Parameters.volumeGroupName
141
- ],
142
- queryParameters: [
143
- Parameters.apiVersion
144
- ],
145
- headerParameters: [
146
- Parameters.acceptLanguage
147
- ],
148
- responses: {
149
- 200: {
150
- bodyMapper: Mappers.VolumeGroupDetails
151
- },
152
- default: {
153
- bodyMapper: Mappers.CloudError
154
- }
155
- },
156
- serializer: serializer
157
- };
158
- var beginCreateOperationSpec = {
159
- httpMethod: "PUT",
160
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
161
- urlParameters: [
162
- Parameters.subscriptionId,
163
- Parameters.resourceGroupName,
164
- Parameters.accountName,
165
- Parameters.volumeGroupName
166
- ],
167
- queryParameters: [
168
- Parameters.apiVersion
169
- ],
170
- headerParameters: [
171
- Parameters.acceptLanguage
172
- ],
173
- requestBody: {
174
- parameterPath: "body",
175
- mapper: __assign(__assign({}, Mappers.VolumeGroupDetails), { required: true })
176
- },
177
- responses: {
178
- 201: {
179
- bodyMapper: Mappers.VolumeGroupDetails
180
- },
181
- default: {
182
- bodyMapper: Mappers.CloudError
183
- }
184
- },
185
- serializer: serializer
186
- };
187
- var beginDeleteMethodOperationSpec = {
188
- httpMethod: "DELETE",
189
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
190
- urlParameters: [
191
- Parameters.subscriptionId,
192
- Parameters.resourceGroupName,
193
- Parameters.accountName,
194
- Parameters.volumeGroupName
195
- ],
196
- queryParameters: [
197
- Parameters.apiVersion
198
- ],
199
- headerParameters: [
200
- Parameters.acceptLanguage
201
- ],
202
- responses: {
203
- 200: {},
204
- 202: {},
205
- 204: {},
206
- default: {
207
- bodyMapper: Mappers.CloudError
208
- }
209
- },
210
- serializer: serializer
211
- };
212
- //# sourceMappingURL=volumeGroups.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"volumeGroups.js","sourceRoot":"","sources":["../../src/operations/volumeGroups.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yCAAyC;AACzC;IAGE;;;OAGG;IACH,sBAAY,MAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAwBD,0CAAmB,GAAnB,UAAoB,iBAAyB,EAAE,WAAmB,EAAE,OAAoF,EAAE,QAAyD;QACjN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,gCAAgC,EAChC,QAAQ,CAA4D,CAAC;IACzE,CAAC;IA2BD,0BAAG,GAAH,UAAI,iBAAyB,EAAE,WAAmB,EAAE,eAAuB,EAAE,OAAuF,EAAE,QAA4D;QAChO,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,eAAe,iBAAA;YACf,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAA4C,CAAC;IACzD,CAAC;IAED;;;;;;;;;;;OAWG;IACH,6BAAM,GAAN,UAAO,IAA+B,EAAE,iBAAyB,EAAE,WAAmB,EAAE,eAAuB,EAAE,OAAmC;QAClJ,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,EAAC,iBAAiB,EAAC,WAAW,EAAC,eAAe,EAAC,OAAO,CAAC;aAChF,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAA+C,CAAC;IACpG,CAAC;IAED;;;;;;;;OAQG;IACH,mCAAY,GAAZ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B,GAAyB;IAC3D,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,0JAA0J;IAChK,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,eAAe;KAC3B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,344 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { AzureNetAppFilesManagementClientContext } from "../azureNetAppFilesManagementClientContext";
5
- /** Class representing a Volumes. */
6
- export declare class Volumes {
7
- private readonly client;
8
- /**
9
- * Create a Volumes.
10
- * @param {AzureNetAppFilesManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: AzureNetAppFilesManagementClientContext);
13
- /**
14
- * List all volumes within the capacity pool
15
- * @summary Describe all volumes
16
- * @param resourceGroupName The name of the resource group.
17
- * @param accountName The name of the NetApp account
18
- * @param poolName The name of the capacity pool
19
- * @param [options] The optional parameters
20
- * @returns Promise<Models.VolumesListResponse>
21
- */
22
- list(resourceGroupName: string, accountName: string, poolName: string, options?: msRest.RequestOptionsBase): Promise<Models.VolumesListResponse>;
23
- /**
24
- * @param resourceGroupName The name of the resource group.
25
- * @param accountName The name of the NetApp account
26
- * @param poolName The name of the capacity pool
27
- * @param callback The callback
28
- */
29
- list(resourceGroupName: string, accountName: string, poolName: string, callback: msRest.ServiceCallback<Models.VolumeList>): void;
30
- /**
31
- * @param resourceGroupName The name of the resource group.
32
- * @param accountName The name of the NetApp account
33
- * @param poolName The name of the capacity pool
34
- * @param options The optional parameters
35
- * @param callback The callback
36
- */
37
- list(resourceGroupName: string, accountName: string, poolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VolumeList>): void;
38
- /**
39
- * Get the details of the specified volume
40
- * @summary Describe a volume
41
- * @param resourceGroupName The name of the resource group.
42
- * @param accountName The name of the NetApp account
43
- * @param poolName The name of the capacity pool
44
- * @param volumeName The name of the volume
45
- * @param [options] The optional parameters
46
- * @returns Promise<Models.VolumesGetResponse>
47
- */
48
- get(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<Models.VolumesGetResponse>;
49
- /**
50
- * @param resourceGroupName The name of the resource group.
51
- * @param accountName The name of the NetApp account
52
- * @param poolName The name of the capacity pool
53
- * @param volumeName The name of the volume
54
- * @param callback The callback
55
- */
56
- get(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, callback: msRest.ServiceCallback<Models.Volume>): void;
57
- /**
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 volumeName The name of the volume
62
- * @param options The optional parameters
63
- * @param callback The callback
64
- */
65
- get(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Volume>): void;
66
- /**
67
- * Create or update the specified volume within the capacity pool
68
- * @summary Create or Update a volume
69
- * @param body Volume object supplied in the body of the operation.
70
- * @param resourceGroupName The name of the resource group.
71
- * @param accountName The name of the NetApp account
72
- * @param poolName The name of the capacity pool
73
- * @param volumeName The name of the volume
74
- * @param [options] The optional parameters
75
- * @returns Promise<Models.VolumesCreateOrUpdateResponse>
76
- */
77
- createOrUpdate(body: Models.Volume, resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<Models.VolumesCreateOrUpdateResponse>;
78
- /**
79
- * Patch the specified volume
80
- * @summary Update a volume
81
- * @param body Volume object supplied in the body of the operation.
82
- * @param resourceGroupName The name of the resource group.
83
- * @param accountName The name of the NetApp account
84
- * @param poolName The name of the capacity pool
85
- * @param volumeName The name of the volume
86
- * @param [options] The optional parameters
87
- * @returns Promise<Models.VolumesUpdateResponse>
88
- */
89
- update(body: Models.VolumePatch, resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<Models.VolumesUpdateResponse>;
90
- /**
91
- * Delete the specified volume
92
- * @summary Delete a volume
93
- * @param resourceGroupName The name of the resource group.
94
- * @param accountName The name of the NetApp account
95
- * @param poolName The name of the capacity pool
96
- * @param volumeName The name of the volume
97
- * @param [options] The optional parameters
98
- * @returns Promise<msRest.RestResponse>
99
- */
100
- deleteMethod(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
101
- /**
102
- * Revert a volume to the snapshot specified in the body
103
- * @summary Revert a volume to one of its snapshots
104
- * @param resourceGroupName The name of the resource group.
105
- * @param accountName The name of the NetApp account
106
- * @param poolName The name of the capacity pool
107
- * @param volumeName The name of the volume
108
- * @param [options] The optional parameters
109
- * @returns Promise<msRest.RestResponse>
110
- */
111
- revert(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: Models.VolumesRevertOptionalParams): Promise<msRest.RestResponse>;
112
- /**
113
- * Break the replication connection on the destination volume
114
- * @summary Break volume replication
115
- * @param resourceGroupName The name of the resource group.
116
- * @param accountName The name of the NetApp account
117
- * @param poolName The name of the capacity pool
118
- * @param volumeName The name of the volume
119
- * @param [options] The optional parameters
120
- * @returns Promise<msRest.RestResponse>
121
- */
122
- breakReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: Models.VolumesBreakReplicationOptionalParams): Promise<msRest.RestResponse>;
123
- /**
124
- * Get the status of the replication
125
- * @summary Get volume replication status
126
- * @param resourceGroupName The name of the resource group.
127
- * @param accountName The name of the NetApp account
128
- * @param poolName The name of the capacity pool
129
- * @param volumeName The name of the volume
130
- * @param [options] The optional parameters
131
- * @returns Promise<Models.VolumesReplicationStatusMethodResponse>
132
- */
133
- replicationStatusMethod(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<Models.VolumesReplicationStatusMethodResponse>;
134
- /**
135
- * @param resourceGroupName The name of the resource group.
136
- * @param accountName The name of the NetApp account
137
- * @param poolName The name of the capacity pool
138
- * @param volumeName The name of the volume
139
- * @param callback The callback
140
- */
141
- replicationStatusMethod(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, callback: msRest.ServiceCallback<Models.ReplicationStatus>): void;
142
- /**
143
- * @param resourceGroupName The name of the resource group.
144
- * @param accountName The name of the NetApp account
145
- * @param poolName The name of the capacity pool
146
- * @param volumeName The name of the volume
147
- * @param options The optional parameters
148
- * @param callback The callback
149
- */
150
- replicationStatusMethod(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationStatus>): void;
151
- /**
152
- * Resync the connection on the destination volume. If the operation is ran on the source volume it
153
- * will reverse-resync the connection and sync from destination to source.
154
- * @summary Resync volume replication
155
- * @param resourceGroupName The name of the resource group.
156
- * @param accountName The name of the NetApp account
157
- * @param poolName The name of the capacity pool
158
- * @param volumeName The name of the volume
159
- * @param [options] The optional parameters
160
- * @returns Promise<msRest.RestResponse>
161
- */
162
- resyncReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
163
- /**
164
- * Delete the replication connection on the destination volume, and send release to the source
165
- * replication
166
- * @summary Delete volume replication
167
- * @param resourceGroupName The name of the resource group.
168
- * @param accountName The name of the NetApp account
169
- * @param poolName The name of the capacity pool
170
- * @param volumeName The name of the volume
171
- * @param [options] The optional parameters
172
- * @returns Promise<msRest.RestResponse>
173
- */
174
- deleteReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
175
- /**
176
- * Authorize the replication connection on the source volume
177
- * @summary Authorize source volume replication
178
- * @param resourceGroupName The name of the resource group.
179
- * @param accountName The name of the NetApp account
180
- * @param poolName The name of the capacity pool
181
- * @param volumeName The name of the volume
182
- * @param [options] The optional parameters
183
- * @returns Promise<msRest.RestResponse>
184
- */
185
- authorizeReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: Models.VolumesAuthorizeReplicationOptionalParams): Promise<msRest.RestResponse>;
186
- /**
187
- * Re-Initializes the replication connection on the destination volume
188
- * @summary ReInitialize volume replication
189
- * @param resourceGroupName The name of the resource group.
190
- * @param accountName The name of the NetApp account
191
- * @param poolName The name of the capacity pool
192
- * @param volumeName The name of the volume
193
- * @param [options] The optional parameters
194
- * @returns Promise<msRest.RestResponse>
195
- */
196
- reInitializeReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
197
- /**
198
- * Moves volume to another pool
199
- * @summary Change pool for volume
200
- * @param resourceGroupName The name of the resource group.
201
- * @param accountName The name of the NetApp account
202
- * @param poolName The name of the capacity pool
203
- * @param volumeName The name of the volume
204
- * @param newPoolResourceId Resource id of the pool to move volume to
205
- * @param [options] The optional parameters
206
- * @returns Promise<msRest.RestResponse>
207
- */
208
- poolChange(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, newPoolResourceId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
209
- /**
210
- * Create or update the specified volume within the capacity pool
211
- * @summary Create or Update a volume
212
- * @param body Volume object supplied in the body of the operation.
213
- * @param resourceGroupName The name of the resource group.
214
- * @param accountName The name of the NetApp account
215
- * @param poolName The name of the capacity pool
216
- * @param volumeName The name of the volume
217
- * @param [options] The optional parameters
218
- * @returns Promise<msRestAzure.LROPoller>
219
- */
220
- beginCreateOrUpdate(body: Models.Volume, resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
221
- /**
222
- * Patch the specified volume
223
- * @summary Update a volume
224
- * @param body Volume object supplied in the body of the operation.
225
- * @param resourceGroupName The name of the resource group.
226
- * @param accountName The name of the NetApp account
227
- * @param poolName The name of the capacity pool
228
- * @param volumeName The name of the volume
229
- * @param [options] The optional parameters
230
- * @returns Promise<msRestAzure.LROPoller>
231
- */
232
- beginUpdate(body: Models.VolumePatch, resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
233
- /**
234
- * Delete the specified volume
235
- * @summary Delete a volume
236
- * @param resourceGroupName The name of the resource group.
237
- * @param accountName The name of the NetApp account
238
- * @param poolName The name of the capacity pool
239
- * @param volumeName The name of the volume
240
- * @param [options] The optional parameters
241
- * @returns Promise<msRestAzure.LROPoller>
242
- */
243
- beginDeleteMethod(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
244
- /**
245
- * Revert a volume to the snapshot specified in the body
246
- * @summary Revert a volume to one of its snapshots
247
- * @param resourceGroupName The name of the resource group.
248
- * @param accountName The name of the NetApp account
249
- * @param poolName The name of the capacity pool
250
- * @param volumeName The name of the volume
251
- * @param [options] The optional parameters
252
- * @returns Promise<msRestAzure.LROPoller>
253
- */
254
- beginRevert(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: Models.VolumesBeginRevertOptionalParams): Promise<msRestAzure.LROPoller>;
255
- /**
256
- * Break the replication connection on the destination volume
257
- * @summary Break volume replication
258
- * @param resourceGroupName The name of the resource group.
259
- * @param accountName The name of the NetApp account
260
- * @param poolName The name of the capacity pool
261
- * @param volumeName The name of the volume
262
- * @param [options] The optional parameters
263
- * @returns Promise<msRestAzure.LROPoller>
264
- */
265
- beginBreakReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: Models.VolumesBeginBreakReplicationOptionalParams): Promise<msRestAzure.LROPoller>;
266
- /**
267
- * Resync the connection on the destination volume. If the operation is ran on the source volume it
268
- * will reverse-resync the connection and sync from destination to source.
269
- * @summary Resync volume replication
270
- * @param resourceGroupName The name of the resource group.
271
- * @param accountName The name of the NetApp account
272
- * @param poolName The name of the capacity pool
273
- * @param volumeName The name of the volume
274
- * @param [options] The optional parameters
275
- * @returns Promise<msRestAzure.LROPoller>
276
- */
277
- beginResyncReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
278
- /**
279
- * Delete the replication connection on the destination volume, and send release to the source
280
- * replication
281
- * @summary Delete volume replication
282
- * @param resourceGroupName The name of the resource group.
283
- * @param accountName The name of the NetApp account
284
- * @param poolName The name of the capacity pool
285
- * @param volumeName The name of the volume
286
- * @param [options] The optional parameters
287
- * @returns Promise<msRestAzure.LROPoller>
288
- */
289
- beginDeleteReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
290
- /**
291
- * Authorize the replication connection on the source volume
292
- * @summary Authorize source volume replication
293
- * @param resourceGroupName The name of the resource group.
294
- * @param accountName The name of the NetApp account
295
- * @param poolName The name of the capacity pool
296
- * @param volumeName The name of the volume
297
- * @param [options] The optional parameters
298
- * @returns Promise<msRestAzure.LROPoller>
299
- */
300
- beginAuthorizeReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: Models.VolumesBeginAuthorizeReplicationOptionalParams): Promise<msRestAzure.LROPoller>;
301
- /**
302
- * Re-Initializes the replication connection on the destination volume
303
- * @summary ReInitialize volume replication
304
- * @param resourceGroupName The name of the resource group.
305
- * @param accountName The name of the NetApp account
306
- * @param poolName The name of the capacity pool
307
- * @param volumeName The name of the volume
308
- * @param [options] The optional parameters
309
- * @returns Promise<msRestAzure.LROPoller>
310
- */
311
- beginReInitializeReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
312
- /**
313
- * Moves volume to another pool
314
- * @summary Change pool for volume
315
- * @param resourceGroupName The name of the resource group.
316
- * @param accountName The name of the NetApp account
317
- * @param poolName The name of the capacity pool
318
- * @param volumeName The name of the volume
319
- * @param newPoolResourceId Resource id of the pool to move volume to
320
- * @param [options] The optional parameters
321
- * @returns Promise<msRestAzure.LROPoller>
322
- */
323
- beginPoolChange(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, newPoolResourceId: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
324
- /**
325
- * List all volumes within the capacity pool
326
- * @summary Describe all volumes
327
- * @param nextPageLink The NextLink from the previous successful call to List operation.
328
- * @param [options] The optional parameters
329
- * @returns Promise<Models.VolumesListNextResponse>
330
- */
331
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VolumesListNextResponse>;
332
- /**
333
- * @param nextPageLink The NextLink from the previous successful call to List operation.
334
- * @param callback The callback
335
- */
336
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VolumeList>): void;
337
- /**
338
- * @param nextPageLink The NextLink from the previous successful call to List operation.
339
- * @param options The optional parameters
340
- * @param callback The callback
341
- */
342
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VolumeList>): void;
343
- }
344
- //# sourceMappingURL=volumes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"volumes.d.ts","sourceRoot":"","sources":["../../src/operations/volumes.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,uCAAuC,EAAE,MAAM,4CAA4C,CAAC;AAErG,oCAAoC;AACpC,qBAAa,OAAO;IAClB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE;;;OAGG;g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