@azure/arm-sqlvirtualmachine 5.0.0-beta.1 → 5.0.0-beta.10

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 (415) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +35 -18
  3. package/dist/browser/api/availabilityGroupListeners/index.d.ts +3 -0
  4. package/dist/browser/api/availabilityGroupListeners/index.js +4 -0
  5. package/dist/browser/api/availabilityGroupListeners/index.js.map +1 -0
  6. package/dist/browser/api/availabilityGroupListeners/operations.d.ts +23 -0
  7. package/dist/browser/api/availabilityGroupListeners/operations.js +140 -0
  8. package/dist/browser/api/availabilityGroupListeners/operations.js.map +1 -0
  9. package/dist/browser/api/availabilityGroupListeners/options.d.ts +20 -0
  10. package/dist/browser/api/availabilityGroupListeners/options.js +4 -0
  11. package/dist/browser/api/availabilityGroupListeners/options.js.map +1 -0
  12. package/dist/browser/api/index.d.ts +3 -0
  13. package/dist/browser/api/index.js +4 -0
  14. package/dist/browser/api/index.js.map +1 -0
  15. package/dist/browser/api/operations/index.d.ts +3 -0
  16. package/dist/browser/api/operations/index.js +4 -0
  17. package/dist/browser/api/operations/index.js.map +1 -0
  18. package/dist/browser/api/operations/operations.d.ts +10 -0
  19. package/dist/browser/api/operations/operations.js +33 -0
  20. package/dist/browser/api/operations/operations.js.map +1 -0
  21. package/dist/browser/api/operations/options.d.ts +5 -0
  22. package/dist/browser/api/operations/options.js +4 -0
  23. package/dist/browser/api/operations/options.js.map +1 -0
  24. package/dist/browser/api/sqlVirtualMachineGroups/index.d.ts +3 -0
  25. package/dist/browser/api/sqlVirtualMachineGroups/index.js +4 -0
  26. package/dist/browser/api/sqlVirtualMachineGroups/index.js.map +1 -0
  27. package/dist/browser/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
  28. package/dist/browser/api/sqlVirtualMachineGroups/operations.js +199 -0
  29. package/dist/browser/api/sqlVirtualMachineGroups/operations.js.map +1 -0
  30. package/dist/browser/api/sqlVirtualMachineGroups/options.d.ts +26 -0
  31. package/dist/browser/api/sqlVirtualMachineGroups/options.js +4 -0
  32. package/dist/browser/api/sqlVirtualMachineGroups/options.js.map +1 -0
  33. package/dist/browser/api/sqlVirtualMachineManagementContext.d.ts +22 -0
  34. package/dist/browser/api/sqlVirtualMachineManagementContext.js +26 -0
  35. package/dist/browser/api/sqlVirtualMachineManagementContext.js.map +1 -0
  36. package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
  37. package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.js +4 -0
  38. package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  39. package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
  40. package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.js +44 -0
  41. package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.js.map +1 -0
  42. package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
  43. package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.js +4 -0
  44. package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.js.map +1 -0
  45. package/dist/browser/api/sqlVirtualMachines/index.d.ts +3 -0
  46. package/dist/browser/api/sqlVirtualMachines/index.js +4 -0
  47. package/dist/browser/api/sqlVirtualMachines/index.js.map +1 -0
  48. package/dist/browser/api/sqlVirtualMachines/operations.d.ts +47 -0
  49. package/dist/browser/api/sqlVirtualMachines/operations.js +329 -0
  50. package/dist/browser/api/sqlVirtualMachines/operations.js.map +1 -0
  51. package/dist/browser/api/sqlVirtualMachines/options.d.ts +46 -0
  52. package/dist/browser/api/sqlVirtualMachines/options.js +4 -0
  53. package/dist/browser/api/sqlVirtualMachines/options.js.map +1 -0
  54. package/dist/browser/classic/availabilityGroupListeners/index.d.ts +27 -0
  55. package/dist/browser/classic/availabilityGroupListeners/index.js +34 -0
  56. package/dist/browser/classic/availabilityGroupListeners/index.js.map +1 -0
  57. package/dist/browser/classic/index.d.ts +6 -0
  58. package/dist/browser/classic/index.js +4 -0
  59. package/dist/browser/classic/index.js.map +1 -0
  60. package/dist/browser/classic/operations/index.d.ts +11 -0
  61. package/dist/browser/classic/operations/index.js +14 -0
  62. package/dist/browser/classic/operations/index.js.map +1 -0
  63. package/dist/browser/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
  64. package/dist/browser/classic/sqlVirtualMachineGroups/index.js +44 -0
  65. package/dist/browser/classic/sqlVirtualMachineGroups/index.js.map +1 -0
  66. package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
  67. package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.js +23 -0
  68. package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  69. package/dist/browser/classic/sqlVirtualMachines/index.d.ts +55 -0
  70. package/dist/browser/classic/sqlVirtualMachines/index.js +72 -0
  71. package/dist/browser/classic/sqlVirtualMachines/index.js.map +1 -0
  72. package/dist/browser/index.d.ts +21 -0
  73. package/dist/browser/index.js +9 -0
  74. package/dist/browser/index.js.map +1 -0
  75. package/dist/browser/logger.d.ts +2 -0
  76. package/dist/browser/logger.js +5 -0
  77. package/dist/browser/logger.js.map +1 -0
  78. package/dist/browser/models/index.d.ts +3 -0
  79. package/dist/browser/models/index.js +4 -0
  80. package/dist/browser/models/index.js.map +1 -0
  81. package/dist/browser/models/models.d.ts +1249 -0
  82. package/dist/browser/models/models.js +1363 -0
  83. package/dist/browser/models/models.js.map +1 -0
  84. package/dist/browser/package.json +3 -0
  85. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  86. package/dist/browser/restorePollerHelpers.js +120 -0
  87. package/dist/browser/restorePollerHelpers.js.map +1 -0
  88. package/dist/browser/sqlVirtualMachineManagementClient.d.ts +27 -0
  89. package/dist/browser/sqlVirtualMachineManagementClient.js +49 -0
  90. package/dist/browser/sqlVirtualMachineManagementClient.js.map +1 -0
  91. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  92. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  93. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  94. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  95. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  96. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  97. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  98. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  99. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  100. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  101. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  102. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  103. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  104. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  105. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  106. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  107. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  108. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  109. package/dist/commonjs/api/availabilityGroupListeners/index.d.ts +3 -0
  110. package/dist/commonjs/api/availabilityGroupListeners/index.js +34 -0
  111. package/dist/commonjs/api/availabilityGroupListeners/index.js.map +7 -0
  112. package/dist/commonjs/api/availabilityGroupListeners/operations.d.ts +23 -0
  113. package/dist/commonjs/api/availabilityGroupListeners/operations.js +223 -0
  114. package/dist/commonjs/api/availabilityGroupListeners/operations.js.map +7 -0
  115. package/dist/commonjs/api/availabilityGroupListeners/options.d.ts +20 -0
  116. package/dist/commonjs/api/availabilityGroupListeners/options.js +16 -0
  117. package/dist/commonjs/api/availabilityGroupListeners/options.js.map +7 -0
  118. package/dist/commonjs/api/index.d.ts +3 -0
  119. package/dist/commonjs/api/index.js +28 -0
  120. package/dist/commonjs/api/index.js.map +7 -0
  121. package/dist/commonjs/api/operations/index.d.ts +3 -0
  122. package/dist/commonjs/api/operations/index.js +28 -0
  123. package/dist/commonjs/api/operations/index.js.map +7 -0
  124. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  125. package/dist/commonjs/api/operations/operations.js +70 -0
  126. package/dist/commonjs/api/operations/operations.js.map +7 -0
  127. package/dist/commonjs/api/operations/options.d.ts +5 -0
  128. package/dist/commonjs/api/operations/options.js +16 -0
  129. package/dist/commonjs/api/operations/options.js.map +7 -0
  130. package/dist/commonjs/api/sqlVirtualMachineGroups/index.d.ts +3 -0
  131. package/dist/commonjs/api/sqlVirtualMachineGroups/index.js +38 -0
  132. package/dist/commonjs/api/sqlVirtualMachineGroups/index.js.map +7 -0
  133. package/dist/commonjs/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
  134. package/dist/commonjs/api/sqlVirtualMachineGroups/operations.js +293 -0
  135. package/dist/commonjs/api/sqlVirtualMachineGroups/operations.js.map +7 -0
  136. package/dist/commonjs/api/sqlVirtualMachineGroups/options.d.ts +26 -0
  137. package/dist/commonjs/api/sqlVirtualMachineGroups/options.js +16 -0
  138. package/dist/commonjs/api/sqlVirtualMachineGroups/options.js.map +7 -0
  139. package/dist/commonjs/api/sqlVirtualMachineManagementContext.d.ts +22 -0
  140. package/dist/commonjs/api/sqlVirtualMachineManagementContext.js +47 -0
  141. package/dist/commonjs/api/sqlVirtualMachineManagementContext.js.map +7 -0
  142. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
  143. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.js +28 -0
  144. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.js.map +7 -0
  145. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
  146. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.js +75 -0
  147. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.js.map +7 -0
  148. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
  149. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.js +16 -0
  150. package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.js.map +7 -0
  151. package/dist/commonjs/api/sqlVirtualMachines/index.d.ts +3 -0
  152. package/dist/commonjs/api/sqlVirtualMachines/index.js +46 -0
  153. package/dist/commonjs/api/sqlVirtualMachines/index.js.map +7 -0
  154. package/dist/commonjs/api/sqlVirtualMachines/operations.d.ts +47 -0
  155. package/dist/commonjs/api/sqlVirtualMachines/operations.js +465 -0
  156. package/dist/commonjs/api/sqlVirtualMachines/operations.js.map +7 -0
  157. package/dist/commonjs/api/sqlVirtualMachines/options.d.ts +46 -0
  158. package/dist/commonjs/api/sqlVirtualMachines/options.js +16 -0
  159. package/dist/commonjs/api/sqlVirtualMachines/options.js.map +7 -0
  160. package/dist/commonjs/classic/availabilityGroupListeners/index.d.ts +27 -0
  161. package/dist/commonjs/classic/availabilityGroupListeners/index.js +103 -0
  162. package/dist/commonjs/classic/availabilityGroupListeners/index.js.map +7 -0
  163. package/dist/commonjs/classic/index.d.ts +6 -0
  164. package/dist/commonjs/classic/index.js +16 -0
  165. package/dist/commonjs/classic/index.js.map +7 -0
  166. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  167. package/dist/commonjs/classic/operations/index.js +38 -0
  168. package/dist/commonjs/classic/operations/index.js.map +7 -0
  169. package/dist/commonjs/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
  170. package/dist/commonjs/classic/sqlVirtualMachineGroups/index.js +92 -0
  171. package/dist/commonjs/classic/sqlVirtualMachineGroups/index.js.map +7 -0
  172. package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
  173. package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.js +59 -0
  174. package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.js.map +7 -0
  175. package/dist/commonjs/classic/sqlVirtualMachines/index.d.ts +55 -0
  176. package/dist/commonjs/classic/sqlVirtualMachines/index.js +120 -0
  177. package/dist/commonjs/classic/sqlVirtualMachines/index.js.map +7 -0
  178. package/dist/commonjs/index.d.ts +21 -0
  179. package/dist/commonjs/index.js +96 -0
  180. package/dist/commonjs/index.js.map +7 -0
  181. package/dist/commonjs/logger.d.ts +2 -0
  182. package/dist/commonjs/logger.js +29 -0
  183. package/dist/commonjs/logger.js.map +7 -0
  184. package/dist/commonjs/models/index.d.ts +3 -0
  185. package/dist/commonjs/models/index.js +82 -0
  186. package/dist/commonjs/models/index.js.map +7 -0
  187. package/dist/commonjs/models/models.d.ts +1249 -0
  188. package/dist/commonjs/models/models.js +1367 -0
  189. package/dist/commonjs/models/models.js.map +7 -0
  190. package/dist/commonjs/package.json +3 -0
  191. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  192. package/dist/commonjs/restorePollerHelpers.js +133 -0
  193. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  194. package/dist/commonjs/sqlVirtualMachineManagementClient.d.ts +27 -0
  195. package/dist/commonjs/sqlVirtualMachineManagementClient.js +70 -0
  196. package/dist/commonjs/sqlVirtualMachineManagementClient.js.map +7 -0
  197. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  198. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  199. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  200. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  201. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  202. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  203. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  204. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  205. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  206. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  207. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  208. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  209. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  210. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  211. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  212. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  213. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  214. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  215. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  216. package/dist/esm/api/availabilityGroupListeners/index.d.ts +3 -0
  217. package/dist/esm/api/availabilityGroupListeners/index.js +4 -0
  218. package/dist/esm/api/availabilityGroupListeners/index.js.map +1 -0
  219. package/dist/esm/api/availabilityGroupListeners/operations.d.ts +23 -0
  220. package/dist/esm/api/availabilityGroupListeners/operations.js +140 -0
  221. package/dist/esm/api/availabilityGroupListeners/operations.js.map +1 -0
  222. package/dist/esm/api/availabilityGroupListeners/options.d.ts +20 -0
  223. package/dist/esm/api/availabilityGroupListeners/options.js +4 -0
  224. package/dist/esm/api/availabilityGroupListeners/options.js.map +1 -0
  225. package/dist/esm/api/index.d.ts +3 -0
  226. package/dist/esm/api/index.js +4 -0
  227. package/dist/esm/api/index.js.map +1 -0
  228. package/dist/esm/api/operations/index.d.ts +3 -0
  229. package/dist/esm/api/operations/index.js +4 -0
  230. package/dist/esm/api/operations/index.js.map +1 -0
  231. package/dist/esm/api/operations/operations.d.ts +10 -0
  232. package/dist/esm/api/operations/operations.js +33 -0
  233. package/dist/esm/api/operations/operations.js.map +1 -0
  234. package/dist/esm/api/operations/options.d.ts +5 -0
  235. package/dist/esm/api/operations/options.js +4 -0
  236. package/dist/esm/api/operations/options.js.map +1 -0
  237. package/dist/esm/api/sqlVirtualMachineGroups/index.d.ts +3 -0
  238. package/dist/esm/api/sqlVirtualMachineGroups/index.js +4 -0
  239. package/dist/esm/api/sqlVirtualMachineGroups/index.js.map +1 -0
  240. package/dist/esm/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
  241. package/dist/esm/api/sqlVirtualMachineGroups/operations.js +199 -0
  242. package/dist/esm/api/sqlVirtualMachineGroups/operations.js.map +1 -0
  243. package/dist/esm/api/sqlVirtualMachineGroups/options.d.ts +26 -0
  244. package/dist/esm/api/sqlVirtualMachineGroups/options.js +4 -0
  245. package/dist/esm/api/sqlVirtualMachineGroups/options.js.map +1 -0
  246. package/dist/esm/api/sqlVirtualMachineManagementContext.d.ts +22 -0
  247. package/dist/esm/api/sqlVirtualMachineManagementContext.js +26 -0
  248. package/dist/esm/api/sqlVirtualMachineManagementContext.js.map +1 -0
  249. package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
  250. package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.js +4 -0
  251. package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  252. package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
  253. package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.js +44 -0
  254. package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.js.map +1 -0
  255. package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
  256. package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.js +4 -0
  257. package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.js.map +1 -0
  258. package/dist/esm/api/sqlVirtualMachines/index.d.ts +3 -0
  259. package/dist/esm/api/sqlVirtualMachines/index.js +4 -0
  260. package/dist/esm/api/sqlVirtualMachines/index.js.map +1 -0
  261. package/dist/esm/api/sqlVirtualMachines/operations.d.ts +47 -0
  262. package/dist/esm/api/sqlVirtualMachines/operations.js +329 -0
  263. package/dist/esm/api/sqlVirtualMachines/operations.js.map +1 -0
  264. package/dist/esm/api/sqlVirtualMachines/options.d.ts +46 -0
  265. package/dist/esm/api/sqlVirtualMachines/options.js +4 -0
  266. package/dist/esm/api/sqlVirtualMachines/options.js.map +1 -0
  267. package/dist/esm/classic/availabilityGroupListeners/index.d.ts +27 -0
  268. package/dist/esm/classic/availabilityGroupListeners/index.js +34 -0
  269. package/dist/esm/classic/availabilityGroupListeners/index.js.map +1 -0
  270. package/dist/esm/classic/index.d.ts +6 -0
  271. package/dist/esm/classic/index.js +4 -0
  272. package/dist/esm/classic/index.js.map +1 -0
  273. package/dist/esm/classic/operations/index.d.ts +11 -0
  274. package/dist/esm/classic/operations/index.js +14 -0
  275. package/dist/esm/classic/operations/index.js.map +1 -0
  276. package/dist/esm/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
  277. package/dist/esm/classic/sqlVirtualMachineGroups/index.js +44 -0
  278. package/dist/esm/classic/sqlVirtualMachineGroups/index.js.map +1 -0
  279. package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
  280. package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.js +23 -0
  281. package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
  282. package/dist/esm/classic/sqlVirtualMachines/index.d.ts +55 -0
  283. package/dist/esm/classic/sqlVirtualMachines/index.js +72 -0
  284. package/dist/esm/classic/sqlVirtualMachines/index.js.map +1 -0
  285. package/dist/esm/index.d.ts +21 -0
  286. package/dist/esm/index.js +9 -0
  287. package/dist/esm/index.js.map +1 -0
  288. package/dist/esm/logger.d.ts +2 -0
  289. package/dist/esm/logger.js +5 -0
  290. package/dist/esm/logger.js.map +1 -0
  291. package/dist/esm/models/index.d.ts +3 -0
  292. package/dist/esm/models/index.js +4 -0
  293. package/dist/esm/models/index.js.map +1 -0
  294. package/dist/esm/models/models.d.ts +1249 -0
  295. package/dist/esm/models/models.js +1363 -0
  296. package/dist/esm/models/models.js.map +1 -0
  297. package/dist/esm/package.json +3 -0
  298. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  299. package/dist/esm/restorePollerHelpers.js +120 -0
  300. package/dist/esm/restorePollerHelpers.js.map +1 -0
  301. package/dist/esm/sqlVirtualMachineManagementClient.d.ts +27 -0
  302. package/dist/esm/sqlVirtualMachineManagementClient.js +49 -0
  303. package/dist/esm/sqlVirtualMachineManagementClient.js.map +1 -0
  304. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  305. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  306. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  307. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  308. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  309. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  310. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  311. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  312. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  313. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  314. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  315. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  316. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  317. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  318. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  319. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  320. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  321. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  322. package/package.json +215 -82
  323. package/CHANGELOG.md +0 -14
  324. package/dist/index.js +0 -2827
  325. package/dist/index.js.map +0 -1
  326. package/dist/index.min.js +0 -1
  327. package/dist/index.min.js.map +0 -1
  328. package/dist-esm/src/index.d.ts +0 -5
  329. package/dist-esm/src/index.d.ts.map +0 -1
  330. package/dist-esm/src/index.js +0 -12
  331. package/dist-esm/src/index.js.map +0 -1
  332. package/dist-esm/src/lroImpl.d.ts +0 -16
  333. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  334. package/dist-esm/src/lroImpl.js +0 -29
  335. package/dist-esm/src/lroImpl.js.map +0 -1
  336. package/dist-esm/src/models/index.d.ts +0 -783
  337. package/dist-esm/src/models/index.d.ts.map +0 -1
  338. package/dist-esm/src/models/index.js +0 -103
  339. package/dist-esm/src/models/index.js.map +0 -1
  340. package/dist-esm/src/models/mappers.d.ts +0 -31
  341. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  342. package/dist-esm/src/models/mappers.js +0 -972
  343. package/dist-esm/src/models/mappers.js.map +0 -1
  344. package/dist-esm/src/models/parameters.d.ts +0 -18
  345. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  346. package/dist-esm/src/models/parameters.js +0 -143
  347. package/dist-esm/src/models/parameters.js.map +0 -1
  348. package/dist-esm/src/operations/availabilityGroupListeners.d.ts +0 -89
  349. package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +0 -1
  350. package/dist-esm/src/operations/availabilityGroupListeners.js +0 -338
  351. package/dist-esm/src/operations/availabilityGroupListeners.js.map +0 -1
  352. package/dist-esm/src/operations/index.d.ts +0 -5
  353. package/dist-esm/src/operations/index.d.ts.map +0 -1
  354. package/dist-esm/src/operations/index.js +0 -12
  355. package/dist-esm/src/operations/index.js.map +0 -1
  356. package/dist-esm/src/operations/operations.d.ts +0 -32
  357. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  358. package/dist-esm/src/operations/operations.js +0 -116
  359. package/dist-esm/src/operations/operations.js.map +0 -1
  360. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +0 -117
  361. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  362. package/dist-esm/src/operations/sqlVirtualMachineGroups.js +0 -487
  363. package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +0 -1
  364. package/dist-esm/src/operations/sqlVirtualMachines.d.ts +0 -144
  365. package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +0 -1
  366. package/dist-esm/src/operations/sqlVirtualMachines.js +0 -598
  367. package/dist-esm/src/operations/sqlVirtualMachines.js.map +0 -1
  368. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +0 -62
  369. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
  370. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js +0 -9
  371. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
  372. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  373. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  374. package/dist-esm/src/operationsInterfaces/index.js +0 -12
  375. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  376. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  377. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  378. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  379. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  380. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +0 -79
  381. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
  382. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js +0 -9
  383. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
  384. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +0 -87
  385. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
  386. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js +0 -9
  387. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
  388. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +0 -21
  389. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  390. package/dist-esm/src/sqlVirtualMachineManagementClient.js +0 -54
  391. package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +0 -1
  392. package/dist-esm/test/sampleTest.d.ts +0 -2
  393. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  394. package/dist-esm/test/sampleTest.js +0 -40
  395. package/dist-esm/test/sampleTest.js.map +0 -1
  396. package/review/arm-sqlvirtualmachine.api.md +0 -678
  397. package/rollup.config.js +0 -188
  398. package/src/index.ts +0 -12
  399. package/src/lroImpl.ts +0 -34
  400. package/src/models/index.ts +0 -906
  401. package/src/models/mappers.ts +0 -1040
  402. package/src/models/parameters.ts +0 -170
  403. package/src/operations/availabilityGroupListeners.ts +0 -484
  404. package/src/operations/index.ts +0 -12
  405. package/src/operations/operations.ts +0 -133
  406. package/src/operations/sqlVirtualMachineGroups.ts +0 -658
  407. package/src/operations/sqlVirtualMachines.ts +0 -812
  408. package/src/operationsInterfaces/availabilityGroupListeners.ts +0 -115
  409. package/src/operationsInterfaces/index.ts +0 -12
  410. package/src/operationsInterfaces/operations.ts +0 -22
  411. package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +0 -147
  412. package/src/operationsInterfaces/sqlVirtualMachines.ts +0 -160
  413. package/src/sqlVirtualMachineManagementClient.ts +0 -91
  414. package/tsconfig.json +0 -19
  415. package/types/arm-sqlvirtualmachine.d.ts +0 -1141
@@ -0,0 +1,1249 @@
1
+ /**
2
+ * This file contains only generated model types and their (de)serializers.
3
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
+ */
5
+ /** Virtual machine resource id for response. */
6
+ export interface _OperationListResult {
7
+ /** The Operation items on this page */
8
+ readonly value: Operation[];
9
+ /** The link to the next page of items */
10
+ readonly nextLink?: string;
11
+ }
12
+ export declare function _operationListResultDeserializer(item: any): _OperationListResult;
13
+ export declare function operationArrayDeserializer(result: Array<Operation>): any[];
14
+ /** Result of the request to list SQL operations. */
15
+ export interface Operation {
16
+ /** The name of the operation being performed on this particular object." */
17
+ readonly name?: string;
18
+ /** he localized display information for this particular operation / action. */
19
+ readonly display?: OperationDisplay;
20
+ /** The intended executor of the operation." */
21
+ readonly origin?: OperationOrigin;
22
+ /** Additional descriptions for the operation. */
23
+ readonly properties?: Record<string, Record<string, any>>;
24
+ }
25
+ export declare function operationDeserializer(item: any): Operation;
26
+ /** Display metadata associated with the operation. */
27
+ export interface OperationDisplay {
28
+ /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
29
+ readonly provider?: string;
30
+ /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
31
+ readonly resource?: string;
32
+ /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
33
+ readonly operation?: string;
34
+ /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
35
+ readonly description?: string;
36
+ }
37
+ export declare function operationDisplayDeserializer(item: any): OperationDisplay;
38
+ /** The intended executor of the operation. */
39
+ export declare enum KnownOperationOrigin {
40
+ /** user */
41
+ User = "user",
42
+ /** system */
43
+ System = "system"
44
+ }
45
+ /**
46
+ * The intended executor of the operation. \
47
+ * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
48
+ * this enum contains the known values that the service supports.
49
+ * ### Known values supported by the service
50
+ * **user** \
51
+ * **system**
52
+ */
53
+ export type OperationOrigin = string;
54
+ export declare function _operationPropertyRecordDeserializer(item: Record<string, any>): Record<string, _OperationProperty>;
55
+ /** model interface _OperationProperty */
56
+ export interface _OperationProperty {
57
+ }
58
+ export declare function _operationPropertyDeserializer(item: any): _OperationProperty;
59
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
60
+ export interface ErrorResponse {
61
+ /** The error object. */
62
+ error?: ErrorDetail;
63
+ }
64
+ export declare function errorResponseDeserializer(item: any): ErrorResponse;
65
+ /** The error detail. */
66
+ export interface ErrorDetail {
67
+ /** The error code. */
68
+ readonly code?: string;
69
+ /** The error message. */
70
+ readonly message?: string;
71
+ /** The error target. */
72
+ readonly target?: string;
73
+ /** The error details. */
74
+ readonly details?: ErrorDetail[];
75
+ /** The error additional info. */
76
+ readonly additionalInfo?: ErrorAdditionalInfo[];
77
+ }
78
+ export declare function errorDetailDeserializer(item: any): ErrorDetail;
79
+ export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
80
+ export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
81
+ /** The resource management error additional info. */
82
+ export interface ErrorAdditionalInfo {
83
+ /** The additional info type. */
84
+ readonly type?: string;
85
+ /** The additional info. */
86
+ readonly info?: any;
87
+ }
88
+ export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
89
+ /** A SQL Server availability group listener. */
90
+ export interface AvailabilityGroupListener extends ProxyResource {
91
+ /** Provisioning state to track the async operation status. */
92
+ readonly provisioningState?: string;
93
+ /** Name of the availability group. */
94
+ availabilityGroupName?: string;
95
+ /** List of load balancer configurations for an availability group listener. */
96
+ loadBalancerConfigurations?: LoadBalancerConfiguration[];
97
+ /** List of multi subnet IP configurations for an AG listener. */
98
+ multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];
99
+ /** Create a default availability group if it does not exist. */
100
+ createDefaultAvailabilityGroupIfNotExist?: boolean;
101
+ /** Listener port. */
102
+ port?: number;
103
+ /** Availability Group configuration. */
104
+ availabilityGroupConfiguration?: AgConfiguration;
105
+ }
106
+ export declare function availabilityGroupListenerSerializer(item: AvailabilityGroupListener): any;
107
+ export declare function availabilityGroupListenerDeserializer(item: any): AvailabilityGroupListener;
108
+ /** The properties of an availability group listener. */
109
+ export interface AvailabilityGroupListenerProperties {
110
+ /** Provisioning state to track the async operation status. */
111
+ readonly provisioningState?: string;
112
+ /** Name of the availability group. */
113
+ availabilityGroupName?: string;
114
+ /** List of load balancer configurations for an availability group listener. */
115
+ loadBalancerConfigurations?: LoadBalancerConfiguration[];
116
+ /** List of multi subnet IP configurations for an AG listener. */
117
+ multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];
118
+ /** Create a default availability group if it does not exist. */
119
+ createDefaultAvailabilityGroupIfNotExist?: boolean;
120
+ /** Listener port. */
121
+ port?: number;
122
+ /** Availability Group configuration. */
123
+ availabilityGroupConfiguration?: AgConfiguration;
124
+ }
125
+ export declare function availabilityGroupListenerPropertiesSerializer(item: AvailabilityGroupListenerProperties): any;
126
+ export declare function availabilityGroupListenerPropertiesDeserializer(item: any): AvailabilityGroupListenerProperties;
127
+ export declare function loadBalancerConfigurationArraySerializer(result: Array<LoadBalancerConfiguration>): any[];
128
+ export declare function loadBalancerConfigurationArrayDeserializer(result: Array<LoadBalancerConfiguration>): any[];
129
+ /** A load balancer configuration for an availability group listener. */
130
+ export interface LoadBalancerConfiguration {
131
+ /** Private IP address. */
132
+ privateIpAddress?: PrivateIPAddress;
133
+ /** Resource id of the public IP. */
134
+ publicIpAddressResourceId?: string;
135
+ /** Resource id of the load balancer. */
136
+ loadBalancerResourceId?: string;
137
+ /** Probe port. */
138
+ probePort?: number;
139
+ /** List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener. */
140
+ sqlVirtualMachineInstances?: string[];
141
+ }
142
+ export declare function loadBalancerConfigurationSerializer(item: LoadBalancerConfiguration): any;
143
+ export declare function loadBalancerConfigurationDeserializer(item: any): LoadBalancerConfiguration;
144
+ /** A private IP address bound to the availability group listener. */
145
+ export interface PrivateIPAddress {
146
+ /** Private IP address bound to the availability group listener. */
147
+ ipAddress?: string;
148
+ /** Subnet used to include private IP. */
149
+ subnetResourceId?: string;
150
+ }
151
+ export declare function privateIPAddressSerializer(item: PrivateIPAddress): any;
152
+ export declare function privateIPAddressDeserializer(item: any): PrivateIPAddress;
153
+ export declare function multiSubnetIpConfigurationArraySerializer(result: Array<MultiSubnetIpConfiguration>): any[];
154
+ export declare function multiSubnetIpConfigurationArrayDeserializer(result: Array<MultiSubnetIpConfiguration>): any[];
155
+ /** Multi subnet ip configuration for an availability group listener. */
156
+ export interface MultiSubnetIpConfiguration {
157
+ /** Private IP address. */
158
+ privateIpAddress: PrivateIPAddress;
159
+ /** SQL virtual machine instance resource id that are enrolled into the availability group listener. */
160
+ sqlVirtualMachineInstance: string;
161
+ }
162
+ export declare function multiSubnetIpConfigurationSerializer(item: MultiSubnetIpConfiguration): any;
163
+ export declare function multiSubnetIpConfigurationDeserializer(item: any): MultiSubnetIpConfiguration;
164
+ /** Availability group configuration. */
165
+ export interface AgConfiguration {
166
+ /** Replica configurations. */
167
+ replicas?: AgReplica[];
168
+ }
169
+ export declare function agConfigurationSerializer(item: AgConfiguration): any;
170
+ export declare function agConfigurationDeserializer(item: any): AgConfiguration;
171
+ export declare function agReplicaArraySerializer(result: Array<AgReplica>): any[];
172
+ export declare function agReplicaArrayDeserializer(result: Array<AgReplica>): any[];
173
+ /** Availability group replica configuration. */
174
+ export interface AgReplica {
175
+ /** Sql VirtualMachine Instance Id. */
176
+ sqlVirtualMachineInstanceId?: string;
177
+ /** Replica Role in availability group. */
178
+ role?: Role;
179
+ /** Replica commit mode in availability group. */
180
+ commit?: Commit;
181
+ /** Replica failover mode in availability group. */
182
+ failover?: Failover;
183
+ /** Replica readable secondary mode in availability group. */
184
+ readableSecondary?: ReadableSecondary;
185
+ }
186
+ export declare function agReplicaSerializer(item: AgReplica): any;
187
+ export declare function agReplicaDeserializer(item: any): AgReplica;
188
+ /** Replica Role in availability group. */
189
+ export declare enum KnownRole {
190
+ /** Primary */
191
+ Primary = "Primary",
192
+ /** Secondary */
193
+ Secondary = "Secondary"
194
+ }
195
+ /**
196
+ * Replica Role in availability group. \
197
+ * {@link KnownRole} can be used interchangeably with Role,
198
+ * this enum contains the known values that the service supports.
199
+ * ### Known values supported by the service
200
+ * **Primary** \
201
+ * **Secondary**
202
+ */
203
+ export type Role = string;
204
+ /** Replica commit mode in availability group. */
205
+ export declare enum KnownCommit {
206
+ /** Synchronous_Commit */
207
+ SynchronousCommit = "Synchronous_Commit",
208
+ /** Asynchronous_Commit */
209
+ AsynchronousCommit = "Asynchronous_Commit"
210
+ }
211
+ /**
212
+ * Replica commit mode in availability group. \
213
+ * {@link KnownCommit} can be used interchangeably with Commit,
214
+ * this enum contains the known values that the service supports.
215
+ * ### Known values supported by the service
216
+ * **Synchronous_Commit** \
217
+ * **Asynchronous_Commit**
218
+ */
219
+ export type Commit = string;
220
+ /** Replica failover mode in availability group. */
221
+ export declare enum KnownFailover {
222
+ /** Automatic */
223
+ Automatic = "Automatic",
224
+ /** Manual */
225
+ Manual = "Manual"
226
+ }
227
+ /**
228
+ * Replica failover mode in availability group. \
229
+ * {@link KnownFailover} can be used interchangeably with Failover,
230
+ * this enum contains the known values that the service supports.
231
+ * ### Known values supported by the service
232
+ * **Automatic** \
233
+ * **Manual**
234
+ */
235
+ export type Failover = string;
236
+ /** Replica readable secondary mode in availability group. */
237
+ export declare enum KnownReadableSecondary {
238
+ /** No */
239
+ NO = "No",
240
+ /** All */
241
+ ALL = "All",
242
+ /** Read_Only */
243
+ ReadOnly = "Read_Only"
244
+ }
245
+ /**
246
+ * Replica readable secondary mode in availability group. \
247
+ * {@link KnownReadableSecondary} can be used interchangeably with ReadableSecondary,
248
+ * this enum contains the known values that the service supports.
249
+ * ### Known values supported by the service
250
+ * **No** \
251
+ * **All** \
252
+ * **Read_Only**
253
+ */
254
+ export type ReadableSecondary = string;
255
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
256
+ export interface ProxyResource extends Resource {
257
+ }
258
+ export declare function proxyResourceSerializer(_item: ProxyResource): any;
259
+ export declare function proxyResourceDeserializer(item: any): ProxyResource;
260
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
261
+ export interface Resource {
262
+ /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
263
+ readonly id?: string;
264
+ /** The name of the resource */
265
+ readonly name?: string;
266
+ /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
267
+ readonly type?: string;
268
+ /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
269
+ readonly systemData?: SystemData;
270
+ }
271
+ export declare function resourceSerializer(_item: Resource): any;
272
+ export declare function resourceDeserializer(item: any): Resource;
273
+ /** Metadata pertaining to creation and last modification of the resource. */
274
+ export interface SystemData {
275
+ /** The identity that created the resource. */
276
+ createdBy?: string;
277
+ /** The type of identity that created the resource. */
278
+ createdByType?: CreatedByType;
279
+ /** The timestamp of resource creation (UTC). */
280
+ createdAt?: Date;
281
+ /** The identity that last modified the resource. */
282
+ lastModifiedBy?: string;
283
+ /** The type of identity that last modified the resource. */
284
+ lastModifiedByType?: CreatedByType;
285
+ /** The timestamp of resource last modification (UTC) */
286
+ lastModifiedAt?: Date;
287
+ }
288
+ export declare function systemDataDeserializer(item: any): SystemData;
289
+ /** The kind of entity that created the resource. */
290
+ export declare enum KnownCreatedByType {
291
+ /** The entity was created by a user. */
292
+ User = "User",
293
+ /** The entity was created by an application. */
294
+ Application = "Application",
295
+ /** The entity was created by a managed identity. */
296
+ ManagedIdentity = "ManagedIdentity",
297
+ /** The entity was created by a key. */
298
+ Key = "Key"
299
+ }
300
+ /**
301
+ * The kind of entity that created the resource. \
302
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
303
+ * this enum contains the known values that the service supports.
304
+ * ### Known values supported by the service
305
+ * **User**: The entity was created by a user. \
306
+ * **Application**: The entity was created by an application. \
307
+ * **ManagedIdentity**: The entity was created by a managed identity. \
308
+ * **Key**: The entity was created by a key.
309
+ */
310
+ export type CreatedByType = string;
311
+ /** The response of a AvailabilityGroupListener list operation. */
312
+ export interface _AvailabilityGroupListenerListResult {
313
+ /** The AvailabilityGroupListener items on this page */
314
+ readonly value: AvailabilityGroupListener[];
315
+ /** The link to the next page of items */
316
+ readonly nextLink?: string;
317
+ }
318
+ export declare function _availabilityGroupListenerListResultDeserializer(item: any): _AvailabilityGroupListenerListResult;
319
+ export declare function availabilityGroupListenerArraySerializer(result: Array<AvailabilityGroupListener>): any[];
320
+ export declare function availabilityGroupListenerArrayDeserializer(result: Array<AvailabilityGroupListener>): any[];
321
+ /** A SQL virtual machine. */
322
+ export interface SqlVirtualMachine extends TrackedResource {
323
+ /** DO NOT USE. This value will be deprecated. Azure Active Directory identity of the server. */
324
+ identity?: ResourceIdentity;
325
+ /** ARM Resource id of underlying virtual machine created from SQL marketplace image. */
326
+ virtualMachineResourceId?: string;
327
+ /** Provisioning state to track the async operation status. */
328
+ readonly provisioningState?: string;
329
+ /** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */
330
+ sqlImageOffer?: string;
331
+ /** SQL Server license type. */
332
+ sqlServerLicenseType?: SqlServerLicenseType;
333
+ /** SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */
334
+ sqlManagement?: SqlManagementMode;
335
+ /** SQL IaaS Agent least privilege mode. */
336
+ leastPrivilegeMode?: LeastPrivilegeMode;
337
+ /** SQL Server edition type. */
338
+ sqlImageSku?: SqlImageSku;
339
+ /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
340
+ sqlVirtualMachineGroupResourceId?: string;
341
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
342
+ wsfcDomainCredentials?: WsfcDomainCredentials;
343
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
344
+ wsfcStaticIp?: string;
345
+ /** Auto patching settings for applying critical security updates to SQL virtual machine. */
346
+ autoPatchingSettings?: AutoPatchingSettings;
347
+ /** Auto backup settings for SQL Server. */
348
+ autoBackupSettings?: AutoBackupSettings;
349
+ /** Key vault credential settings. */
350
+ keyVaultCredentialSettings?: KeyVaultCredentialSettings;
351
+ /** SQL Server configuration management settings. */
352
+ serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
353
+ /** Storage Configuration Settings. */
354
+ storageConfigurationSettings?: StorageConfigurationSettings;
355
+ /** Troubleshooting status */
356
+ readonly troubleshootingStatus?: TroubleshootingStatus;
357
+ /** SQL best practices Assessment Settings. */
358
+ assessmentSettings?: AssessmentSettings;
359
+ /** Enable automatic upgrade of Sql IaaS extension Agent. */
360
+ enableAutomaticUpgrade?: boolean;
361
+ /** Additional VM Patching solution enabled on the Virtual Machine */
362
+ readonly additionalVmPatch?: AdditionalOsPatch;
363
+ /** Virtual Machine Identity details used for Sql IaaS extension configurations. */
364
+ virtualMachineIdentitySettings?: VirtualMachineIdentity;
365
+ /** Operating System of the current SQL Virtual Machine. */
366
+ readonly osType?: OsType;
367
+ }
368
+ export declare function sqlVirtualMachineSerializer(item: SqlVirtualMachine): any;
369
+ export declare function sqlVirtualMachineDeserializer(item: any): SqlVirtualMachine;
370
+ /** The SQL virtual machine properties. */
371
+ export interface SqlVirtualMachineProperties {
372
+ /** ARM Resource id of underlying virtual machine created from SQL marketplace image. */
373
+ virtualMachineResourceId?: string;
374
+ /** Provisioning state to track the async operation status. */
375
+ readonly provisioningState?: string;
376
+ /** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */
377
+ sqlImageOffer?: string;
378
+ /** SQL Server license type. */
379
+ sqlServerLicenseType?: SqlServerLicenseType;
380
+ /** SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */
381
+ sqlManagement?: SqlManagementMode;
382
+ /** SQL IaaS Agent least privilege mode. */
383
+ leastPrivilegeMode?: LeastPrivilegeMode;
384
+ /** SQL Server edition type. */
385
+ sqlImageSku?: SqlImageSku;
386
+ /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
387
+ sqlVirtualMachineGroupResourceId?: string;
388
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
389
+ wsfcDomainCredentials?: WsfcDomainCredentials;
390
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
391
+ wsfcStaticIp?: string;
392
+ /** Auto patching settings for applying critical security updates to SQL virtual machine. */
393
+ autoPatchingSettings?: AutoPatchingSettings;
394
+ /** Auto backup settings for SQL Server. */
395
+ autoBackupSettings?: AutoBackupSettings;
396
+ /** Key vault credential settings. */
397
+ keyVaultCredentialSettings?: KeyVaultCredentialSettings;
398
+ /** SQL Server configuration management settings. */
399
+ serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
400
+ /** Storage Configuration Settings. */
401
+ storageConfigurationSettings?: StorageConfigurationSettings;
402
+ /** Troubleshooting status */
403
+ readonly troubleshootingStatus?: TroubleshootingStatus;
404
+ /** SQL best practices Assessment Settings. */
405
+ assessmentSettings?: AssessmentSettings;
406
+ /** Enable automatic upgrade of Sql IaaS extension Agent. */
407
+ enableAutomaticUpgrade?: boolean;
408
+ /** Additional VM Patching solution enabled on the Virtual Machine */
409
+ readonly additionalVmPatch?: AdditionalOsPatch;
410
+ /** Virtual Machine Identity details used for Sql IaaS extension configurations. */
411
+ virtualMachineIdentitySettings?: VirtualMachineIdentity;
412
+ /** Operating System of the current SQL Virtual Machine. */
413
+ readonly osType?: OsType;
414
+ }
415
+ export declare function sqlVirtualMachinePropertiesSerializer(item: SqlVirtualMachineProperties): any;
416
+ export declare function sqlVirtualMachinePropertiesDeserializer(item: any): SqlVirtualMachineProperties;
417
+ /** SQL Server license type. */
418
+ export declare enum KnownSqlServerLicenseType {
419
+ /** PAYG */
420
+ Payg = "PAYG",
421
+ /** AHUB */
422
+ Ahub = "AHUB",
423
+ /** DR */
424
+ DR = "DR"
425
+ }
426
+ /**
427
+ * SQL Server license type. \
428
+ * {@link KnownSqlServerLicenseType} can be used interchangeably with SqlServerLicenseType,
429
+ * this enum contains the known values that the service supports.
430
+ * ### Known values supported by the service
431
+ * **PAYG** \
432
+ * **AHUB** \
433
+ * **DR**
434
+ */
435
+ export type SqlServerLicenseType = string;
436
+ /** SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */
437
+ export declare enum KnownSqlManagementMode {
438
+ /** Full */
439
+ Full = "Full",
440
+ /** LightWeight */
441
+ LightWeight = "LightWeight",
442
+ /** NoAgent */
443
+ NoAgent = "NoAgent"
444
+ }
445
+ /**
446
+ * SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. \
447
+ * {@link KnownSqlManagementMode} can be used interchangeably with SqlManagementMode,
448
+ * this enum contains the known values that the service supports.
449
+ * ### Known values supported by the service
450
+ * **Full** \
451
+ * **LightWeight** \
452
+ * **NoAgent**
453
+ */
454
+ export type SqlManagementMode = string;
455
+ /** SQL IaaS Agent least privilege mode. */
456
+ export declare enum KnownLeastPrivilegeMode {
457
+ /** Enabled */
458
+ Enabled = "Enabled",
459
+ /** NotSet */
460
+ NotSet = "NotSet"
461
+ }
462
+ /**
463
+ * SQL IaaS Agent least privilege mode. \
464
+ * {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
465
+ * this enum contains the known values that the service supports.
466
+ * ### Known values supported by the service
467
+ * **Enabled** \
468
+ * **NotSet**
469
+ */
470
+ export type LeastPrivilegeMode = string;
471
+ /** SQL Server edition type. */
472
+ export declare enum KnownSqlImageSku {
473
+ /** Developer */
474
+ Developer = "Developer",
475
+ /** Express */
476
+ Express = "Express",
477
+ /** Standard */
478
+ Standard = "Standard",
479
+ /** Enterprise */
480
+ Enterprise = "Enterprise",
481
+ /** Web */
482
+ Web = "Web"
483
+ }
484
+ /**
485
+ * SQL Server edition type. \
486
+ * {@link KnownSqlImageSku} can be used interchangeably with SqlImageSku,
487
+ * this enum contains the known values that the service supports.
488
+ * ### Known values supported by the service
489
+ * **Developer** \
490
+ * **Express** \
491
+ * **Standard** \
492
+ * **Enterprise** \
493
+ * **Web**
494
+ */
495
+ export type SqlImageSku = string;
496
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
497
+ export interface WsfcDomainCredentials {
498
+ /** Cluster bootstrap account password. */
499
+ clusterBootstrapAccountPassword?: string;
500
+ /** Cluster operator account password. */
501
+ clusterOperatorAccountPassword?: string;
502
+ /** SQL service account password. */
503
+ sqlServiceAccountPassword?: string;
504
+ }
505
+ export declare function wsfcDomainCredentialsSerializer(item: WsfcDomainCredentials): any;
506
+ export declare function wsfcDomainCredentialsDeserializer(item: any): WsfcDomainCredentials;
507
+ /** Set a patching window during which Windows and SQL patches will be applied. */
508
+ export interface AutoPatchingSettings {
509
+ /** Enable or disable autopatching on SQL virtual machine. */
510
+ enable?: boolean;
511
+ /** Day of week to apply the patch on. */
512
+ dayOfWeek?: DayOfWeek;
513
+ /** Hour of the day when patching is initiated. Local VM time. */
514
+ maintenanceWindowStartingHour?: number;
515
+ /** Duration of patching. */
516
+ maintenanceWindowDuration?: number;
517
+ /** Additional Patch to be enable or enabled on the SQL Virtual Machine. */
518
+ additionalVmPatch?: AdditionalVmPatch;
519
+ }
520
+ export declare function autoPatchingSettingsSerializer(item: AutoPatchingSettings): any;
521
+ export declare function autoPatchingSettingsDeserializer(item: any): AutoPatchingSettings;
522
+ /** Day of week to apply the patch on. */
523
+ export type DayOfWeek = "Everyday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
524
+ /** Additional Patch to be enable or enabled on the SQL Virtual Machine. */
525
+ export declare enum KnownAdditionalVmPatch {
526
+ /** NotSet */
527
+ NotSet = "NotSet",
528
+ /** MicrosoftUpdate */
529
+ MicrosoftUpdate = "MicrosoftUpdate"
530
+ }
531
+ /**
532
+ * Additional Patch to be enable or enabled on the SQL Virtual Machine. \
533
+ * {@link KnownAdditionalVmPatch} can be used interchangeably with AdditionalVmPatch,
534
+ * this enum contains the known values that the service supports.
535
+ * ### Known values supported by the service
536
+ * **NotSet** \
537
+ * **MicrosoftUpdate**
538
+ */
539
+ export type AdditionalVmPatch = string;
540
+ /** Configure backups for databases in your SQL virtual machine. */
541
+ export interface AutoBackupSettings {
542
+ /** Enable or disable autobackup on SQL virtual machine. */
543
+ enable?: boolean;
544
+ /** Enable or disable encryption for backup on SQL virtual machine. */
545
+ enableEncryption?: boolean;
546
+ /** Retention period of backup: 1-90 days. */
547
+ retentionPeriod?: number;
548
+ /** Storage account url where backup will be taken to. */
549
+ storageAccountUrl?: string;
550
+ /** Storage container name where backup will be taken to. */
551
+ storageContainerName?: string;
552
+ /** Storage account key where backup will be taken to. */
553
+ storageAccessKey?: string;
554
+ /** Password for encryption on backup. */
555
+ password?: string;
556
+ /** Include or exclude system databases from auto backup. */
557
+ backupSystemDbs?: boolean;
558
+ /** Backup schedule type. */
559
+ backupScheduleType?: BackupScheduleType;
560
+ /** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
561
+ fullBackupFrequency?: FullBackupFrequencyType;
562
+ /** Days of the week for the backups when FullBackupFrequency is set to Weekly. */
563
+ daysOfWeek?: AutoBackupDaysOfWeek[];
564
+ /** Start time of a given day during which full backups can take place. 0-23 hours. */
565
+ fullBackupStartTime?: number;
566
+ /** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */
567
+ fullBackupWindowHours?: number;
568
+ /** Frequency of log backups. 5-60 minutes. */
569
+ logBackupFrequency?: number;
570
+ }
571
+ export declare function autoBackupSettingsSerializer(item: AutoBackupSettings): any;
572
+ export declare function autoBackupSettingsDeserializer(item: any): AutoBackupSettings;
573
+ /** Backup schedule type. */
574
+ export declare enum KnownBackupScheduleType {
575
+ /** Manual */
576
+ Manual = "Manual",
577
+ /** Automated */
578
+ Automated = "Automated"
579
+ }
580
+ /**
581
+ * Backup schedule type. \
582
+ * {@link KnownBackupScheduleType} can be used interchangeably with BackupScheduleType,
583
+ * this enum contains the known values that the service supports.
584
+ * ### Known values supported by the service
585
+ * **Manual** \
586
+ * **Automated**
587
+ */
588
+ export type BackupScheduleType = string;
589
+ /** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
590
+ export declare enum KnownFullBackupFrequencyType {
591
+ /** Daily */
592
+ Daily = "Daily",
593
+ /** Weekly */
594
+ Weekly = "Weekly"
595
+ }
596
+ /**
597
+ * Frequency of full backups. In both cases, full backups begin during the next scheduled time window. \
598
+ * {@link KnownFullBackupFrequencyType} can be used interchangeably with FullBackupFrequencyType,
599
+ * this enum contains the known values that the service supports.
600
+ * ### Known values supported by the service
601
+ * **Daily** \
602
+ * **Weekly**
603
+ */
604
+ export type FullBackupFrequencyType = string;
605
+ /** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */
606
+ export declare enum KnownAutoBackupDaysOfWeek {
607
+ /** Monday */
608
+ Monday = "Monday",
609
+ /** Tuesday */
610
+ Tuesday = "Tuesday",
611
+ /** Wednesday */
612
+ Wednesday = "Wednesday",
613
+ /** Thursday */
614
+ Thursday = "Thursday",
615
+ /** Friday */
616
+ Friday = "Friday",
617
+ /** Saturday */
618
+ Saturday = "Saturday",
619
+ /** Sunday */
620
+ Sunday = "Sunday"
621
+ }
622
+ /** Type of AutoBackupDaysOfWeek */
623
+ export type AutoBackupDaysOfWeek = string;
624
+ /** Configure your SQL virtual machine to be able to connect to the Azure Key Vault service. */
625
+ export interface KeyVaultCredentialSettings {
626
+ /** Enable or disable key vault credential setting. */
627
+ enable?: boolean;
628
+ /** Credential name. */
629
+ credentialName?: string;
630
+ /** Azure Key Vault url. */
631
+ azureKeyVaultUrl?: string;
632
+ /** Service principal name to access key vault. */
633
+ servicePrincipalName?: string;
634
+ /** Service principal name secret to access key vault. */
635
+ servicePrincipalSecret?: string;
636
+ }
637
+ export declare function keyVaultCredentialSettingsSerializer(item: KeyVaultCredentialSettings): any;
638
+ export declare function keyVaultCredentialSettingsDeserializer(item: any): KeyVaultCredentialSettings;
639
+ /** Set the connectivity, storage and workload settings. */
640
+ export interface ServerConfigurationsManagementSettings {
641
+ /** SQL connectivity type settings. */
642
+ sqlConnectivityUpdateSettings?: SqlConnectivityUpdateSettings;
643
+ /** SQL workload type settings. */
644
+ sqlWorkloadTypeUpdateSettings?: SqlWorkloadTypeUpdateSettings;
645
+ /** SQL storage update settings. */
646
+ sqlStorageUpdateSettings?: SqlStorageUpdateSettings;
647
+ /** Additional SQL feature settings. */
648
+ additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
649
+ /** SQL Instance settings. */
650
+ sqlInstanceSettings?: SQLInstanceSettings;
651
+ /** Azure AD authentication Settings. */
652
+ azureAdAuthenticationSettings?: AADAuthenticationSettings;
653
+ }
654
+ export declare function serverConfigurationsManagementSettingsSerializer(item: ServerConfigurationsManagementSettings): any;
655
+ export declare function serverConfigurationsManagementSettingsDeserializer(item: any): ServerConfigurationsManagementSettings;
656
+ /** Set the access level and network port settings for SQL Server. */
657
+ export interface SqlConnectivityUpdateSettings {
658
+ /** SQL Server connectivity option. */
659
+ connectivityType?: ConnectivityType;
660
+ /** SQL Server port. */
661
+ port?: number;
662
+ /** SQL Server sysadmin login to create. */
663
+ sqlAuthUpdateUserName?: string;
664
+ /** SQL Server sysadmin login password. */
665
+ sqlAuthUpdatePassword?: string;
666
+ }
667
+ export declare function sqlConnectivityUpdateSettingsSerializer(item: SqlConnectivityUpdateSettings): any;
668
+ export declare function sqlConnectivityUpdateSettingsDeserializer(item: any): SqlConnectivityUpdateSettings;
669
+ /** SQL Server connectivity option. */
670
+ export declare enum KnownConnectivityType {
671
+ /** LOCAL */
672
+ Local = "LOCAL",
673
+ /** PRIVATE */
674
+ Private = "PRIVATE",
675
+ /** PUBLIC */
676
+ Public = "PUBLIC"
677
+ }
678
+ /**
679
+ * SQL Server connectivity option. \
680
+ * {@link KnownConnectivityType} can be used interchangeably with ConnectivityType,
681
+ * this enum contains the known values that the service supports.
682
+ * ### Known values supported by the service
683
+ * **LOCAL** \
684
+ * **PRIVATE** \
685
+ * **PUBLIC**
686
+ */
687
+ export type ConnectivityType = string;
688
+ /** Set workload type to optimize storage for SQL Server. */
689
+ export interface SqlWorkloadTypeUpdateSettings {
690
+ /** SQL Server workload type. */
691
+ sqlWorkloadType?: SqlWorkloadType;
692
+ }
693
+ export declare function sqlWorkloadTypeUpdateSettingsSerializer(item: SqlWorkloadTypeUpdateSettings): any;
694
+ export declare function sqlWorkloadTypeUpdateSettingsDeserializer(item: any): SqlWorkloadTypeUpdateSettings;
695
+ /** SQL Server workload type. */
696
+ export declare enum KnownSqlWorkloadType {
697
+ /** GENERAL */
698
+ General = "GENERAL",
699
+ /** OLTP */
700
+ Oltp = "OLTP",
701
+ /** DW */
702
+ DW = "DW"
703
+ }
704
+ /**
705
+ * SQL Server workload type. \
706
+ * {@link KnownSqlWorkloadType} can be used interchangeably with SqlWorkloadType,
707
+ * this enum contains the known values that the service supports.
708
+ * ### Known values supported by the service
709
+ * **GENERAL** \
710
+ * **OLTP** \
711
+ * **DW**
712
+ */
713
+ export type SqlWorkloadType = string;
714
+ /** Set disk storage settings for SQL Server. */
715
+ export interface SqlStorageUpdateSettings {
716
+ /** Virtual machine disk count. */
717
+ diskCount?: number;
718
+ /** Device id of the first disk to be updated. */
719
+ startingDeviceId?: number;
720
+ /** Disk configuration to apply to SQL Server. */
721
+ diskConfigurationType?: DiskConfigurationType;
722
+ }
723
+ export declare function sqlStorageUpdateSettingsSerializer(item: SqlStorageUpdateSettings): any;
724
+ export declare function sqlStorageUpdateSettingsDeserializer(item: any): SqlStorageUpdateSettings;
725
+ /** Disk configuration to apply to SQL Server. */
726
+ export declare enum KnownDiskConfigurationType {
727
+ /** NEW */
728
+ NEW = "NEW",
729
+ /** EXTEND */
730
+ Extend = "EXTEND",
731
+ /** ADD */
732
+ ADD = "ADD"
733
+ }
734
+ /**
735
+ * Disk configuration to apply to SQL Server. \
736
+ * {@link KnownDiskConfigurationType} can be used interchangeably with DiskConfigurationType,
737
+ * this enum contains the known values that the service supports.
738
+ * ### Known values supported by the service
739
+ * **NEW** \
740
+ * **EXTEND** \
741
+ * **ADD**
742
+ */
743
+ export type DiskConfigurationType = string;
744
+ /** Additional SQL Server feature settings. */
745
+ export interface AdditionalFeaturesServerConfigurations {
746
+ /** Enable or disable R services (SQL 2016 onwards). */
747
+ isRServicesEnabled?: boolean;
748
+ }
749
+ export declare function additionalFeaturesServerConfigurationsSerializer(item: AdditionalFeaturesServerConfigurations): any;
750
+ export declare function additionalFeaturesServerConfigurationsDeserializer(item: any): AdditionalFeaturesServerConfigurations;
751
+ /** Set the server/instance-level settings for SQL Server. */
752
+ export interface SQLInstanceSettings {
753
+ /** SQL Server Collation. */
754
+ collation?: string;
755
+ /** SQL Server MAXDOP. */
756
+ maxDop?: number;
757
+ /** SQL Server Optimize for Adhoc workloads. */
758
+ isOptimizeForAdHocWorkloadsEnabled?: boolean;
759
+ /** SQL Server minimum memory. */
760
+ minServerMemoryMB?: number;
761
+ /** SQL Server maximum memory. */
762
+ maxServerMemoryMB?: number;
763
+ /** SQL Server LPIM. */
764
+ isLpimEnabled?: boolean;
765
+ /** SQL Server IFI. */
766
+ isIfiEnabled?: boolean;
767
+ }
768
+ export declare function sqlInstanceSettingsSerializer(item: SQLInstanceSettings): any;
769
+ export declare function sqlInstanceSettingsDeserializer(item: any): SQLInstanceSettings;
770
+ /** Enable AAD authentication for SQL VM. */
771
+ export interface AADAuthenticationSettings {
772
+ /** The client Id of the Managed Identity to query Microsoft Graph API. An empty string must be used for the system assigned Managed Identity */
773
+ clientId?: string;
774
+ }
775
+ export declare function aadAuthenticationSettingsSerializer(item: AADAuthenticationSettings): any;
776
+ export declare function aadAuthenticationSettingsDeserializer(item: any): AADAuthenticationSettings;
777
+ /** Storage Configurations for SQL Data, Log and TempDb. */
778
+ export interface StorageConfigurationSettings {
779
+ /** SQL Server Data Storage Settings. */
780
+ sqlDataSettings?: SQLStorageSettings;
781
+ /** SQL Server Log Storage Settings. */
782
+ sqlLogSettings?: SQLStorageSettings;
783
+ /** SQL Server TempDb Storage Settings. */
784
+ sqlTempDbSettings?: SQLTempDbSettings;
785
+ /** SQL Server SystemDb Storage on DataPool if true. */
786
+ sqlSystemDbOnDataDisk?: boolean;
787
+ /** Disk configuration to apply to SQL Server. */
788
+ diskConfigurationType?: DiskConfigurationType;
789
+ /** Storage workload type. */
790
+ storageWorkloadType?: StorageWorkloadType;
791
+ /** Enable SQL IaaS Agent storage configuration blade in Azure Portal. */
792
+ enableStorageConfigBlade?: boolean;
793
+ }
794
+ export declare function storageConfigurationSettingsSerializer(item: StorageConfigurationSettings): any;
795
+ export declare function storageConfigurationSettingsDeserializer(item: any): StorageConfigurationSettings;
796
+ /** Set disk storage settings for SQL Server. */
797
+ export interface SQLStorageSettings {
798
+ /** Logical Unit Numbers for the disks. */
799
+ luns?: number[];
800
+ /** SQL Server default file path */
801
+ defaultFilePath?: string;
802
+ /** Use storage pool to build a drive if true or not provided */
803
+ useStoragePool?: boolean;
804
+ }
805
+ export declare function sqlStorageSettingsSerializer(item: SQLStorageSettings): any;
806
+ export declare function sqlStorageSettingsDeserializer(item: any): SQLStorageSettings;
807
+ /** Set tempDb storage settings for SQL Server. */
808
+ export interface SQLTempDbSettings {
809
+ /** SQL Server tempdb data file size */
810
+ dataFileSize?: number;
811
+ /** SQL Server tempdb data file autoGrowth size */
812
+ dataGrowth?: number;
813
+ /** SQL Server tempdb log file size */
814
+ logFileSize?: number;
815
+ /** SQL Server tempdb log file autoGrowth size */
816
+ logGrowth?: number;
817
+ /** SQL Server tempdb data file count */
818
+ dataFileCount?: number;
819
+ /** SQL Server tempdb persist folder choice */
820
+ persistFolder?: boolean;
821
+ /** SQL Server tempdb persist folder location */
822
+ persistFolderPath?: string;
823
+ /** Logical Unit Numbers for the disks. */
824
+ luns?: number[];
825
+ /** SQL Server default file path */
826
+ defaultFilePath?: string;
827
+ /** Use storage pool to build a drive if true or not provided */
828
+ useStoragePool?: boolean;
829
+ }
830
+ export declare function sqlTempDbSettingsSerializer(item: SQLTempDbSettings): any;
831
+ export declare function sqlTempDbSettingsDeserializer(item: any): SQLTempDbSettings;
832
+ /** Storage workload type. */
833
+ export declare enum KnownStorageWorkloadType {
834
+ /** GENERAL */
835
+ General = "GENERAL",
836
+ /** OLTP */
837
+ Oltp = "OLTP",
838
+ /** DW */
839
+ DW = "DW"
840
+ }
841
+ /**
842
+ * Storage workload type. \
843
+ * {@link KnownStorageWorkloadType} can be used interchangeably with StorageWorkloadType,
844
+ * this enum contains the known values that the service supports.
845
+ * ### Known values supported by the service
846
+ * **GENERAL** \
847
+ * **OLTP** \
848
+ * **DW**
849
+ */
850
+ export type StorageWorkloadType = string;
851
+ /** Status of last troubleshooting operation on this SQL VM */
852
+ export interface TroubleshootingStatus {
853
+ /** Root cause of the issue */
854
+ readonly rootCause?: string;
855
+ /** Last troubleshooting trigger time in UTC timezone */
856
+ readonly lastTriggerTimeUtc?: Date;
857
+ /** Start time in UTC timezone. */
858
+ readonly startTimeUtc?: Date;
859
+ /** End time in UTC timezone. */
860
+ readonly endTimeUtc?: Date;
861
+ /** SQL VM troubleshooting scenario. */
862
+ readonly troubleshootingScenario?: TroubleshootingScenario;
863
+ /** Troubleshooting properties */
864
+ readonly properties?: TroubleshootingAdditionalProperties;
865
+ }
866
+ export declare function troubleshootingStatusDeserializer(item: any): TroubleshootingStatus;
867
+ /** SQL VM troubleshooting scenario. */
868
+ export declare enum KnownTroubleshootingScenario {
869
+ /** UnhealthyReplica */
870
+ UnhealthyReplica = "UnhealthyReplica"
871
+ }
872
+ /**
873
+ * SQL VM troubleshooting scenario. \
874
+ * {@link KnownTroubleshootingScenario} can be used interchangeably with TroubleshootingScenario,
875
+ * this enum contains the known values that the service supports.
876
+ * ### Known values supported by the service
877
+ * **UnhealthyReplica**
878
+ */
879
+ export type TroubleshootingScenario = string;
880
+ /** SQL VM Troubleshooting additional properties. */
881
+ export interface TroubleshootingAdditionalProperties {
882
+ /** The unhealthy replica information */
883
+ unhealthyReplicaInfo?: UnhealthyReplicaInfo;
884
+ }
885
+ export declare function troubleshootingAdditionalPropertiesSerializer(item: TroubleshootingAdditionalProperties): any;
886
+ export declare function troubleshootingAdditionalPropertiesDeserializer(item: any): TroubleshootingAdditionalProperties;
887
+ /** SQL VM Troubleshoot UnhealthyReplica scenario information. */
888
+ export interface UnhealthyReplicaInfo {
889
+ /** The name of the availability group */
890
+ availabilityGroupName?: string;
891
+ }
892
+ export declare function unhealthyReplicaInfoSerializer(item: UnhealthyReplicaInfo): any;
893
+ export declare function unhealthyReplicaInfoDeserializer(item: any): UnhealthyReplicaInfo;
894
+ /** Configure SQL best practices Assessment for databases in your SQL virtual machine. */
895
+ export interface AssessmentSettings {
896
+ /** Enable or disable SQL best practices Assessment feature on SQL virtual machine. */
897
+ enable?: boolean;
898
+ /** Run SQL best practices Assessment immediately on SQL virtual machine. */
899
+ runImmediately?: boolean;
900
+ /** Schedule for SQL best practices Assessment. */
901
+ schedule?: Schedule;
902
+ }
903
+ export declare function assessmentSettingsSerializer(item: AssessmentSettings): any;
904
+ export declare function assessmentSettingsDeserializer(item: any): AssessmentSettings;
905
+ /** Set assessment schedule for SQL Server. */
906
+ export interface Schedule {
907
+ /** Enable or disable assessment schedule on SQL virtual machine. */
908
+ enable?: boolean;
909
+ /** Number of weeks to schedule between 2 assessment runs. Takes value from 1-6 */
910
+ weeklyInterval?: number;
911
+ /** Occurrence of the DayOfWeek day within a month to schedule assessment. Takes values: 1,2,3,4 and -1. Use -1 for last DayOfWeek day of the month */
912
+ monthlyOccurrence?: number;
913
+ /** Day of the week to run assessment. */
914
+ dayOfWeek?: AssessmentDayOfWeek;
915
+ /** Time of the day in HH:mm format. Eg. 17:30 */
916
+ startTime?: string;
917
+ }
918
+ export declare function scheduleSerializer(item: Schedule): any;
919
+ export declare function scheduleDeserializer(item: any): Schedule;
920
+ /** Day of the week to run assessment. */
921
+ export type AssessmentDayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
922
+ /** Additional VM Patching solution enabled on the Virtual Machine */
923
+ export declare enum KnownAdditionalOsPatch {
924
+ /** WU */
925
+ WU = "WU",
926
+ /** WUMU */
927
+ Wumu = "WUMU",
928
+ /** WSUS */
929
+ Wsus = "WSUS"
930
+ }
931
+ /**
932
+ * Additional VM Patching solution enabled on the Virtual Machine \
933
+ * {@link KnownAdditionalOsPatch} can be used interchangeably with AdditionalOsPatch,
934
+ * this enum contains the known values that the service supports.
935
+ * ### Known values supported by the service
936
+ * **WU** \
937
+ * **WUMU** \
938
+ * **WSUS**
939
+ */
940
+ export type AdditionalOsPatch = string;
941
+ /** Virtual Machine Identity details used for Sql IaaS extension configurations. */
942
+ export interface VirtualMachineIdentity {
943
+ /** Identity type of the virtual machine. Specify None to opt-out of Managed Identities. */
944
+ type?: VmIdentityType;
945
+ /** ARM Resource Id of the identity. Only required when UserAssigned identity is selected. */
946
+ resourceId?: string;
947
+ }
948
+ export declare function virtualMachineIdentitySerializer(item: VirtualMachineIdentity): any;
949
+ export declare function virtualMachineIdentityDeserializer(item: any): VirtualMachineIdentity;
950
+ /** Identity type of the virtual machine. Specify None to opt-out of Managed Identities. */
951
+ export declare enum KnownVmIdentityType {
952
+ /** None */
953
+ None = "None",
954
+ /** SystemAssigned */
955
+ SystemAssigned = "SystemAssigned",
956
+ /** UserAssigned */
957
+ UserAssigned = "UserAssigned"
958
+ }
959
+ /**
960
+ * Identity type of the virtual machine. Specify None to opt-out of Managed Identities. \
961
+ * {@link KnownVmIdentityType} can be used interchangeably with VmIdentityType,
962
+ * this enum contains the known values that the service supports.
963
+ * ### Known values supported by the service
964
+ * **None** \
965
+ * **SystemAssigned** \
966
+ * **UserAssigned**
967
+ */
968
+ export type VmIdentityType = string;
969
+ /** Operating System of the current SQL Virtual Machine. */
970
+ export type OsType = "Windows" | "Linux";
971
+ /** Azure Active Directory identity configuration for a resource. */
972
+ export interface ResourceIdentity {
973
+ /** The Azure Active Directory principal id. */
974
+ readonly principalId?: string;
975
+ /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */
976
+ type?: IdentityType;
977
+ /** The Azure Active Directory tenant id. */
978
+ readonly tenantId?: string;
979
+ }
980
+ export declare function resourceIdentitySerializer(item: ResourceIdentity): any;
981
+ export declare function resourceIdentityDeserializer(item: any): ResourceIdentity;
982
+ /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */
983
+ export declare enum KnownIdentityType {
984
+ /** None */
985
+ None = "None",
986
+ /** SystemAssigned */
987
+ SystemAssigned = "SystemAssigned",
988
+ /** UserAssigned */
989
+ UserAssigned = "UserAssigned",
990
+ /** SystemAssigned,UserAssigned */
991
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
992
+ }
993
+ /**
994
+ * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. \
995
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
996
+ * this enum contains the known values that the service supports.
997
+ * ### Known values supported by the service
998
+ * **None** \
999
+ * **SystemAssigned** \
1000
+ * **UserAssigned** \
1001
+ * **SystemAssigned,UserAssigned**
1002
+ */
1003
+ export type IdentityType = string;
1004
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1005
+ export interface TrackedResource extends Resource {
1006
+ /** Resource tags. */
1007
+ tags?: Record<string, string>;
1008
+ /** The geo-location where the resource lives */
1009
+ location: string;
1010
+ }
1011
+ export declare function trackedResourceSerializer(item: TrackedResource): any;
1012
+ export declare function trackedResourceDeserializer(item: any): TrackedResource;
1013
+ /** An update to a SQL virtual machine. */
1014
+ export interface SqlVirtualMachineUpdate {
1015
+ /** Resource tags. */
1016
+ tags?: Record<string, string>;
1017
+ }
1018
+ export declare function sqlVirtualMachineUpdateSerializer(item: SqlVirtualMachineUpdate): any;
1019
+ /** The response of a SqlVirtualMachine list operation. */
1020
+ export interface _SqlVirtualMachineListResult {
1021
+ /** The SqlVirtualMachine items on this page */
1022
+ readonly value: SqlVirtualMachine[];
1023
+ /** The link to the next page of items */
1024
+ readonly nextLink?: string;
1025
+ }
1026
+ export declare function _sqlVirtualMachineListResultDeserializer(item: any): _SqlVirtualMachineListResult;
1027
+ export declare function sqlVirtualMachineArraySerializer(result: Array<SqlVirtualMachine>): any[];
1028
+ export declare function sqlVirtualMachineArrayDeserializer(result: Array<SqlVirtualMachine>): any[];
1029
+ /** Configure disk config assessment for databases in your SQL virtual machine. */
1030
+ export interface DiskConfigAssessmentRequest {
1031
+ /** Boolean to run disk config Assessment. Use false to fetch past Assessment. */
1032
+ runDiskConfigRules?: boolean;
1033
+ }
1034
+ export declare function diskConfigAssessmentRequestSerializer(item: DiskConfigAssessmentRequest): any;
1035
+ /** A SQL virtual machine group. */
1036
+ export interface SqlVirtualMachineGroup extends TrackedResource {
1037
+ /** Provisioning state to track the async operation status. */
1038
+ readonly provisioningState?: string;
1039
+ /** SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016. */
1040
+ sqlImageOffer?: string;
1041
+ /** SQL image sku. */
1042
+ sqlImageSku?: SqlVmGroupImageSku;
1043
+ /** Scale type. */
1044
+ readonly scaleType?: ScaleType;
1045
+ /** Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. */
1046
+ readonly clusterManagerType?: ClusterManagerType;
1047
+ /** Cluster type. */
1048
+ readonly clusterConfiguration?: ClusterConfiguration;
1049
+ /** Cluster Active Directory domain profile. */
1050
+ wsfcDomainProfile?: WsfcDomainProfile;
1051
+ }
1052
+ export declare function sqlVirtualMachineGroupSerializer(item: SqlVirtualMachineGroup): any;
1053
+ export declare function sqlVirtualMachineGroupDeserializer(item: any): SqlVirtualMachineGroup;
1054
+ /** The properties of a SQL virtual machine group. */
1055
+ export interface SqlVirtualMachineGroupProperties {
1056
+ /** Provisioning state to track the async operation status. */
1057
+ readonly provisioningState?: string;
1058
+ /** SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016. */
1059
+ sqlImageOffer?: string;
1060
+ /** SQL image sku. */
1061
+ sqlImageSku?: SqlVmGroupImageSku;
1062
+ /** Scale type. */
1063
+ readonly scaleType?: ScaleType;
1064
+ /** Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. */
1065
+ readonly clusterManagerType?: ClusterManagerType;
1066
+ /** Cluster type. */
1067
+ readonly clusterConfiguration?: ClusterConfiguration;
1068
+ /** Cluster Active Directory domain profile. */
1069
+ wsfcDomainProfile?: WsfcDomainProfile;
1070
+ }
1071
+ export declare function sqlVirtualMachineGroupPropertiesSerializer(item: SqlVirtualMachineGroupProperties): any;
1072
+ export declare function sqlVirtualMachineGroupPropertiesDeserializer(item: any): SqlVirtualMachineGroupProperties;
1073
+ /** SQL image sku. */
1074
+ export declare enum KnownSqlVmGroupImageSku {
1075
+ /** Developer */
1076
+ Developer = "Developer",
1077
+ /** Enterprise */
1078
+ Enterprise = "Enterprise"
1079
+ }
1080
+ /**
1081
+ * SQL image sku. \
1082
+ * {@link KnownSqlVmGroupImageSku} can be used interchangeably with SqlVmGroupImageSku,
1083
+ * this enum contains the known values that the service supports.
1084
+ * ### Known values supported by the service
1085
+ * **Developer** \
1086
+ * **Enterprise**
1087
+ */
1088
+ export type SqlVmGroupImageSku = string;
1089
+ /** Scale type. */
1090
+ export declare enum KnownScaleType {
1091
+ /** HA */
1092
+ HA = "HA"
1093
+ }
1094
+ /**
1095
+ * Scale type. \
1096
+ * {@link KnownScaleType} can be used interchangeably with ScaleType,
1097
+ * this enum contains the known values that the service supports.
1098
+ * ### Known values supported by the service
1099
+ * **HA**
1100
+ */
1101
+ export type ScaleType = string;
1102
+ /** Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. */
1103
+ export declare enum KnownClusterManagerType {
1104
+ /** WSFC */
1105
+ Wsfc = "WSFC"
1106
+ }
1107
+ /**
1108
+ * Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. \
1109
+ * {@link KnownClusterManagerType} can be used interchangeably with ClusterManagerType,
1110
+ * this enum contains the known values that the service supports.
1111
+ * ### Known values supported by the service
1112
+ * **WSFC**
1113
+ */
1114
+ export type ClusterManagerType = string;
1115
+ /** Cluster type. */
1116
+ export declare enum KnownClusterConfiguration {
1117
+ /** Domainful */
1118
+ Domainful = "Domainful"
1119
+ }
1120
+ /**
1121
+ * Cluster type. \
1122
+ * {@link KnownClusterConfiguration} can be used interchangeably with ClusterConfiguration,
1123
+ * this enum contains the known values that the service supports.
1124
+ * ### Known values supported by the service
1125
+ * **Domainful**
1126
+ */
1127
+ export type ClusterConfiguration = string;
1128
+ /** Active Directory account details to operate Windows Server Failover Cluster. */
1129
+ export interface WsfcDomainProfile {
1130
+ /** Fully qualified name of the domain. */
1131
+ domainFqdn?: string;
1132
+ /** Organizational Unit path in which the nodes and cluster will be present. */
1133
+ ouPath?: string;
1134
+ /** Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain). */
1135
+ clusterBootstrapAccount?: string;
1136
+ /** Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster. */
1137
+ clusterOperatorAccount?: string;
1138
+ /** Account name under which SQL service will run on all participating SQL virtual machines in the cluster. */
1139
+ sqlServiceAccount?: string;
1140
+ /** The flag to check if SQL service account is GMSA. */
1141
+ isSqlServiceAccountGmsa?: boolean;
1142
+ /** Optional path for fileshare witness. */
1143
+ fileShareWitnessPath?: string;
1144
+ /** Fully qualified ARM resource id of the witness storage account. */
1145
+ storageAccountUrl?: string;
1146
+ /** Primary key of the witness storage account. */
1147
+ storageAccountPrimaryKey?: string;
1148
+ /** Cluster subnet type. */
1149
+ clusterSubnetType?: ClusterSubnetType;
1150
+ }
1151
+ export declare function wsfcDomainProfileSerializer(item: WsfcDomainProfile): any;
1152
+ export declare function wsfcDomainProfileDeserializer(item: any): WsfcDomainProfile;
1153
+ /** Cluster subnet type. */
1154
+ export declare enum KnownClusterSubnetType {
1155
+ /** SingleSubnet */
1156
+ SingleSubnet = "SingleSubnet",
1157
+ /** MultiSubnet */
1158
+ MultiSubnet = "MultiSubnet"
1159
+ }
1160
+ /**
1161
+ * Cluster subnet type. \
1162
+ * {@link KnownClusterSubnetType} can be used interchangeably with ClusterSubnetType,
1163
+ * this enum contains the known values that the service supports.
1164
+ * ### Known values supported by the service
1165
+ * **SingleSubnet** \
1166
+ * **MultiSubnet**
1167
+ */
1168
+ export type ClusterSubnetType = string;
1169
+ /** An update to a SQL virtual machine group. */
1170
+ export interface SqlVirtualMachineGroupUpdate {
1171
+ /** Resource tags. */
1172
+ tags?: Record<string, string>;
1173
+ }
1174
+ export declare function sqlVirtualMachineGroupUpdateSerializer(item: SqlVirtualMachineGroupUpdate): any;
1175
+ /** The response of a SqlVirtualMachineGroup list operation. */
1176
+ export interface _SqlVirtualMachineGroupListResult {
1177
+ /** The SqlVirtualMachineGroup items on this page */
1178
+ readonly value: SqlVirtualMachineGroup[];
1179
+ /** The link to the next page of items */
1180
+ readonly nextLink?: string;
1181
+ }
1182
+ export declare function _sqlVirtualMachineGroupListResultDeserializer(item: any): _SqlVirtualMachineGroupListResult;
1183
+ export declare function sqlVirtualMachineGroupArraySerializer(result: Array<SqlVirtualMachineGroup>): any[];
1184
+ export declare function sqlVirtualMachineGroupArrayDeserializer(result: Array<SqlVirtualMachineGroup>): any[];
1185
+ /** Details required for SQL VM troubleshooting */
1186
+ export interface SqlVmTroubleshooting {
1187
+ /** Start time in UTC timezone. */
1188
+ startTimeUtc?: Date;
1189
+ /** End time in UTC timezone. */
1190
+ endTimeUtc?: Date;
1191
+ /** SQL VM troubleshooting scenario. */
1192
+ troubleshootingScenario?: TroubleshootingScenario;
1193
+ /** Troubleshooting properties */
1194
+ properties?: TroubleshootingAdditionalProperties;
1195
+ /** Virtual machine resource id for response. */
1196
+ readonly virtualMachineResourceId?: string;
1197
+ }
1198
+ export declare function sqlVmTroubleshootingSerializer(item: SqlVmTroubleshooting): any;
1199
+ export declare function sqlVmTroubleshootingDeserializer(item: any): SqlVmTroubleshooting;
1200
+ /** The available API versions. */
1201
+ export declare enum KnownVersions {
1202
+ /** The 2023-10-01 API version. */
1203
+ V20231001 = "2023-10-01"
1204
+ }
1205
+ export declare function _availabilityGroupListenerPropertiesSerializer(item: AvailabilityGroupListener): any;
1206
+ export declare function _availabilityGroupListenerPropertiesDeserializer(item: any): {
1207
+ provisioningState: any;
1208
+ availabilityGroupName: any;
1209
+ loadBalancerConfigurations: any;
1210
+ multiSubnetIpConfigurations: any;
1211
+ createDefaultAvailabilityGroupIfNotExist: any;
1212
+ port: any;
1213
+ availabilityGroupConfiguration: any;
1214
+ };
1215
+ export declare function _sqlVirtualMachinePropertiesSerializer(item: SqlVirtualMachine): any;
1216
+ export declare function _sqlVirtualMachinePropertiesDeserializer(item: any): {
1217
+ virtualMachineResourceId: any;
1218
+ provisioningState: any;
1219
+ sqlImageOffer: any;
1220
+ sqlServerLicenseType: any;
1221
+ sqlManagement: any;
1222
+ leastPrivilegeMode: any;
1223
+ sqlImageSku: any;
1224
+ sqlVirtualMachineGroupResourceId: any;
1225
+ wsfcDomainCredentials: any;
1226
+ wsfcStaticIp: any;
1227
+ autoPatchingSettings: any;
1228
+ autoBackupSettings: any;
1229
+ keyVaultCredentialSettings: any;
1230
+ serverConfigurationsManagementSettings: any;
1231
+ storageConfigurationSettings: any;
1232
+ troubleshootingStatus: any;
1233
+ assessmentSettings: any;
1234
+ enableAutomaticUpgrade: any;
1235
+ additionalVmPatch: any;
1236
+ virtualMachineIdentitySettings: any;
1237
+ osType: any;
1238
+ };
1239
+ export declare function _sqlVirtualMachineGroupPropertiesSerializer(item: SqlVirtualMachineGroup): any;
1240
+ export declare function _sqlVirtualMachineGroupPropertiesDeserializer(item: any): {
1241
+ provisioningState: any;
1242
+ sqlImageOffer: any;
1243
+ sqlImageSku: any;
1244
+ scaleType: any;
1245
+ clusterManagerType: any;
1246
+ clusterConfiguration: any;
1247
+ wsfcDomainProfile: any;
1248
+ };
1249
+ //# sourceMappingURL=models.d.ts.map