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