@azure/arm-sqlvirtualmachine 5.0.0-beta.8 → 5.0.0-beta.9

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 (462) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +18 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/mappers.js +91 -43
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/availabilityGroupListeners.d.ts +3 -3
  17. package/dist/browser/operations/availabilityGroupListeners.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/availabilityGroupListeners.js +122 -142
  19. package/dist/browser/operations/availabilityGroupListeners.js.map +1 -0
  20. package/dist/browser/operations/index.d.ts +6 -0
  21. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  22. package/dist/browser/operations/index.js +13 -0
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  25. package/dist/browser/operations/operations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -48
  27. package/dist/browser/operations/operations.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/sqlVirtualMachineGroups.d.ts +3 -3
  29. package/dist/browser/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/sqlVirtualMachineGroups.js +185 -226
  31. package/dist/browser/operations/sqlVirtualMachineGroups.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/sqlVirtualMachineTroubleshoot.d.ts +3 -3
  33. package/dist/browser/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/sqlVirtualMachineTroubleshoot.js +46 -45
  35. package/dist/browser/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/sqlVirtualMachines.d.ts +3 -3
  37. package/dist/browser/operations/sqlVirtualMachines.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/sqlVirtualMachines.js +281 -342
  39. package/dist/browser/operations/sqlVirtualMachines.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/availabilityGroupListeners.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
  43. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  45. package/dist/browser/operationsInterfaces/index.js +13 -0
  46. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  49. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlVirtualMachineGroups.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +1 -1
  54. package/dist/browser/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlVirtualMachines.d.ts +1 -1
  57. package/dist/browser/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
  58. package/dist/browser/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
  59. package/dist/browser/package.json +3 -0
  60. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  61. package/dist/browser/pagingHelper.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/sqlVirtualMachineManagementClient.d.ts +2 -2
  63. package/dist/browser/sqlVirtualMachineManagementClient.d.ts.map +1 -0
  64. package/{dist-esm/src → dist/browser}/sqlVirtualMachineManagementClient.js +34 -24
  65. package/dist/browser/sqlVirtualMachineManagementClient.js.map +1 -0
  66. package/dist/commonjs/index.d.ts +5 -0
  67. package/dist/commonjs/index.d.ts.map +1 -0
  68. package/dist/commonjs/index.js +19 -0
  69. package/dist/commonjs/index.js.map +1 -0
  70. package/dist/commonjs/lroImpl.d.ts +11 -0
  71. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  72. package/dist/commonjs/lroImpl.js +21 -0
  73. package/dist/commonjs/lroImpl.js.map +1 -0
  74. package/{types/arm-sqlvirtualmachine.d.ts → dist/commonjs/models/index.d.ts} +1292 -1761
  75. package/dist/commonjs/models/index.d.ts.map +1 -0
  76. package/dist/commonjs/models/index.js +229 -0
  77. package/dist/commonjs/models/index.js.map +1 -0
  78. package/dist/commonjs/models/mappers.d.ts +53 -0
  79. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  80. package/dist/commonjs/models/mappers.js +1757 -0
  81. package/dist/commonjs/models/mappers.js.map +1 -0
  82. package/dist/commonjs/models/parameters.d.ts +19 -0
  83. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  84. package/dist/commonjs/models/parameters.js +155 -0
  85. package/dist/commonjs/models/parameters.js.map +1 -0
  86. package/dist/commonjs/operations/availabilityGroupListeners.d.ts +89 -0
  87. package/dist/commonjs/operations/availabilityGroupListeners.d.ts.map +1 -0
  88. package/dist/commonjs/operations/availabilityGroupListeners.js +372 -0
  89. package/dist/commonjs/operations/availabilityGroupListeners.js.map +1 -0
  90. package/dist/commonjs/operations/index.d.ts +6 -0
  91. package/dist/commonjs/operations/index.d.ts.map +1 -0
  92. package/dist/commonjs/operations/index.js +16 -0
  93. package/dist/commonjs/operations/index.js.map +1 -0
  94. package/dist/commonjs/operations/operations.d.ts +32 -0
  95. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  96. package/dist/commonjs/operations/operations.js +121 -0
  97. package/dist/commonjs/operations/operations.js.map +1 -0
  98. package/dist/commonjs/operations/sqlVirtualMachineGroups.d.ts +117 -0
  99. package/dist/commonjs/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
  100. package/dist/commonjs/operations/sqlVirtualMachineGroups.js +540 -0
  101. package/dist/commonjs/operations/sqlVirtualMachineGroups.js.map +1 -0
  102. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.d.ts +32 -0
  103. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  104. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.js +124 -0
  105. package/dist/commonjs/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
  106. package/dist/commonjs/operations/sqlVirtualMachines.d.ts +176 -0
  107. package/dist/commonjs/operations/sqlVirtualMachines.d.ts.map +1 -0
  108. package/dist/commonjs/operations/sqlVirtualMachines.js +802 -0
  109. package/dist/commonjs/operations/sqlVirtualMachines.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
  111. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.js +10 -0
  113. package/dist/commonjs/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  115. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  117. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  119. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  121. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
  123. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.js +10 -0
  125. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +24 -0
  127. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +10 -0
  129. package/dist/commonjs/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.d.ts +119 -0
  131. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.js +10 -0
  133. package/dist/commonjs/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
  134. package/dist/commonjs/package.json +3 -0
  135. package/dist/commonjs/pagingHelper.d.ts +13 -0
  136. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  137. package/dist/commonjs/pagingHelper.js +34 -0
  138. package/dist/commonjs/pagingHelper.js.map +1 -0
  139. package/dist/commonjs/sqlVirtualMachineManagementClient.d.ts +24 -0
  140. package/dist/commonjs/sqlVirtualMachineManagementClient.d.ts.map +1 -0
  141. package/dist/commonjs/sqlVirtualMachineManagementClient.js +119 -0
  142. package/dist/commonjs/sqlVirtualMachineManagementClient.js.map +1 -0
  143. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  144. package/dist/esm/index.d.ts +5 -0
  145. package/dist/esm/index.d.ts.map +1 -0
  146. package/{src/index.ts → dist/esm/index.js} +5 -5
  147. package/dist/esm/index.js.map +1 -0
  148. package/dist/esm/lroImpl.d.ts +11 -0
  149. package/dist/esm/lroImpl.d.ts.map +1 -0
  150. package/dist/esm/lroImpl.js +18 -0
  151. package/dist/esm/lroImpl.js.map +1 -0
  152. package/dist/esm/models/index.d.ts +1292 -0
  153. package/dist/esm/models/index.d.ts.map +1 -0
  154. package/dist/esm/models/index.js +226 -0
  155. package/dist/esm/models/index.js.map +1 -0
  156. package/dist/esm/models/mappers.d.ts +53 -0
  157. package/dist/esm/models/mappers.d.ts.map +1 -0
  158. package/dist/esm/models/mappers.js +1753 -0
  159. package/dist/esm/models/mappers.js.map +1 -0
  160. package/dist/esm/models/parameters.d.ts +19 -0
  161. package/dist/esm/models/parameters.d.ts.map +1 -0
  162. package/dist/esm/models/parameters.js +152 -0
  163. package/dist/esm/models/parameters.js.map +1 -0
  164. package/dist/esm/operations/availabilityGroupListeners.d.ts +89 -0
  165. package/dist/esm/operations/availabilityGroupListeners.d.ts.map +1 -0
  166. package/dist/esm/operations/availabilityGroupListeners.js +367 -0
  167. package/dist/esm/operations/availabilityGroupListeners.js.map +1 -0
  168. package/dist/esm/operations/index.d.ts +6 -0
  169. package/dist/esm/operations/index.d.ts.map +1 -0
  170. package/dist/esm/operations/index.js +13 -0
  171. package/dist/esm/operations/index.js.map +1 -0
  172. package/dist/esm/operations/operations.d.ts +32 -0
  173. package/dist/esm/operations/operations.d.ts.map +1 -0
  174. package/dist/esm/operations/operations.js +116 -0
  175. package/dist/esm/operations/operations.js.map +1 -0
  176. package/dist/esm/operations/sqlVirtualMachineGroups.d.ts +117 -0
  177. package/dist/esm/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
  178. package/dist/esm/operations/sqlVirtualMachineGroups.js +535 -0
  179. package/dist/esm/operations/sqlVirtualMachineGroups.js.map +1 -0
  180. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.d.ts +32 -0
  181. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  182. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.js +119 -0
  183. package/dist/esm/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
  184. package/dist/esm/operations/sqlVirtualMachines.d.ts +176 -0
  185. package/dist/esm/operations/sqlVirtualMachines.d.ts.map +1 -0
  186. package/dist/esm/operations/sqlVirtualMachines.js +797 -0
  187. package/dist/esm/operations/sqlVirtualMachines.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
  189. package/dist/esm/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/availabilityGroupListeners.js +9 -0
  191. package/dist/esm/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  193. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/index.js +13 -0
  195. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  196. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  197. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  198. package/dist/esm/operationsInterfaces/operations.js +9 -0
  199. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  200. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
  201. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
  202. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.js +9 -0
  203. package/dist/esm/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
  204. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +24 -0
  205. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  206. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +9 -0
  207. package/dist/esm/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
  208. package/dist/esm/operationsInterfaces/sqlVirtualMachines.d.ts +119 -0
  209. package/dist/esm/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
  210. package/dist/esm/operationsInterfaces/sqlVirtualMachines.js +9 -0
  211. package/dist/esm/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
  212. package/dist/esm/package.json +3 -0
  213. package/dist/esm/pagingHelper.d.ts +13 -0
  214. package/dist/esm/pagingHelper.d.ts.map +1 -0
  215. package/dist/esm/pagingHelper.js +30 -0
  216. package/dist/esm/pagingHelper.js.map +1 -0
  217. package/dist/esm/sqlVirtualMachineManagementClient.d.ts +24 -0
  218. package/dist/esm/sqlVirtualMachineManagementClient.d.ts.map +1 -0
  219. package/dist/esm/sqlVirtualMachineManagementClient.js +114 -0
  220. package/dist/esm/sqlVirtualMachineManagementClient.js.map +1 -0
  221. package/dist/react-native/index.d.ts +5 -0
  222. package/dist/react-native/index.d.ts.map +1 -0
  223. package/dist/react-native/index.js +13 -0
  224. package/dist/react-native/index.js.map +1 -0
  225. package/dist/react-native/lroImpl.d.ts +11 -0
  226. package/dist/react-native/lroImpl.d.ts.map +1 -0
  227. package/dist/react-native/lroImpl.js +18 -0
  228. package/dist/react-native/lroImpl.js.map +1 -0
  229. package/dist/react-native/models/index.d.ts +1292 -0
  230. package/dist/react-native/models/index.d.ts.map +1 -0
  231. package/dist/react-native/models/index.js +226 -0
  232. package/dist/react-native/models/index.js.map +1 -0
  233. package/dist/react-native/models/mappers.d.ts +53 -0
  234. package/dist/react-native/models/mappers.d.ts.map +1 -0
  235. package/dist/react-native/models/mappers.js +1753 -0
  236. package/dist/react-native/models/mappers.js.map +1 -0
  237. package/dist/react-native/models/parameters.d.ts +19 -0
  238. package/dist/react-native/models/parameters.d.ts.map +1 -0
  239. package/dist/react-native/models/parameters.js +152 -0
  240. package/dist/react-native/models/parameters.js.map +1 -0
  241. package/dist/react-native/operations/availabilityGroupListeners.d.ts +89 -0
  242. package/dist/react-native/operations/availabilityGroupListeners.d.ts.map +1 -0
  243. package/dist/react-native/operations/availabilityGroupListeners.js +367 -0
  244. package/dist/react-native/operations/availabilityGroupListeners.js.map +1 -0
  245. package/dist/react-native/operations/index.d.ts +6 -0
  246. package/dist/react-native/operations/index.d.ts.map +1 -0
  247. package/dist/react-native/operations/index.js +13 -0
  248. package/dist/react-native/operations/index.js.map +1 -0
  249. package/dist/react-native/operations/operations.d.ts +32 -0
  250. package/dist/react-native/operations/operations.d.ts.map +1 -0
  251. package/dist/react-native/operations/operations.js +116 -0
  252. package/dist/react-native/operations/operations.js.map +1 -0
  253. package/dist/react-native/operations/sqlVirtualMachineGroups.d.ts +117 -0
  254. package/dist/react-native/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
  255. package/dist/react-native/operations/sqlVirtualMachineGroups.js +535 -0
  256. package/dist/react-native/operations/sqlVirtualMachineGroups.js.map +1 -0
  257. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.d.ts +32 -0
  258. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  259. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.js +119 -0
  260. package/dist/react-native/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
  261. package/dist/react-native/operations/sqlVirtualMachines.d.ts +176 -0
  262. package/dist/react-native/operations/sqlVirtualMachines.d.ts.map +1 -0
  263. package/dist/react-native/operations/sqlVirtualMachines.js +797 -0
  264. package/dist/react-native/operations/sqlVirtualMachines.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
  266. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.js +9 -0
  268. package/dist/react-native/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
  269. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  270. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  271. package/dist/react-native/operationsInterfaces/index.js +13 -0
  272. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  273. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  274. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  275. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  276. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  277. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
  278. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
  279. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.js +9 -0
  280. package/dist/react-native/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
  281. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +24 -0
  282. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  283. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +9 -0
  284. package/dist/react-native/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
  285. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.d.ts +119 -0
  286. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
  287. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.js +9 -0
  288. package/dist/react-native/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
  289. package/dist/react-native/package.json +3 -0
  290. package/dist/react-native/pagingHelper.d.ts +13 -0
  291. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  292. package/dist/react-native/pagingHelper.js +30 -0
  293. package/dist/react-native/pagingHelper.js.map +1 -0
  294. package/dist/react-native/sqlVirtualMachineManagementClient.d.ts +24 -0
  295. package/dist/react-native/sqlVirtualMachineManagementClient.d.ts.map +1 -0
  296. package/dist/react-native/sqlVirtualMachineManagementClient.js +114 -0
  297. package/dist/react-native/sqlVirtualMachineManagementClient.js.map +1 -0
  298. package/package.json +82 -71
  299. package/dist/index.js +0 -4367
  300. package/dist/index.js.map +0 -1
  301. package/dist/index.min.js +0 -1
  302. package/dist/index.min.js.map +0 -1
  303. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +0 -98
  306. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +0 -1
  307. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts +0 -2
  308. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +0 -40
  310. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +0 -1
  311. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +0 -40
  314. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +0 -1
  315. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts +0 -2
  316. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts.map +0 -1
  317. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +0 -60
  318. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +0 -1
  319. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/operationsListSample.js +0 -58
  322. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  323. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts +0 -2
  324. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts.map +0 -1
  325. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +0 -55
  326. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +0 -1
  327. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +0 -39
  330. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +0 -1
  331. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +0 -39
  334. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +0 -1
  335. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +0 -59
  338. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +0 -1
  339. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +0 -58
  342. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +0 -1
  343. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts +0 -2
  344. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +0 -40
  346. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +0 -1
  347. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js +0 -45
  350. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js.map +0 -1
  351. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts +0 -2
  352. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
  353. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +0 -290
  354. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +0 -1
  355. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +0 -39
  358. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +0 -1
  359. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts +0 -2
  360. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +0 -39
  362. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +0 -1
  363. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts +0 -2
  364. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  365. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +0 -59
  366. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +0 -1
  367. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts +0 -2
  368. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts.map +0 -1
  369. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +0 -60
  370. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +0 -1
  371. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts +0 -2
  372. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +0 -58
  374. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +0 -1
  375. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts +0 -2
  376. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +0 -39
  378. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +0 -1
  379. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +0 -39
  382. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +0 -1
  383. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +0 -40
  386. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +0 -1
  387. package/dist-esm/src/index.d.ts +0 -6
  388. package/dist-esm/src/index.d.ts.map +0 -1
  389. package/dist-esm/src/index.js.map +0 -1
  390. package/dist-esm/src/lroImpl.js +0 -21
  391. package/dist-esm/src/lroImpl.js.map +0 -1
  392. package/dist-esm/src/models/index.js.map +0 -1
  393. package/dist-esm/src/models/mappers.js.map +0 -1
  394. package/dist-esm/src/models/parameters.js.map +0 -1
  395. package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +0 -1
  396. package/dist-esm/src/operations/availabilityGroupListeners.js.map +0 -1
  397. package/dist-esm/src/operations/index.d.ts +0 -6
  398. package/dist-esm/src/operations/index.js +0 -13
  399. package/dist-esm/src/operations/index.js.map +0 -1
  400. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  401. package/dist-esm/src/operations/operations.js.map +0 -1
  402. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  403. package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +0 -1
  404. package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  405. package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js.map +0 -1
  406. package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +0 -1
  407. package/dist-esm/src/operations/sqlVirtualMachines.js.map +0 -1
  408. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
  409. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
  410. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  411. package/dist-esm/src/operationsInterfaces/index.js +0 -13
  412. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  413. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  414. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
  415. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
  416. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
  417. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +0 -1
  418. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
  419. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
  420. package/dist-esm/src/pagingHelper.js.map +0 -1
  421. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  422. package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +0 -1
  423. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts +0 -4
  424. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts.map +0 -1
  425. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js +0 -78
  426. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js.map +0 -1
  427. package/rollup.config.js +0 -122
  428. package/src/lroImpl.ts +0 -42
  429. package/src/models/index.ts +0 -1470
  430. package/src/models/mappers.ts +0 -1805
  431. package/src/models/parameters.ts +0 -183
  432. package/src/operations/availabilityGroupListeners.ts +0 -527
  433. package/src/operations/index.ts +0 -13
  434. package/src/operations/operations.ts +0 -149
  435. package/src/operations/sqlVirtualMachineGroups.ts +0 -737
  436. package/src/operations/sqlVirtualMachineTroubleshoot.ts +0 -172
  437. package/src/operations/sqlVirtualMachines.ts +0 -1115
  438. package/src/operationsInterfaces/availabilityGroupListeners.ts +0 -115
  439. package/src/operationsInterfaces/index.ts +0 -13
  440. package/src/operationsInterfaces/operations.ts +0 -22
  441. package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +0 -147
  442. package/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.ts +0 -51
  443. package/src/operationsInterfaces/sqlVirtualMachines.ts +0 -210
  444. package/src/pagingHelper.ts +0 -39
  445. package/src/sqlVirtualMachineManagementClient.ts +0 -162
  446. package/tsconfig.json +0 -33
  447. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  448. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  449. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  450. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  451. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  452. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  453. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  454. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  455. /package/{dist-esm/src → dist/browser}/operationsInterfaces/availabilityGroupListeners.js +0 -0
  456. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  457. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlVirtualMachineGroups.js +0 -0
  458. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +0 -0
  459. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlVirtualMachines.js +0 -0
  460. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  461. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  462. /package/review/{arm-sqlvirtualmachine.api.md → arm-sqlvirtualmachine-node.api.md} +0 -0
@@ -0,0 +1,802 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.SqlVirtualMachinesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing SqlVirtualMachines operations. */
20
+ class SqlVirtualMachinesImpl {
21
+ client;
22
+ /**
23
+ * Initialize a new instance of the class SqlVirtualMachines class.
24
+ * @param client Reference to the service client
25
+ */
26
+ constructor(client) {
27
+ this.client = client;
28
+ }
29
+ /**
30
+ * Gets the list of sql virtual machines in a SQL virtual machine group.
31
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
32
+ * value from the Azure Resource Manager API or the portal.
33
+ * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
34
+ * @param options The options parameters.
35
+ */
36
+ listBySqlVmGroup(resourceGroupName, sqlVirtualMachineGroupName, options) {
37
+ const iter = this.listBySqlVmGroupPagingAll(resourceGroupName, sqlVirtualMachineGroupName, options);
38
+ return {
39
+ next() {
40
+ return iter.next();
41
+ },
42
+ [Symbol.asyncIterator]() {
43
+ return this;
44
+ },
45
+ byPage: (settings) => {
46
+ if (settings?.maxPageSize) {
47
+ throw new Error("maxPageSize is not supported by this operation.");
48
+ }
49
+ return this.listBySqlVmGroupPagingPage(resourceGroupName, sqlVirtualMachineGroupName, options, settings);
50
+ }
51
+ };
52
+ }
53
+ async *listBySqlVmGroupPagingPage(resourceGroupName, sqlVirtualMachineGroupName, options, settings) {
54
+ let result;
55
+ let continuationToken = settings?.continuationToken;
56
+ if (!continuationToken) {
57
+ result = await this._listBySqlVmGroup(resourceGroupName, sqlVirtualMachineGroupName, options);
58
+ let page = result.value || [];
59
+ continuationToken = result.nextLink;
60
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
61
+ yield page;
62
+ }
63
+ while (continuationToken) {
64
+ result = await this._listBySqlVmGroupNext(resourceGroupName, sqlVirtualMachineGroupName, continuationToken, options);
65
+ continuationToken = result.nextLink;
66
+ let page = result.value || [];
67
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
68
+ yield page;
69
+ }
70
+ }
71
+ async *listBySqlVmGroupPagingAll(resourceGroupName, sqlVirtualMachineGroupName, options) {
72
+ for await (const page of this.listBySqlVmGroupPagingPage(resourceGroupName, sqlVirtualMachineGroupName, options)) {
73
+ yield* page;
74
+ }
75
+ }
76
+ /**
77
+ * Gets all SQL virtual machines in a subscription.
78
+ * @param options The options parameters.
79
+ */
80
+ list(options) {
81
+ const iter = this.listPagingAll(options);
82
+ return {
83
+ next() {
84
+ return iter.next();
85
+ },
86
+ [Symbol.asyncIterator]() {
87
+ return this;
88
+ },
89
+ byPage: (settings) => {
90
+ if (settings?.maxPageSize) {
91
+ throw new Error("maxPageSize is not supported by this operation.");
92
+ }
93
+ return this.listPagingPage(options, settings);
94
+ }
95
+ };
96
+ }
97
+ async *listPagingPage(options, settings) {
98
+ let result;
99
+ let continuationToken = settings?.continuationToken;
100
+ if (!continuationToken) {
101
+ result = await this._list(options);
102
+ let page = result.value || [];
103
+ continuationToken = result.nextLink;
104
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
105
+ yield page;
106
+ }
107
+ while (continuationToken) {
108
+ result = await this._listNext(continuationToken, options);
109
+ continuationToken = result.nextLink;
110
+ let page = result.value || [];
111
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
112
+ yield page;
113
+ }
114
+ }
115
+ async *listPagingAll(options) {
116
+ for await (const page of this.listPagingPage(options)) {
117
+ yield* page;
118
+ }
119
+ }
120
+ /**
121
+ * Gets all SQL virtual machines in a resource group.
122
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
123
+ * value from the Azure Resource Manager API or the portal.
124
+ * @param options The options parameters.
125
+ */
126
+ listByResourceGroup(resourceGroupName, options) {
127
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
128
+ return {
129
+ next() {
130
+ return iter.next();
131
+ },
132
+ [Symbol.asyncIterator]() {
133
+ return this;
134
+ },
135
+ byPage: (settings) => {
136
+ if (settings?.maxPageSize) {
137
+ throw new Error("maxPageSize is not supported by this operation.");
138
+ }
139
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
140
+ }
141
+ };
142
+ }
143
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
144
+ let result;
145
+ let continuationToken = settings?.continuationToken;
146
+ if (!continuationToken) {
147
+ result = await this._listByResourceGroup(resourceGroupName, options);
148
+ let page = result.value || [];
149
+ continuationToken = result.nextLink;
150
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
151
+ yield page;
152
+ }
153
+ while (continuationToken) {
154
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
155
+ continuationToken = result.nextLink;
156
+ let page = result.value || [];
157
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
158
+ yield page;
159
+ }
160
+ }
161
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
162
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
163
+ yield* page;
164
+ }
165
+ }
166
+ /**
167
+ * Gets the list of sql virtual machines in a SQL virtual machine group.
168
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
169
+ * value from the Azure Resource Manager API or the portal.
170
+ * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
171
+ * @param options The options parameters.
172
+ */
173
+ _listBySqlVmGroup(resourceGroupName, sqlVirtualMachineGroupName, options) {
174
+ return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineGroupName, options }, listBySqlVmGroupOperationSpec);
175
+ }
176
+ /**
177
+ * Gets all SQL virtual machines in a subscription.
178
+ * @param options The options parameters.
179
+ */
180
+ _list(options) {
181
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
182
+ }
183
+ /**
184
+ * Gets a SQL virtual machine.
185
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
186
+ * value from the Azure Resource Manager API or the portal.
187
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
188
+ * @param options The options parameters.
189
+ */
190
+ get(resourceGroupName, sqlVirtualMachineName, options) {
191
+ return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineName, options }, getOperationSpec);
192
+ }
193
+ /**
194
+ * Creates or updates a SQL virtual machine.
195
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
196
+ * value from the Azure Resource Manager API or the portal.
197
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
198
+ * @param parameters The SQL virtual machine.
199
+ * @param options The options parameters.
200
+ */
201
+ async beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineName, parameters, options) {
202
+ const directSendOperation = async (args, spec) => {
203
+ return this.client.sendOperationRequest(args, spec);
204
+ };
205
+ const sendOperationFn = async (args, spec) => {
206
+ let currentRawResponse = undefined;
207
+ const providedCallback = args.options?.onResponse;
208
+ const callback = (rawResponse, flatResponse) => {
209
+ currentRawResponse = rawResponse;
210
+ providedCallback?.(rawResponse, flatResponse);
211
+ };
212
+ const updatedArgs = {
213
+ ...args,
214
+ options: {
215
+ ...args.options,
216
+ onResponse: callback
217
+ }
218
+ };
219
+ const flatResponse = await directSendOperation(updatedArgs, spec);
220
+ return {
221
+ flatResponse,
222
+ rawResponse: {
223
+ statusCode: currentRawResponse.status,
224
+ body: currentRawResponse.parsedBody,
225
+ headers: currentRawResponse.headers.toJSON()
226
+ }
227
+ };
228
+ };
229
+ const lro = (0, lroImpl_js_1.createLroSpec)({
230
+ sendOperationFn,
231
+ args: { resourceGroupName, sqlVirtualMachineName, parameters, options },
232
+ spec: createOrUpdateOperationSpec
233
+ });
234
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
235
+ restoreFrom: options?.resumeFrom,
236
+ intervalInMs: options?.updateIntervalInMs,
237
+ resourceLocationConfig: "azure-async-operation"
238
+ });
239
+ await poller.poll();
240
+ return poller;
241
+ }
242
+ /**
243
+ * Creates or updates a SQL virtual machine.
244
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
245
+ * value from the Azure Resource Manager API or the portal.
246
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
247
+ * @param parameters The SQL virtual machine.
248
+ * @param options The options parameters.
249
+ */
250
+ async beginCreateOrUpdateAndWait(resourceGroupName, sqlVirtualMachineName, parameters, options) {
251
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineName, parameters, options);
252
+ return poller.pollUntilDone();
253
+ }
254
+ /**
255
+ * Deletes a SQL virtual machine.
256
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
257
+ * value from the Azure Resource Manager API or the portal.
258
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
259
+ * @param options The options parameters.
260
+ */
261
+ async beginDelete(resourceGroupName, sqlVirtualMachineName, options) {
262
+ const directSendOperation = async (args, spec) => {
263
+ return this.client.sendOperationRequest(args, spec);
264
+ };
265
+ const sendOperationFn = async (args, spec) => {
266
+ let currentRawResponse = undefined;
267
+ const providedCallback = args.options?.onResponse;
268
+ const callback = (rawResponse, flatResponse) => {
269
+ currentRawResponse = rawResponse;
270
+ providedCallback?.(rawResponse, flatResponse);
271
+ };
272
+ const updatedArgs = {
273
+ ...args,
274
+ options: {
275
+ ...args.options,
276
+ onResponse: callback
277
+ }
278
+ };
279
+ const flatResponse = await directSendOperation(updatedArgs, spec);
280
+ return {
281
+ flatResponse,
282
+ rawResponse: {
283
+ statusCode: currentRawResponse.status,
284
+ body: currentRawResponse.parsedBody,
285
+ headers: currentRawResponse.headers.toJSON()
286
+ }
287
+ };
288
+ };
289
+ const lro = (0, lroImpl_js_1.createLroSpec)({
290
+ sendOperationFn,
291
+ args: { resourceGroupName, sqlVirtualMachineName, options },
292
+ spec: deleteOperationSpec
293
+ });
294
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
295
+ restoreFrom: options?.resumeFrom,
296
+ intervalInMs: options?.updateIntervalInMs,
297
+ resourceLocationConfig: "location"
298
+ });
299
+ await poller.poll();
300
+ return poller;
301
+ }
302
+ /**
303
+ * Deletes a SQL virtual machine.
304
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
305
+ * value from the Azure Resource Manager API or the portal.
306
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
307
+ * @param options The options parameters.
308
+ */
309
+ async beginDeleteAndWait(resourceGroupName, sqlVirtualMachineName, options) {
310
+ const poller = await this.beginDelete(resourceGroupName, sqlVirtualMachineName, options);
311
+ return poller.pollUntilDone();
312
+ }
313
+ /**
314
+ * Updates a SQL virtual machine.
315
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
316
+ * value from the Azure Resource Manager API or the portal.
317
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
318
+ * @param parameters The SQL virtual machine.
319
+ * @param options The options parameters.
320
+ */
321
+ async beginUpdate(resourceGroupName, sqlVirtualMachineName, parameters, options) {
322
+ const directSendOperation = async (args, spec) => {
323
+ return this.client.sendOperationRequest(args, spec);
324
+ };
325
+ const sendOperationFn = async (args, spec) => {
326
+ let currentRawResponse = undefined;
327
+ const providedCallback = args.options?.onResponse;
328
+ const callback = (rawResponse, flatResponse) => {
329
+ currentRawResponse = rawResponse;
330
+ providedCallback?.(rawResponse, flatResponse);
331
+ };
332
+ const updatedArgs = {
333
+ ...args,
334
+ options: {
335
+ ...args.options,
336
+ onResponse: callback
337
+ }
338
+ };
339
+ const flatResponse = await directSendOperation(updatedArgs, spec);
340
+ return {
341
+ flatResponse,
342
+ rawResponse: {
343
+ statusCode: currentRawResponse.status,
344
+ body: currentRawResponse.parsedBody,
345
+ headers: currentRawResponse.headers.toJSON()
346
+ }
347
+ };
348
+ };
349
+ const lro = (0, lroImpl_js_1.createLroSpec)({
350
+ sendOperationFn,
351
+ args: { resourceGroupName, sqlVirtualMachineName, parameters, options },
352
+ spec: updateOperationSpec
353
+ });
354
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
355
+ restoreFrom: options?.resumeFrom,
356
+ intervalInMs: options?.updateIntervalInMs,
357
+ resourceLocationConfig: "azure-async-operation"
358
+ });
359
+ await poller.poll();
360
+ return poller;
361
+ }
362
+ /**
363
+ * Updates a SQL virtual machine.
364
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
365
+ * value from the Azure Resource Manager API or the portal.
366
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
367
+ * @param parameters The SQL virtual machine.
368
+ * @param options The options parameters.
369
+ */
370
+ async beginUpdateAndWait(resourceGroupName, sqlVirtualMachineName, parameters, options) {
371
+ const poller = await this.beginUpdate(resourceGroupName, sqlVirtualMachineName, parameters, options);
372
+ return poller.pollUntilDone();
373
+ }
374
+ /**
375
+ * Gets all SQL virtual machines in a resource group.
376
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
377
+ * value from the Azure Resource Manager API or the portal.
378
+ * @param options The options parameters.
379
+ */
380
+ _listByResourceGroup(resourceGroupName, options) {
381
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
382
+ }
383
+ /**
384
+ * Starts SQL best practices Assessment on SQL virtual machine.
385
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
386
+ * value from the Azure Resource Manager API or the portal.
387
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
388
+ * @param options The options parameters.
389
+ */
390
+ async beginStartAssessment(resourceGroupName, sqlVirtualMachineName, options) {
391
+ const directSendOperation = async (args, spec) => {
392
+ return this.client.sendOperationRequest(args, spec);
393
+ };
394
+ const sendOperationFn = async (args, spec) => {
395
+ let currentRawResponse = undefined;
396
+ const providedCallback = args.options?.onResponse;
397
+ const callback = (rawResponse, flatResponse) => {
398
+ currentRawResponse = rawResponse;
399
+ providedCallback?.(rawResponse, flatResponse);
400
+ };
401
+ const updatedArgs = {
402
+ ...args,
403
+ options: {
404
+ ...args.options,
405
+ onResponse: callback
406
+ }
407
+ };
408
+ const flatResponse = await directSendOperation(updatedArgs, spec);
409
+ return {
410
+ flatResponse,
411
+ rawResponse: {
412
+ statusCode: currentRawResponse.status,
413
+ body: currentRawResponse.parsedBody,
414
+ headers: currentRawResponse.headers.toJSON()
415
+ }
416
+ };
417
+ };
418
+ const lro = (0, lroImpl_js_1.createLroSpec)({
419
+ sendOperationFn,
420
+ args: { resourceGroupName, sqlVirtualMachineName, options },
421
+ spec: startAssessmentOperationSpec
422
+ });
423
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
424
+ restoreFrom: options?.resumeFrom,
425
+ intervalInMs: options?.updateIntervalInMs,
426
+ resourceLocationConfig: "location"
427
+ });
428
+ await poller.poll();
429
+ return poller;
430
+ }
431
+ /**
432
+ * Starts SQL best practices Assessment on SQL virtual machine.
433
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
434
+ * value from the Azure Resource Manager API or the portal.
435
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
436
+ * @param options The options parameters.
437
+ */
438
+ async beginStartAssessmentAndWait(resourceGroupName, sqlVirtualMachineName, options) {
439
+ const poller = await this.beginStartAssessment(resourceGroupName, sqlVirtualMachineName, options);
440
+ return poller.pollUntilDone();
441
+ }
442
+ /**
443
+ * Uninstalls and reinstalls the SQL IaaS Extension.
444
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
445
+ * value from the Azure Resource Manager API or the portal.
446
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
447
+ * @param options The options parameters.
448
+ */
449
+ async beginRedeploy(resourceGroupName, sqlVirtualMachineName, options) {
450
+ const directSendOperation = async (args, spec) => {
451
+ return this.client.sendOperationRequest(args, spec);
452
+ };
453
+ const sendOperationFn = async (args, spec) => {
454
+ let currentRawResponse = undefined;
455
+ const providedCallback = args.options?.onResponse;
456
+ const callback = (rawResponse, flatResponse) => {
457
+ currentRawResponse = rawResponse;
458
+ providedCallback?.(rawResponse, flatResponse);
459
+ };
460
+ const updatedArgs = {
461
+ ...args,
462
+ options: {
463
+ ...args.options,
464
+ onResponse: callback
465
+ }
466
+ };
467
+ const flatResponse = await directSendOperation(updatedArgs, spec);
468
+ return {
469
+ flatResponse,
470
+ rawResponse: {
471
+ statusCode: currentRawResponse.status,
472
+ body: currentRawResponse.parsedBody,
473
+ headers: currentRawResponse.headers.toJSON()
474
+ }
475
+ };
476
+ };
477
+ const lro = (0, lroImpl_js_1.createLroSpec)({
478
+ sendOperationFn,
479
+ args: { resourceGroupName, sqlVirtualMachineName, options },
480
+ spec: redeployOperationSpec
481
+ });
482
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
483
+ restoreFrom: options?.resumeFrom,
484
+ intervalInMs: options?.updateIntervalInMs,
485
+ resourceLocationConfig: "location"
486
+ });
487
+ await poller.poll();
488
+ return poller;
489
+ }
490
+ /**
491
+ * Uninstalls and reinstalls the SQL IaaS Extension.
492
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
493
+ * value from the Azure Resource Manager API or the portal.
494
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
495
+ * @param options The options parameters.
496
+ */
497
+ async beginRedeployAndWait(resourceGroupName, sqlVirtualMachineName, options) {
498
+ const poller = await this.beginRedeploy(resourceGroupName, sqlVirtualMachineName, options);
499
+ return poller.pollUntilDone();
500
+ }
501
+ /**
502
+ * ListBySqlVmGroupNext
503
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
504
+ * value from the Azure Resource Manager API or the portal.
505
+ * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
506
+ * @param nextLink The nextLink from the previous successful call to the ListBySqlVmGroup method.
507
+ * @param options The options parameters.
508
+ */
509
+ _listBySqlVmGroupNext(resourceGroupName, sqlVirtualMachineGroupName, nextLink, options) {
510
+ return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineGroupName, nextLink, options }, listBySqlVmGroupNextOperationSpec);
511
+ }
512
+ /**
513
+ * ListNext
514
+ * @param nextLink The nextLink from the previous successful call to the List method.
515
+ * @param options The options parameters.
516
+ */
517
+ _listNext(nextLink, options) {
518
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
519
+ }
520
+ /**
521
+ * ListByResourceGroupNext
522
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
523
+ * value from the Azure Resource Manager API or the portal.
524
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
525
+ * @param options The options parameters.
526
+ */
527
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
528
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
529
+ }
530
+ }
531
+ exports.SqlVirtualMachinesImpl = SqlVirtualMachinesImpl;
532
+ // Operation Specifications
533
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
534
+ const listBySqlVmGroupOperationSpec = {
535
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/sqlVirtualMachines",
536
+ httpMethod: "GET",
537
+ responses: {
538
+ 200: {
539
+ bodyMapper: Mappers.SqlVirtualMachineListResult
540
+ },
541
+ default: {
542
+ bodyMapper: Mappers.ErrorResponse
543
+ }
544
+ },
545
+ queryParameters: [Parameters.apiVersion],
546
+ urlParameters: [
547
+ Parameters.$host,
548
+ Parameters.resourceGroupName,
549
+ Parameters.sqlVirtualMachineGroupName,
550
+ Parameters.subscriptionId
551
+ ],
552
+ headerParameters: [Parameters.accept],
553
+ serializer
554
+ };
555
+ const listOperationSpec = {
556
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines",
557
+ httpMethod: "GET",
558
+ responses: {
559
+ 200: {
560
+ bodyMapper: Mappers.SqlVirtualMachineListResult
561
+ },
562
+ default: {
563
+ bodyMapper: Mappers.ErrorResponse
564
+ }
565
+ },
566
+ queryParameters: [Parameters.apiVersion],
567
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
568
+ headerParameters: [Parameters.accept],
569
+ serializer
570
+ };
571
+ const getOperationSpec = {
572
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
573
+ httpMethod: "GET",
574
+ responses: {
575
+ 200: {
576
+ bodyMapper: Mappers.SqlVirtualMachine
577
+ },
578
+ default: {
579
+ bodyMapper: Mappers.ErrorResponse
580
+ }
581
+ },
582
+ queryParameters: [Parameters.expand, Parameters.apiVersion],
583
+ urlParameters: [
584
+ Parameters.$host,
585
+ Parameters.resourceGroupName,
586
+ Parameters.subscriptionId,
587
+ Parameters.sqlVirtualMachineName
588
+ ],
589
+ headerParameters: [Parameters.accept],
590
+ serializer
591
+ };
592
+ const createOrUpdateOperationSpec = {
593
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
594
+ httpMethod: "PUT",
595
+ responses: {
596
+ 200: {
597
+ bodyMapper: Mappers.SqlVirtualMachine
598
+ },
599
+ 201: {
600
+ bodyMapper: Mappers.SqlVirtualMachine
601
+ },
602
+ 202: {
603
+ bodyMapper: Mappers.SqlVirtualMachine
604
+ },
605
+ 204: {
606
+ bodyMapper: Mappers.SqlVirtualMachine
607
+ },
608
+ default: {
609
+ bodyMapper: Mappers.ErrorResponse
610
+ }
611
+ },
612
+ requestBody: Parameters.parameters3,
613
+ queryParameters: [Parameters.apiVersion],
614
+ urlParameters: [
615
+ Parameters.$host,
616
+ Parameters.resourceGroupName,
617
+ Parameters.subscriptionId,
618
+ Parameters.sqlVirtualMachineName
619
+ ],
620
+ headerParameters: [Parameters.accept, Parameters.contentType],
621
+ mediaType: "json",
622
+ serializer
623
+ };
624
+ const deleteOperationSpec = {
625
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
626
+ httpMethod: "DELETE",
627
+ responses: {
628
+ 200: {},
629
+ 201: {},
630
+ 202: {},
631
+ 204: {},
632
+ default: {
633
+ bodyMapper: Mappers.ErrorResponse
634
+ }
635
+ },
636
+ queryParameters: [Parameters.apiVersion],
637
+ urlParameters: [
638
+ Parameters.$host,
639
+ Parameters.resourceGroupName,
640
+ Parameters.subscriptionId,
641
+ Parameters.sqlVirtualMachineName
642
+ ],
643
+ headerParameters: [Parameters.accept],
644
+ serializer
645
+ };
646
+ const updateOperationSpec = {
647
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
648
+ httpMethod: "PATCH",
649
+ responses: {
650
+ 200: {
651
+ bodyMapper: Mappers.SqlVirtualMachine
652
+ },
653
+ 201: {
654
+ bodyMapper: Mappers.SqlVirtualMachine
655
+ },
656
+ 202: {
657
+ bodyMapper: Mappers.SqlVirtualMachine
658
+ },
659
+ 204: {
660
+ bodyMapper: Mappers.SqlVirtualMachine
661
+ },
662
+ default: {
663
+ bodyMapper: Mappers.ErrorResponse
664
+ }
665
+ },
666
+ requestBody: Parameters.parameters4,
667
+ queryParameters: [Parameters.apiVersion],
668
+ urlParameters: [
669
+ Parameters.$host,
670
+ Parameters.resourceGroupName,
671
+ Parameters.subscriptionId,
672
+ Parameters.sqlVirtualMachineName
673
+ ],
674
+ headerParameters: [Parameters.accept, Parameters.contentType],
675
+ mediaType: "json",
676
+ serializer
677
+ };
678
+ const listByResourceGroupOperationSpec = {
679
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines",
680
+ httpMethod: "GET",
681
+ responses: {
682
+ 200: {
683
+ bodyMapper: Mappers.SqlVirtualMachineListResult
684
+ },
685
+ default: {
686
+ bodyMapper: Mappers.ErrorResponse
687
+ }
688
+ },
689
+ queryParameters: [Parameters.apiVersion],
690
+ urlParameters: [
691
+ Parameters.$host,
692
+ Parameters.resourceGroupName,
693
+ Parameters.subscriptionId
694
+ ],
695
+ headerParameters: [Parameters.accept],
696
+ serializer
697
+ };
698
+ const startAssessmentOperationSpec = {
699
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/startAssessment",
700
+ httpMethod: "POST",
701
+ responses: {
702
+ 200: {},
703
+ 201: {},
704
+ 202: {},
705
+ 204: {},
706
+ default: {
707
+ bodyMapper: Mappers.ErrorResponse
708
+ }
709
+ },
710
+ queryParameters: [Parameters.apiVersion],
711
+ urlParameters: [
712
+ Parameters.$host,
713
+ Parameters.resourceGroupName,
714
+ Parameters.subscriptionId,
715
+ Parameters.sqlVirtualMachineName
716
+ ],
717
+ headerParameters: [Parameters.accept],
718
+ serializer
719
+ };
720
+ const redeployOperationSpec = {
721
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/redeploy",
722
+ httpMethod: "POST",
723
+ responses: {
724
+ 200: {},
725
+ 201: {},
726
+ 202: {},
727
+ 204: {},
728
+ default: {
729
+ bodyMapper: Mappers.ErrorResponse
730
+ }
731
+ },
732
+ queryParameters: [Parameters.apiVersion],
733
+ urlParameters: [
734
+ Parameters.$host,
735
+ Parameters.resourceGroupName,
736
+ Parameters.subscriptionId,
737
+ Parameters.sqlVirtualMachineName
738
+ ],
739
+ headerParameters: [Parameters.accept],
740
+ serializer
741
+ };
742
+ const listBySqlVmGroupNextOperationSpec = {
743
+ path: "{nextLink}",
744
+ httpMethod: "GET",
745
+ responses: {
746
+ 200: {
747
+ bodyMapper: Mappers.SqlVirtualMachineListResult
748
+ },
749
+ default: {
750
+ bodyMapper: Mappers.ErrorResponse
751
+ }
752
+ },
753
+ urlParameters: [
754
+ Parameters.$host,
755
+ Parameters.resourceGroupName,
756
+ Parameters.sqlVirtualMachineGroupName,
757
+ Parameters.subscriptionId,
758
+ Parameters.nextLink
759
+ ],
760
+ headerParameters: [Parameters.accept],
761
+ serializer
762
+ };
763
+ const listNextOperationSpec = {
764
+ path: "{nextLink}",
765
+ httpMethod: "GET",
766
+ responses: {
767
+ 200: {
768
+ bodyMapper: Mappers.SqlVirtualMachineListResult
769
+ },
770
+ default: {
771
+ bodyMapper: Mappers.ErrorResponse
772
+ }
773
+ },
774
+ urlParameters: [
775
+ Parameters.$host,
776
+ Parameters.subscriptionId,
777
+ Parameters.nextLink
778
+ ],
779
+ headerParameters: [Parameters.accept],
780
+ serializer
781
+ };
782
+ const listByResourceGroupNextOperationSpec = {
783
+ path: "{nextLink}",
784
+ httpMethod: "GET",
785
+ responses: {
786
+ 200: {
787
+ bodyMapper: Mappers.SqlVirtualMachineListResult
788
+ },
789
+ default: {
790
+ bodyMapper: Mappers.ErrorResponse
791
+ }
792
+ },
793
+ urlParameters: [
794
+ Parameters.$host,
795
+ Parameters.resourceGroupName,
796
+ Parameters.subscriptionId,
797
+ Parameters.nextLink
798
+ ],
799
+ headerParameters: [Parameters.accept],
800
+ serializer
801
+ };
802
+ //# sourceMappingURL=sqlVirtualMachines.js.map