@azure/arm-sqlvirtualmachine 5.0.0-alpha.20250213.1 → 5.0.0-alpha.20250217.1

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