@azure/arm-sqlvirtualmachine 5.0.0-beta.9 → 5.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 (598) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -16
  3. package/dist/browser/api/availabilityGroupListeners/index.d.ts +3 -0
  4. package/dist/browser/api/availabilityGroupListeners/index.js +4 -0
  5. package/dist/browser/api/availabilityGroupListeners/index.js.map +1 -0
  6. package/dist/browser/api/availabilityGroupListeners/operations.d.ts +23 -0
  7. package/dist/browser/api/availabilityGroupListeners/operations.js +140 -0
  8. package/dist/browser/api/availabilityGroupListeners/operations.js.map +1 -0
  9. package/dist/browser/api/availabilityGroupListeners/options.d.ts +20 -0
  10. package/dist/browser/api/availabilityGroupListeners/options.js +4 -0
  11. package/dist/browser/api/availabilityGroupListeners/options.js.map +1 -0
  12. package/dist/browser/api/index.d.ts +3 -0
  13. package/dist/browser/api/index.js +4 -0
  14. package/dist/browser/api/index.js.map +1 -0
  15. package/dist/browser/api/operations/index.d.ts +3 -0
  16. package/dist/browser/api/operations/index.js +4 -0
  17. package/dist/browser/api/operations/index.js.map +1 -0
  18. package/dist/browser/api/operations/operations.d.ts +10 -0
  19. package/dist/browser/api/operations/operations.js +33 -0
  20. package/dist/browser/api/operations/operations.js.map +1 -0
  21. package/dist/browser/api/operations/options.d.ts +5 -0
  22. package/dist/browser/api/operations/options.js +4 -0
  23. package/dist/browser/api/operations/options.js.map +1 -0
  24. package/dist/browser/api/sqlVirtualMachineGroups/index.d.ts +3 -0
  25. package/dist/browser/api/sqlVirtualMachineGroups/index.js +4 -0
  26. package/dist/browser/api/sqlVirtualMachineGroups/index.js.map +1 -0
  27. package/dist/browser/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
  28. package/dist/browser/api/sqlVirtualMachineGroups/operations.js +199 -0
  29. package/dist/browser/api/sqlVirtualMachineGroups/operations.js.map +1 -0
  30. package/dist/browser/api/sqlVirtualMachineGroups/options.d.ts +26 -0
  31. package/dist/browser/api/sqlVirtualMachineGroups/options.js +4 -0
  32. package/dist/browser/api/sqlVirtualMachineGroups/options.js.map +1 -0
  33. package/dist/browser/api/sqlVirtualMachineManagementContext.d.ts +22 -0
  34. package/dist/browser/api/sqlVirtualMachineManagementContext.js +26 -0
  35. package/dist/browser/api/sqlVirtualMachineManagementContext.js.map +1 -0
  36. package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
  37. package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.js +4 -0
  38. package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  39. package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
  40. package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.js +44 -0
  41. package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.js.map +1 -0
  42. package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
  43. package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.js +4 -0
  44. package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.js.map +1 -0
  45. package/dist/browser/api/sqlVirtualMachines/index.d.ts +3 -0
  46. package/dist/browser/api/sqlVirtualMachines/index.js +4 -0
  47. package/dist/browser/api/sqlVirtualMachines/index.js.map +1 -0
  48. package/dist/browser/api/sqlVirtualMachines/operations.d.ts +47 -0
  49. package/dist/browser/api/sqlVirtualMachines/operations.js +329 -0
  50. package/dist/browser/api/sqlVirtualMachines/operations.js.map +1 -0
  51. package/dist/browser/api/sqlVirtualMachines/options.d.ts +46 -0
  52. package/dist/browser/api/sqlVirtualMachines/options.js +4 -0
  53. package/dist/browser/api/sqlVirtualMachines/options.js.map +1 -0
  54. package/dist/browser/classic/availabilityGroupListeners/index.d.ts +27 -0
  55. package/dist/browser/classic/availabilityGroupListeners/index.js +34 -0
  56. package/dist/browser/classic/availabilityGroupListeners/index.js.map +1 -0
  57. package/dist/browser/classic/index.d.ts +6 -0
  58. package/dist/browser/classic/index.js +4 -0
  59. package/dist/browser/classic/index.js.map +1 -0
  60. package/dist/browser/classic/operations/index.d.ts +11 -0
  61. package/dist/browser/classic/operations/index.js +14 -0
  62. package/dist/browser/classic/operations/index.js.map +1 -0
  63. package/dist/browser/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
  64. package/dist/browser/classic/sqlVirtualMachineGroups/index.js +44 -0
  65. package/dist/browser/classic/sqlVirtualMachineGroups/index.js.map +1 -0
  66. package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
  67. package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.js +23 -0
  68. package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  69. package/dist/browser/classic/sqlVirtualMachines/index.d.ts +55 -0
  70. package/dist/browser/classic/sqlVirtualMachines/index.js +72 -0
  71. package/dist/browser/classic/sqlVirtualMachines/index.js.map +1 -0
  72. package/dist/browser/index.d.ts +19 -3
  73. package/dist/browser/index.js +7 -11
  74. package/dist/browser/index.js.map +1 -1
  75. package/dist/browser/logger.d.ts +2 -0
  76. package/dist/browser/logger.js +5 -0
  77. package/dist/browser/logger.js.map +1 -0
  78. package/dist/browser/models/index.d.ts +2 -1291
  79. package/dist/browser/models/index.js +3 -225
  80. package/dist/browser/models/index.js.map +1 -1
  81. package/dist/{react-native/models/index.d.ts → browser/models/models.d.ts} +881 -924
  82. package/dist/browser/models/models.js +1363 -0
  83. package/dist/browser/models/models.js.map +1 -0
  84. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  85. package/dist/browser/restorePollerHelpers.js +120 -0
  86. package/dist/browser/restorePollerHelpers.js.map +1 -0
  87. package/dist/browser/sqlVirtualMachineManagementClient.d.ts +25 -22
  88. package/dist/browser/sqlVirtualMachineManagementClient.js +41 -106
  89. package/dist/browser/sqlVirtualMachineManagementClient.js.map +1 -1
  90. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  91. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  92. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  93. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  94. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  95. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  96. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  97. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  98. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  99. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  100. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  101. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  102. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  103. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  104. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  105. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  106. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  107. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  108. package/dist/commonjs/api/availabilityGroupListeners/index.d.ts +3 -0
  109. package/dist/commonjs/api/availabilityGroupListeners/index.js +34 -0
  110. package/dist/commonjs/api/availabilityGroupListeners/index.js.map +7 -0
  111. package/dist/commonjs/api/availabilityGroupListeners/operations.d.ts +23 -0
  112. package/dist/commonjs/api/availabilityGroupListeners/operations.js +223 -0
  113. package/dist/commonjs/api/availabilityGroupListeners/operations.js.map +7 -0
  114. package/dist/commonjs/api/availabilityGroupListeners/options.d.ts +20 -0
  115. package/dist/commonjs/api/availabilityGroupListeners/options.js +16 -0
  116. package/dist/commonjs/api/availabilityGroupListeners/options.js.map +7 -0
  117. package/dist/commonjs/api/index.d.ts +3 -0
  118. package/dist/commonjs/api/index.js +28 -0
  119. package/dist/commonjs/api/index.js.map +7 -0
  120. package/dist/commonjs/api/operations/index.d.ts +3 -0
  121. package/dist/commonjs/api/operations/index.js +28 -0
  122. package/dist/commonjs/api/operations/index.js.map +7 -0
  123. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  124. package/dist/commonjs/api/operations/operations.js +70 -0
  125. package/dist/commonjs/api/operations/operations.js.map +7 -0
  126. package/dist/commonjs/api/operations/options.d.ts +5 -0
  127. package/dist/commonjs/api/operations/options.js +16 -0
  128. package/dist/commonjs/api/operations/options.js.map +7 -0
  129. package/dist/commonjs/api/sqlVirtualMachineGroups/index.d.ts +3 -0
  130. package/dist/commonjs/api/sqlVirtualMachineGroups/index.js +38 -0
  131. package/dist/commonjs/api/sqlVirtualMachineGroups/index.js.map +7 -0
  132. package/dist/commonjs/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
  133. package/dist/commonjs/api/sqlVirtualMachineGroups/operations.js +293 -0
  134. package/dist/commonjs/api/sqlVirtualMachineGroups/operations.js.map +7 -0
  135. package/dist/commonjs/api/sqlVirtualMachineGroups/options.d.ts +26 -0
  136. package/dist/commonjs/api/sqlVirtualMachineGroups/options.js +16 -0
  137. package/dist/commonjs/api/sqlVirtualMachineGroups/options.js.map +7 -0
  138. package/dist/commonjs/api/sqlVirtualMachineManagementContext.d.ts +22 -0
  139. package/dist/commonjs/api/sqlVirtualMachineManagementContext.js +47 -0
  140. package/dist/commonjs/api/sqlVirtualMachineManagementContext.js.map +7 -0
  141. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
  142. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.js +28 -0
  143. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.js.map +7 -0
  144. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
  145. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.js +75 -0
  146. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.js.map +7 -0
  147. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
  148. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.js +16 -0
  149. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.js.map +7 -0
  150. package/dist/commonjs/api/sqlVirtualMachines/index.d.ts +3 -0
  151. package/dist/commonjs/api/sqlVirtualMachines/index.js +46 -0
  152. package/dist/commonjs/api/sqlVirtualMachines/index.js.map +7 -0
  153. package/dist/commonjs/api/sqlVirtualMachines/operations.d.ts +47 -0
  154. package/dist/commonjs/api/sqlVirtualMachines/operations.js +465 -0
  155. package/dist/commonjs/api/sqlVirtualMachines/operations.js.map +7 -0
  156. package/dist/commonjs/api/sqlVirtualMachines/options.d.ts +46 -0
  157. package/dist/commonjs/api/sqlVirtualMachines/options.js +16 -0
  158. package/dist/commonjs/api/sqlVirtualMachines/options.js.map +7 -0
  159. package/dist/commonjs/classic/availabilityGroupListeners/index.d.ts +27 -0
  160. package/dist/commonjs/classic/availabilityGroupListeners/index.js +103 -0
  161. package/dist/commonjs/classic/availabilityGroupListeners/index.js.map +7 -0
  162. package/dist/commonjs/classic/index.d.ts +6 -0
  163. package/dist/commonjs/classic/index.js +16 -0
  164. package/dist/commonjs/classic/index.js.map +7 -0
  165. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  166. package/dist/commonjs/classic/operations/index.js +38 -0
  167. package/dist/commonjs/classic/operations/index.js.map +7 -0
  168. package/dist/commonjs/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
  169. package/dist/commonjs/classic/sqlVirtualMachineGroups/index.js +92 -0
  170. package/dist/commonjs/classic/sqlVirtualMachineGroups/index.js.map +7 -0
  171. package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
  172. package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.js +59 -0
  173. package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.js.map +7 -0
  174. package/dist/commonjs/classic/sqlVirtualMachines/index.d.ts +55 -0
  175. package/dist/commonjs/classic/sqlVirtualMachines/index.js +120 -0
  176. package/dist/commonjs/classic/sqlVirtualMachines/index.js.map +7 -0
  177. package/dist/commonjs/index.d.ts +19 -3
  178. package/dist/commonjs/index.js +96 -19
  179. package/dist/commonjs/index.js.map +7 -1
  180. package/dist/commonjs/logger.d.ts +2 -0
  181. package/dist/commonjs/logger.js +29 -0
  182. package/dist/commonjs/logger.js.map +7 -0
  183. package/dist/commonjs/models/index.d.ts +2 -1291
  184. package/dist/commonjs/models/index.js +82 -229
  185. package/dist/commonjs/models/index.js.map +7 -1
  186. package/dist/commonjs/models/models.d.ts +1249 -0
  187. package/dist/commonjs/models/models.js +1367 -0
  188. package/dist/commonjs/models/models.js.map +7 -0
  189. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  190. package/dist/commonjs/restorePollerHelpers.js +133 -0
  191. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  192. package/dist/commonjs/sqlVirtualMachineManagementClient.d.ts +25 -22
  193. package/dist/commonjs/sqlVirtualMachineManagementClient.js +68 -117
  194. package/dist/commonjs/sqlVirtualMachineManagementClient.js.map +7 -1
  195. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  196. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  197. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  198. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  199. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  200. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  201. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  202. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  203. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  204. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  205. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  206. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  207. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  208. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  209. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  210. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  211. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  212. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  213. package/dist/commonjs/tsdoc-metadata.json +1 -1
  214. package/dist/esm/api/availabilityGroupListeners/index.d.ts +3 -0
  215. package/dist/esm/api/availabilityGroupListeners/index.js +4 -0
  216. package/dist/esm/api/availabilityGroupListeners/index.js.map +1 -0
  217. package/dist/esm/api/availabilityGroupListeners/operations.d.ts +23 -0
  218. package/dist/esm/api/availabilityGroupListeners/operations.js +140 -0
  219. package/dist/esm/api/availabilityGroupListeners/operations.js.map +1 -0
  220. package/dist/esm/api/availabilityGroupListeners/options.d.ts +20 -0
  221. package/dist/esm/api/availabilityGroupListeners/options.js +4 -0
  222. package/dist/esm/api/availabilityGroupListeners/options.js.map +1 -0
  223. package/dist/esm/api/index.d.ts +3 -0
  224. package/dist/esm/api/index.js +4 -0
  225. package/dist/esm/api/index.js.map +1 -0
  226. package/dist/esm/api/operations/index.d.ts +3 -0
  227. package/dist/esm/api/operations/index.js +4 -0
  228. package/dist/esm/api/operations/index.js.map +1 -0
  229. package/dist/esm/api/operations/operations.d.ts +10 -0
  230. package/dist/esm/api/operations/operations.js +33 -0
  231. package/dist/esm/api/operations/operations.js.map +1 -0
  232. package/dist/esm/api/operations/options.d.ts +5 -0
  233. package/dist/esm/api/operations/options.js +4 -0
  234. package/dist/esm/api/operations/options.js.map +1 -0
  235. package/dist/esm/api/sqlVirtualMachineGroups/index.d.ts +3 -0
  236. package/dist/esm/api/sqlVirtualMachineGroups/index.js +4 -0
  237. package/dist/esm/api/sqlVirtualMachineGroups/index.js.map +1 -0
  238. package/dist/esm/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
  239. package/dist/esm/api/sqlVirtualMachineGroups/operations.js +199 -0
  240. package/dist/esm/api/sqlVirtualMachineGroups/operations.js.map +1 -0
  241. package/dist/esm/api/sqlVirtualMachineGroups/options.d.ts +26 -0
  242. package/dist/esm/api/sqlVirtualMachineGroups/options.js +4 -0
  243. package/dist/esm/api/sqlVirtualMachineGroups/options.js.map +1 -0
  244. package/dist/esm/api/sqlVirtualMachineManagementContext.d.ts +22 -0
  245. package/dist/esm/api/sqlVirtualMachineManagementContext.js +26 -0
  246. package/dist/esm/api/sqlVirtualMachineManagementContext.js.map +1 -0
  247. package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
  248. package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.js +4 -0
  249. package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  250. package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
  251. package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.js +44 -0
  252. package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.js.map +1 -0
  253. package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
  254. package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.js +4 -0
  255. package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.js.map +1 -0
  256. package/dist/esm/api/sqlVirtualMachines/index.d.ts +3 -0
  257. package/dist/esm/api/sqlVirtualMachines/index.js +4 -0
  258. package/dist/esm/api/sqlVirtualMachines/index.js.map +1 -0
  259. package/dist/esm/api/sqlVirtualMachines/operations.d.ts +47 -0
  260. package/dist/esm/api/sqlVirtualMachines/operations.js +329 -0
  261. package/dist/esm/api/sqlVirtualMachines/operations.js.map +1 -0
  262. package/dist/esm/api/sqlVirtualMachines/options.d.ts +46 -0
  263. package/dist/esm/api/sqlVirtualMachines/options.js +4 -0
  264. package/dist/esm/api/sqlVirtualMachines/options.js.map +1 -0
  265. package/dist/esm/classic/availabilityGroupListeners/index.d.ts +27 -0
  266. package/dist/esm/classic/availabilityGroupListeners/index.js +34 -0
  267. package/dist/esm/classic/availabilityGroupListeners/index.js.map +1 -0
  268. package/dist/esm/classic/index.d.ts +6 -0
  269. package/dist/esm/classic/index.js +4 -0
  270. package/dist/esm/classic/index.js.map +1 -0
  271. package/dist/esm/classic/operations/index.d.ts +11 -0
  272. package/dist/esm/classic/operations/index.js +14 -0
  273. package/dist/esm/classic/operations/index.js.map +1 -0
  274. package/dist/esm/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
  275. package/dist/esm/classic/sqlVirtualMachineGroups/index.js +44 -0
  276. package/dist/esm/classic/sqlVirtualMachineGroups/index.js.map +1 -0
  277. package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
  278. package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.js +23 -0
  279. package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  280. package/dist/esm/classic/sqlVirtualMachines/index.d.ts +55 -0
  281. package/dist/esm/classic/sqlVirtualMachines/index.js +72 -0
  282. package/dist/esm/classic/sqlVirtualMachines/index.js.map +1 -0
  283. package/dist/esm/index.d.ts +19 -3
  284. package/dist/esm/index.js +7 -11
  285. package/dist/esm/index.js.map +1 -1
  286. package/dist/esm/logger.d.ts +2 -0
  287. package/dist/esm/logger.js +5 -0
  288. package/dist/esm/logger.js.map +1 -0
  289. package/dist/esm/models/index.d.ts +2 -1291
  290. package/dist/esm/models/index.js +3 -225
  291. package/dist/esm/models/index.js.map +1 -1
  292. package/dist/esm/models/models.d.ts +1249 -0
  293. package/dist/esm/models/models.js +1363 -0
  294. package/dist/esm/models/models.js.map +1 -0
  295. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  296. package/dist/esm/restorePollerHelpers.js +120 -0
  297. package/dist/esm/restorePollerHelpers.js.map +1 -0
  298. package/dist/esm/sqlVirtualMachineManagementClient.d.ts +25 -22
  299. package/dist/esm/sqlVirtualMachineManagementClient.js +41 -106
  300. package/dist/esm/sqlVirtualMachineManagementClient.js.map +1 -1
  301. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  302. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  303. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  304. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  305. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  306. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  307. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  308. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  309. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  310. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  311. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  312. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  313. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  314. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  315. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  316. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  317. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  318. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  319. package/package.json +188 -97
  320. package/CHANGELOG.md +0 -21
  321. package/dist/browser/index.d.ts.map +0 -1
  322. package/dist/browser/lroImpl.d.ts +0 -11
  323. package/dist/browser/lroImpl.d.ts.map +0 -1
  324. package/dist/browser/lroImpl.js +0 -18
  325. package/dist/browser/lroImpl.js.map +0 -1
  326. package/dist/browser/models/index.d.ts.map +0 -1
  327. package/dist/browser/models/mappers.d.ts +0 -53
  328. package/dist/browser/models/mappers.d.ts.map +0 -1
  329. package/dist/browser/models/mappers.js +0 -1753
  330. package/dist/browser/models/mappers.js.map +0 -1
  331. package/dist/browser/models/parameters.d.ts +0 -19
  332. package/dist/browser/models/parameters.d.ts.map +0 -1
  333. package/dist/browser/models/parameters.js +0 -152
  334. package/dist/browser/models/parameters.js.map +0 -1
  335. package/dist/browser/operations/availabilityGroupListeners.d.ts +0 -89
  336. package/dist/browser/operations/availabilityGroupListeners.d.ts.map +0 -1
  337. package/dist/browser/operations/availabilityGroupListeners.js +0 -367
  338. package/dist/browser/operations/availabilityGroupListeners.js.map +0 -1
  339. package/dist/browser/operations/index.d.ts +0 -6
  340. package/dist/browser/operations/index.d.ts.map +0 -1
  341. package/dist/browser/operations/index.js +0 -13
  342. package/dist/browser/operations/index.js.map +0 -1
  343. package/dist/browser/operations/operations.d.ts +0 -32
  344. package/dist/browser/operations/operations.d.ts.map +0 -1
  345. package/dist/browser/operations/operations.js +0 -116
  346. package/dist/browser/operations/operations.js.map +0 -1
  347. package/dist/browser/operations/sqlVirtualMachineGroups.d.ts +0 -117
  348. package/dist/browser/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  349. package/dist/browser/operations/sqlVirtualMachineGroups.js +0 -535
  350. package/dist/browser/operations/sqlVirtualMachineGroups.js.map +0 -1
  351. package/dist/browser/operations/sqlVirtualMachineTroubleshoot.d.ts +0 -32
  352. package/dist/browser/operations/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  353. package/dist/browser/operations/sqlVirtualMachineTroubleshoot.js +0 -119
  354. package/dist/browser/operations/sqlVirtualMachineTroubleshoot.js.map +0 -1
  355. package/dist/browser/operations/sqlVirtualMachines.d.ts +0 -176
  356. package/dist/browser/operations/sqlVirtualMachines.d.ts.map +0 -1
  357. package/dist/browser/operations/sqlVirtualMachines.js +0 -797
  358. package/dist/browser/operations/sqlVirtualMachines.js.map +0 -1
  359. package/dist/browser/operationsInterfaces/availabilityGroupListeners.d.ts +0 -62
  360. package/dist/browser/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
  361. package/dist/browser/operationsInterfaces/availabilityGroupListeners.js +0 -9
  362. package/dist/browser/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
  363. package/dist/browser/operationsInterfaces/index.d.ts +0 -6
  364. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  365. package/dist/browser/operationsInterfaces/index.js +0 -13
  366. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  367. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  368. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  369. package/dist/browser/operationsInterfaces/operations.js +0 -9
  370. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  371. package/dist/browser/operationsInterfaces/sqlVirtualMachineGroups.d.ts +0 -79
  372. package/dist/browser/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
  373. package/dist/browser/operationsInterfaces/sqlVirtualMachineGroups.js +0 -9
  374. package/dist/browser/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
  375. package/dist/browser/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +0 -24
  376. package/dist/browser/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  377. package/dist/browser/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +0 -9
  378. package/dist/browser/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +0 -1
  379. package/dist/browser/operationsInterfaces/sqlVirtualMachines.d.ts +0 -119
  380. package/dist/browser/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
  381. package/dist/browser/operationsInterfaces/sqlVirtualMachines.js +0 -9
  382. package/dist/browser/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
  383. package/dist/browser/pagingHelper.d.ts +0 -13
  384. package/dist/browser/pagingHelper.d.ts.map +0 -1
  385. package/dist/browser/pagingHelper.js +0 -30
  386. package/dist/browser/pagingHelper.js.map +0 -1
  387. package/dist/browser/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  388. package/dist/commonjs/index.d.ts.map +0 -1
  389. package/dist/commonjs/lroImpl.d.ts +0 -11
  390. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  391. package/dist/commonjs/lroImpl.js +0 -21
  392. package/dist/commonjs/lroImpl.js.map +0 -1
  393. package/dist/commonjs/models/index.d.ts.map +0 -1
  394. package/dist/commonjs/models/mappers.d.ts +0 -53
  395. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  396. package/dist/commonjs/models/mappers.js +0 -1757
  397. package/dist/commonjs/models/mappers.js.map +0 -1
  398. package/dist/commonjs/models/parameters.d.ts +0 -19
  399. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  400. package/dist/commonjs/models/parameters.js +0 -155
  401. package/dist/commonjs/models/parameters.js.map +0 -1
  402. package/dist/commonjs/operations/availabilityGroupListeners.d.ts +0 -89
  403. package/dist/commonjs/operations/availabilityGroupListeners.d.ts.map +0 -1
  404. package/dist/commonjs/operations/availabilityGroupListeners.js +0 -372
  405. package/dist/commonjs/operations/availabilityGroupListeners.js.map +0 -1
  406. package/dist/commonjs/operations/index.d.ts +0 -6
  407. package/dist/commonjs/operations/index.d.ts.map +0 -1
  408. package/dist/commonjs/operations/index.js +0 -16
  409. package/dist/commonjs/operations/index.js.map +0 -1
  410. package/dist/commonjs/operations/operations.d.ts +0 -32
  411. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  412. package/dist/commonjs/operations/operations.js +0 -121
  413. package/dist/commonjs/operations/operations.js.map +0 -1
  414. package/dist/commonjs/operations/sqlVirtualMachineGroups.d.ts +0 -117
  415. package/dist/commonjs/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  416. package/dist/commonjs/operations/sqlVirtualMachineGroups.js +0 -540
  417. package/dist/commonjs/operations/sqlVirtualMachineGroups.js.map +0 -1
  418. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.d.ts +0 -32
  419. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  420. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.js +0 -124
  421. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.js.map +0 -1
  422. package/dist/commonjs/operations/sqlVirtualMachines.d.ts +0 -176
  423. package/dist/commonjs/operations/sqlVirtualMachines.d.ts.map +0 -1
  424. package/dist/commonjs/operations/sqlVirtualMachines.js +0 -802
  425. package/dist/commonjs/operations/sqlVirtualMachines.js.map +0 -1
  426. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.d.ts +0 -62
  427. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
  428. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.js +0 -10
  429. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
  430. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -6
  431. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  432. package/dist/commonjs/operationsInterfaces/index.js +0 -16
  433. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  434. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  435. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  436. package/dist/commonjs/operationsInterfaces/operations.js +0 -10
  437. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  438. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.d.ts +0 -79
  439. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
  440. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.js +0 -10
  441. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
  442. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +0 -24
  443. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  444. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +0 -10
  445. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +0 -1
  446. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.d.ts +0 -119
  447. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
  448. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.js +0 -10
  449. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
  450. package/dist/commonjs/pagingHelper.d.ts +0 -13
  451. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  452. package/dist/commonjs/pagingHelper.js +0 -34
  453. package/dist/commonjs/pagingHelper.js.map +0 -1
  454. package/dist/commonjs/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  455. package/dist/esm/index.d.ts.map +0 -1
  456. package/dist/esm/lroImpl.d.ts +0 -11
  457. package/dist/esm/lroImpl.d.ts.map +0 -1
  458. package/dist/esm/lroImpl.js +0 -18
  459. package/dist/esm/lroImpl.js.map +0 -1
  460. package/dist/esm/models/index.d.ts.map +0 -1
  461. package/dist/esm/models/mappers.d.ts +0 -53
  462. package/dist/esm/models/mappers.d.ts.map +0 -1
  463. package/dist/esm/models/mappers.js +0 -1753
  464. package/dist/esm/models/mappers.js.map +0 -1
  465. package/dist/esm/models/parameters.d.ts +0 -19
  466. package/dist/esm/models/parameters.d.ts.map +0 -1
  467. package/dist/esm/models/parameters.js +0 -152
  468. package/dist/esm/models/parameters.js.map +0 -1
  469. package/dist/esm/operations/availabilityGroupListeners.d.ts +0 -89
  470. package/dist/esm/operations/availabilityGroupListeners.d.ts.map +0 -1
  471. package/dist/esm/operations/availabilityGroupListeners.js +0 -367
  472. package/dist/esm/operations/availabilityGroupListeners.js.map +0 -1
  473. package/dist/esm/operations/index.d.ts +0 -6
  474. package/dist/esm/operations/index.d.ts.map +0 -1
  475. package/dist/esm/operations/index.js +0 -13
  476. package/dist/esm/operations/index.js.map +0 -1
  477. package/dist/esm/operations/operations.d.ts +0 -32
  478. package/dist/esm/operations/operations.d.ts.map +0 -1
  479. package/dist/esm/operations/operations.js +0 -116
  480. package/dist/esm/operations/operations.js.map +0 -1
  481. package/dist/esm/operations/sqlVirtualMachineGroups.d.ts +0 -117
  482. package/dist/esm/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  483. package/dist/esm/operations/sqlVirtualMachineGroups.js +0 -535
  484. package/dist/esm/operations/sqlVirtualMachineGroups.js.map +0 -1
  485. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.d.ts +0 -32
  486. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  487. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.js +0 -119
  488. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.js.map +0 -1
  489. package/dist/esm/operations/sqlVirtualMachines.d.ts +0 -176
  490. package/dist/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
  491. package/dist/esm/operations/sqlVirtualMachines.js +0 -797
  492. package/dist/esm/operations/sqlVirtualMachines.js.map +0 -1
  493. package/dist/esm/operationsInterfaces/availabilityGroupListeners.d.ts +0 -62
  494. package/dist/esm/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
  495. package/dist/esm/operationsInterfaces/availabilityGroupListeners.js +0 -9
  496. package/dist/esm/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
  497. package/dist/esm/operationsInterfaces/index.d.ts +0 -6
  498. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  499. package/dist/esm/operationsInterfaces/index.js +0 -13
  500. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  501. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  502. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  503. package/dist/esm/operationsInterfaces/operations.js +0 -9
  504. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  505. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.d.ts +0 -79
  506. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
  507. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.js +0 -9
  508. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
  509. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +0 -24
  510. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  511. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +0 -9
  512. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +0 -1
  513. package/dist/esm/operationsInterfaces/sqlVirtualMachines.d.ts +0 -119
  514. package/dist/esm/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
  515. package/dist/esm/operationsInterfaces/sqlVirtualMachines.js +0 -9
  516. package/dist/esm/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
  517. package/dist/esm/pagingHelper.d.ts +0 -13
  518. package/dist/esm/pagingHelper.d.ts.map +0 -1
  519. package/dist/esm/pagingHelper.js +0 -30
  520. package/dist/esm/pagingHelper.js.map +0 -1
  521. package/dist/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  522. package/dist/react-native/index.d.ts +0 -5
  523. package/dist/react-native/index.d.ts.map +0 -1
  524. package/dist/react-native/index.js +0 -13
  525. package/dist/react-native/index.js.map +0 -1
  526. package/dist/react-native/lroImpl.d.ts +0 -11
  527. package/dist/react-native/lroImpl.d.ts.map +0 -1
  528. package/dist/react-native/lroImpl.js +0 -18
  529. package/dist/react-native/lroImpl.js.map +0 -1
  530. package/dist/react-native/models/index.d.ts.map +0 -1
  531. package/dist/react-native/models/index.js +0 -226
  532. package/dist/react-native/models/index.js.map +0 -1
  533. package/dist/react-native/models/mappers.d.ts +0 -53
  534. package/dist/react-native/models/mappers.d.ts.map +0 -1
  535. package/dist/react-native/models/mappers.js +0 -1753
  536. package/dist/react-native/models/mappers.js.map +0 -1
  537. package/dist/react-native/models/parameters.d.ts +0 -19
  538. package/dist/react-native/models/parameters.d.ts.map +0 -1
  539. package/dist/react-native/models/parameters.js +0 -152
  540. package/dist/react-native/models/parameters.js.map +0 -1
  541. package/dist/react-native/operations/availabilityGroupListeners.d.ts +0 -89
  542. package/dist/react-native/operations/availabilityGroupListeners.d.ts.map +0 -1
  543. package/dist/react-native/operations/availabilityGroupListeners.js +0 -367
  544. package/dist/react-native/operations/availabilityGroupListeners.js.map +0 -1
  545. package/dist/react-native/operations/index.d.ts +0 -6
  546. package/dist/react-native/operations/index.d.ts.map +0 -1
  547. package/dist/react-native/operations/index.js +0 -13
  548. package/dist/react-native/operations/index.js.map +0 -1
  549. package/dist/react-native/operations/operations.d.ts +0 -32
  550. package/dist/react-native/operations/operations.d.ts.map +0 -1
  551. package/dist/react-native/operations/operations.js +0 -116
  552. package/dist/react-native/operations/operations.js.map +0 -1
  553. package/dist/react-native/operations/sqlVirtualMachineGroups.d.ts +0 -117
  554. package/dist/react-native/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  555. package/dist/react-native/operations/sqlVirtualMachineGroups.js +0 -535
  556. package/dist/react-native/operations/sqlVirtualMachineGroups.js.map +0 -1
  557. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.d.ts +0 -32
  558. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  559. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.js +0 -119
  560. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.js.map +0 -1
  561. package/dist/react-native/operations/sqlVirtualMachines.d.ts +0 -176
  562. package/dist/react-native/operations/sqlVirtualMachines.d.ts.map +0 -1
  563. package/dist/react-native/operations/sqlVirtualMachines.js +0 -797
  564. package/dist/react-native/operations/sqlVirtualMachines.js.map +0 -1
  565. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.d.ts +0 -62
  566. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
  567. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.js +0 -9
  568. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
  569. package/dist/react-native/operationsInterfaces/index.d.ts +0 -6
  570. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  571. package/dist/react-native/operationsInterfaces/index.js +0 -13
  572. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  573. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  574. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  575. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  576. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  577. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.d.ts +0 -79
  578. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
  579. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.js +0 -9
  580. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
  581. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +0 -24
  582. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  583. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +0 -9
  584. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +0 -1
  585. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.d.ts +0 -119
  586. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
  587. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.js +0 -9
  588. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
  589. package/dist/react-native/package.json +0 -3
  590. package/dist/react-native/pagingHelper.d.ts +0 -13
  591. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  592. package/dist/react-native/pagingHelper.js +0 -30
  593. package/dist/react-native/pagingHelper.js.map +0 -1
  594. package/dist/react-native/sqlVirtualMachineManagementClient.d.ts +0 -24
  595. package/dist/react-native/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  596. package/dist/react-native/sqlVirtualMachineManagementClient.js +0 -114
  597. package/dist/react-native/sqlVirtualMachineManagementClient.js.map +0 -1
  598. package/review/arm-sqlvirtualmachine-node.api.md +0 -949
@@ -1,367 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { setContinuationToken } from "../pagingHelper.js";
9
- import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
12
- import { createHttpPoller } from "@azure/core-lro";
13
- import { createLroSpec } from "../lroImpl.js";
14
- /// <reference lib="esnext.asynciterable" />
15
- /** Class containing AvailabilityGroupListeners operations. */
16
- export class AvailabilityGroupListenersImpl {
17
- client;
18
- /**
19
- * Initialize a new instance of the class AvailabilityGroupListeners class.
20
- * @param client Reference to the service client
21
- */
22
- constructor(client) {
23
- this.client = client;
24
- }
25
- /**
26
- * Lists all availability group listeners in a SQL virtual machine group.
27
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
28
- * value from the Azure Resource Manager API or the portal.
29
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
30
- * @param options The options parameters.
31
- */
32
- listByGroup(resourceGroupName, sqlVirtualMachineGroupName, options) {
33
- const iter = this.listByGroupPagingAll(resourceGroupName, sqlVirtualMachineGroupName, options);
34
- return {
35
- next() {
36
- return iter.next();
37
- },
38
- [Symbol.asyncIterator]() {
39
- return this;
40
- },
41
- byPage: (settings) => {
42
- if (settings?.maxPageSize) {
43
- throw new Error("maxPageSize is not supported by this operation.");
44
- }
45
- return this.listByGroupPagingPage(resourceGroupName, sqlVirtualMachineGroupName, options, settings);
46
- }
47
- };
48
- }
49
- async *listByGroupPagingPage(resourceGroupName, sqlVirtualMachineGroupName, options, settings) {
50
- let result;
51
- let continuationToken = settings?.continuationToken;
52
- if (!continuationToken) {
53
- result = await this._listByGroup(resourceGroupName, sqlVirtualMachineGroupName, options);
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield page;
58
- }
59
- while (continuationToken) {
60
- result = await this._listByGroupNext(resourceGroupName, sqlVirtualMachineGroupName, continuationToken, options);
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield page;
65
- }
66
- }
67
- async *listByGroupPagingAll(resourceGroupName, sqlVirtualMachineGroupName, options) {
68
- for await (const page of this.listByGroupPagingPage(resourceGroupName, sqlVirtualMachineGroupName, options)) {
69
- yield* page;
70
- }
71
- }
72
- /**
73
- * Gets an availability group listener.
74
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
75
- * value from the Azure Resource Manager API or the portal.
76
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
77
- * @param availabilityGroupListenerName Name of the availability group listener.
78
- * @param options The options parameters.
79
- */
80
- get(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options) {
81
- return this.client.sendOperationRequest({
82
- resourceGroupName,
83
- sqlVirtualMachineGroupName,
84
- availabilityGroupListenerName,
85
- options
86
- }, getOperationSpec);
87
- }
88
- /**
89
- * Creates or updates an availability group listener.
90
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
91
- * value from the Azure Resource Manager API or the portal.
92
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
93
- * @param availabilityGroupListenerName Name of the availability group listener.
94
- * @param parameters The availability group listener.
95
- * @param options The options parameters.
96
- */
97
- async beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters, options) {
98
- const directSendOperation = async (args, spec) => {
99
- return this.client.sendOperationRequest(args, spec);
100
- };
101
- const sendOperationFn = async (args, spec) => {
102
- let currentRawResponse = undefined;
103
- const providedCallback = args.options?.onResponse;
104
- const callback = (rawResponse, flatResponse) => {
105
- currentRawResponse = rawResponse;
106
- providedCallback?.(rawResponse, flatResponse);
107
- };
108
- const updatedArgs = {
109
- ...args,
110
- options: {
111
- ...args.options,
112
- onResponse: callback
113
- }
114
- };
115
- const flatResponse = await directSendOperation(updatedArgs, spec);
116
- return {
117
- flatResponse,
118
- rawResponse: {
119
- statusCode: currentRawResponse.status,
120
- body: currentRawResponse.parsedBody,
121
- headers: currentRawResponse.headers.toJSON()
122
- }
123
- };
124
- };
125
- const lro = createLroSpec({
126
- sendOperationFn,
127
- args: {
128
- resourceGroupName,
129
- sqlVirtualMachineGroupName,
130
- availabilityGroupListenerName,
131
- parameters,
132
- options
133
- },
134
- spec: createOrUpdateOperationSpec
135
- });
136
- const poller = await createHttpPoller(lro, {
137
- restoreFrom: options?.resumeFrom,
138
- intervalInMs: options?.updateIntervalInMs,
139
- resourceLocationConfig: "azure-async-operation"
140
- });
141
- await poller.poll();
142
- return poller;
143
- }
144
- /**
145
- * Creates or updates an availability group listener.
146
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
147
- * value from the Azure Resource Manager API or the portal.
148
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
149
- * @param availabilityGroupListenerName Name of the availability group listener.
150
- * @param parameters The availability group listener.
151
- * @param options The options parameters.
152
- */
153
- async beginCreateOrUpdateAndWait(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters, options) {
154
- const poller = await this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters, options);
155
- return poller.pollUntilDone();
156
- }
157
- /**
158
- * Deletes an availability group listener.
159
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
160
- * value from the Azure Resource Manager API or the portal.
161
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
162
- * @param availabilityGroupListenerName Name of the availability group listener.
163
- * @param options The options parameters.
164
- */
165
- async beginDelete(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options) {
166
- const directSendOperation = async (args, spec) => {
167
- return this.client.sendOperationRequest(args, spec);
168
- };
169
- const sendOperationFn = async (args, spec) => {
170
- let currentRawResponse = undefined;
171
- const providedCallback = args.options?.onResponse;
172
- const callback = (rawResponse, flatResponse) => {
173
- currentRawResponse = rawResponse;
174
- providedCallback?.(rawResponse, flatResponse);
175
- };
176
- const updatedArgs = {
177
- ...args,
178
- options: {
179
- ...args.options,
180
- onResponse: callback
181
- }
182
- };
183
- const flatResponse = await directSendOperation(updatedArgs, spec);
184
- return {
185
- flatResponse,
186
- rawResponse: {
187
- statusCode: currentRawResponse.status,
188
- body: currentRawResponse.parsedBody,
189
- headers: currentRawResponse.headers.toJSON()
190
- }
191
- };
192
- };
193
- const lro = createLroSpec({
194
- sendOperationFn,
195
- args: {
196
- resourceGroupName,
197
- sqlVirtualMachineGroupName,
198
- availabilityGroupListenerName,
199
- options
200
- },
201
- spec: deleteOperationSpec
202
- });
203
- const poller = await createHttpPoller(lro, {
204
- restoreFrom: options?.resumeFrom,
205
- intervalInMs: options?.updateIntervalInMs,
206
- resourceLocationConfig: "location"
207
- });
208
- await poller.poll();
209
- return poller;
210
- }
211
- /**
212
- * Deletes an availability group listener.
213
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
214
- * value from the Azure Resource Manager API or the portal.
215
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
216
- * @param availabilityGroupListenerName Name of the availability group listener.
217
- * @param options The options parameters.
218
- */
219
- async beginDeleteAndWait(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options) {
220
- const poller = await this.beginDelete(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options);
221
- return poller.pollUntilDone();
222
- }
223
- /**
224
- * Lists all availability group listeners in a SQL virtual machine group.
225
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
226
- * value from the Azure Resource Manager API or the portal.
227
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
228
- * @param options The options parameters.
229
- */
230
- _listByGroup(resourceGroupName, sqlVirtualMachineGroupName, options) {
231
- return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineGroupName, options }, listByGroupOperationSpec);
232
- }
233
- /**
234
- * ListByGroupNext
235
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
236
- * value from the Azure Resource Manager API or the portal.
237
- * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
238
- * @param nextLink The nextLink from the previous successful call to the ListByGroup method.
239
- * @param options The options parameters.
240
- */
241
- _listByGroupNext(resourceGroupName, sqlVirtualMachineGroupName, nextLink, options) {
242
- return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineGroupName, nextLink, options }, listByGroupNextOperationSpec);
243
- }
244
- }
245
- // Operation Specifications
246
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
247
- const getOperationSpec = {
248
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
249
- httpMethod: "GET",
250
- responses: {
251
- 200: {
252
- bodyMapper: Mappers.AvailabilityGroupListener
253
- },
254
- default: {
255
- bodyMapper: Mappers.ErrorResponse
256
- }
257
- },
258
- queryParameters: [Parameters.expand, Parameters.apiVersion],
259
- urlParameters: [
260
- Parameters.$host,
261
- Parameters.resourceGroupName,
262
- Parameters.sqlVirtualMachineGroupName,
263
- Parameters.availabilityGroupListenerName,
264
- Parameters.subscriptionId
265
- ],
266
- headerParameters: [Parameters.accept],
267
- serializer
268
- };
269
- const createOrUpdateOperationSpec = {
270
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
271
- httpMethod: "PUT",
272
- responses: {
273
- 200: {
274
- bodyMapper: Mappers.AvailabilityGroupListener
275
- },
276
- 201: {
277
- bodyMapper: Mappers.AvailabilityGroupListener
278
- },
279
- 202: {
280
- bodyMapper: Mappers.AvailabilityGroupListener
281
- },
282
- 204: {
283
- bodyMapper: Mappers.AvailabilityGroupListener
284
- },
285
- default: {
286
- bodyMapper: Mappers.ErrorResponse
287
- }
288
- },
289
- requestBody: Parameters.parameters,
290
- queryParameters: [Parameters.apiVersion],
291
- urlParameters: [
292
- Parameters.$host,
293
- Parameters.resourceGroupName,
294
- Parameters.sqlVirtualMachineGroupName,
295
- Parameters.availabilityGroupListenerName,
296
- Parameters.subscriptionId
297
- ],
298
- headerParameters: [Parameters.accept, Parameters.contentType],
299
- mediaType: "json",
300
- serializer
301
- };
302
- const deleteOperationSpec = {
303
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
304
- httpMethod: "DELETE",
305
- responses: {
306
- 200: {},
307
- 201: {},
308
- 202: {},
309
- 204: {},
310
- default: {
311
- bodyMapper: Mappers.ErrorResponse
312
- }
313
- },
314
- queryParameters: [Parameters.apiVersion],
315
- urlParameters: [
316
- Parameters.$host,
317
- Parameters.resourceGroupName,
318
- Parameters.sqlVirtualMachineGroupName,
319
- Parameters.availabilityGroupListenerName,
320
- Parameters.subscriptionId
321
- ],
322
- headerParameters: [Parameters.accept],
323
- serializer
324
- };
325
- const listByGroupOperationSpec = {
326
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners",
327
- httpMethod: "GET",
328
- responses: {
329
- 200: {
330
- bodyMapper: Mappers.AvailabilityGroupListenerListResult
331
- },
332
- default: {
333
- bodyMapper: Mappers.ErrorResponse
334
- }
335
- },
336
- queryParameters: [Parameters.apiVersion],
337
- urlParameters: [
338
- Parameters.$host,
339
- Parameters.resourceGroupName,
340
- Parameters.sqlVirtualMachineGroupName,
341
- Parameters.subscriptionId
342
- ],
343
- headerParameters: [Parameters.accept],
344
- serializer
345
- };
346
- const listByGroupNextOperationSpec = {
347
- path: "{nextLink}",
348
- httpMethod: "GET",
349
- responses: {
350
- 200: {
351
- bodyMapper: Mappers.AvailabilityGroupListenerListResult
352
- },
353
- default: {
354
- bodyMapper: Mappers.ErrorResponse
355
- }
356
- },
357
- urlParameters: [
358
- Parameters.$host,
359
- Parameters.resourceGroupName,
360
- Parameters.sqlVirtualMachineGroupName,
361
- Parameters.subscriptionId,
362
- Parameters.nextLink
363
- ],
364
- headerParameters: [Parameters.accept],
365
- serializer
366
- };
367
- //# sourceMappingURL=availabilityGroupListeners.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListeners.js","sourceRoot":"","sources":["../../../src/operations/availabilityGroupListeners.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAExB,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,WAAW,CAChB,iBAAyB,EACzB,0BAAkC,EAClC,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,oBAAoB,CACpC,iBAAiB,EACjB,0BAA0B,EAC1B,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC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B;QACxC,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EACF,0LAA0L;IAC5L,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,0BAA0B;QACrC,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,0BAA0B;QACrC,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AvailabilityGroupListeners } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SqlVirtualMachineManagementClient } from \"../sqlVirtualMachineManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AvailabilityGroupListener,\n AvailabilityGroupListenersListByGroupNextOptionalParams,\n AvailabilityGroupListenersListByGroupOptionalParams,\n AvailabilityGroupListenersListByGroupResponse,\n AvailabilityGroupListenersGetOptionalParams,\n AvailabilityGroupListenersGetResponse,\n AvailabilityGroupListenersCreateOrUpdateOptionalParams,\n AvailabilityGroupListenersCreateOrUpdateResponse,\n AvailabilityGroupListenersDeleteOptionalParams,\n AvailabilityGroupListenersListByGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AvailabilityGroupListeners operations. */\nexport class AvailabilityGroupListenersImpl\n implements AvailabilityGroupListeners {\n private readonly client: SqlVirtualMachineManagementClient;\n\n /**\n * Initialize a new instance of the class AvailabilityGroupListeners class.\n * @param client Reference to the service client\n */\n constructor(client: SqlVirtualMachineManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all availability group listeners in a SQL virtual machine group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param options The options parameters.\n */\n public listByGroup(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n options?: AvailabilityGroupListenersListByGroupOptionalParams\n ): PagedAsyncIterableIterator<AvailabilityGroupListener> {\n const iter = this.listByGroupPagingAll(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByGroupPagingPage(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByGroupPagingPage(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n options?: AvailabilityGroupListenersListByGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AvailabilityGroupListener[]> {\n let result: AvailabilityGroupListenersListByGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByGroup(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByGroupNext(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByGroupPagingAll(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n options?: AvailabilityGroupListenersListByGroupOptionalParams\n ): AsyncIterableIterator<AvailabilityGroupListener> {\n for await (const page of this.listByGroupPagingPage(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets an availability group listener.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param availabilityGroupListenerName Name of the availability group listener.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n availabilityGroupListenerName: string,\n options?: AvailabilityGroupListenersGetOptionalParams\n ): Promise<AvailabilityGroupListenersGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n sqlVirtualMachineGroupName,\n availabilityGroupListenerName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates an availability group listener.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param availabilityGroupListenerName Name of the availability group listener.\n * @param parameters The availability group listener.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n availabilityGroupListenerName: string,\n parameters: AvailabilityGroupListener,\n options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<AvailabilityGroupListenersCreateOrUpdateResponse>,\n AvailabilityGroupListenersCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AvailabilityGroupListenersCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n sqlVirtualMachineGroupName,\n availabilityGroupListenerName,\n parameters,\n options\n },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n AvailabilityGroupListenersCreateOrUpdateResponse,\n OperationState<AvailabilityGroupListenersCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an availability group listener.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param availabilityGroupListenerName Name of the availability group listener.\n * @param parameters The availability group listener.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n availabilityGroupListenerName: string,\n parameters: AvailabilityGroupListener,\n options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams\n ): Promise<AvailabilityGroupListenersCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n availabilityGroupListenerName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an availability group listener.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param availabilityGroupListenerName Name of the availability group listener.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n availabilityGroupListenerName: string,\n options?: AvailabilityGroupListenersDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n sqlVirtualMachineGroupName,\n availabilityGroupListenerName,\n options\n },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an availability group listener.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param availabilityGroupListenerName Name of the availability group listener.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n availabilityGroupListenerName: string,\n options?: AvailabilityGroupListenersDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n sqlVirtualMachineGroupName,\n availabilityGroupListenerName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists all availability group listeners in a SQL virtual machine group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param options The options parameters.\n */\n private _listByGroup(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n options?: AvailabilityGroupListenersListByGroupOptionalParams\n ): Promise<AvailabilityGroupListenersListByGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlVirtualMachineGroupName, options },\n listByGroupOperationSpec\n );\n }\n\n /**\n * ListByGroupNext\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.\n * @param nextLink The nextLink from the previous successful call to the ListByGroup method.\n * @param options The options parameters.\n */\n private _listByGroupNext(\n resourceGroupName: string,\n sqlVirtualMachineGroupName: string,\n nextLink: string,\n options?: AvailabilityGroupListenersListByGroupNextOptionalParams\n ): Promise<AvailabilityGroupListenersListByGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlVirtualMachineGroupName, nextLink, options },\n listByGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityGroupListener\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.expand, Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.sqlVirtualMachineGroupName,\n Parameters.availabilityGroupListenerName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityGroupListener\n },\n 201: {\n bodyMapper: Mappers.AvailabilityGroupListener\n },\n 202: {\n bodyMapper: Mappers.AvailabilityGroupListener\n },\n 204: {\n bodyMapper: Mappers.AvailabilityGroupListener\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.sqlVirtualMachineGroupName,\n Parameters.availabilityGroupListenerName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.sqlVirtualMachineGroupName,\n Parameters.availabilityGroupListenerName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityGroupListenerListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.sqlVirtualMachineGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityGroupListenerListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.sqlVirtualMachineGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +0,0 @@
1
- export * from "./availabilityGroupListeners.js";
2
- export * from "./operations.js";
3
- export * from "./sqlVirtualMachineGroups.js";
4
- export * from "./sqlVirtualMachines.js";
5
- export * from "./sqlVirtualMachineTroubleshoot.js";
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC"}
@@ -1,13 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export * from "./availabilityGroupListeners.js";
9
- export * from "./operations.js";
10
- export * from "./sqlVirtualMachineGroups.js";
11
- export * from "./sqlVirtualMachines.js";
12
- export * from "./sqlVirtualMachineTroubleshoot.js";
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./availabilityGroupListeners.js\";\nexport * from \"./operations.js\";\nexport * from \"./sqlVirtualMachineGroups.js\";\nexport * from \"./sqlVirtualMachines.js\";\nexport * from \"./sqlVirtualMachineTroubleshoot.js\";\n"]}
@@ -1,32 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces/index.js";
3
- import { SqlVirtualMachineManagementClient } from "../sqlVirtualMachineManagementClient.js";
4
- import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
- /** Class containing Operations operations. */
6
- export declare class OperationsImpl implements Operations {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class Operations class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: SqlVirtualMachineManagementClient);
13
- /**
14
- * Lists all of the available SQL Virtual Machine Rest API operations.
15
- * @param options The options parameters.
16
- */
17
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
- private listPagingPage;
19
- private listPagingAll;
20
- /**
21
- * Lists all of the available SQL Virtual Machine Rest API operations.
22
- * @param options The options parameters.
23
- */
24
- private _list;
25
- /**
26
- * ListNext
27
- * @param nextLink The nextLink from the previous successful call to the List method.
28
- * @param options The options parameters.
29
- */
30
- private _listNext;
31
- }
32
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -1,116 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { setContinuationToken } from "../pagingHelper.js";
9
- import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
12
- /// <reference lib="esnext.asynciterable" />
13
- /** Class containing Operations operations. */
14
- export class OperationsImpl {
15
- client;
16
- /**
17
- * Initialize a new instance of the class Operations class.
18
- * @param client Reference to the service client
19
- */
20
- constructor(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Lists all of the available SQL Virtual Machine Rest API operations.
25
- * @param options The options parameters.
26
- */
27
- list(options) {
28
- const iter = this.listPagingAll(options);
29
- return {
30
- next() {
31
- return iter.next();
32
- },
33
- [Symbol.asyncIterator]() {
34
- return this;
35
- },
36
- byPage: (settings) => {
37
- if (settings?.maxPageSize) {
38
- throw new Error("maxPageSize is not supported by this operation.");
39
- }
40
- return this.listPagingPage(options, settings);
41
- }
42
- };
43
- }
44
- async *listPagingPage(options, settings) {
45
- let result;
46
- let continuationToken = settings?.continuationToken;
47
- if (!continuationToken) {
48
- result = await this._list(options);
49
- let page = result.value || [];
50
- continuationToken = result.nextLink;
51
- setContinuationToken(page, continuationToken);
52
- yield page;
53
- }
54
- while (continuationToken) {
55
- result = await this._listNext(continuationToken, options);
56
- continuationToken = result.nextLink;
57
- let page = result.value || [];
58
- setContinuationToken(page, continuationToken);
59
- yield page;
60
- }
61
- }
62
- async *listPagingAll(options) {
63
- for await (const page of this.listPagingPage(options)) {
64
- yield* page;
65
- }
66
- }
67
- /**
68
- * Lists all of the available SQL Virtual Machine Rest API operations.
69
- * @param options The options parameters.
70
- */
71
- _list(options) {
72
- return this.client.sendOperationRequest({ options }, listOperationSpec);
73
- }
74
- /**
75
- * ListNext
76
- * @param nextLink The nextLink from the previous successful call to the List method.
77
- * @param options The options parameters.
78
- */
79
- _listNext(nextLink, options) {
80
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
81
- }
82
- }
83
- // Operation Specifications
84
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
85
- const listOperationSpec = {
86
- path: "/providers/Microsoft.SqlVirtualMachine/operations",
87
- httpMethod: "GET",
88
- responses: {
89
- 200: {
90
- bodyMapper: Mappers.OperationListResult
91
- },
92
- default: {
93
- bodyMapper: Mappers.ErrorResponse
94
- }
95
- },
96
- queryParameters: [Parameters.apiVersion],
97
- urlParameters: [Parameters.$host],
98
- headerParameters: [Parameters.accept],
99
- serializer
100
- };
101
- const listNextOperationSpec = {
102
- path: "{nextLink}",
103
- httpMethod: "GET",
104
- responses: {
105
- 200: {
106
- bodyMapper: Mappers.OperationListResult
107
- },
108
- default: {
109
- bodyMapper: Mappers.ErrorResponse
110
- }
111
- },
112
- urlParameters: [Parameters.$host, Parameters.nextLink],
113
- headerParameters: [Parameters.accept],
114
- serializer
115
- };
116
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MA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AE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SqlVirtualMachineManagementClient } from \"../sqlVirtualMachineManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: SqlVirtualMachineManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: SqlVirtualMachineManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available SQL Virtual Machine Rest API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available SQL Virtual Machine Rest API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.SqlVirtualMachine/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}