@azure/arm-mysql 4.0.0 → 5.0.0-alpha.20211221.3

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 (551) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +7780 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/{src/models/locationBasedPerformanceTierMappers.ts → dist-esm/src/index.js} +5 -10
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +1641 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +131 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +79 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +1245 -1342
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +46 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +180 -101
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/mySQLManagementClient.d.ts +67 -0
  29. package/dist-esm/src/mySQLManagementClient.d.ts.map +1 -0
  30. package/dist-esm/src/mySQLManagementClient.js +178 -0
  31. package/dist-esm/src/mySQLManagementClient.js.map +1 -0
  32. package/dist-esm/src/operations/advisors.d.ts +46 -0
  33. package/dist-esm/src/operations/advisors.d.ts.map +1 -0
  34. package/dist-esm/src/operations/advisors.js +160 -0
  35. package/dist-esm/src/operations/advisors.js.map +1 -0
  36. package/dist-esm/src/operations/checkNameAvailability.d.ts +19 -0
  37. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
  38. package/dist-esm/src/operations/checkNameAvailability.js +49 -0
  39. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
  40. package/dist-esm/src/operations/configurations.d.ts +57 -0
  41. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/configurations.js +219 -0
  43. package/dist-esm/src/operations/configurations.js.map +1 -0
  44. package/dist-esm/src/operations/databases.d.ts +73 -0
  45. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  46. package/dist-esm/src/operations/databases.js +293 -0
  47. package/dist-esm/src/operations/databases.js.map +1 -0
  48. package/dist-esm/src/operations/firewallRules.d.ts +73 -0
  49. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  50. package/dist-esm/src/operations/firewallRules.js +293 -0
  51. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts +28 -0
  57. package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts.map +1 -0
  58. package/dist-esm/src/operations/locationBasedPerformanceTier.js +96 -0
  59. package/dist-esm/src/operations/locationBasedPerformanceTier.js.map +1 -0
  60. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts +20 -0
  61. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +1 -0
  62. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.js +50 -0
  63. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.js.map +1 -0
  64. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts +38 -0
  65. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -0
  66. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js +137 -0
  67. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js.map +1 -0
  68. package/dist-esm/src/operations/logFiles.d.ts +30 -0
  69. package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
  70. package/dist-esm/src/operations/logFiles.js +99 -0
  71. package/dist-esm/src/operations/logFiles.js.map +1 -0
  72. package/dist-esm/src/operations/operations.d.ts +18 -0
  73. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operations.js +46 -0
  75. package/dist-esm/src/operations/operations.js.map +1 -0
  76. package/dist-esm/src/operations/privateEndpointConnections.d.ts +99 -0
  77. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  78. package/dist-esm/src/operations/privateEndpointConnections.js +429 -0
  79. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  80. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  81. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  82. package/dist-esm/src/operations/privateLinkResources.js +169 -0
  83. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  84. package/dist-esm/src/operations/queryTexts.d.ts +49 -0
  85. package/dist-esm/src/operations/queryTexts.d.ts.map +1 -0
  86. package/dist-esm/src/operations/queryTexts.js +172 -0
  87. package/dist-esm/src/operations/queryTexts.js.map +1 -0
  88. package/dist-esm/src/operations/recommendedActions.d.ts +50 -0
  89. package/dist-esm/src/operations/recommendedActions.d.ts.map +1 -0
  90. package/dist-esm/src/operations/recommendedActions.js +173 -0
  91. package/dist-esm/src/operations/recommendedActions.js.map +1 -0
  92. package/dist-esm/src/operations/recoverableServers.d.ts +20 -0
  93. package/dist-esm/src/operations/recoverableServers.d.ts.map +1 -0
  94. package/dist-esm/src/operations/recoverableServers.js +53 -0
  95. package/dist-esm/src/operations/recoverableServers.js.map +1 -0
  96. package/dist-esm/src/operations/replicas.d.ts +30 -0
  97. package/dist-esm/src/operations/replicas.d.ts.map +1 -0
  98. package/dist-esm/src/operations/replicas.js +99 -0
  99. package/dist-esm/src/operations/replicas.js.map +1 -0
  100. package/dist-esm/src/operations/serverAdministrators.d.ts +70 -0
  101. package/dist-esm/src/operations/serverAdministrators.d.ts.map +1 -0
  102. package/dist-esm/src/operations/serverAdministrators.js +287 -0
  103. package/dist-esm/src/operations/serverAdministrators.js.map +1 -0
  104. package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts +30 -0
  105. package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts.map +1 -0
  106. package/dist-esm/src/operations/serverBasedPerformanceTier.js +99 -0
  107. package/dist-esm/src/operations/serverBasedPerformanceTier.js.map +1 -0
  108. package/dist-esm/src/operations/serverKeys.d.ts +81 -0
  109. package/dist-esm/src/operations/serverKeys.d.ts.map +1 -0
  110. package/dist-esm/src/operations/serverKeys.js +331 -0
  111. package/dist-esm/src/operations/serverKeys.js.map +1 -0
  112. package/dist-esm/src/operations/serverParameters.d.ts +30 -0
  113. package/dist-esm/src/operations/serverParameters.d.ts.map +1 -0
  114. package/dist-esm/src/operations/serverParameters.js +110 -0
  115. package/dist-esm/src/operations/serverParameters.js.map +1 -0
  116. package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts +65 -0
  117. package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts.map +1 -0
  118. package/dist-esm/src/operations/serverSecurityAlertPolicies.js +255 -0
  119. package/dist-esm/src/operations/serverSecurityAlertPolicies.js.map +1 -0
  120. package/dist-esm/src/operations/servers.d.ts +156 -0
  121. package/dist-esm/src/operations/servers.d.ts.map +1 -0
  122. package/dist-esm/src/operations/servers.js +722 -0
  123. package/dist-esm/src/operations/servers.js.map +1 -0
  124. package/dist-esm/src/operations/topQueryStatistics.d.ts +49 -0
  125. package/dist-esm/src/operations/topQueryStatistics.d.ts.map +1 -0
  126. package/dist-esm/src/operations/topQueryStatistics.js +174 -0
  127. package/dist-esm/src/operations/topQueryStatistics.js.map +1 -0
  128. package/dist-esm/src/operations/virtualNetworkRules.d.ts +81 -0
  129. package/dist-esm/src/operations/virtualNetworkRules.d.ts.map +1 -0
  130. package/dist-esm/src/operations/virtualNetworkRules.js +320 -0
  131. package/dist-esm/src/operations/virtualNetworkRules.js.map +1 -0
  132. package/dist-esm/src/operations/waitStatistics.d.ts +49 -0
  133. package/dist-esm/src/operations/waitStatistics.d.ts.map +1 -0
  134. package/dist-esm/src/operations/waitStatistics.js +174 -0
  135. package/dist-esm/src/operations/waitStatistics.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/advisors.d.ts +21 -0
  137. package/dist-esm/src/operationsInterfaces/advisors.d.ts.map +1 -0
  138. package/{src/models/locationBasedRecommendedActionSessionsOperationStatusMappers.ts → dist-esm/src/operationsInterfaces/advisors.js} +2 -6
  139. package/dist-esm/src/operationsInterfaces/advisors.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +11 -0
  141. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
  142. package/{src/models/checkNameAvailabilityMappers.ts → dist-esm/src/operationsInterfaces/checkNameAvailability.js} +2 -9
  143. package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/configurations.d.ts +40 -0
  145. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  146. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -10
  147. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/databases.d.ts +56 -0
  149. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/databases.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +56 -0
  153. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/index.d.ts +26 -0
  157. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/index.js +33 -0
  159. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.d.ts +12 -0
  161. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.d.ts +12 -0
  165. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +1 -0
  166. package/{esm/models/locationBasedRecommendedActionSessionsOperationStatusMappers.js → dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.js} +2 -2
  167. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.d.ts +13 -0
  169. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
  173. package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/logFiles.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  177. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +74 -0
  181. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  185. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/queryTexts.d.ts +22 -0
  189. package/dist-esm/src/operationsInterfaces/queryTexts.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/queryTexts.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/queryTexts.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/recommendedActions.d.ts +23 -0
  193. package/dist-esm/src/operationsInterfaces/recommendedActions.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/recommendedActions.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/recommendedActions.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/recoverableServers.d.ts +12 -0
  197. package/dist-esm/src/operationsInterfaces/recoverableServers.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/recoverableServers.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/recoverableServers.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/replicas.d.ts +13 -0
  201. package/dist-esm/src/operationsInterfaces/replicas.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/replicas.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/replicas.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/serverAdministrators.d.ts +53 -0
  205. package/dist-esm/src/operationsInterfaces/serverAdministrators.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/serverAdministrators.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/serverAdministrators.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.d.ts +13 -0
  209. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/serverKeys.d.ts +56 -0
  213. package/dist-esm/src/operationsInterfaces/serverKeys.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/serverKeys.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/serverKeys.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/serverParameters.d.ts +22 -0
  217. package/dist-esm/src/operationsInterfaces/serverParameters.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/serverParameters.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/serverParameters.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.d.ts +40 -0
  221. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/servers.d.ts +133 -0
  225. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
  226. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/servers.js} +2 -1
  227. package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/topQueryStatistics.d.ts +22 -0
  229. package/dist-esm/src/operationsInterfaces/topQueryStatistics.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/topQueryStatistics.js +9 -0
  231. package/dist-esm/src/operationsInterfaces/topQueryStatistics.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.d.ts +56 -0
  233. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/waitStatistics.d.ts +22 -0
  237. package/dist-esm/src/operationsInterfaces/waitStatistics.d.ts.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/waitStatistics.js +9 -0
  239. package/dist-esm/src/operationsInterfaces/waitStatistics.js.map +1 -0
  240. package/dist-esm/test/sampleTest.d.ts +2 -0
  241. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  242. package/dist-esm/test/sampleTest.js +40 -0
  243. package/dist-esm/test/sampleTest.js.map +1 -0
  244. package/package.json +65 -22
  245. package/review/arm-mysql.api.md +1572 -0
  246. package/rollup.config.js +181 -30
  247. package/src/index.ts +12 -0
  248. package/src/lroImpl.ts +34 -0
  249. package/src/models/index.ts +1475 -2772
  250. package/src/models/mappers.ts +1244 -1336
  251. package/src/models/parameters.ts +245 -101
  252. package/src/mySQLManagementClient.ts +274 -153
  253. package/src/operations/advisors.ts +157 -133
  254. package/src/operations/checkNameAvailability.ts +35 -57
  255. package/src/operations/configurations.ts +230 -137
  256. package/src/operations/databases.ts +318 -177
  257. package/src/operations/firewallRules.ts +318 -177
  258. package/src/operations/index.ts +1 -2
  259. package/src/operations/locationBasedPerformanceTier.ts +76 -44
  260. package/src/operations/locationBasedRecommendedActionSessionsOperationStatus.ts +38 -54
  261. package/src/operations/locationBasedRecommendedActionSessionsResult.ts +122 -88
  262. package/src/operations/logFiles.ts +96 -47
  263. package/src/operations/operations.ts +27 -41
  264. package/src/operations/privateEndpointConnections.ts +464 -244
  265. package/src/operations/privateLinkResources.ts +157 -124
  266. package/src/operations/queryTexts.ts +169 -133
  267. package/src/operations/recommendedActions.ts +168 -132
  268. package/src/operations/recoverableServers.ts +37 -51
  269. package/src/operations/replicas.ts +96 -47
  270. package/src/operations/serverAdministrators.ts +294 -166
  271. package/src/operations/serverBasedPerformanceTier.ts +85 -47
  272. package/src/operations/serverKeys.ts +335 -203
  273. package/src/operations/serverParameters.ts +117 -53
  274. package/src/operations/serverSecurityAlertPolicies.ts +276 -174
  275. package/src/operations/servers.ts +775 -384
  276. package/src/operations/topQueryStatistics.ts +173 -135
  277. package/src/operations/virtualNetworkRules.ts +351 -219
  278. package/src/operations/waitStatistics.ts +173 -135
  279. package/src/operationsInterfaces/advisors.ts +44 -0
  280. package/src/operationsInterfaces/checkNameAvailability.ts +26 -0
  281. package/src/operationsInterfaces/configurations.ts +82 -0
  282. package/src/operationsInterfaces/databases.ts +109 -0
  283. package/src/operationsInterfaces/firewallRules.ts +109 -0
  284. package/src/operationsInterfaces/index.ts +33 -0
  285. package/src/operationsInterfaces/locationBasedPerformanceTier.ts +27 -0
  286. package/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.ts +27 -0
  287. package/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.ts +29 -0
  288. package/src/operationsInterfaces/logFiles.ts +26 -0
  289. package/src/operationsInterfaces/operations.ts +21 -0
  290. package/src/operationsInterfaces/privateEndpointConnections.ts +147 -0
  291. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  292. package/src/operationsInterfaces/queryTexts.ts +46 -0
  293. package/src/operationsInterfaces/recommendedActions.ts +48 -0
  294. package/src/operationsInterfaces/recoverableServers.ts +27 -0
  295. package/src/operationsInterfaces/replicas.ts +26 -0
  296. package/src/operationsInterfaces/serverAdministrators.ts +101 -0
  297. package/src/operationsInterfaces/serverBasedPerformanceTier.ts +29 -0
  298. package/src/operationsInterfaces/serverKeys.ts +109 -0
  299. package/src/operationsInterfaces/serverParameters.ts +49 -0
  300. package/src/operationsInterfaces/serverSecurityAlertPolicies.ts +83 -0
  301. package/src/operationsInterfaces/servers.ts +233 -0
  302. package/src/operationsInterfaces/topQueryStatistics.ts +47 -0
  303. package/src/operationsInterfaces/virtualNetworkRules.ts +109 -0
  304. package/src/operationsInterfaces/waitStatistics.ts +47 -0
  305. package/tsconfig.json +3 -3
  306. package/types/arm-mysql.d.ts +2729 -0
  307. package/types/tsdoc-metadata.json +11 -0
  308. package/dist/arm-mysql.js +0 -7399
  309. package/dist/arm-mysql.js.map +0 -1
  310. package/dist/arm-mysql.min.js +0 -1
  311. package/dist/arm-mysql.min.js.map +0 -1
  312. package/esm/models/advisorsMappers.d.ts +0 -2
  313. package/esm/models/advisorsMappers.d.ts.map +0 -1
  314. package/esm/models/advisorsMappers.js +0 -9
  315. package/esm/models/advisorsMappers.js.map +0 -1
  316. package/esm/models/checkNameAvailabilityMappers.d.ts +0 -2
  317. package/esm/models/checkNameAvailabilityMappers.d.ts.map +0 -1
  318. package/esm/models/checkNameAvailabilityMappers.js +0 -9
  319. package/esm/models/checkNameAvailabilityMappers.js.map +0 -1
  320. package/esm/models/configurationsMappers.d.ts +0 -2
  321. package/esm/models/configurationsMappers.d.ts.map +0 -1
  322. package/esm/models/configurationsMappers.js +0 -9
  323. package/esm/models/configurationsMappers.js.map +0 -1
  324. package/esm/models/databasesMappers.d.ts +0 -2
  325. package/esm/models/databasesMappers.d.ts.map +0 -1
  326. package/esm/models/databasesMappers.js +0 -9
  327. package/esm/models/databasesMappers.js.map +0 -1
  328. package/esm/models/firewallRulesMappers.d.ts +0 -2
  329. package/esm/models/firewallRulesMappers.d.ts.map +0 -1
  330. package/esm/models/firewallRulesMappers.js +0 -9
  331. package/esm/models/firewallRulesMappers.js.map +0 -1
  332. package/esm/models/index.d.ts +0 -2973
  333. package/esm/models/index.d.ts.map +0 -1
  334. package/esm/models/index.js.map +0 -1
  335. package/esm/models/locationBasedPerformanceTierMappers.d.ts +0 -2
  336. package/esm/models/locationBasedPerformanceTierMappers.d.ts.map +0 -1
  337. package/esm/models/locationBasedPerformanceTierMappers.js +0 -9
  338. package/esm/models/locationBasedPerformanceTierMappers.js.map +0 -1
  339. package/esm/models/locationBasedRecommendedActionSessionsOperationStatusMappers.d.ts +0 -2
  340. package/esm/models/locationBasedRecommendedActionSessionsOperationStatusMappers.d.ts.map +0 -1
  341. package/esm/models/locationBasedRecommendedActionSessionsOperationStatusMappers.js.map +0 -1
  342. package/esm/models/locationBasedRecommendedActionSessionsResultMappers.d.ts +0 -2
  343. package/esm/models/locationBasedRecommendedActionSessionsResultMappers.d.ts.map +0 -1
  344. package/esm/models/locationBasedRecommendedActionSessionsResultMappers.js +0 -9
  345. package/esm/models/locationBasedRecommendedActionSessionsResultMappers.js.map +0 -1
  346. package/esm/models/logFilesMappers.d.ts +0 -2
  347. package/esm/models/logFilesMappers.d.ts.map +0 -1
  348. package/esm/models/logFilesMappers.js +0 -9
  349. package/esm/models/logFilesMappers.js.map +0 -1
  350. package/esm/models/mappers.d.ts +0 -80
  351. package/esm/models/mappers.d.ts.map +0 -1
  352. package/esm/models/mappers.js.map +0 -1
  353. package/esm/models/operationsMappers.d.ts +0 -2
  354. package/esm/models/operationsMappers.d.ts.map +0 -1
  355. package/esm/models/operationsMappers.js +0 -9
  356. package/esm/models/operationsMappers.js.map +0 -1
  357. package/esm/models/parameters.d.ts +0 -27
  358. package/esm/models/parameters.d.ts.map +0 -1
  359. package/esm/models/parameters.js.map +0 -1
  360. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  361. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  362. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  363. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  364. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  365. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  366. package/esm/models/privateLinkResourcesMappers.js +0 -9
  367. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  368. package/esm/models/queryTextsMappers.d.ts +0 -2
  369. package/esm/models/queryTextsMappers.d.ts.map +0 -1
  370. package/esm/models/queryTextsMappers.js +0 -9
  371. package/esm/models/queryTextsMappers.js.map +0 -1
  372. package/esm/models/recommendedActionsMappers.d.ts +0 -2
  373. package/esm/models/recommendedActionsMappers.d.ts.map +0 -1
  374. package/esm/models/recommendedActionsMappers.js +0 -9
  375. package/esm/models/recommendedActionsMappers.js.map +0 -1
  376. package/esm/models/recoverableServersMappers.d.ts +0 -2
  377. package/esm/models/recoverableServersMappers.d.ts.map +0 -1
  378. package/esm/models/recoverableServersMappers.js +0 -9
  379. package/esm/models/recoverableServersMappers.js.map +0 -1
  380. package/esm/models/replicasMappers.d.ts +0 -2
  381. package/esm/models/replicasMappers.d.ts.map +0 -1
  382. package/esm/models/replicasMappers.js +0 -9
  383. package/esm/models/replicasMappers.js.map +0 -1
  384. package/esm/models/serverAdministratorsMappers.d.ts +0 -2
  385. package/esm/models/serverAdministratorsMappers.d.ts.map +0 -1
  386. package/esm/models/serverAdministratorsMappers.js +0 -9
  387. package/esm/models/serverAdministratorsMappers.js.map +0 -1
  388. package/esm/models/serverBasedPerformanceTierMappers.d.ts +0 -2
  389. package/esm/models/serverBasedPerformanceTierMappers.d.ts.map +0 -1
  390. package/esm/models/serverBasedPerformanceTierMappers.js +0 -9
  391. package/esm/models/serverBasedPerformanceTierMappers.js.map +0 -1
  392. package/esm/models/serverKeysMappers.d.ts +0 -2
  393. package/esm/models/serverKeysMappers.d.ts.map +0 -1
  394. package/esm/models/serverKeysMappers.js +0 -9
  395. package/esm/models/serverKeysMappers.js.map +0 -1
  396. package/esm/models/serverParametersMappers.d.ts +0 -2
  397. package/esm/models/serverParametersMappers.d.ts.map +0 -1
  398. package/esm/models/serverParametersMappers.js +0 -9
  399. package/esm/models/serverParametersMappers.js.map +0 -1
  400. package/esm/models/serverSecurityAlertPoliciesMappers.d.ts +0 -2
  401. package/esm/models/serverSecurityAlertPoliciesMappers.d.ts.map +0 -1
  402. package/esm/models/serverSecurityAlertPoliciesMappers.js +0 -9
  403. package/esm/models/serverSecurityAlertPoliciesMappers.js.map +0 -1
  404. package/esm/models/serversMappers.d.ts +0 -2
  405. package/esm/models/serversMappers.d.ts.map +0 -1
  406. package/esm/models/serversMappers.js +0 -9
  407. package/esm/models/serversMappers.js.map +0 -1
  408. package/esm/models/topQueryStatisticsMappers.d.ts +0 -2
  409. package/esm/models/topQueryStatisticsMappers.d.ts.map +0 -1
  410. package/esm/models/topQueryStatisticsMappers.js +0 -9
  411. package/esm/models/topQueryStatisticsMappers.js.map +0 -1
  412. package/esm/models/virtualNetworkRulesMappers.d.ts +0 -2
  413. package/esm/models/virtualNetworkRulesMappers.d.ts.map +0 -1
  414. package/esm/models/virtualNetworkRulesMappers.js +0 -9
  415. package/esm/models/virtualNetworkRulesMappers.js.map +0 -1
  416. package/esm/models/waitStatisticsMappers.d.ts +0 -2
  417. package/esm/models/waitStatisticsMappers.d.ts.map +0 -1
  418. package/esm/models/waitStatisticsMappers.js +0 -9
  419. package/esm/models/waitStatisticsMappers.js.map +0 -1
  420. package/esm/mySQLManagementClient.d.ts +0 -90
  421. package/esm/mySQLManagementClient.d.ts.map +0 -1
  422. package/esm/mySQLManagementClient.js +0 -151
  423. package/esm/mySQLManagementClient.js.map +0 -1
  424. package/esm/mySQLManagementClientContext.d.ts +0 -21
  425. package/esm/mySQLManagementClientContext.d.ts.map +0 -1
  426. package/esm/mySQLManagementClientContext.js +0 -59
  427. package/esm/mySQLManagementClientContext.js.map +0 -1
  428. package/esm/operations/advisors.d.ts +0 -76
  429. package/esm/operations/advisors.d.ts.map +0 -1
  430. package/esm/operations/advisors.js +0 -119
  431. package/esm/operations/advisors.js.map +0 -1
  432. package/esm/operations/checkNameAvailability.d.ts +0 -34
  433. package/esm/operations/checkNameAvailability.d.ts.map +0 -1
  434. package/esm/operations/checkNameAvailability.js +0 -59
  435. package/esm/operations/checkNameAvailability.js.map +0 -1
  436. package/esm/operations/configurations.d.ts +0 -79
  437. package/esm/operations/configurations.d.ts.map +0 -1
  438. package/esm/operations/configurations.js +0 -152
  439. package/esm/operations/configurations.js.map +0 -1
  440. package/esm/operations/databases.d.ts +0 -97
  441. package/esm/operations/databases.d.ts.map +0 -1
  442. package/esm/operations/databases.js +0 -208
  443. package/esm/operations/databases.js.map +0 -1
  444. package/esm/operations/firewallRules.d.ts +0 -97
  445. package/esm/operations/firewallRules.d.ts.map +0 -1
  446. package/esm/operations/firewallRules.js +0 -208
  447. package/esm/operations/firewallRules.js.map +0 -1
  448. package/esm/operations/index.d.ts.map +0 -1
  449. package/esm/operations/index.js.map +0 -1
  450. package/esm/operations/locationBasedPerformanceTier.d.ts +0 -31
  451. package/esm/operations/locationBasedPerformanceTier.d.ts.map +0 -1
  452. package/esm/operations/locationBasedPerformanceTier.js +0 -55
  453. package/esm/operations/locationBasedPerformanceTier.js.map +0 -1
  454. package/esm/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts +0 -34
  455. package/esm/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +0 -1
  456. package/esm/operations/locationBasedRecommendedActionSessionsOperationStatus.js +0 -57
  457. package/esm/operations/locationBasedRecommendedActionSessionsOperationStatus.js.map +0 -1
  458. package/esm/operations/locationBasedRecommendedActionSessionsResult.d.ts +0 -52
  459. package/esm/operations/locationBasedRecommendedActionSessionsResult.d.ts.map +0 -1
  460. package/esm/operations/locationBasedRecommendedActionSessionsResult.js +0 -92
  461. package/esm/operations/locationBasedRecommendedActionSessionsResult.js.map +0 -1
  462. package/esm/operations/logFiles.d.ts +0 -34
  463. package/esm/operations/logFiles.d.ts.map +0 -1
  464. package/esm/operations/logFiles.js +0 -57
  465. package/esm/operations/logFiles.js.map +0 -1
  466. package/esm/operations/operations.d.ts +0 -28
  467. package/esm/operations/operations.d.ts.map +0 -1
  468. package/esm/operations/operations.js +0 -50
  469. package/esm/operations/operations.js.map +0 -1
  470. package/esm/operations/privateEndpointConnections.d.ts +0 -137
  471. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  472. package/esm/operations/privateEndpointConnections.js +0 -296
  473. package/esm/operations/privateEndpointConnections.js.map +0 -1
  474. package/esm/operations/privateLinkResources.d.ts +0 -76
  475. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  476. package/esm/operations/privateLinkResources.js +0 -119
  477. package/esm/operations/privateLinkResources.js.map +0 -1
  478. package/esm/operations/queryTexts.d.ts +0 -82
  479. package/esm/operations/queryTexts.d.ts.map +0 -1
  480. package/esm/operations/queryTexts.js +0 -123
  481. package/esm/operations/queryTexts.js.map +0 -1
  482. package/esm/operations/recommendedActions.d.ts +0 -82
  483. package/esm/operations/recommendedActions.d.ts.map +0 -1
  484. package/esm/operations/recommendedActions.js +0 -125
  485. package/esm/operations/recommendedActions.js.map +0 -1
  486. package/esm/operations/recoverableServers.d.ts +0 -34
  487. package/esm/operations/recoverableServers.d.ts.map +0 -1
  488. package/esm/operations/recoverableServers.js +0 -57
  489. package/esm/operations/recoverableServers.js.map +0 -1
  490. package/esm/operations/replicas.d.ts +0 -34
  491. package/esm/operations/replicas.d.ts.map +0 -1
  492. package/esm/operations/replicas.js +0 -57
  493. package/esm/operations/replicas.js.map +0 -1
  494. package/esm/operations/serverAdministrators.d.ts +0 -92
  495. package/esm/operations/serverAdministrators.d.ts.map +0 -1
  496. package/esm/operations/serverAdministrators.js +0 -199
  497. package/esm/operations/serverAdministrators.js.map +0 -1
  498. package/esm/operations/serverBasedPerformanceTier.d.ts +0 -34
  499. package/esm/operations/serverBasedPerformanceTier.d.ts.map +0 -1
  500. package/esm/operations/serverBasedPerformanceTier.js +0 -57
  501. package/esm/operations/serverBasedPerformanceTier.js.map +0 -1
  502. package/esm/operations/serverKeys.d.ts +0 -115
  503. package/esm/operations/serverKeys.d.ts.map +0 -1
  504. package/esm/operations/serverKeys.js +0 -236
  505. package/esm/operations/serverKeys.js.map +0 -1
  506. package/esm/operations/serverParameters.d.ts +0 -32
  507. package/esm/operations/serverParameters.d.ts.map +0 -1
  508. package/esm/operations/serverParameters.js +0 -84
  509. package/esm/operations/serverParameters.js.map +0 -1
  510. package/esm/operations/serverSecurityAlertPolicies.d.ts +0 -92
  511. package/esm/operations/serverSecurityAlertPolicies.d.ts.map +0 -1
  512. package/esm/operations/serverSecurityAlertPolicies.js +0 -177
  513. package/esm/operations/serverSecurityAlertPolicies.js.map +0 -1
  514. package/esm/operations/servers.d.ts +0 -190
  515. package/esm/operations/servers.d.ts.map +0 -1
  516. package/esm/operations/servers.js +0 -483
  517. package/esm/operations/servers.js.map +0 -1
  518. package/esm/operations/topQueryStatistics.d.ts +0 -79
  519. package/esm/operations/topQueryStatistics.d.ts.map +0 -1
  520. package/esm/operations/topQueryStatistics.js +0 -125
  521. package/esm/operations/topQueryStatistics.js.map +0 -1
  522. package/esm/operations/virtualNetworkRules.d.ts +0 -115
  523. package/esm/operations/virtualNetworkRules.d.ts.map +0 -1
  524. package/esm/operations/virtualNetworkRules.js +0 -237
  525. package/esm/operations/virtualNetworkRules.js.map +0 -1
  526. package/esm/operations/waitStatistics.d.ts +0 -79
  527. package/esm/operations/waitStatistics.d.ts.map +0 -1
  528. package/esm/operations/waitStatistics.js +0 -125
  529. package/esm/operations/waitStatistics.js.map +0 -1
  530. package/src/models/advisorsMappers.ts +0 -44
  531. package/src/models/configurationsMappers.ts +0 -46
  532. package/src/models/databasesMappers.ts +0 -46
  533. package/src/models/firewallRulesMappers.ts +0 -46
  534. package/src/models/locationBasedRecommendedActionSessionsResultMappers.ts +0 -44
  535. package/src/models/logFilesMappers.ts +0 -46
  536. package/src/models/privateEndpointConnectionsMappers.ts +0 -47
  537. package/src/models/privateLinkResourcesMappers.ts +0 -46
  538. package/src/models/queryTextsMappers.ts +0 -46
  539. package/src/models/recommendedActionsMappers.ts +0 -44
  540. package/src/models/recoverableServersMappers.ts +0 -45
  541. package/src/models/replicasMappers.ts +0 -46
  542. package/src/models/serverAdministratorsMappers.ts +0 -46
  543. package/src/models/serverBasedPerformanceTierMappers.ts +0 -17
  544. package/src/models/serverKeysMappers.ts +0 -46
  545. package/src/models/serverParametersMappers.ts +0 -46
  546. package/src/models/serverSecurityAlertPoliciesMappers.ts +0 -44
  547. package/src/models/serversMappers.ts +0 -54
  548. package/src/models/topQueryStatisticsMappers.ts +0 -47
  549. package/src/models/virtualNetworkRulesMappers.ts +0 -44
  550. package/src/models/waitStatisticsMappers.ts +0 -47
  551. package/src/mySQLManagementClientContext.ts +0 -65
@@ -6,3206 +6,1909 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
11
+ export type ServerPropertiesForCreateUnion =
12
+ | ServerPropertiesForCreate
13
+ | ServerPropertiesForDefaultCreate
14
+ | ServerPropertiesForRestore
15
+ | ServerPropertiesForGeoRestore
16
+ | ServerPropertiesForReplica;
13
17
 
14
- /**
15
- * An interface representing PrivateEndpointProperty.
16
- */
17
- export interface PrivateEndpointProperty extends BaseResource {
18
- /**
19
- * Resource id of the private endpoint.
20
- */
21
- id?: string;
18
+ /** Represents a server to be created. */
19
+ export interface ServerForCreate {
20
+ /** The Azure Active Directory identity of the server. */
21
+ identity?: ResourceIdentity;
22
+ /** The SKU (pricing tier) of the server. */
23
+ sku?: Sku;
24
+ /** Properties of the server. */
25
+ properties: ServerPropertiesForCreateUnion;
26
+ /** The location the resource resides in. */
27
+ location: string;
28
+ /** Application-specific metadata in the form of key-value pairs. */
29
+ tags?: { [propertyName: string]: string };
22
30
  }
23
31
 
24
- /**
25
- * An interface representing ServerPrivateLinkServiceConnectionStateProperty.
26
- */
27
- export interface ServerPrivateLinkServiceConnectionStateProperty {
28
- /**
29
- * The private link service connection status. Possible values include: 'Approved', 'Pending',
30
- * 'Rejected', 'Disconnected'
31
- */
32
- status: PrivateLinkServiceConnectionStateStatus;
32
+ /** Azure Active Directory identity configuration for a resource. */
33
+ export interface ResourceIdentity {
33
34
  /**
34
- * The private link service connection description.
35
+ * The Azure Active Directory principal id.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
35
37
  */
36
- description: string;
38
+ readonly principalId?: string;
39
+ /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */
40
+ type?: IdentityType;
37
41
  /**
38
- * The actions required for private link service connection. Possible values include: 'None'
39
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
42
+ * The Azure Active Directory tenant id.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
44
  */
41
- readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
45
+ readonly tenantId?: string;
42
46
  }
43
47
 
44
- /**
45
- * Properties of a private endpoint connection.
46
- */
47
- export interface ServerPrivateEndpointConnectionProperties {
48
- /**
49
- * Private endpoint which the connection belongs to.
50
- */
51
- privateEndpoint?: PrivateEndpointProperty;
52
- /**
53
- * Connection state of the private endpoint connection.
54
- */
55
- privateLinkServiceConnectionState?: ServerPrivateLinkServiceConnectionStateProperty;
56
- /**
57
- * State of the private endpoint connection. Possible values include: 'Approving', 'Ready',
58
- * 'Dropping', 'Failed', 'Rejecting'
59
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
60
- */
61
- readonly provisioningState?: PrivateEndpointProvisioningState;
48
+ /** Billing information related properties of a server. */
49
+ export interface Sku {
50
+ /** The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. */
51
+ name: string;
52
+ /** The tier of the particular SKU, e.g. Basic. */
53
+ tier?: SkuTier;
54
+ /** The scale up/out capacity, representing server's compute units. */
55
+ capacity?: number;
56
+ /** The size code, to be interpreted by resource as appropriate. */
57
+ size?: string;
58
+ /** The family of hardware. */
59
+ family?: string;
62
60
  }
63
61
 
64
- /**
65
- * A private endpoint connection under a server
66
- */
62
+ /** The properties used to create a new server. */
63
+ export interface ServerPropertiesForCreate {
64
+ /** Polymorphic discriminator, which specifies the different types this object can be */
65
+ createMode: "Default" | "PointInTimeRestore" | "GeoRestore" | "Replica";
66
+ /** Server version. */
67
+ version?: ServerVersion;
68
+ /** Enable ssl enforcement or not when connect to server. */
69
+ sslEnforcement?: SslEnforcementEnum;
70
+ /** Enforce a minimal Tls version for the server. */
71
+ minimalTlsVersion?: MinimalTlsVersionEnum;
72
+ /** Status showing whether the server enabled infrastructure encryption. */
73
+ infrastructureEncryption?: InfrastructureEncryption;
74
+ /** Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
75
+ publicNetworkAccess?: PublicNetworkAccessEnum;
76
+ /** Storage profile of a server. */
77
+ storageProfile?: StorageProfile;
78
+ }
79
+
80
+ /** Storage Profile properties of a server */
81
+ export interface StorageProfile {
82
+ /** Backup retention days for the server. */
83
+ backupRetentionDays?: number;
84
+ /** Enable Geo-redundant or not for server backup. */
85
+ geoRedundantBackup?: GeoRedundantBackup;
86
+ /** Max storage allowed for a server. */
87
+ storageMB?: number;
88
+ /** Enable Storage Auto Grow. */
89
+ storageAutogrow?: StorageAutogrow;
90
+ }
91
+
92
+ /** A private endpoint connection under a server */
67
93
  export interface ServerPrivateEndpointConnection {
68
94
  /**
69
95
  * Resource Id of the private endpoint connection.
70
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
71
97
  */
72
98
  readonly id?: string;
73
99
  /**
74
100
  * Private endpoint connection properties
75
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
76
102
  */
77
103
  readonly properties?: ServerPrivateEndpointConnectionProperties;
78
104
  }
79
105
 
80
- /**
81
- * Storage Profile properties of a server
82
- */
83
- export interface StorageProfile {
106
+ /** Properties of a private endpoint connection. */
107
+ export interface ServerPrivateEndpointConnectionProperties {
108
+ /** Private endpoint which the connection belongs to. */
109
+ privateEndpoint?: PrivateEndpointProperty;
110
+ /** Connection state of the private endpoint connection. */
111
+ privateLinkServiceConnectionState?: ServerPrivateLinkServiceConnectionStateProperty;
84
112
  /**
85
- * Backup retention days for the server.
113
+ * State of the private endpoint connection.
114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
115
  */
87
- backupRetentionDays?: number;
116
+ readonly provisioningState?: PrivateEndpointProvisioningState;
117
+ }
118
+
119
+ export interface PrivateEndpointProperty {
120
+ /** Resource id of the private endpoint. */
121
+ id?: string;
122
+ }
123
+
124
+ export interface ServerPrivateLinkServiceConnectionStateProperty {
125
+ /** The private link service connection status. */
126
+ status: PrivateLinkServiceConnectionStateStatus;
127
+ /** The private link service connection description. */
128
+ description: string;
88
129
  /**
89
- * Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'
130
+ * The actions required for private link service connection.
131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
90
132
  */
91
- geoRedundantBackup?: GeoRedundantBackup;
133
+ readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
134
+ }
135
+
136
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
137
+ export interface Resource {
92
138
  /**
93
- * Max storage allowed for a server.
139
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
94
141
  */
95
- storageMB?: number;
142
+ readonly id?: string;
96
143
  /**
97
- * Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled'
144
+ * The name of the resource
145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
146
  */
99
- storageAutogrow?: StorageAutogrow;
147
+ readonly name?: string;
148
+ /**
149
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
151
+ */
152
+ readonly type?: string;
100
153
  }
101
154
 
102
- /**
103
- * Contains the possible cases for ServerPropertiesForCreate.
104
- */
105
- export type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
155
+ /** An error response from the Batch service. */
156
+ export interface CloudError {
157
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
158
+ error?: ErrorResponse;
159
+ }
106
160
 
107
- /**
108
- * The properties used to create a new server.
109
- */
110
- export interface ServerPropertiesForCreate {
161
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
162
+ export interface ErrorResponse {
111
163
  /**
112
- * Polymorphic Discriminator
164
+ * The error code.
165
+ * NOTE: This property will not be serialized. It can only be populated by the server.
113
166
  */
114
- createMode: "ServerPropertiesForCreate";
167
+ readonly code?: string;
115
168
  /**
116
- * Server version. Possible values include: '5.6', '5.7', '8.0'
169
+ * The error message.
170
+ * NOTE: This property will not be serialized. It can only be populated by the server.
117
171
  */
118
- version?: ServerVersion;
172
+ readonly message?: string;
119
173
  /**
120
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
121
- * 'Disabled'
174
+ * The error target.
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
122
176
  */
123
- sslEnforcement?: SslEnforcementEnum;
177
+ readonly target?: string;
124
178
  /**
125
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
126
- * 'TLS1_2', 'TLSEnforcementDisabled'
179
+ * The error details.
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
127
181
  */
128
- minimalTlsVersion?: MinimalTlsVersionEnum;
182
+ readonly details?: ErrorResponse[];
129
183
  /**
130
- * Status showing whether the server enabled infrastructure encryption. Possible values include:
131
- * 'Enabled', 'Disabled'
184
+ * The error additional info.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
132
186
  */
133
- infrastructureEncryption?: InfrastructureEncryption;
187
+ readonly additionalInfo?: ErrorAdditionalInfo[];
188
+ }
189
+
190
+ /** The resource management error additional info. */
191
+ export interface ErrorAdditionalInfo {
134
192
  /**
135
- * Whether or not public network access is allowed for this server. Value is optional but if
136
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
193
+ * The additional info type.
194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
137
195
  */
138
- publicNetworkAccess?: PublicNetworkAccessEnum;
196
+ readonly type?: string;
139
197
  /**
140
- * Storage profile of a server.
198
+ * The additional info.
199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
141
200
  */
142
- storageProfile?: StorageProfile;
201
+ readonly info?: Record<string, unknown>;
143
202
  }
144
203
 
145
- /**
146
- * The properties used to create a new server.
147
- */
148
- export interface ServerPropertiesForDefaultCreate {
149
- /**
150
- * Polymorphic Discriminator
151
- */
152
- createMode: "Default";
204
+ /** Parameters allowed to update for a server. */
205
+ export interface ServerUpdateParameters {
206
+ /** The Azure Active Directory identity of the server. */
207
+ identity?: ResourceIdentity;
208
+ /** The SKU (pricing tier) of the server. */
209
+ sku?: Sku;
210
+ /** Application-specific metadata in the form of key-value pairs. */
211
+ tags?: { [propertyName: string]: string };
212
+ /** Storage profile of a server. */
213
+ storageProfile?: StorageProfile;
153
214
  /**
154
- * Server version. Possible values include: '5.6', '5.7', '8.0'
215
+ * The password of the administrator login.
216
+ * This value contains a credential. Consider obscuring before showing to users
155
217
  */
218
+ administratorLoginPassword?: string;
219
+ /** The version of a server. */
156
220
  version?: ServerVersion;
157
- /**
158
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
159
- * 'Disabled'
160
- */
221
+ /** Enable ssl enforcement or not when connect to server. */
161
222
  sslEnforcement?: SslEnforcementEnum;
223
+ /** Enforce a minimal Tls version for the server. */
224
+ minimalTlsVersion?: MinimalTlsVersionEnum;
225
+ /** Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
226
+ publicNetworkAccess?: PublicNetworkAccessEnum;
227
+ /** The replication role of the server. */
228
+ replicationRole?: string;
229
+ }
230
+
231
+ /** A list of servers. */
232
+ export interface ServerListResult {
233
+ /** The list of servers */
234
+ value?: Server[];
235
+ }
236
+
237
+ /** A list of firewall rules. */
238
+ export interface FirewallRuleListResult {
239
+ /** The list of firewall rules in a server. */
240
+ value?: FirewallRule[];
241
+ }
242
+
243
+ /** A list of virtual network rules. */
244
+ export interface VirtualNetworkRuleListResult {
162
245
  /**
163
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
164
- * 'TLS1_2', 'TLSEnforcementDisabled'
246
+ * Array of results.
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
248
  */
166
- minimalTlsVersion?: MinimalTlsVersionEnum;
249
+ readonly value?: VirtualNetworkRule[];
167
250
  /**
168
- * Status showing whether the server enabled infrastructure encryption. Possible values include:
169
- * 'Enabled', 'Disabled'
251
+ * Link to retrieve next page of results.
252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
253
  */
171
- infrastructureEncryption?: InfrastructureEncryption;
254
+ readonly nextLink?: string;
255
+ }
256
+
257
+ /** A List of databases. */
258
+ export interface DatabaseListResult {
259
+ /** The list of databases housed in a server */
260
+ value?: Database[];
261
+ }
262
+
263
+ /** A list of server configurations. */
264
+ export interface ConfigurationListResult {
265
+ /** The list of server configurations. */
266
+ value?: Configuration[];
267
+ }
268
+
269
+ /** A list of log files. */
270
+ export interface LogFileListResult {
271
+ /** The list of log files. */
272
+ value?: LogFile[];
273
+ }
274
+
275
+ /** The response to a list Active Directory Administrators request. */
276
+ export interface ServerAdministratorResourceListResult {
277
+ /** The list of server Active Directory Administrators for the server. */
278
+ value?: ServerAdministratorResource[];
279
+ }
280
+
281
+ /** A list of performance tiers. */
282
+ export interface PerformanceTierListResult {
283
+ /** The list of performance tiers */
284
+ value?: PerformanceTierProperties[];
285
+ }
286
+
287
+ /** Performance tier properties */
288
+ export interface PerformanceTierProperties {
289
+ /** ID of the performance tier. */
290
+ id?: string;
291
+ /** Maximum Backup retention in days for the performance tier edition */
292
+ maxBackupRetentionDays?: number;
293
+ /** Minimum Backup retention in days for the performance tier edition */
294
+ minBackupRetentionDays?: number;
295
+ /** Max storage allowed for a server. */
296
+ maxStorageMB?: number;
297
+ /** Max storage allowed for a server. */
298
+ minLargeStorageMB?: number;
299
+ /** Max storage allowed for a server. */
300
+ maxLargeStorageMB?: number;
301
+ /** Max storage allowed for a server. */
302
+ minStorageMB?: number;
303
+ /** Service level objectives associated with the performance tier */
304
+ serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[];
305
+ }
306
+
307
+ /** Service level objectives for performance tier. */
308
+ export interface PerformanceTierServiceLevelObjectives {
309
+ /** ID for the service level objective. */
310
+ id?: string;
311
+ /** Edition of the performance tier. */
312
+ edition?: string;
313
+ /** vCore associated with the service level objective */
314
+ vCore?: number;
315
+ /** Hardware generation associated with the service level objective */
316
+ hardwareGeneration?: string;
317
+ /** Maximum Backup retention in days for the performance tier edition */
318
+ maxBackupRetentionDays?: number;
319
+ /** Minimum Backup retention in days for the performance tier edition */
320
+ minBackupRetentionDays?: number;
321
+ /** Max storage allowed for a server. */
322
+ maxStorageMB?: number;
323
+ /** Max storage allowed for a server. */
324
+ minStorageMB?: number;
325
+ }
326
+
327
+ /** Request from client to check resource name availability. */
328
+ export interface NameAvailabilityRequest {
329
+ /** Resource name to verify. */
330
+ name: string;
331
+ /** Resource type used for verification. */
332
+ type?: string;
333
+ }
334
+
335
+ /** Represents a resource name availability. */
336
+ export interface NameAvailability {
337
+ /** Error Message. */
338
+ message?: string;
339
+ /** Indicates whether the resource name is available. */
340
+ nameAvailable?: boolean;
341
+ /** Reason for name being unavailable. */
342
+ reason?: string;
343
+ }
344
+
345
+ /** A list of resource provider operations. */
346
+ export interface OperationListResult {
347
+ /** The list of resource provider operations. */
348
+ value?: Operation[];
349
+ }
350
+
351
+ /** REST API operation definition. */
352
+ export interface Operation {
172
353
  /**
173
- * Whether or not public network access is allowed for this server. Value is optional but if
174
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
354
+ * The name of the operation being performed on this particular object.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
356
  */
176
- publicNetworkAccess?: PublicNetworkAccessEnum;
357
+ readonly name?: string;
177
358
  /**
178
- * Storage profile of a server.
359
+ * The localized display information for this particular operation or action.
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
179
361
  */
180
- storageProfile?: StorageProfile;
362
+ readonly display?: OperationDisplay;
181
363
  /**
182
- * The administrator's login name of a server. Can only be specified when the server is being
183
- * created (and is required for creation).
364
+ * The intended executor of the operation.
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
184
366
  */
185
- administratorLogin: string;
367
+ readonly origin?: OperationOrigin;
186
368
  /**
187
- * The password of the administrator login.
369
+ * Additional descriptions for the operation.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
371
  */
189
- administratorLoginPassword: string;
372
+ readonly properties?: { [propertyName: string]: Record<string, unknown> };
190
373
  }
191
374
 
192
- /**
193
- * The properties used to create a new server by restoring from a backup.
194
- */
195
- export interface ServerPropertiesForRestore {
196
- /**
197
- * Polymorphic Discriminator
198
- */
199
- createMode: "PointInTimeRestore";
375
+ /** Display metadata associated with the operation. */
376
+ export interface OperationDisplay {
200
377
  /**
201
- * Server version. Possible values include: '5.6', '5.7', '8.0'
378
+ * Operation resource provider name.
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
202
380
  */
203
- version?: ServerVersion;
381
+ readonly provider?: string;
204
382
  /**
205
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
206
- * 'Disabled'
383
+ * Resource on which the operation is performed.
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
207
385
  */
208
- sslEnforcement?: SslEnforcementEnum;
386
+ readonly resource?: string;
209
387
  /**
210
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
211
- * 'TLS1_2', 'TLSEnforcementDisabled'
388
+ * Localized friendly name for the operation.
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
212
390
  */
213
- minimalTlsVersion?: MinimalTlsVersionEnum;
391
+ readonly operation?: string;
214
392
  /**
215
- * Status showing whether the server enabled infrastructure encryption. Possible values include:
216
- * 'Enabled', 'Disabled'
393
+ * Operation description.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
395
  */
218
- infrastructureEncryption?: InfrastructureEncryption;
396
+ readonly description?: string;
397
+ }
398
+
399
+ /** A list of the server's security alert policies. */
400
+ export interface ServerSecurityAlertPolicyListResult {
219
401
  /**
220
- * Whether or not public network access is allowed for this server. Value is optional but if
221
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
402
+ * Array of results.
403
+ * NOTE: This property will not be serialized. It can only be populated by the server.
222
404
  */
223
- publicNetworkAccess?: PublicNetworkAccessEnum;
405
+ readonly value?: ServerSecurityAlertPolicy[];
224
406
  /**
225
- * Storage profile of a server.
407
+ * Link to retrieve next page of results.
408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
409
  */
227
- storageProfile?: StorageProfile;
410
+ readonly nextLink?: string;
411
+ }
412
+
413
+ /** A list of query texts. */
414
+ export interface QueryTextsResultList {
228
415
  /**
229
- * The source server id to restore from.
416
+ * The list of query texts.
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
418
  */
231
- sourceServerId: string;
419
+ readonly value?: QueryText[];
232
420
  /**
233
- * Restore point creation time (ISO8601 format), specifying the time to restore from.
421
+ * Link to retrieve next page of results.
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
234
423
  */
235
- restorePointInTime: Date;
424
+ readonly nextLink?: string;
236
425
  }
237
426
 
238
- /**
239
- * The properties used to create a new server by restoring to a different region from a geo
240
- * replicated backup.
241
- */
242
- export interface ServerPropertiesForGeoRestore {
243
- /**
244
- * Polymorphic Discriminator
245
- */
246
- createMode: "GeoRestore";
427
+ /** Input to get top query statistics */
428
+ export interface TopQueryStatisticsInput {
429
+ /** Max number of top queries to return. */
430
+ numberOfTopQueries: number;
431
+ /** Aggregation function name. */
432
+ aggregationFunction: string;
433
+ /** Observed metric name. */
434
+ observedMetric: string;
435
+ /** Observation start time. */
436
+ observationStartTime: Date;
437
+ /** Observation end time. */
438
+ observationEndTime: Date;
439
+ /** Aggregation interval type in ISO 8601 format. */
440
+ aggregationWindow: string;
441
+ }
442
+
443
+ /** A list of query statistics. */
444
+ export interface TopQueryStatisticsResultList {
247
445
  /**
248
- * Server version. Possible values include: '5.6', '5.7', '8.0'
446
+ * The list of top query statistics.
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
249
448
  */
250
- version?: ServerVersion;
449
+ readonly value?: QueryStatistic[];
251
450
  /**
252
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
253
- * 'Disabled'
451
+ * Link to retrieve next page of results.
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
254
453
  */
255
- sslEnforcement?: SslEnforcementEnum;
256
- /**
257
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
258
- * 'TLS1_2', 'TLSEnforcementDisabled'
259
- */
260
- minimalTlsVersion?: MinimalTlsVersionEnum;
261
- /**
262
- * Status showing whether the server enabled infrastructure encryption. Possible values include:
263
- * 'Enabled', 'Disabled'
264
- */
265
- infrastructureEncryption?: InfrastructureEncryption;
266
- /**
267
- * Whether or not public network access is allowed for this server. Value is optional but if
268
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
269
- */
270
- publicNetworkAccess?: PublicNetworkAccessEnum;
271
- /**
272
- * Storage profile of a server.
273
- */
274
- storageProfile?: StorageProfile;
275
- /**
276
- * The source server id to restore from.
277
- */
278
- sourceServerId: string;
454
+ readonly nextLink?: string;
279
455
  }
280
456
 
281
- /**
282
- * The properties to create a new replica.
283
- */
284
- export interface ServerPropertiesForReplica {
285
- /**
286
- * Polymorphic Discriminator
287
- */
288
- createMode: "Replica";
289
- /**
290
- * Server version. Possible values include: '5.6', '5.7', '8.0'
291
- */
292
- version?: ServerVersion;
457
+ /** Input to get wait statistics */
458
+ export interface WaitStatisticsInput {
459
+ /** Observation start time. */
460
+ observationStartTime: Date;
461
+ /** Observation end time. */
462
+ observationEndTime: Date;
463
+ /** Aggregation interval type in ISO 8601 format. */
464
+ aggregationWindow: string;
465
+ }
466
+
467
+ /** A list of wait statistics. */
468
+ export interface WaitStatisticsResultList {
293
469
  /**
294
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
295
- * 'Disabled'
470
+ * The list of wait statistics.
471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
296
472
  */
297
- sslEnforcement?: SslEnforcementEnum;
473
+ readonly value?: WaitStatistic[];
298
474
  /**
299
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
300
- * 'TLS1_2', 'TLSEnforcementDisabled'
475
+ * Link to retrieve next page of results.
476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
477
  */
302
- minimalTlsVersion?: MinimalTlsVersionEnum;
478
+ readonly nextLink?: string;
479
+ }
480
+
481
+ /** Result of Query Performance Insight data reset. */
482
+ export interface QueryPerformanceInsightResetDataResult {
483
+ /** Indicates result of the operation. */
484
+ status?: QueryPerformanceInsightResetDataResultState;
485
+ /** operation message. */
486
+ message?: string;
487
+ }
488
+
489
+ /** A list of query statistics. */
490
+ export interface AdvisorsResultList {
303
491
  /**
304
- * Status showing whether the server enabled infrastructure encryption. Possible values include:
305
- * 'Enabled', 'Disabled'
492
+ * The list of recommendation action advisors.
493
+ * NOTE: This property will not be serialized. It can only be populated by the server.
306
494
  */
307
- infrastructureEncryption?: InfrastructureEncryption;
495
+ readonly value?: Advisor[];
308
496
  /**
309
- * Whether or not public network access is allowed for this server. Value is optional but if
310
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
497
+ * Link to retrieve next page of results.
498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
311
499
  */
312
- publicNetworkAccess?: PublicNetworkAccessEnum;
500
+ readonly nextLink?: string;
501
+ }
502
+
503
+ /** A list of recommendation actions. */
504
+ export interface RecommendationActionsResultList {
313
505
  /**
314
- * Storage profile of a server.
506
+ * The list of recommendation action advisors.
507
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
508
  */
316
- storageProfile?: StorageProfile;
509
+ readonly value?: RecommendationAction[];
317
510
  /**
318
- * The master server id to create replica from.
511
+ * Link to retrieve next page of results.
512
+ * NOTE: This property will not be serialized. It can only be populated by the server.
319
513
  */
320
- sourceServerId: string;
514
+ readonly nextLink?: string;
321
515
  }
322
516
 
323
- /**
324
- * Billing information related properties of a server.
325
- */
326
- export interface Sku {
517
+ /** Recommendation action session operation status. */
518
+ export interface RecommendedActionSessionsOperationStatus {
519
+ /** Operation identifier. */
520
+ name?: string;
521
+ /** Operation start time. */
522
+ startTime?: Date;
523
+ /** Operation status. */
524
+ status?: string;
525
+ }
526
+
527
+ export interface PrivateLinkServiceConnectionStateProperty {
528
+ /** The private link service connection status. */
529
+ status: string;
530
+ /** The private link service connection description. */
531
+ description: string;
327
532
  /**
328
- * The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
533
+ * The actions required for private link service connection.
534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
329
535
  */
330
- name: string;
536
+ readonly actionsRequired?: string;
537
+ }
538
+
539
+ /** Tags object for patch operations. */
540
+ export interface TagsObject {
541
+ /** Resource tags. */
542
+ tags?: { [propertyName: string]: string };
543
+ }
544
+
545
+ /** A list of private endpoint connections. */
546
+ export interface PrivateEndpointConnectionListResult {
331
547
  /**
332
- * The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic',
333
- * 'GeneralPurpose', 'MemoryOptimized'
548
+ * Array of results.
549
+ * NOTE: This property will not be serialized. It can only be populated by the server.
334
550
  */
335
- tier?: SkuTier;
551
+ readonly value?: PrivateEndpointConnection[];
336
552
  /**
337
- * The scale up/out capacity, representing server's compute units.
553
+ * Link to retrieve next page of results.
554
+ * NOTE: This property will not be serialized. It can only be populated by the server.
338
555
  */
339
- capacity?: number;
556
+ readonly nextLink?: string;
557
+ }
558
+
559
+ /** A list of private link resources */
560
+ export interface PrivateLinkResourceListResult {
340
561
  /**
341
- * The size code, to be interpreted by resource as appropriate.
562
+ * Array of results.
563
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
564
  */
343
- size?: string;
565
+ readonly value?: PrivateLinkResource[];
344
566
  /**
345
- * The family of hardware.
567
+ * Link to retrieve next page of results.
568
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
569
  */
347
- family?: string;
570
+ readonly nextLink?: string;
348
571
  }
349
572
 
350
- /**
351
- * Azure Active Directory identity configuration for a resource.
352
- */
353
- export interface ResourceIdentity {
354
- /**
355
- * The Azure Active Directory principal id.
356
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
357
- */
358
- readonly principalId?: string;
573
+ /** Properties of a private link resource. */
574
+ export interface PrivateLinkResourceProperties {
359
575
  /**
360
- * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an
361
- * Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned'
576
+ * The private link resource group id.
577
+ * NOTE: This property will not be serialized. It can only be populated by the server.
362
578
  */
363
- type?: IdentityType;
579
+ readonly groupId?: string;
364
580
  /**
365
- * The Azure Active Directory tenant id.
366
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
581
+ * The private link resource required member names.
582
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
583
  */
368
- readonly tenantId?: string;
584
+ readonly requiredMembers?: string[];
369
585
  }
370
586
 
371
- /**
372
- * Common fields that are returned in the response for all Azure Resource Manager resources
373
- * @summary Resource
374
- */
375
- export interface Resource extends BaseResource {
376
- /**
377
- * Fully qualified resource ID for the resource. Ex -
378
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
379
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
380
- */
381
- readonly id?: string;
587
+ /** A list of MySQL Server keys. */
588
+ export interface ServerKeyListResult {
382
589
  /**
383
- * The name of the resource
384
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
590
+ * A list of MySQL Server keys.
591
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
592
  */
386
- readonly name?: string;
593
+ readonly value?: ServerKey[];
387
594
  /**
388
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
389
- * "Microsoft.Storage/storageAccounts"
390
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
595
+ * Link to retrieve next page of results.
596
+ * NOTE: This property will not be serialized. It can only be populated by the server.
391
597
  */
392
- readonly type?: string;
598
+ readonly nextLink?: string;
393
599
  }
394
600
 
395
- /**
396
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
397
- * 'tags' and a 'location'
398
- * @summary Tracked Resource
399
- */
400
- export interface TrackedResource extends Resource {
601
+ /** An error response from the Batch service. */
602
+ export interface CloudErrorAutoGenerated {
603
+ /** Error message */
604
+ error?: ErrorResponse;
605
+ }
606
+
607
+ export interface ServerUpgradeParameters {
608
+ /** Represents an server storage profile. */
609
+ targetServerVersion?: string;
610
+ }
611
+
612
+ /** The properties used to create a new server. */
613
+ export type ServerPropertiesForDefaultCreate = ServerPropertiesForCreate & {
614
+ /** Polymorphic discriminator, which specifies the different types this object can be */
615
+ createMode: "Default";
616
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). The login name is required when updating password. */
617
+ administratorLogin: string;
401
618
  /**
402
- * Resource tags.
619
+ * The password of the administrator login.
620
+ * This value contains a credential. Consider obscuring before showing to users
403
621
  */
622
+ administratorLoginPassword: string;
623
+ };
624
+
625
+ /** The properties used to create a new server by restoring from a backup. */
626
+ export type ServerPropertiesForRestore = ServerPropertiesForCreate & {
627
+ /** Polymorphic discriminator, which specifies the different types this object can be */
628
+ createMode: "PointInTimeRestore";
629
+ /** The source server id to restore from. */
630
+ sourceServerId: string;
631
+ /** Restore point creation time (ISO8601 format), specifying the time to restore from. */
632
+ restorePointInTime: Date;
633
+ };
634
+
635
+ /** The properties used to create a new server by restoring to a different region from a geo replicated backup. */
636
+ export type ServerPropertiesForGeoRestore = ServerPropertiesForCreate & {
637
+ /** Polymorphic discriminator, which specifies the different types this object can be */
638
+ createMode: "GeoRestore";
639
+ /** The source server id to restore from. */
640
+ sourceServerId: string;
641
+ };
642
+
643
+ /** The properties to create a new replica. */
644
+ export type ServerPropertiesForReplica = ServerPropertiesForCreate & {
645
+ /** Polymorphic discriminator, which specifies the different types this object can be */
646
+ createMode: "Replica";
647
+ /** The master server id to create replica from. */
648
+ sourceServerId: string;
649
+ };
650
+
651
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
652
+ export type TrackedResource = Resource & {
653
+ /** Resource tags. */
404
654
  tags?: { [propertyName: string]: string };
405
- /**
406
- * The geo-location where the resource lives
407
- */
655
+ /** The geo-location where the resource lives */
408
656
  location: string;
409
- }
657
+ };
410
658
 
411
- /**
412
- * Represents a server.
413
- */
414
- export interface Server extends TrackedResource {
415
- /**
416
- * The Azure Active Directory identity of the server.
417
- */
659
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
660
+ export type ProxyResource = Resource & {};
661
+
662
+ /** Represents a server. */
663
+ export type Server = TrackedResource & {
664
+ /** The Azure Active Directory identity of the server. */
418
665
  identity?: ResourceIdentity;
419
- /**
420
- * The SKU (pricing tier) of the server.
421
- */
666
+ /** The SKU (pricing tier) of the server. */
422
667
  sku?: Sku;
423
- /**
424
- * The administrator's login name of a server. Can only be specified when the server is being
425
- * created (and is required for creation).
426
- */
668
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
427
669
  administratorLogin?: string;
428
- /**
429
- * Server version. Possible values include: '5.6', '5.7', '8.0'
430
- */
670
+ /** Server version. */
431
671
  version?: ServerVersion;
432
- /**
433
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
434
- * 'Disabled'
435
- */
672
+ /** Enable ssl enforcement or not when connect to server. */
436
673
  sslEnforcement?: SslEnforcementEnum;
437
- /**
438
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
439
- * 'TLS1_2', 'TLSEnforcementDisabled'
440
- */
674
+ /** Enforce a minimal Tls version for the server. */
441
675
  minimalTlsVersion?: MinimalTlsVersionEnum;
442
676
  /**
443
677
  * Status showing whether the server data encryption is enabled with customer-managed keys.
444
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
678
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
679
  */
446
680
  readonly byokEnforcement?: string;
447
- /**
448
- * Status showing whether the server enabled infrastructure encryption. Possible values include:
449
- * 'Enabled', 'Disabled'
450
- */
681
+ /** Status showing whether the server enabled infrastructure encryption. */
451
682
  infrastructureEncryption?: InfrastructureEncryption;
452
- /**
453
- * A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping',
454
- * 'Disabled', 'Inaccessible'
455
- */
683
+ /** A state of a server that is visible to user. */
456
684
  userVisibleState?: ServerState;
457
- /**
458
- * The fully qualified domain name of a server.
459
- */
685
+ /** The fully qualified domain name of a server. */
460
686
  fullyQualifiedDomainName?: string;
461
- /**
462
- * Earliest restore point creation time (ISO8601 format)
463
- */
687
+ /** Earliest restore point creation time (ISO8601 format) */
464
688
  earliestRestoreDate?: Date;
465
- /**
466
- * Storage profile of a server.
467
- */
689
+ /** Storage profile of a server. */
468
690
  storageProfile?: StorageProfile;
469
- /**
470
- * The replication role of the server.
471
- */
691
+ /** The replication role of the server. */
472
692
  replicationRole?: string;
473
- /**
474
- * The master server id of a replica server.
475
- */
693
+ /** The master server id of a replica server. */
476
694
  masterServerId?: string;
477
- /**
478
- * The maximum number of replicas that a master server can have.
479
- */
695
+ /** The maximum number of replicas that a master server can have. */
480
696
  replicaCapacity?: number;
481
- /**
482
- * Whether or not public network access is allowed for this server. Value is optional but if
483
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
484
- */
697
+ /** Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
485
698
  publicNetworkAccess?: PublicNetworkAccessEnum;
486
699
  /**
487
700
  * List of private endpoint connections on a server
488
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
701
+ * NOTE: This property will not be serialized. It can only be populated by the server.
489
702
  */
490
703
  readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
491
- }
704
+ };
492
705
 
493
- /**
494
- * Represents a server to be created.
495
- */
496
- export interface ServerForCreate {
706
+ /** Represents a server firewall rule. */
707
+ export type FirewallRule = ProxyResource & {
708
+ /** The start IP address of the server firewall rule. Must be IPv4 format. */
709
+ startIpAddress: string;
710
+ /** The end IP address of the server firewall rule. Must be IPv4 format. */
711
+ endIpAddress: string;
712
+ };
713
+
714
+ /** A virtual network rule. */
715
+ export type VirtualNetworkRule = ProxyResource & {
716
+ /** The ARM resource id of the virtual network subnet. */
717
+ virtualNetworkSubnetId?: string;
718
+ /** Create firewall rule before the virtual network has vnet service endpoint enabled. */
719
+ ignoreMissingVnetServiceEndpoint?: boolean;
497
720
  /**
498
- * The Azure Active Directory identity of the server.
721
+ * Virtual Network Rule State
722
+ * NOTE: This property will not be serialized. It can only be populated by the server.
499
723
  */
500
- identity?: ResourceIdentity;
724
+ readonly state?: VirtualNetworkRuleState;
725
+ };
726
+
727
+ /** Represents a Database. */
728
+ export type Database = ProxyResource & {
729
+ /** The charset of the database. */
730
+ charset?: string;
731
+ /** The collation of the database. */
732
+ collation?: string;
733
+ };
734
+
735
+ /** Represents a Configuration. */
736
+ export type Configuration = ProxyResource & {
737
+ /** Value of the configuration. */
738
+ value?: string;
501
739
  /**
502
- * The SKU (pricing tier) of the server.
740
+ * Description of the configuration.
741
+ * NOTE: This property will not be serialized. It can only be populated by the server.
503
742
  */
504
- sku?: Sku;
743
+ readonly description?: string;
505
744
  /**
506
- * Properties of the server.
745
+ * Default value of the configuration.
746
+ * NOTE: This property will not be serialized. It can only be populated by the server.
507
747
  */
508
- properties: ServerPropertiesForCreateUnion;
748
+ readonly defaultValue?: string;
509
749
  /**
510
- * The location the resource resides in.
750
+ * Data type of the configuration.
751
+ * NOTE: This property will not be serialized. It can only be populated by the server.
511
752
  */
512
- location: string;
753
+ readonly dataType?: string;
513
754
  /**
514
- * Application-specific metadata in the form of key-value pairs.
755
+ * Allowed values of the configuration.
756
+ * NOTE: This property will not be serialized. It can only be populated by the server.
515
757
  */
516
- tags?: { [propertyName: string]: string };
517
- }
758
+ readonly allowedValues?: string;
759
+ /** Source of the configuration. */
760
+ source?: string;
761
+ };
518
762
 
519
- /**
520
- * Parameters allowed to update for a server.
521
- */
522
- export interface ServerUpdateParameters {
523
- /**
524
- * The Azure Active Directory identity of the server.
525
- */
526
- identity?: ResourceIdentity;
527
- /**
528
- * The SKU (pricing tier) of the server.
529
- */
530
- sku?: Sku;
763
+ /** Represents a log file. */
764
+ export type LogFile = ProxyResource & {
765
+ /** Size of the log file. */
766
+ sizeInKB?: number;
531
767
  /**
532
- * Storage profile of a server.
768
+ * Creation timestamp of the log file.
769
+ * NOTE: This property will not be serialized. It can only be populated by the server.
533
770
  */
534
- storageProfile?: StorageProfile;
771
+ readonly createdTime?: Date;
535
772
  /**
536
- * The password of the administrator login.
773
+ * Last modified timestamp of the log file.
774
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
775
  */
538
- administratorLoginPassword?: string;
776
+ readonly lastModifiedTime?: Date;
777
+ /** Type of the log file. */
778
+ typePropertiesType?: string;
779
+ /** The url to download the log file from. */
780
+ url?: string;
781
+ };
782
+
783
+ /** Represents a and external administrator to be created. */
784
+ export type ServerAdministratorResource = ProxyResource & {
785
+ /** The type of administrator. */
786
+ administratorType?: "ActiveDirectory";
787
+ /** The server administrator login account name. */
788
+ login?: string;
789
+ /** The server administrator Sid (Secure ID). */
790
+ sid?: string;
791
+ /** The server Active Directory Administrator tenant id. */
792
+ tenantId?: string;
793
+ };
794
+
795
+ /** A recoverable server resource. */
796
+ export type RecoverableServerResource = ProxyResource & {
539
797
  /**
540
- * The version of a server. Possible values include: '5.6', '5.7', '8.0'
798
+ * The last available backup date time.
799
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
800
  */
542
- version?: ServerVersion;
801
+ readonly lastAvailableBackupDateTime?: string;
543
802
  /**
544
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
545
- * 'Disabled'
803
+ * The service level objective
804
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
805
  */
547
- sslEnforcement?: SslEnforcementEnum;
806
+ readonly serviceLevelObjective?: string;
548
807
  /**
549
- * Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1',
550
- * 'TLS1_2', 'TLSEnforcementDisabled'
808
+ * Edition of the performance tier.
809
+ * NOTE: This property will not be serialized. It can only be populated by the server.
551
810
  */
552
- minimalTlsVersion?: MinimalTlsVersionEnum;
811
+ readonly edition?: string;
553
812
  /**
554
- * Whether or not public network access is allowed for this server. Value is optional but if
555
- * passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
813
+ * vCore associated with the service level objective
814
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
815
  */
557
- publicNetworkAccess?: PublicNetworkAccessEnum;
816
+ readonly vCore?: number;
558
817
  /**
559
- * The replication role of the server.
818
+ * Hardware generation associated with the service level objective
819
+ * NOTE: This property will not be serialized. It can only be populated by the server.
560
820
  */
561
- replicationRole?: string;
821
+ readonly hardwareGeneration?: string;
562
822
  /**
563
- * Application-specific metadata in the form of key-value pairs.
823
+ * The MySQL version
824
+ * NOTE: This property will not be serialized. It can only be populated by the server.
564
825
  */
565
- tags?: { [propertyName: string]: string };
566
- }
826
+ readonly version?: string;
827
+ };
567
828
 
568
- /**
569
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
570
- * and a location
571
- * @summary Proxy Resource
572
- */
573
- export interface ProxyResource extends Resource {
574
- }
829
+ /** A server security alert policy. */
830
+ export type ServerSecurityAlertPolicy = ProxyResource & {
831
+ /** Specifies the state of the policy, whether it is enabled or disabled. */
832
+ state?: ServerSecurityAlertPolicyState;
833
+ /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly */
834
+ disabledAlerts?: string[];
835
+ /** Specifies an array of e-mail addresses to which the alert is sent. */
836
+ emailAddresses?: string[];
837
+ /** Specifies that the alert is sent to the account administrators. */
838
+ emailAccountAdmins?: boolean;
839
+ /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */
840
+ storageEndpoint?: string;
841
+ /** Specifies the identifier key of the Threat Detection audit storage account. */
842
+ storageAccountAccessKey?: string;
843
+ /** Specifies the number of days to keep in the Threat Detection audit logs. */
844
+ retentionDays?: number;
845
+ };
575
846
 
576
- /**
577
- * Represents a server firewall rule.
578
- */
579
- export interface FirewallRule extends ProxyResource {
580
- /**
581
- * The start IP address of the server firewall rule. Must be IPv4 format.
582
- */
583
- startIpAddress: string;
584
- /**
585
- * The end IP address of the server firewall rule. Must be IPv4 format.
586
- */
587
- endIpAddress: string;
588
- }
589
-
590
- /**
591
- * A virtual network rule.
592
- */
593
- export interface VirtualNetworkRule extends ProxyResource {
594
- /**
595
- * The ARM resource id of the virtual network subnet.
596
- */
597
- virtualNetworkSubnetId: string;
598
- /**
599
- * Create firewall rule before the virtual network has vnet service endpoint enabled.
600
- */
601
- ignoreMissingVnetServiceEndpoint?: boolean;
602
- /**
603
- * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready',
604
- * 'Deleting', 'Unknown'
605
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
606
- */
607
- readonly state?: VirtualNetworkRuleState;
608
- }
609
-
610
- /**
611
- * Represents a Database.
612
- */
613
- export interface Database extends ProxyResource {
614
- /**
615
- * The charset of the database.
616
- */
617
- charset?: string;
618
- /**
619
- * The collation of the database.
620
- */
621
- collation?: string;
622
- }
623
-
624
- /**
625
- * Represents a Configuration.
626
- */
627
- export interface Configuration extends ProxyResource {
628
- /**
629
- * Value of the configuration.
630
- */
631
- value?: string;
632
- /**
633
- * Description of the configuration.
634
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
635
- */
636
- readonly description?: string;
637
- /**
638
- * Default value of the configuration.
639
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
640
- */
641
- readonly defaultValue?: string;
642
- /**
643
- * Data type of the configuration.
644
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
645
- */
646
- readonly dataType?: string;
647
- /**
648
- * Allowed values of the configuration.
649
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
650
- */
651
- readonly allowedValues?: string;
652
- /**
653
- * Source of the configuration.
654
- */
655
- source?: string;
656
- }
657
-
658
- /**
659
- * Display metadata associated with the operation.
660
- */
661
- export interface OperationDisplay {
662
- /**
663
- * Operation resource provider name.
664
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
665
- */
666
- readonly provider?: string;
667
- /**
668
- * Resource on which the operation is performed.
669
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
670
- */
671
- readonly resource?: string;
672
- /**
673
- * Localized friendly name for the operation.
674
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
675
- */
676
- readonly operation?: string;
677
- /**
678
- * Operation description.
679
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
680
- */
681
- readonly description?: string;
682
- }
683
-
684
- /**
685
- * REST API operation definition.
686
- */
687
- export interface Operation {
688
- /**
689
- * The name of the operation being performed on this particular object.
690
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
691
- */
692
- readonly name?: string;
693
- /**
694
- * The localized display information for this particular operation or action.
695
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
696
- */
697
- readonly display?: OperationDisplay;
698
- /**
699
- * The intended executor of the operation. Possible values include: 'NotSpecified', 'user',
700
- * 'system'
701
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
702
- */
703
- readonly origin?: OperationOrigin;
704
- /**
705
- * Additional descriptions for the operation.
706
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
707
- */
708
- readonly properties?: { [propertyName: string]: any };
709
- }
710
-
711
- /**
712
- * A list of resource provider operations.
713
- */
714
- export interface OperationListResult {
715
- /**
716
- * The list of resource provider operations.
717
- */
718
- value?: Operation[];
719
- }
720
-
721
- /**
722
- * Represents a log file.
723
- */
724
- export interface LogFile extends ProxyResource {
725
- /**
726
- * Size of the log file.
727
- */
728
- sizeInKB?: number;
729
- /**
730
- * Creation timestamp of the log file.
731
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
732
- */
733
- readonly createdTime?: Date;
734
- /**
735
- * Last modified timestamp of the log file.
736
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
737
- */
738
- readonly lastModifiedTime?: Date;
739
- /**
740
- * Type of the log file.
741
- */
742
- logFileType?: string;
743
- /**
744
- * The url to download the log file from.
745
- */
746
- url?: string;
747
- }
748
-
749
- /**
750
- * Service level objectives for performance tier.
751
- */
752
- export interface PerformanceTierServiceLevelObjectives {
753
- /**
754
- * ID for the service level objective.
755
- */
756
- id?: string;
757
- /**
758
- * Edition of the performance tier.
759
- */
760
- edition?: string;
761
- /**
762
- * vCore associated with the service level objective
763
- */
764
- vCore?: number;
765
- /**
766
- * Hardware generation associated with the service level objective
767
- */
768
- hardwareGeneration?: string;
769
- /**
770
- * Maximum Backup retention in days for the performance tier edition
771
- */
772
- maxBackupRetentionDays?: number;
773
- /**
774
- * Minimum Backup retention in days for the performance tier edition
775
- */
776
- minBackupRetentionDays?: number;
777
- /**
778
- * Max storage allowed for a server.
779
- */
780
- maxStorageMB?: number;
781
- /**
782
- * Max storage allowed for a server.
783
- */
784
- minStorageMB?: number;
785
- }
786
-
787
- /**
788
- * Performance tier properties
789
- */
790
- export interface PerformanceTierProperties {
791
- /**
792
- * ID of the performance tier.
793
- */
794
- id?: string;
795
- /**
796
- * Maximum Backup retention in days for the performance tier edition
797
- */
798
- maxBackupRetentionDays?: number;
799
- /**
800
- * Minimum Backup retention in days for the performance tier edition
801
- */
802
- minBackupRetentionDays?: number;
803
- /**
804
- * Max storage allowed for a server.
805
- */
806
- maxStorageMB?: number;
807
- /**
808
- * Max storage allowed for a server.
809
- */
810
- minLargeStorageMB?: number;
811
- /**
812
- * Max storage allowed for a server.
813
- */
814
- maxLargeStorageMB?: number;
815
- /**
816
- * Max storage allowed for a server.
817
- */
818
- minStorageMB?: number;
819
- /**
820
- * Service level objectives associated with the performance tier
821
- */
822
- serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[];
823
- }
824
-
825
- /**
826
- * Request from client to check resource name availability.
827
- */
828
- export interface NameAvailabilityRequest {
829
- /**
830
- * Resource name to verify.
831
- */
832
- name: string;
833
- /**
834
- * Resource type used for verification.
835
- */
836
- type?: string;
837
- }
838
-
839
- /**
840
- * Represents a resource name availability.
841
- */
842
- export interface NameAvailability {
843
- /**
844
- * Error Message.
845
- */
846
- message?: string;
847
- /**
848
- * Indicates whether the resource name is available.
849
- */
850
- nameAvailable?: boolean;
851
- /**
852
- * Reason for name being unavailable.
853
- */
854
- reason?: string;
855
- }
856
-
857
- /**
858
- * The resource management error additional info.
859
- */
860
- export interface ErrorAdditionalInfo {
861
- /**
862
- * The additional info type.
863
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
864
- */
865
- readonly type?: string;
866
- /**
867
- * The additional info.
868
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
869
- */
870
- readonly info?: any;
871
- }
872
-
873
- /**
874
- * Common error response for all Azure Resource Manager APIs to return error details for failed
875
- * operations. (This also follows the OData error response format.)
876
- * @summary Error Response
877
- */
878
- export interface ErrorResponse {
879
- /**
880
- * The error code.
881
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
882
- */
883
- readonly code?: string;
884
- /**
885
- * The error message.
886
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
887
- */
888
- readonly message?: string;
889
- /**
890
- * The error target.
891
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
892
- */
893
- readonly target?: string;
894
- /**
895
- * The error details.
896
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
897
- */
898
- readonly details?: ErrorResponse[];
899
- /**
900
- * The error additional info.
901
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
902
- */
903
- readonly additionalInfo?: ErrorAdditionalInfo[];
904
- }
905
-
906
- /**
907
- * Represents a and external administrator to be created.
908
- */
909
- export interface ServerAdministratorResource extends ProxyResource {
910
- /**
911
- * The server administrator login account name.
912
- */
913
- login: string;
914
- /**
915
- * The server administrator Sid (Secure ID).
916
- */
917
- sid: string;
918
- /**
919
- * The server Active Directory Administrator tenant id.
920
- */
921
- tenantId: string;
922
- }
923
-
924
- /**
925
- * A recoverable server resource.
926
- */
927
- export interface RecoverableServerResource extends ProxyResource {
928
- /**
929
- * The last available backup date time.
930
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
931
- */
932
- readonly lastAvailableBackupDateTime?: string;
933
- /**
934
- * The service level objective
935
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
936
- */
937
- readonly serviceLevelObjective?: string;
938
- /**
939
- * Edition of the performance tier.
940
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
941
- */
942
- readonly edition?: string;
943
- /**
944
- * vCore associated with the service level objective
945
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
946
- */
947
- readonly vCore?: number;
948
- /**
949
- * Hardware generation associated with the service level objective
950
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
951
- */
952
- readonly hardwareGeneration?: string;
953
- /**
954
- * The MySQL version
955
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
956
- */
957
- readonly version?: string;
958
- }
959
-
960
- /**
961
- * The resource model definition for an Azure Resource Manager resource with an etag.
962
- * @summary Entity Resource
963
- */
964
- export interface AzureEntityResource extends Resource {
965
- /**
966
- * Resource Etag.
967
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
968
- */
969
- readonly etag?: string;
970
- }
971
-
972
- /**
973
- * A server security alert policy.
974
- */
975
- export interface ServerSecurityAlertPolicy extends ProxyResource {
976
- /**
977
- * Specifies the state of the policy, whether it is enabled or disabled. Possible values include:
978
- * 'Enabled', 'Disabled'
979
- */
980
- state: ServerSecurityAlertPolicyState;
981
- /**
982
- * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
983
- * Sql_Injection_Vulnerability, Access_Anomaly
984
- */
985
- disabledAlerts?: string[];
986
- /**
987
- * Specifies an array of e-mail addresses to which the alert is sent.
988
- */
989
- emailAddresses?: string[];
990
- /**
991
- * Specifies that the alert is sent to the account administrators.
992
- */
993
- emailAccountAdmins?: boolean;
994
- /**
995
- * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
996
- * storage will hold all Threat Detection audit logs.
997
- */
998
- storageEndpoint?: string;
999
- /**
1000
- * Specifies the identifier key of the Threat Detection audit storage account.
1001
- */
1002
- storageAccountAccessKey?: string;
1003
- /**
1004
- * Specifies the number of days to keep in the Threat Detection audit logs.
1005
- */
1006
- retentionDays?: number;
1007
- }
1008
-
1009
- /**
1010
- * Represents a Query Text.
1011
- */
1012
- export interface QueryText extends ProxyResource {
1013
- /**
1014
- * Query identifier unique to the server.
1015
- */
1016
- queryId?: string;
1017
- /**
1018
- * Query text.
1019
- */
1020
- queryText?: string;
1021
- }
1022
-
1023
- /**
1024
- * Input to get top query statistics
1025
- */
1026
- export interface TopQueryStatisticsInput {
1027
- /**
1028
- * Max number of top queries to return.
1029
- */
1030
- numberOfTopQueries: number;
1031
- /**
1032
- * Aggregation function name.
1033
- */
1034
- aggregationFunction: string;
1035
- /**
1036
- * Observed metric name.
1037
- */
1038
- observedMetric: string;
1039
- /**
1040
- * Observation start time.
1041
- */
1042
- observationStartTime: Date;
1043
- /**
1044
- * Observation end time.
1045
- */
1046
- observationEndTime: Date;
1047
- /**
1048
- * Aggregation interval type in ISO 8601 format.
1049
- */
1050
- aggregationWindow: string;
1051
- }
847
+ /** Represents a Query Text. */
848
+ export type QueryText = ProxyResource & {
849
+ /** Query identifier unique to the server. */
850
+ queryId?: string;
851
+ /** Query text. */
852
+ queryText?: string;
853
+ };
1052
854
 
1053
- /**
1054
- * Represents a Query Statistic.
1055
- */
1056
- export interface QueryStatistic extends ProxyResource {
1057
- /**
1058
- * Database query identifier.
1059
- */
855
+ /** Represents a Query Statistic. */
856
+ export type QueryStatistic = ProxyResource & {
857
+ /** Database query identifier. */
1060
858
  queryId?: string;
1061
- /**
1062
- * Observation start time.
1063
- */
859
+ /** Observation start time. */
1064
860
  startTime?: Date;
1065
- /**
1066
- * Observation end time.
1067
- */
861
+ /** Observation end time. */
1068
862
  endTime?: Date;
1069
- /**
1070
- * Aggregation function name.
1071
- */
863
+ /** Aggregation function name. */
1072
864
  aggregationFunction?: string;
1073
- /**
1074
- * The list of database names.
1075
- */
865
+ /** The list of database names. */
1076
866
  databaseNames?: string[];
1077
- /**
1078
- * Number of query executions in this time interval.
1079
- */
867
+ /** Number of query executions in this time interval. */
1080
868
  queryExecutionCount?: number;
1081
- /**
1082
- * Metric name.
1083
- */
869
+ /** Metric name. */
1084
870
  metricName?: string;
1085
- /**
1086
- * Metric display name.
1087
- */
871
+ /** Metric display name. */
1088
872
  metricDisplayName?: string;
1089
- /**
1090
- * Metric value.
1091
- */
873
+ /** Metric value. */
1092
874
  metricValue?: number;
1093
- /**
1094
- * Metric value unit.
1095
- */
875
+ /** Metric value unit. */
1096
876
  metricValueUnit?: string;
1097
- }
1098
-
1099
- /**
1100
- * Input to get wait statistics
1101
- */
1102
- export interface WaitStatisticsInput {
1103
- /**
1104
- * Observation start time.
1105
- */
1106
- observationStartTime: Date;
1107
- /**
1108
- * Observation end time.
1109
- */
1110
- observationEndTime: Date;
1111
- /**
1112
- * Aggregation interval type in ISO 8601 format.
1113
- */
1114
- aggregationWindow: string;
1115
- }
877
+ };
1116
878
 
1117
- /**
1118
- * Represents a Wait Statistic.
1119
- */
1120
- export interface WaitStatistic extends ProxyResource {
1121
- /**
1122
- * Observation start time.
1123
- */
879
+ /** Represents a Wait Statistic. */
880
+ export type WaitStatistic = ProxyResource & {
881
+ /** Observation start time. */
1124
882
  startTime?: Date;
1125
- /**
1126
- * Observation end time.
1127
- */
883
+ /** Observation end time. */
1128
884
  endTime?: Date;
1129
- /**
1130
- * Wait event name.
1131
- */
885
+ /** Wait event name. */
1132
886
  eventName?: string;
1133
- /**
1134
- * Wait event type name.
1135
- */
887
+ /** Wait event type name. */
1136
888
  eventTypeName?: string;
1137
- /**
1138
- * Database query identifier.
1139
- */
1140
- queryId?: number;
1141
- /**
1142
- * Database Name.
1143
- */
1144
- databaseName?: string;
1145
- /**
1146
- * Database user identifier.
1147
- */
1148
- userId?: number;
1149
- /**
1150
- * Wait event count observed in this time interval.
1151
- */
1152
- count?: number;
1153
- /**
1154
- * Total time of wait in milliseconds in this time interval.
1155
- */
1156
- totalTimeInMs?: number;
1157
- }
1158
-
1159
- /**
1160
- * Result of Query Performance Insight data reset.
1161
- */
1162
- export interface QueryPerformanceInsightResetDataResult {
1163
- /**
1164
- * Indicates result of the operation. Possible values include: 'Succeeded', 'Failed'
1165
- */
1166
- status?: QueryPerformanceInsightResetDataResultState;
1167
- /**
1168
- * operation message.
1169
- */
1170
- message?: string;
1171
- }
1172
-
1173
- /**
1174
- * Represents a recommendation action advisor.
1175
- */
1176
- export interface Advisor extends ProxyResource {
1177
- /**
1178
- * The properties of a recommendation action advisor.
1179
- */
1180
- properties?: any;
1181
- }
1182
-
1183
- /**
1184
- * Represents a Recommendation Action.
1185
- */
1186
- export interface RecommendationAction extends ProxyResource {
1187
- /**
1188
- * Advisor name.
1189
- */
1190
- advisorName?: string;
1191
- /**
1192
- * Recommendation action session identifier.
1193
- */
1194
- sessionId?: string;
1195
- /**
1196
- * Recommendation action identifier.
1197
- */
1198
- actionId?: number;
1199
- /**
1200
- * Recommendation action creation time.
1201
- */
1202
- createdTime?: Date;
1203
- /**
1204
- * Recommendation action expiration time.
1205
- */
1206
- expirationTime?: Date;
1207
- /**
1208
- * Recommendation action reason.
1209
- */
1210
- reason?: string;
1211
- /**
1212
- * Recommendation action type.
1213
- */
1214
- recommendationType?: string;
1215
- /**
1216
- * Recommendation action details.
1217
- */
1218
- details?: { [propertyName: string]: string };
1219
- }
1220
-
1221
- /**
1222
- * Recommendation action session operation status.
1223
- */
1224
- export interface RecommendedActionSessionsOperationStatus {
1225
- /**
1226
- * Operation identifier.
1227
- */
1228
- name?: string;
1229
- /**
1230
- * Operation start time.
1231
- */
1232
- startTime?: Date;
1233
- /**
1234
- * Operation status.
1235
- */
1236
- status?: string;
1237
- }
1238
-
1239
- /**
1240
- * An interface representing PrivateLinkServiceConnectionStateProperty.
1241
- */
1242
- export interface PrivateLinkServiceConnectionStateProperty {
1243
- /**
1244
- * The private link service connection status.
1245
- */
1246
- status: string;
1247
- /**
1248
- * The private link service connection description.
1249
- */
1250
- description: string;
1251
- /**
1252
- * The actions required for private link service connection.
1253
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1254
- */
1255
- readonly actionsRequired?: string;
1256
- }
1257
-
1258
- /**
1259
- * A private endpoint connection
1260
- */
1261
- export interface PrivateEndpointConnection extends ProxyResource {
1262
- /**
1263
- * Private endpoint which the connection belongs to.
1264
- */
1265
- privateEndpoint?: PrivateEndpointProperty;
1266
- /**
1267
- * Connection state of the private endpoint connection.
1268
- */
1269
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
1270
- /**
1271
- * State of the private endpoint connection.
1272
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1273
- */
1274
- readonly provisioningState?: string;
1275
- }
1276
-
1277
- /**
1278
- * Tags object for patch operations.
1279
- */
1280
- export interface TagsObject {
1281
- /**
1282
- * Resource tags.
1283
- */
1284
- tags?: { [propertyName: string]: string };
1285
- }
1286
-
1287
- /**
1288
- * Properties of a private link resource.
1289
- */
1290
- export interface PrivateLinkResourceProperties {
1291
- /**
1292
- * The private link resource group id.
1293
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1294
- */
1295
- readonly groupId?: string;
1296
- /**
1297
- * The private link resource required member names.
1298
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1299
- */
1300
- readonly requiredMembers?: string[];
1301
- }
1302
-
1303
- /**
1304
- * A private link resource
1305
- */
1306
- export interface PrivateLinkResource extends ProxyResource {
1307
- /**
1308
- * The private link resource group id.
1309
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1310
- */
1311
- readonly properties?: PrivateLinkResourceProperties;
1312
- }
1313
-
1314
- /**
1315
- * A MySQL Server key.
1316
- */
1317
- export interface ServerKey extends ProxyResource {
1318
- /**
1319
- * Kind of encryption protector used to protect the key.
1320
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1321
- */
1322
- readonly kind?: string;
1323
- /**
1324
- * The URI of the key.
1325
- */
1326
- uri?: string;
1327
- /**
1328
- * The key creation date.
1329
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1330
- */
1331
- readonly creationDate?: Date;
1332
- }
1333
-
1334
- /**
1335
- * An interface representing ServerUpgradeParameters.
1336
- */
1337
- export interface ServerUpgradeParameters {
1338
- /**
1339
- * Represents an server storage profile.
1340
- */
1341
- targetServerVersion?: string;
1342
- }
1343
-
1344
- /**
1345
- * Optional Parameters.
1346
- */
1347
- export interface RecommendedActionsListByServerOptionalParams extends msRest.RequestOptionsBase {
1348
- /**
1349
- * The recommendation action session identifier.
1350
- */
1351
- sessionId?: string;
1352
- }
1353
-
1354
- /**
1355
- * Optional Parameters.
1356
- */
1357
- export interface RecommendedActionsListByServerNextOptionalParams extends msRest.RequestOptionsBase {
1358
- /**
1359
- * The recommendation action session identifier.
1360
- */
1361
- sessionId?: string;
1362
- }
1363
-
1364
- /**
1365
- * An interface representing MySQLManagementClientOptions.
1366
- */
1367
- export interface MySQLManagementClientOptions extends AzureServiceClientOptions {
1368
- baseUri?: string;
1369
- }
1370
-
1371
- /**
1372
- * @interface
1373
- * A list of servers.
1374
- * @extends Array<Server>
1375
- */
1376
- export interface ServerListResult extends Array<Server> {
1377
- }
1378
-
1379
- /**
1380
- * @interface
1381
- * A list of firewall rules.
1382
- * @extends Array<FirewallRule>
1383
- */
1384
- export interface FirewallRuleListResult extends Array<FirewallRule> {
1385
- }
1386
-
1387
- /**
1388
- * @interface
1389
- * A list of virtual network rules.
1390
- * @extends Array<VirtualNetworkRule>
1391
- */
1392
- export interface VirtualNetworkRuleListResult extends Array<VirtualNetworkRule> {
1393
- /**
1394
- * Link to retrieve next page of results.
1395
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1396
- */
1397
- readonly nextLink?: string;
1398
- }
1399
-
1400
- /**
1401
- * @interface
1402
- * A List of databases.
1403
- * @extends Array<Database>
1404
- */
1405
- export interface DatabaseListResult extends Array<Database> {
1406
- }
1407
-
1408
- /**
1409
- * @interface
1410
- * A list of server configurations.
1411
- * @extends Array<Configuration>
1412
- */
1413
- export interface ConfigurationListResult extends Array<Configuration> {
1414
- }
1415
-
1416
- /**
1417
- * @interface
1418
- * A list of log files.
1419
- * @extends Array<LogFile>
1420
- */
1421
- export interface LogFileListResult extends Array<LogFile> {
1422
- }
889
+ /** Database query identifier. */
890
+ queryId?: number;
891
+ /** Database Name. */
892
+ databaseName?: string;
893
+ /** Database user identifier. */
894
+ userId?: number;
895
+ /** Wait event count observed in this time interval. */
896
+ count?: number;
897
+ /** Total time of wait in milliseconds in this time interval. */
898
+ totalTimeInMs?: number;
899
+ };
1423
900
 
1424
- /**
1425
- * @interface
1426
- * The response to a list Active Directory Administrators request.
1427
- * @extends Array<ServerAdministratorResource>
1428
- */
1429
- export interface ServerAdministratorResourceListResult extends Array<ServerAdministratorResource> {
1430
- }
901
+ /** Represents a recommendation action advisor. */
902
+ export type Advisor = ProxyResource & {
903
+ /** The properties of a recommendation action advisor. */
904
+ properties?: Record<string, unknown>;
905
+ };
1431
906
 
1432
- /**
1433
- * @interface
1434
- * A list of performance tiers.
1435
- * @extends Array<PerformanceTierProperties>
1436
- */
1437
- export interface PerformanceTierListResult extends Array<PerformanceTierProperties> {
1438
- }
907
+ /** Represents a Recommendation Action. */
908
+ export type RecommendationAction = ProxyResource & {
909
+ /** Advisor name. */
910
+ advisorName?: string;
911
+ /** Recommendation action session identifier. */
912
+ sessionId?: string;
913
+ /** Recommendation action identifier. */
914
+ actionId?: number;
915
+ /** Recommendation action creation time. */
916
+ createdTime?: Date;
917
+ /** Recommendation action expiration time. */
918
+ expirationTime?: Date;
919
+ /** Recommendation action reason. */
920
+ reason?: string;
921
+ /** Recommendation action type. */
922
+ recommendationType?: string;
923
+ /** Recommendation action details. */
924
+ details?: { [propertyName: string]: string };
925
+ };
1439
926
 
1440
- /**
1441
- * @interface
1442
- * A list of the server's security alert policies.
1443
- * @extends Array<ServerSecurityAlertPolicy>
1444
- */
1445
- export interface ServerSecurityAlertPolicyListResult extends Array<ServerSecurityAlertPolicy> {
927
+ /** A private endpoint connection */
928
+ export type PrivateEndpointConnection = ProxyResource & {
929
+ /** Private endpoint which the connection belongs to. */
930
+ privateEndpoint?: PrivateEndpointProperty;
931
+ /** Connection state of the private endpoint connection. */
932
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
1446
933
  /**
1447
- * Link to retrieve next page of results.
1448
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
934
+ * State of the private endpoint connection.
935
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1449
936
  */
1450
- readonly nextLink?: string;
1451
- }
937
+ readonly provisioningState?: string;
938
+ };
1452
939
 
1453
- /**
1454
- * @interface
1455
- * A list of query texts.
1456
- * @extends Array<QueryText>
1457
- */
1458
- export interface QueryTextsResultList extends Array<QueryText> {
940
+ /** A private link resource */
941
+ export type PrivateLinkResource = ProxyResource & {
1459
942
  /**
1460
- * Link to retrieve next page of results.
1461
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
943
+ * The private link resource group id.
944
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1462
945
  */
1463
- readonly nextLink?: string;
1464
- }
946
+ readonly properties?: PrivateLinkResourceProperties;
947
+ };
1465
948
 
1466
- /**
1467
- * @interface
1468
- * A list of query statistics.
1469
- * @extends Array<QueryStatistic>
1470
- */
1471
- export interface TopQueryStatisticsResultList extends Array<QueryStatistic> {
949
+ /** A MySQL Server key. */
950
+ export type ServerKey = ProxyResource & {
1472
951
  /**
1473
- * Link to retrieve next page of results.
1474
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
952
+ * Kind of encryption protector used to protect the key.
953
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1475
954
  */
1476
- readonly nextLink?: string;
1477
- }
1478
-
1479
- /**
1480
- * @interface
1481
- * A list of wait statistics.
1482
- * @extends Array<WaitStatistic>
1483
- */
1484
- export interface WaitStatisticsResultList extends Array<WaitStatistic> {
955
+ readonly kind?: string;
956
+ /** The key type like 'AzureKeyVault'. */
957
+ serverKeyType?: ServerKeyType;
958
+ /** The URI of the key. */
959
+ uri?: string;
1485
960
  /**
1486
- * Link to retrieve next page of results.
1487
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
961
+ * The key creation date.
962
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1488
963
  */
1489
- readonly nextLink?: string;
1490
- }
964
+ readonly creationDate?: Date;
965
+ };
1491
966
 
1492
- /**
1493
- * @interface
1494
- * A list of query statistics.
1495
- * @extends Array<Advisor>
1496
- */
1497
- export interface AdvisorsResultList extends Array<Advisor> {
1498
- /**
1499
- * Link to retrieve next page of results.
1500
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1501
- */
1502
- readonly nextLink?: string;
967
+ /** Known values of {@link IdentityType} that the service accepts. */
968
+ export enum KnownIdentityType {
969
+ SystemAssigned = "SystemAssigned"
1503
970
  }
1504
971
 
1505
972
  /**
1506
- * @interface
1507
- * A list of recommendation actions.
1508
- * @extends Array<RecommendationAction>
973
+ * Defines values for IdentityType. \
974
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
975
+ * this enum contains the known values that the service supports.
976
+ * ### Known values supported by the service
977
+ * **SystemAssigned**
1509
978
  */
1510
- export interface RecommendationActionsResultList extends Array<RecommendationAction> {
1511
- /**
1512
- * Link to retrieve next page of results.
1513
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1514
- */
1515
- readonly nextLink?: string;
1516
- }
979
+ export type IdentityType = string;
1517
980
 
1518
- /**
1519
- * @interface
1520
- * A list of private endpoint connections.
1521
- * @extends Array<PrivateEndpointConnection>
1522
- */
1523
- export interface PrivateEndpointConnectionListResult extends Array<PrivateEndpointConnection> {
1524
- /**
1525
- * Link to retrieve next page of results.
1526
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1527
- */
1528
- readonly nextLink?: string;
981
+ /** Known values of {@link SkuTier} that the service accepts. */
982
+ export enum KnownSkuTier {
983
+ Basic = "Basic",
984
+ GeneralPurpose = "GeneralPurpose",
985
+ MemoryOptimized = "MemoryOptimized"
1529
986
  }
1530
987
 
1531
988
  /**
1532
- * @interface
1533
- * A list of private link resources
1534
- * @extends Array<PrivateLinkResource>
989
+ * Defines values for SkuTier. \
990
+ * {@link KnownSkuTier} can be used interchangeably with SkuTier,
991
+ * this enum contains the known values that the service supports.
992
+ * ### Known values supported by the service
993
+ * **Basic** \
994
+ * **GeneralPurpose** \
995
+ * **MemoryOptimized**
1535
996
  */
1536
- export interface PrivateLinkResourceListResult extends Array<PrivateLinkResource> {
1537
- /**
1538
- * Link to retrieve next page of results.
1539
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1540
- */
1541
- readonly nextLink?: string;
997
+ export type SkuTier = string;
998
+
999
+ /** Known values of {@link ServerVersion} that the service accepts. */
1000
+ export enum KnownServerVersion {
1001
+ Five6 = "5.6",
1002
+ Five7 = "5.7",
1003
+ Eight0 = "8.0"
1542
1004
  }
1543
1005
 
1544
1006
  /**
1545
- * @interface
1546
- * A list of MySQL Server keys.
1547
- * @extends Array<ServerKey>
1007
+ * Defines values for ServerVersion. \
1008
+ * {@link KnownServerVersion} can be used interchangeably with ServerVersion,
1009
+ * this enum contains the known values that the service supports.
1010
+ * ### Known values supported by the service
1011
+ * **5.6** \
1012
+ * **5.7** \
1013
+ * **8.0**
1548
1014
  */
1549
- export interface ServerKeyListResult extends Array<ServerKey> {
1550
- /**
1551
- * Link to retrieve next page of results.
1552
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1553
- */
1554
- readonly nextLink?: string;
1015
+ export type ServerVersion = string;
1016
+
1017
+ /** Known values of {@link MinimalTlsVersionEnum} that the service accepts. */
1018
+ export enum KnownMinimalTlsVersionEnum {
1019
+ TLS10 = "TLS1_0",
1020
+ TLS11 = "TLS1_1",
1021
+ TLS12 = "TLS1_2",
1022
+ TLSEnforcementDisabled = "TLSEnforcementDisabled"
1555
1023
  }
1556
1024
 
1557
1025
  /**
1558
- * Defines values for ServerVersion.
1559
- * Possible values include: '5.6', '5.7', '8.0'
1560
- * @readonly
1561
- * @enum {string}
1026
+ * Defines values for MinimalTlsVersionEnum. \
1027
+ * {@link KnownMinimalTlsVersionEnum} can be used interchangeably with MinimalTlsVersionEnum,
1028
+ * this enum contains the known values that the service supports.
1029
+ * ### Known values supported by the service
1030
+ * **TLS1_0** \
1031
+ * **TLS1_1** \
1032
+ * **TLS1_2** \
1033
+ * **TLSEnforcementDisabled**
1562
1034
  */
1563
- export type ServerVersion = '5.6' | '5.7' | '8.0';
1035
+ export type MinimalTlsVersionEnum = string;
1564
1036
 
1565
- /**
1566
- * Defines values for SslEnforcementEnum.
1567
- * Possible values include: 'Enabled', 'Disabled'
1568
- * @readonly
1569
- * @enum {string}
1570
- */
1571
- export type SslEnforcementEnum = 'Enabled' | 'Disabled';
1037
+ /** Known values of {@link InfrastructureEncryption} that the service accepts. */
1038
+ export enum KnownInfrastructureEncryption {
1039
+ /** Default value for single layer of encryption for data at rest. */
1040
+ Enabled = "Enabled",
1041
+ /** Additional (2nd) layer of encryption for data at rest */
1042
+ Disabled = "Disabled"
1043
+ }
1572
1044
 
1573
1045
  /**
1574
- * Defines values for MinimalTlsVersionEnum.
1575
- * Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2', 'TLSEnforcementDisabled'
1576
- * @readonly
1577
- * @enum {string}
1046
+ * Defines values for InfrastructureEncryption. \
1047
+ * {@link KnownInfrastructureEncryption} can be used interchangeably with InfrastructureEncryption,
1048
+ * this enum contains the known values that the service supports.
1049
+ * ### Known values supported by the service
1050
+ * **Enabled**: Default value for single layer of encryption for data at rest. \
1051
+ * **Disabled**: Additional (2nd) layer of encryption for data at rest
1578
1052
  */
1579
- export type MinimalTlsVersionEnum = 'TLS1_0' | 'TLS1_1' | 'TLS1_2' | 'TLSEnforcementDisabled';
1053
+ export type InfrastructureEncryption = string;
1580
1054
 
1581
- /**
1582
- * Defines values for InfrastructureEncryption.
1583
- * Possible values include: 'Enabled', 'Disabled'
1584
- * @readonly
1585
- * @enum {string}
1586
- */
1587
- export type InfrastructureEncryption = 'Enabled' | 'Disabled';
1055
+ /** Known values of {@link PublicNetworkAccessEnum} that the service accepts. */
1056
+ export enum KnownPublicNetworkAccessEnum {
1057
+ Enabled = "Enabled",
1058
+ Disabled = "Disabled"
1059
+ }
1588
1060
 
1589
1061
  /**
1590
- * Defines values for PublicNetworkAccessEnum.
1591
- * Possible values include: 'Enabled', 'Disabled'
1592
- * @readonly
1593
- * @enum {string}
1062
+ * Defines values for PublicNetworkAccessEnum. \
1063
+ * {@link KnownPublicNetworkAccessEnum} can be used interchangeably with PublicNetworkAccessEnum,
1064
+ * this enum contains the known values that the service supports.
1065
+ * ### Known values supported by the service
1066
+ * **Enabled** \
1067
+ * **Disabled**
1594
1068
  */
1595
- export type PublicNetworkAccessEnum = 'Enabled' | 'Disabled';
1069
+ export type PublicNetworkAccessEnum = string;
1596
1070
 
1597
- /**
1598
- * Defines values for PrivateLinkServiceConnectionStateStatus.
1599
- * Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
1600
- * @readonly
1601
- * @enum {string}
1602
- */
1603
- export type PrivateLinkServiceConnectionStateStatus = 'Approved' | 'Pending' | 'Rejected' | 'Disconnected';
1071
+ /** Known values of {@link GeoRedundantBackup} that the service accepts. */
1072
+ export enum KnownGeoRedundantBackup {
1073
+ Enabled = "Enabled",
1074
+ Disabled = "Disabled"
1075
+ }
1604
1076
 
1605
1077
  /**
1606
- * Defines values for PrivateLinkServiceConnectionStateActionsRequire.
1607
- * Possible values include: 'None'
1608
- * @readonly
1609
- * @enum {string}
1078
+ * Defines values for GeoRedundantBackup. \
1079
+ * {@link KnownGeoRedundantBackup} can be used interchangeably with GeoRedundantBackup,
1080
+ * this enum contains the known values that the service supports.
1081
+ * ### Known values supported by the service
1082
+ * **Enabled** \
1083
+ * **Disabled**
1610
1084
  */
1611
- export type PrivateLinkServiceConnectionStateActionsRequire = 'None';
1085
+ export type GeoRedundantBackup = string;
1612
1086
 
1613
- /**
1614
- * Defines values for PrivateEndpointProvisioningState.
1615
- * Possible values include: 'Approving', 'Ready', 'Dropping', 'Failed', 'Rejecting'
1616
- * @readonly
1617
- * @enum {string}
1618
- */
1619
- export type PrivateEndpointProvisioningState = 'Approving' | 'Ready' | 'Dropping' | 'Failed' | 'Rejecting';
1087
+ /** Known values of {@link StorageAutogrow} that the service accepts. */
1088
+ export enum KnownStorageAutogrow {
1089
+ Enabled = "Enabled",
1090
+ Disabled = "Disabled"
1091
+ }
1620
1092
 
1621
1093
  /**
1622
- * Defines values for ServerState.
1623
- * Possible values include: 'Ready', 'Dropping', 'Disabled', 'Inaccessible'
1624
- * @readonly
1625
- * @enum {string}
1094
+ * Defines values for StorageAutogrow. \
1095
+ * {@link KnownStorageAutogrow} can be used interchangeably with StorageAutogrow,
1096
+ * this enum contains the known values that the service supports.
1097
+ * ### Known values supported by the service
1098
+ * **Enabled** \
1099
+ * **Disabled**
1626
1100
  */
1627
- export type ServerState = 'Ready' | 'Dropping' | 'Disabled' | 'Inaccessible';
1101
+ export type StorageAutogrow = string;
1628
1102
 
1629
- /**
1630
- * Defines values for GeoRedundantBackup.
1631
- * Possible values include: 'Enabled', 'Disabled'
1632
- * @readonly
1633
- * @enum {string}
1634
- */
1635
- export type GeoRedundantBackup = 'Enabled' | 'Disabled';
1103
+ /** Known values of {@link CreateMode} that the service accepts. */
1104
+ export enum KnownCreateMode {
1105
+ Default = "Default",
1106
+ PointInTimeRestore = "PointInTimeRestore",
1107
+ GeoRestore = "GeoRestore",
1108
+ Replica = "Replica"
1109
+ }
1636
1110
 
1637
1111
  /**
1638
- * Defines values for StorageAutogrow.
1639
- * Possible values include: 'Enabled', 'Disabled'
1640
- * @readonly
1641
- * @enum {string}
1112
+ * Defines values for CreateMode. \
1113
+ * {@link KnownCreateMode} can be used interchangeably with CreateMode,
1114
+ * this enum contains the known values that the service supports.
1115
+ * ### Known values supported by the service
1116
+ * **Default** \
1117
+ * **PointInTimeRestore** \
1118
+ * **GeoRestore** \
1119
+ * **Replica**
1642
1120
  */
1643
- export type StorageAutogrow = 'Enabled' | 'Disabled';
1121
+ export type CreateMode = string;
1644
1122
 
1645
- /**
1646
- * Defines values for SkuTier.
1647
- * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
1648
- * @readonly
1649
- * @enum {string}
1650
- */
1651
- export type SkuTier = 'Basic' | 'GeneralPurpose' | 'MemoryOptimized';
1123
+ /** Known values of {@link ServerState} that the service accepts. */
1124
+ export enum KnownServerState {
1125
+ Ready = "Ready",
1126
+ Dropping = "Dropping",
1127
+ Disabled = "Disabled",
1128
+ Inaccessible = "Inaccessible"
1129
+ }
1652
1130
 
1653
1131
  /**
1654
- * Defines values for IdentityType.
1655
- * Possible values include: 'SystemAssigned'
1656
- * @readonly
1657
- * @enum {string}
1132
+ * Defines values for ServerState. \
1133
+ * {@link KnownServerState} can be used interchangeably with ServerState,
1134
+ * this enum contains the known values that the service supports.
1135
+ * ### Known values supported by the service
1136
+ * **Ready** \
1137
+ * **Dropping** \
1138
+ * **Disabled** \
1139
+ * **Inaccessible**
1658
1140
  */
1659
- export type IdentityType = 'SystemAssigned';
1141
+ export type ServerState = string;
1660
1142
 
1661
- /**
1662
- * Defines values for VirtualNetworkRuleState.
1663
- * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
1664
- * @readonly
1665
- * @enum {string}
1666
- */
1667
- export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown';
1143
+ /** Known values of {@link PrivateLinkServiceConnectionStateStatus} that the service accepts. */
1144
+ export enum KnownPrivateLinkServiceConnectionStateStatus {
1145
+ Approved = "Approved",
1146
+ Pending = "Pending",
1147
+ Rejected = "Rejected",
1148
+ Disconnected = "Disconnected"
1149
+ }
1668
1150
 
1669
1151
  /**
1670
- * Defines values for OperationOrigin.
1671
- * Possible values include: 'NotSpecified', 'user', 'system'
1672
- * @readonly
1673
- * @enum {string}
1152
+ * Defines values for PrivateLinkServiceConnectionStateStatus. \
1153
+ * {@link KnownPrivateLinkServiceConnectionStateStatus} can be used interchangeably with PrivateLinkServiceConnectionStateStatus,
1154
+ * this enum contains the known values that the service supports.
1155
+ * ### Known values supported by the service
1156
+ * **Approved** \
1157
+ * **Pending** \
1158
+ * **Rejected** \
1159
+ * **Disconnected**
1674
1160
  */
1675
- export type OperationOrigin = 'NotSpecified' | 'user' | 'system';
1161
+ export type PrivateLinkServiceConnectionStateStatus = string;
1676
1162
 
1677
- /**
1678
- * Defines values for ServerSecurityAlertPolicyState.
1679
- * Possible values include: 'Enabled', 'Disabled'
1680
- * @readonly
1681
- * @enum {string}
1682
- */
1683
- export type ServerSecurityAlertPolicyState = 'Enabled' | 'Disabled';
1163
+ /** Known values of {@link PrivateLinkServiceConnectionStateActionsRequire} that the service accepts. */
1164
+ export enum KnownPrivateLinkServiceConnectionStateActionsRequire {
1165
+ None = "None"
1166
+ }
1684
1167
 
1685
1168
  /**
1686
- * Defines values for QueryPerformanceInsightResetDataResultState.
1687
- * Possible values include: 'Succeeded', 'Failed'
1688
- * @readonly
1689
- * @enum {string}
1169
+ * Defines values for PrivateLinkServiceConnectionStateActionsRequire. \
1170
+ * {@link KnownPrivateLinkServiceConnectionStateActionsRequire} can be used interchangeably with PrivateLinkServiceConnectionStateActionsRequire,
1171
+ * this enum contains the known values that the service supports.
1172
+ * ### Known values supported by the service
1173
+ * **None**
1690
1174
  */
1691
- export type QueryPerformanceInsightResetDataResultState = 'Succeeded' | 'Failed';
1175
+ export type PrivateLinkServiceConnectionStateActionsRequire = string;
1176
+
1177
+ /** Known values of {@link PrivateEndpointProvisioningState} that the service accepts. */
1178
+ export enum KnownPrivateEndpointProvisioningState {
1179
+ Approving = "Approving",
1180
+ Ready = "Ready",
1181
+ Dropping = "Dropping",
1182
+ Failed = "Failed",
1183
+ Rejecting = "Rejecting"
1184
+ }
1692
1185
 
1693
1186
  /**
1694
- * Contains response data for the create operation.
1187
+ * Defines values for PrivateEndpointProvisioningState. \
1188
+ * {@link KnownPrivateEndpointProvisioningState} can be used interchangeably with PrivateEndpointProvisioningState,
1189
+ * this enum contains the known values that the service supports.
1190
+ * ### Known values supported by the service
1191
+ * **Approving** \
1192
+ * **Ready** \
1193
+ * **Dropping** \
1194
+ * **Failed** \
1195
+ * **Rejecting**
1695
1196
  */
1696
- export type ServersCreateResponse = Server & {
1697
- /**
1698
- * The underlying HTTP response.
1699
- */
1700
- _response: msRest.HttpResponse & {
1701
- /**
1702
- * The response body as text (string format)
1703
- */
1704
- bodyAsText: string;
1197
+ export type PrivateEndpointProvisioningState = string;
1705
1198
 
1706
- /**
1707
- * The response body as parsed JSON or XML
1708
- */
1709
- parsedBody: Server;
1710
- };
1711
- };
1199
+ /** Known values of {@link VirtualNetworkRuleState} that the service accepts. */
1200
+ export enum KnownVirtualNetworkRuleState {
1201
+ Initializing = "Initializing",
1202
+ InProgress = "InProgress",
1203
+ Ready = "Ready",
1204
+ Deleting = "Deleting",
1205
+ Unknown = "Unknown"
1206
+ }
1712
1207
 
1713
1208
  /**
1714
- * Contains response data for the update operation.
1209
+ * Defines values for VirtualNetworkRuleState. \
1210
+ * {@link KnownVirtualNetworkRuleState} can be used interchangeably with VirtualNetworkRuleState,
1211
+ * this enum contains the known values that the service supports.
1212
+ * ### Known values supported by the service
1213
+ * **Initializing** \
1214
+ * **InProgress** \
1215
+ * **Ready** \
1216
+ * **Deleting** \
1217
+ * **Unknown**
1715
1218
  */
1716
- export type ServersUpdateResponse = Server & {
1717
- /**
1718
- * The underlying HTTP response.
1719
- */
1720
- _response: msRest.HttpResponse & {
1721
- /**
1722
- * The response body as text (string format)
1723
- */
1724
- bodyAsText: string;
1219
+ export type VirtualNetworkRuleState = string;
1725
1220
 
1726
- /**
1727
- * The response body as parsed JSON or XML
1728
- */
1729
- parsedBody: Server;
1730
- };
1731
- };
1221
+ /** Known values of {@link OperationOrigin} that the service accepts. */
1222
+ export enum KnownOperationOrigin {
1223
+ NotSpecified = "NotSpecified",
1224
+ User = "user",
1225
+ System = "system"
1226
+ }
1732
1227
 
1733
1228
  /**
1734
- * Contains response data for the get operation.
1229
+ * Defines values for OperationOrigin. \
1230
+ * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
1231
+ * this enum contains the known values that the service supports.
1232
+ * ### Known values supported by the service
1233
+ * **NotSpecified** \
1234
+ * **user** \
1235
+ * **system**
1735
1236
  */
1736
- export type ServersGetResponse = Server & {
1737
- /**
1738
- * The underlying HTTP response.
1739
- */
1740
- _response: msRest.HttpResponse & {
1741
- /**
1742
- * The response body as text (string format)
1743
- */
1744
- bodyAsText: string;
1237
+ export type OperationOrigin = string;
1745
1238
 
1746
- /**
1747
- * The response body as parsed JSON or XML
1748
- */
1749
- parsedBody: Server;
1750
- };
1751
- };
1239
+ /** Known values of {@link SecurityAlertPolicyName} that the service accepts. */
1240
+ export enum KnownSecurityAlertPolicyName {
1241
+ Default = "Default"
1242
+ }
1752
1243
 
1753
1244
  /**
1754
- * Contains response data for the listByResourceGroup operation.
1245
+ * Defines values for SecurityAlertPolicyName. \
1246
+ * {@link KnownSecurityAlertPolicyName} can be used interchangeably with SecurityAlertPolicyName,
1247
+ * this enum contains the known values that the service supports.
1248
+ * ### Known values supported by the service
1249
+ * **Default**
1755
1250
  */
1756
- export type ServersListByResourceGroupResponse = ServerListResult & {
1757
- /**
1758
- * The underlying HTTP response.
1759
- */
1760
- _response: msRest.HttpResponse & {
1761
- /**
1762
- * The response body as text (string format)
1763
- */
1764
- bodyAsText: string;
1251
+ export type SecurityAlertPolicyName = string;
1765
1252
 
1766
- /**
1767
- * The response body as parsed JSON or XML
1768
- */
1769
- parsedBody: ServerListResult;
1770
- };
1771
- };
1253
+ /** Known values of {@link QueryPerformanceInsightResetDataResultState} that the service accepts. */
1254
+ export enum KnownQueryPerformanceInsightResetDataResultState {
1255
+ Succeeded = "Succeeded",
1256
+ Failed = "Failed"
1257
+ }
1772
1258
 
1773
1259
  /**
1774
- * Contains response data for the list operation.
1260
+ * Defines values for QueryPerformanceInsightResetDataResultState. \
1261
+ * {@link KnownQueryPerformanceInsightResetDataResultState} can be used interchangeably with QueryPerformanceInsightResetDataResultState,
1262
+ * this enum contains the known values that the service supports.
1263
+ * ### Known values supported by the service
1264
+ * **Succeeded** \
1265
+ * **Failed**
1775
1266
  */
1776
- export type ServersListResponse = ServerListResult & {
1777
- /**
1778
- * The underlying HTTP response.
1779
- */
1780
- _response: msRest.HttpResponse & {
1781
- /**
1782
- * The response body as text (string format)
1783
- */
1784
- bodyAsText: string;
1267
+ export type QueryPerformanceInsightResetDataResultState = string;
1785
1268
 
1786
- /**
1787
- * The response body as parsed JSON or XML
1788
- */
1789
- parsedBody: ServerListResult;
1790
- };
1791
- };
1269
+ /** Known values of {@link ServerKeyType} that the service accepts. */
1270
+ export enum KnownServerKeyType {
1271
+ AzureKeyVault = "AzureKeyVault"
1272
+ }
1792
1273
 
1793
1274
  /**
1794
- * Contains response data for the beginCreate operation.
1275
+ * Defines values for ServerKeyType. \
1276
+ * {@link KnownServerKeyType} can be used interchangeably with ServerKeyType,
1277
+ * this enum contains the known values that the service supports.
1278
+ * ### Known values supported by the service
1279
+ * **AzureKeyVault**
1795
1280
  */
1796
- export type ServersBeginCreateResponse = Server & {
1797
- /**
1798
- * The underlying HTTP response.
1799
- */
1800
- _response: msRest.HttpResponse & {
1801
- /**
1802
- * The response body as text (string format)
1803
- */
1804
- bodyAsText: string;
1281
+ export type ServerKeyType = string;
1282
+ /** Defines values for SslEnforcementEnum. */
1283
+ export type SslEnforcementEnum = "Enabled" | "Disabled";
1284
+ /** Defines values for ServerSecurityAlertPolicyState. */
1285
+ export type ServerSecurityAlertPolicyState = "Enabled" | "Disabled";
1805
1286
 
1806
- /**
1807
- * The response body as parsed JSON or XML
1808
- */
1809
- parsedBody: Server;
1810
- };
1811
- };
1287
+ /** Optional parameters. */
1288
+ export interface ServersCreateOptionalParams
1289
+ extends coreClient.OperationOptions {
1290
+ /** Delay to wait until next poll, in milliseconds. */
1291
+ updateIntervalInMs?: number;
1292
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1293
+ resumeFrom?: string;
1294
+ }
1812
1295
 
1813
- /**
1814
- * Contains response data for the beginUpdate operation.
1815
- */
1816
- export type ServersBeginUpdateResponse = Server & {
1817
- /**
1818
- * The underlying HTTP response.
1819
- */
1820
- _response: msRest.HttpResponse & {
1821
- /**
1822
- * The response body as text (string format)
1823
- */
1824
- bodyAsText: string;
1296
+ /** Contains response data for the create operation. */
1297
+ export type ServersCreateResponse = Server;
1825
1298
 
1826
- /**
1827
- * The response body as parsed JSON or XML
1828
- */
1829
- parsedBody: Server;
1830
- };
1831
- };
1299
+ /** Optional parameters. */
1300
+ export interface ServersUpdateOptionalParams
1301
+ extends coreClient.OperationOptions {
1302
+ /** Delay to wait until next poll, in milliseconds. */
1303
+ updateIntervalInMs?: number;
1304
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1305
+ resumeFrom?: string;
1306
+ }
1832
1307
 
1833
- /**
1834
- * Contains response data for the listByServer operation.
1835
- */
1836
- export type ReplicasListByServerResponse = ServerListResult & {
1837
- /**
1838
- * The underlying HTTP response.
1839
- */
1840
- _response: msRest.HttpResponse & {
1841
- /**
1842
- * The response body as text (string format)
1843
- */
1844
- bodyAsText: string;
1308
+ /** Contains response data for the update operation. */
1309
+ export type ServersUpdateResponse = Server;
1845
1310
 
1846
- /**
1847
- * The response body as parsed JSON or XML
1848
- */
1849
- parsedBody: ServerListResult;
1850
- };
1851
- };
1311
+ /** Optional parameters. */
1312
+ export interface ServersDeleteOptionalParams
1313
+ extends coreClient.OperationOptions {
1314
+ /** Delay to wait until next poll, in milliseconds. */
1315
+ updateIntervalInMs?: number;
1316
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1317
+ resumeFrom?: string;
1318
+ }
1852
1319
 
1853
- /**
1854
- * Contains response data for the createOrUpdate operation.
1855
- */
1856
- export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
1857
- /**
1858
- * The underlying HTTP response.
1859
- */
1860
- _response: msRest.HttpResponse & {
1861
- /**
1862
- * The response body as text (string format)
1863
- */
1864
- bodyAsText: string;
1320
+ /** Optional parameters. */
1321
+ export interface ServersGetOptionalParams extends coreClient.OperationOptions {}
1865
1322
 
1866
- /**
1867
- * The response body as parsed JSON or XML
1868
- */
1869
- parsedBody: FirewallRule;
1870
- };
1871
- };
1323
+ /** Contains response data for the get operation. */
1324
+ export type ServersGetResponse = Server;
1872
1325
 
1873
- /**
1874
- * Contains response data for the get operation.
1875
- */
1876
- export type FirewallRulesGetResponse = FirewallRule & {
1877
- /**
1878
- * The underlying HTTP response.
1879
- */
1880
- _response: msRest.HttpResponse & {
1881
- /**
1882
- * The response body as text (string format)
1883
- */
1884
- bodyAsText: string;
1326
+ /** Optional parameters. */
1327
+ export interface ServersListByResourceGroupOptionalParams
1328
+ extends coreClient.OperationOptions {}
1885
1329
 
1886
- /**
1887
- * The response body as parsed JSON or XML
1888
- */
1889
- parsedBody: FirewallRule;
1890
- };
1891
- };
1330
+ /** Contains response data for the listByResourceGroup operation. */
1331
+ export type ServersListByResourceGroupResponse = ServerListResult;
1892
1332
 
1893
- /**
1894
- * Contains response data for the listByServer operation.
1895
- */
1896
- export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
1897
- /**
1898
- * The underlying HTTP response.
1899
- */
1900
- _response: msRest.HttpResponse & {
1901
- /**
1902
- * The response body as text (string format)
1903
- */
1904
- bodyAsText: string;
1333
+ /** Optional parameters. */
1334
+ export interface ServersListOptionalParams
1335
+ extends coreClient.OperationOptions {}
1905
1336
 
1906
- /**
1907
- * The response body as parsed JSON or XML
1908
- */
1909
- parsedBody: FirewallRuleListResult;
1910
- };
1911
- };
1337
+ /** Contains response data for the list operation. */
1338
+ export type ServersListResponse = ServerListResult;
1912
1339
 
1913
- /**
1914
- * Contains response data for the beginCreateOrUpdate operation.
1915
- */
1916
- export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & {
1917
- /**
1918
- * The underlying HTTP response.
1919
- */
1920
- _response: msRest.HttpResponse & {
1921
- /**
1922
- * The response body as text (string format)
1923
- */
1924
- bodyAsText: string;
1340
+ /** Optional parameters. */
1341
+ export interface ServersRestartOptionalParams
1342
+ extends coreClient.OperationOptions {
1343
+ /** Delay to wait until next poll, in milliseconds. */
1344
+ updateIntervalInMs?: number;
1345
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1346
+ resumeFrom?: string;
1347
+ }
1925
1348
 
1926
- /**
1927
- * The response body as parsed JSON or XML
1928
- */
1929
- parsedBody: FirewallRule;
1930
- };
1931
- };
1349
+ /** Optional parameters. */
1350
+ export interface ServersStartOptionalParams
1351
+ extends coreClient.OperationOptions {
1352
+ /** Delay to wait until next poll, in milliseconds. */
1353
+ updateIntervalInMs?: number;
1354
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1355
+ resumeFrom?: string;
1356
+ }
1932
1357
 
1933
- /**
1934
- * Contains response data for the get operation.
1935
- */
1936
- export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & {
1937
- /**
1938
- * The underlying HTTP response.
1939
- */
1940
- _response: msRest.HttpResponse & {
1941
- /**
1942
- * The response body as text (string format)
1943
- */
1944
- bodyAsText: string;
1358
+ /** Optional parameters. */
1359
+ export interface ServersStopOptionalParams extends coreClient.OperationOptions {
1360
+ /** Delay to wait until next poll, in milliseconds. */
1361
+ updateIntervalInMs?: number;
1362
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1363
+ resumeFrom?: string;
1364
+ }
1945
1365
 
1946
- /**
1947
- * The response body as parsed JSON or XML
1948
- */
1949
- parsedBody: VirtualNetworkRule;
1950
- };
1951
- };
1366
+ /** Optional parameters. */
1367
+ export interface ServersUpgradeOptionalParams
1368
+ extends coreClient.OperationOptions {
1369
+ /** Delay to wait until next poll, in milliseconds. */
1370
+ updateIntervalInMs?: number;
1371
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1372
+ resumeFrom?: string;
1373
+ }
1952
1374
 
1953
- /**
1954
- * Contains response data for the createOrUpdate operation.
1955
- */
1956
- export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & {
1957
- /**
1958
- * The underlying HTTP response.
1959
- */
1960
- _response: msRest.HttpResponse & {
1961
- /**
1962
- * The response body as text (string format)
1963
- */
1964
- bodyAsText: string;
1375
+ /** Optional parameters. */
1376
+ export interface ReplicasListByServerOptionalParams
1377
+ extends coreClient.OperationOptions {}
1965
1378
 
1966
- /**
1967
- * The response body as parsed JSON or XML
1968
- */
1969
- parsedBody: VirtualNetworkRule;
1970
- };
1971
- };
1379
+ /** Contains response data for the listByServer operation. */
1380
+ export type ReplicasListByServerResponse = ServerListResult;
1972
1381
 
1973
- /**
1974
- * Contains response data for the listByServer operation.
1975
- */
1976
- export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & {
1977
- /**
1978
- * The underlying HTTP response.
1979
- */
1980
- _response: msRest.HttpResponse & {
1981
- /**
1982
- * The response body as text (string format)
1983
- */
1984
- bodyAsText: string;
1382
+ /** Optional parameters. */
1383
+ export interface FirewallRulesCreateOrUpdateOptionalParams
1384
+ extends coreClient.OperationOptions {
1385
+ /** Delay to wait until next poll, in milliseconds. */
1386
+ updateIntervalInMs?: number;
1387
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1388
+ resumeFrom?: string;
1389
+ }
1985
1390
 
1986
- /**
1987
- * The response body as parsed JSON or XML
1988
- */
1989
- parsedBody: VirtualNetworkRuleListResult;
1990
- };
1991
- };
1391
+ /** Contains response data for the createOrUpdate operation. */
1392
+ export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
1992
1393
 
1993
- /**
1994
- * Contains response data for the beginCreateOrUpdate operation.
1995
- */
1996
- export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & {
1997
- /**
1998
- * The underlying HTTP response.
1999
- */
2000
- _response: msRest.HttpResponse & {
2001
- /**
2002
- * The response body as text (string format)
2003
- */
2004
- bodyAsText: string;
1394
+ /** Optional parameters. */
1395
+ export interface FirewallRulesDeleteOptionalParams
1396
+ extends coreClient.OperationOptions {
1397
+ /** Delay to wait until next poll, in milliseconds. */
1398
+ updateIntervalInMs?: number;
1399
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1400
+ resumeFrom?: string;
1401
+ }
2005
1402
 
2006
- /**
2007
- * The response body as parsed JSON or XML
2008
- */
2009
- parsedBody: VirtualNetworkRule;
2010
- };
2011
- };
1403
+ /** Optional parameters. */
1404
+ export interface FirewallRulesGetOptionalParams
1405
+ extends coreClient.OperationOptions {}
2012
1406
 
2013
- /**
2014
- * Contains response data for the listByServerNext operation.
2015
- */
2016
- export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & {
2017
- /**
2018
- * The underlying HTTP response.
2019
- */
2020
- _response: msRest.HttpResponse & {
2021
- /**
2022
- * The response body as text (string format)
2023
- */
2024
- bodyAsText: string;
1407
+ /** Contains response data for the get operation. */
1408
+ export type FirewallRulesGetResponse = FirewallRule;
2025
1409
 
2026
- /**
2027
- * The response body as parsed JSON or XML
2028
- */
2029
- parsedBody: VirtualNetworkRuleListResult;
2030
- };
2031
- };
1410
+ /** Optional parameters. */
1411
+ export interface FirewallRulesListByServerOptionalParams
1412
+ extends coreClient.OperationOptions {}
2032
1413
 
2033
- /**
2034
- * Contains response data for the createOrUpdate operation.
2035
- */
2036
- export type DatabasesCreateOrUpdateResponse = Database & {
2037
- /**
2038
- * The underlying HTTP response.
2039
- */
2040
- _response: msRest.HttpResponse & {
2041
- /**
2042
- * The response body as text (string format)
2043
- */
2044
- bodyAsText: string;
1414
+ /** Contains response data for the listByServer operation. */
1415
+ export type FirewallRulesListByServerResponse = FirewallRuleListResult;
2045
1416
 
2046
- /**
2047
- * The response body as parsed JSON or XML
2048
- */
2049
- parsedBody: Database;
2050
- };
2051
- };
1417
+ /** Optional parameters. */
1418
+ export interface VirtualNetworkRulesGetOptionalParams
1419
+ extends coreClient.OperationOptions {}
2052
1420
 
2053
- /**
2054
- * Contains response data for the get operation.
2055
- */
2056
- export type DatabasesGetResponse = Database & {
2057
- /**
2058
- * The underlying HTTP response.
2059
- */
2060
- _response: msRest.HttpResponse & {
2061
- /**
2062
- * The response body as text (string format)
2063
- */
2064
- bodyAsText: string;
1421
+ /** Contains response data for the get operation. */
1422
+ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule;
2065
1423
 
2066
- /**
2067
- * The response body as parsed JSON or XML
2068
- */
2069
- parsedBody: Database;
2070
- };
2071
- };
1424
+ /** Optional parameters. */
1425
+ export interface VirtualNetworkRulesCreateOrUpdateOptionalParams
1426
+ extends coreClient.OperationOptions {
1427
+ /** Delay to wait until next poll, in milliseconds. */
1428
+ updateIntervalInMs?: number;
1429
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1430
+ resumeFrom?: string;
1431
+ }
2072
1432
 
2073
- /**
2074
- * Contains response data for the listByServer operation.
2075
- */
2076
- export type DatabasesListByServerResponse = DatabaseListResult & {
2077
- /**
2078
- * The underlying HTTP response.
2079
- */
2080
- _response: msRest.HttpResponse & {
2081
- /**
2082
- * The response body as text (string format)
2083
- */
2084
- bodyAsText: string;
1433
+ /** Contains response data for the createOrUpdate operation. */
1434
+ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule;
2085
1435
 
2086
- /**
2087
- * The response body as parsed JSON or XML
2088
- */
2089
- parsedBody: DatabaseListResult;
2090
- };
2091
- };
1436
+ /** Optional parameters. */
1437
+ export interface VirtualNetworkRulesDeleteOptionalParams
1438
+ extends coreClient.OperationOptions {
1439
+ /** Delay to wait until next poll, in milliseconds. */
1440
+ updateIntervalInMs?: number;
1441
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1442
+ resumeFrom?: string;
1443
+ }
2092
1444
 
2093
- /**
2094
- * Contains response data for the beginCreateOrUpdate operation.
2095
- */
2096
- export type DatabasesBeginCreateOrUpdateResponse = Database & {
2097
- /**
2098
- * The underlying HTTP response.
2099
- */
2100
- _response: msRest.HttpResponse & {
2101
- /**
2102
- * The response body as text (string format)
2103
- */
2104
- bodyAsText: string;
1445
+ /** Optional parameters. */
1446
+ export interface VirtualNetworkRulesListByServerOptionalParams
1447
+ extends coreClient.OperationOptions {}
2105
1448
 
2106
- /**
2107
- * The response body as parsed JSON or XML
2108
- */
2109
- parsedBody: Database;
2110
- };
2111
- };
1449
+ /** Contains response data for the listByServer operation. */
1450
+ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult;
2112
1451
 
2113
- /**
2114
- * Contains response data for the createOrUpdate operation.
2115
- */
2116
- export type ConfigurationsCreateOrUpdateResponse = Configuration & {
2117
- /**
2118
- * The underlying HTTP response.
2119
- */
2120
- _response: msRest.HttpResponse & {
2121
- /**
2122
- * The response body as text (string format)
2123
- */
2124
- bodyAsText: string;
1452
+ /** Optional parameters. */
1453
+ export interface VirtualNetworkRulesListByServerNextOptionalParams
1454
+ extends coreClient.OperationOptions {}
2125
1455
 
2126
- /**
2127
- * The response body as parsed JSON or XML
2128
- */
2129
- parsedBody: Configuration;
2130
- };
2131
- };
1456
+ /** Contains response data for the listByServerNext operation. */
1457
+ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult;
2132
1458
 
2133
- /**
2134
- * Contains response data for the get operation.
2135
- */
2136
- export type ConfigurationsGetResponse = Configuration & {
2137
- /**
2138
- * The underlying HTTP response.
2139
- */
2140
- _response: msRest.HttpResponse & {
2141
- /**
2142
- * The response body as text (string format)
2143
- */
2144
- bodyAsText: string;
1459
+ /** Optional parameters. */
1460
+ export interface DatabasesCreateOrUpdateOptionalParams
1461
+ extends coreClient.OperationOptions {
1462
+ /** Delay to wait until next poll, in milliseconds. */
1463
+ updateIntervalInMs?: number;
1464
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1465
+ resumeFrom?: string;
1466
+ }
2145
1467
 
2146
- /**
2147
- * The response body as parsed JSON or XML
2148
- */
2149
- parsedBody: Configuration;
2150
- };
2151
- };
1468
+ /** Contains response data for the createOrUpdate operation. */
1469
+ export type DatabasesCreateOrUpdateResponse = Database;
2152
1470
 
2153
- /**
2154
- * Contains response data for the listByServer operation.
2155
- */
2156
- export type ConfigurationsListByServerResponse = ConfigurationListResult & {
2157
- /**
2158
- * The underlying HTTP response.
2159
- */
2160
- _response: msRest.HttpResponse & {
2161
- /**
2162
- * The response body as text (string format)
2163
- */
2164
- bodyAsText: string;
1471
+ /** Optional parameters. */
1472
+ export interface DatabasesDeleteOptionalParams
1473
+ extends coreClient.OperationOptions {
1474
+ /** Delay to wait until next poll, in milliseconds. */
1475
+ updateIntervalInMs?: number;
1476
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1477
+ resumeFrom?: string;
1478
+ }
2165
1479
 
2166
- /**
2167
- * The response body as parsed JSON or XML
2168
- */
2169
- parsedBody: ConfigurationListResult;
2170
- };
2171
- };
1480
+ /** Optional parameters. */
1481
+ export interface DatabasesGetOptionalParams
1482
+ extends coreClient.OperationOptions {}
2172
1483
 
2173
- /**
2174
- * Contains response data for the beginCreateOrUpdate operation.
2175
- */
2176
- export type ConfigurationsBeginCreateOrUpdateResponse = Configuration & {
2177
- /**
2178
- * The underlying HTTP response.
2179
- */
2180
- _response: msRest.HttpResponse & {
2181
- /**
2182
- * The response body as text (string format)
2183
- */
2184
- bodyAsText: string;
1484
+ /** Contains response data for the get operation. */
1485
+ export type DatabasesGetResponse = Database;
2185
1486
 
2186
- /**
2187
- * The response body as parsed JSON or XML
2188
- */
2189
- parsedBody: Configuration;
2190
- };
2191
- };
1487
+ /** Optional parameters. */
1488
+ export interface DatabasesListByServerOptionalParams
1489
+ extends coreClient.OperationOptions {}
2192
1490
 
2193
- /**
2194
- * Contains response data for the listUpdateConfigurations operation.
2195
- */
2196
- export type ServerParametersListUpdateConfigurationsResponse = ConfigurationListResult & {
2197
- /**
2198
- * The underlying HTTP response.
2199
- */
2200
- _response: msRest.HttpResponse & {
2201
- /**
2202
- * The response body as text (string format)
2203
- */
2204
- bodyAsText: string;
1491
+ /** Contains response data for the listByServer operation. */
1492
+ export type DatabasesListByServerResponse = DatabaseListResult;
2205
1493
 
2206
- /**
2207
- * The response body as parsed JSON or XML
2208
- */
2209
- parsedBody: ConfigurationListResult;
2210
- };
2211
- };
1494
+ /** Optional parameters. */
1495
+ export interface ConfigurationsCreateOrUpdateOptionalParams
1496
+ extends coreClient.OperationOptions {
1497
+ /** Delay to wait until next poll, in milliseconds. */
1498
+ updateIntervalInMs?: number;
1499
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1500
+ resumeFrom?: string;
1501
+ }
2212
1502
 
2213
- /**
2214
- * Contains response data for the beginListUpdateConfigurations operation.
2215
- */
2216
- export type ServerParametersBeginListUpdateConfigurationsResponse = ConfigurationListResult & {
2217
- /**
2218
- * The underlying HTTP response.
2219
- */
2220
- _response: msRest.HttpResponse & {
2221
- /**
2222
- * The response body as text (string format)
2223
- */
2224
- bodyAsText: string;
1503
+ /** Contains response data for the createOrUpdate operation. */
1504
+ export type ConfigurationsCreateOrUpdateResponse = Configuration;
2225
1505
 
2226
- /**
2227
- * The response body as parsed JSON or XML
2228
- */
2229
- parsedBody: ConfigurationListResult;
2230
- };
2231
- };
1506
+ /** Optional parameters. */
1507
+ export interface ConfigurationsGetOptionalParams
1508
+ extends coreClient.OperationOptions {}
2232
1509
 
2233
- /**
2234
- * Contains response data for the listByServer operation.
2235
- */
2236
- export type LogFilesListByServerResponse = LogFileListResult & {
2237
- /**
2238
- * The underlying HTTP response.
2239
- */
2240
- _response: msRest.HttpResponse & {
2241
- /**
2242
- * The response body as text (string format)
2243
- */
2244
- bodyAsText: string;
1510
+ /** Contains response data for the get operation. */
1511
+ export type ConfigurationsGetResponse = Configuration;
2245
1512
 
2246
- /**
2247
- * The response body as parsed JSON or XML
2248
- */
2249
- parsedBody: LogFileListResult;
2250
- };
2251
- };
1513
+ /** Optional parameters. */
1514
+ export interface ConfigurationsListByServerOptionalParams
1515
+ extends coreClient.OperationOptions {}
2252
1516
 
2253
- /**
2254
- * Contains response data for the get operation.
2255
- */
2256
- export type ServerAdministratorsGetResponse = ServerAdministratorResource & {
2257
- /**
2258
- * The underlying HTTP response.
2259
- */
2260
- _response: msRest.HttpResponse & {
2261
- /**
2262
- * The response body as text (string format)
2263
- */
2264
- bodyAsText: string;
1517
+ /** Contains response data for the listByServer operation. */
1518
+ export type ConfigurationsListByServerResponse = ConfigurationListResult;
2265
1519
 
2266
- /**
2267
- * The response body as parsed JSON or XML
2268
- */
2269
- parsedBody: ServerAdministratorResource;
2270
- };
2271
- };
1520
+ /** Optional parameters. */
1521
+ export interface ServerParametersListUpdateConfigurationsOptionalParams
1522
+ extends coreClient.OperationOptions {
1523
+ /** Delay to wait until next poll, in milliseconds. */
1524
+ updateIntervalInMs?: number;
1525
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1526
+ resumeFrom?: string;
1527
+ }
2272
1528
 
2273
- /**
2274
- * Contains response data for the createOrUpdate operation.
2275
- */
2276
- export type ServerAdministratorsCreateOrUpdateResponse = ServerAdministratorResource & {
2277
- /**
2278
- * The underlying HTTP response.
2279
- */
2280
- _response: msRest.HttpResponse & {
2281
- /**
2282
- * The response body as text (string format)
2283
- */
2284
- bodyAsText: string;
1529
+ /** Contains response data for the listUpdateConfigurations operation. */
1530
+ export type ServerParametersListUpdateConfigurationsResponse = ConfigurationListResult;
2285
1531
 
2286
- /**
2287
- * The response body as parsed JSON or XML
2288
- */
2289
- parsedBody: ServerAdministratorResource;
2290
- };
2291
- };
1532
+ /** Optional parameters. */
1533
+ export interface LogFilesListByServerOptionalParams
1534
+ extends coreClient.OperationOptions {}
2292
1535
 
2293
- /**
2294
- * Contains response data for the list operation.
2295
- */
2296
- export type ServerAdministratorsListResponse = ServerAdministratorResourceListResult & {
2297
- /**
2298
- * The underlying HTTP response.
2299
- */
2300
- _response: msRest.HttpResponse & {
2301
- /**
2302
- * The response body as text (string format)
2303
- */
2304
- bodyAsText: string;
1536
+ /** Contains response data for the listByServer operation. */
1537
+ export type LogFilesListByServerResponse = LogFileListResult;
2305
1538
 
2306
- /**
2307
- * The response body as parsed JSON or XML
2308
- */
2309
- parsedBody: ServerAdministratorResourceListResult;
2310
- };
2311
- };
1539
+ /** Optional parameters. */
1540
+ export interface ServerAdministratorsGetOptionalParams
1541
+ extends coreClient.OperationOptions {}
2312
1542
 
2313
- /**
2314
- * Contains response data for the beginCreateOrUpdate operation.
2315
- */
2316
- export type ServerAdministratorsBeginCreateOrUpdateResponse = ServerAdministratorResource & {
2317
- /**
2318
- * The underlying HTTP response.
2319
- */
2320
- _response: msRest.HttpResponse & {
2321
- /**
2322
- * The response body as text (string format)
2323
- */
2324
- bodyAsText: string;
1543
+ /** Contains response data for the get operation. */
1544
+ export type ServerAdministratorsGetResponse = ServerAdministratorResource;
2325
1545
 
2326
- /**
2327
- * The response body as parsed JSON or XML
2328
- */
2329
- parsedBody: ServerAdministratorResource;
2330
- };
2331
- };
1546
+ /** Optional parameters. */
1547
+ export interface ServerAdministratorsCreateOrUpdateOptionalParams
1548
+ extends coreClient.OperationOptions {
1549
+ /** Delay to wait until next poll, in milliseconds. */
1550
+ updateIntervalInMs?: number;
1551
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1552
+ resumeFrom?: string;
1553
+ }
2332
1554
 
2333
- /**
2334
- * Contains response data for the get operation.
2335
- */
2336
- export type RecoverableServersGetResponse = RecoverableServerResource & {
2337
- /**
2338
- * The underlying HTTP response.
2339
- */
2340
- _response: msRest.HttpResponse & {
2341
- /**
2342
- * The response body as text (string format)
2343
- */
2344
- bodyAsText: string;
1555
+ /** Contains response data for the createOrUpdate operation. */
1556
+ export type ServerAdministratorsCreateOrUpdateResponse = ServerAdministratorResource;
2345
1557
 
2346
- /**
2347
- * The response body as parsed JSON or XML
2348
- */
2349
- parsedBody: RecoverableServerResource;
2350
- };
2351
- };
1558
+ /** Optional parameters. */
1559
+ export interface ServerAdministratorsDeleteOptionalParams
1560
+ extends coreClient.OperationOptions {
1561
+ /** Delay to wait until next poll, in milliseconds. */
1562
+ updateIntervalInMs?: number;
1563
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1564
+ resumeFrom?: string;
1565
+ }
2352
1566
 
2353
- /**
2354
- * Contains response data for the list operation.
2355
- */
2356
- export type ServerBasedPerformanceTierListResponse = PerformanceTierListResult & {
2357
- /**
2358
- * The underlying HTTP response.
2359
- */
2360
- _response: msRest.HttpResponse & {
2361
- /**
2362
- * The response body as text (string format)
2363
- */
2364
- bodyAsText: string;
1567
+ /** Optional parameters. */
1568
+ export interface ServerAdministratorsListOptionalParams
1569
+ extends coreClient.OperationOptions {}
2365
1570
 
2366
- /**
2367
- * The response body as parsed JSON or XML
2368
- */
2369
- parsedBody: PerformanceTierListResult;
2370
- };
2371
- };
1571
+ /** Contains response data for the list operation. */
1572
+ export type ServerAdministratorsListResponse = ServerAdministratorResourceListResult;
2372
1573
 
2373
- /**
2374
- * Contains response data for the list operation.
2375
- */
2376
- export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult & {
2377
- /**
2378
- * The underlying HTTP response.
2379
- */
2380
- _response: msRest.HttpResponse & {
2381
- /**
2382
- * The response body as text (string format)
2383
- */
2384
- bodyAsText: string;
1574
+ /** Optional parameters. */
1575
+ export interface RecoverableServersGetOptionalParams
1576
+ extends coreClient.OperationOptions {}
2385
1577
 
2386
- /**
2387
- * The response body as parsed JSON or XML
2388
- */
2389
- parsedBody: PerformanceTierListResult;
2390
- };
2391
- };
1578
+ /** Contains response data for the get operation. */
1579
+ export type RecoverableServersGetResponse = RecoverableServerResource;
2392
1580
 
2393
- /**
2394
- * Contains response data for the execute operation.
2395
- */
2396
- export type CheckNameAvailabilityExecuteResponse = NameAvailability & {
2397
- /**
2398
- * The underlying HTTP response.
2399
- */
2400
- _response: msRest.HttpResponse & {
2401
- /**
2402
- * The response body as text (string format)
2403
- */
2404
- bodyAsText: string;
1581
+ /** Optional parameters. */
1582
+ export interface ServerBasedPerformanceTierListOptionalParams
1583
+ extends coreClient.OperationOptions {}
2405
1584
 
2406
- /**
2407
- * The response body as parsed JSON or XML
2408
- */
2409
- parsedBody: NameAvailability;
2410
- };
2411
- };
1585
+ /** Contains response data for the list operation. */
1586
+ export type ServerBasedPerformanceTierListResponse = PerformanceTierListResult;
2412
1587
 
2413
- /**
2414
- * Contains response data for the list operation.
2415
- */
2416
- export type OperationsListResponse = OperationListResult & {
2417
- /**
2418
- * The underlying HTTP response.
2419
- */
2420
- _response: msRest.HttpResponse & {
2421
- /**
2422
- * The response body as text (string format)
2423
- */
2424
- bodyAsText: string;
1588
+ /** Optional parameters. */
1589
+ export interface LocationBasedPerformanceTierListOptionalParams
1590
+ extends coreClient.OperationOptions {}
2425
1591
 
2426
- /**
2427
- * The response body as parsed JSON or XML
2428
- */
2429
- parsedBody: OperationListResult;
2430
- };
2431
- };
1592
+ /** Contains response data for the list operation. */
1593
+ export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult;
2432
1594
 
2433
- /**
2434
- * Contains response data for the get operation.
2435
- */
2436
- export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & {
2437
- /**
2438
- * The underlying HTTP response.
2439
- */
2440
- _response: msRest.HttpResponse & {
2441
- /**
2442
- * The response body as text (string format)
2443
- */
2444
- bodyAsText: string;
1595
+ /** Optional parameters. */
1596
+ export interface CheckNameAvailabilityExecuteOptionalParams
1597
+ extends coreClient.OperationOptions {}
2445
1598
 
2446
- /**
2447
- * The response body as parsed JSON or XML
2448
- */
2449
- parsedBody: ServerSecurityAlertPolicy;
2450
- };
2451
- };
1599
+ /** Contains response data for the execute operation. */
1600
+ export type CheckNameAvailabilityExecuteResponse = NameAvailability;
2452
1601
 
2453
- /**
2454
- * Contains response data for the createOrUpdate operation.
2455
- */
2456
- export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
2457
- /**
2458
- * The underlying HTTP response.
2459
- */
2460
- _response: msRest.HttpResponse & {
2461
- /**
2462
- * The response body as text (string format)
2463
- */
2464
- bodyAsText: string;
1602
+ /** Optional parameters. */
1603
+ export interface OperationsListOptionalParams
1604
+ extends coreClient.OperationOptions {}
2465
1605
 
2466
- /**
2467
- * The response body as parsed JSON or XML
2468
- */
2469
- parsedBody: ServerSecurityAlertPolicy;
2470
- };
2471
- };
1606
+ /** Contains response data for the list operation. */
1607
+ export type OperationsListResponse = OperationListResult;
2472
1608
 
2473
- /**
2474
- * Contains response data for the listByServer operation.
2475
- */
2476
- export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult & {
2477
- /**
2478
- * The underlying HTTP response.
2479
- */
2480
- _response: msRest.HttpResponse & {
2481
- /**
2482
- * The response body as text (string format)
2483
- */
2484
- bodyAsText: string;
1609
+ /** Optional parameters. */
1610
+ export interface ServerSecurityAlertPoliciesGetOptionalParams
1611
+ extends coreClient.OperationOptions {}
2485
1612
 
2486
- /**
2487
- * The response body as parsed JSON or XML
2488
- */
2489
- parsedBody: ServerSecurityAlertPolicyListResult;
2490
- };
2491
- };
1613
+ /** Contains response data for the get operation. */
1614
+ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy;
2492
1615
 
2493
- /**
2494
- * Contains response data for the beginCreateOrUpdate operation.
2495
- */
2496
- export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
2497
- /**
2498
- * The underlying HTTP response.
2499
- */
2500
- _response: msRest.HttpResponse & {
2501
- /**
2502
- * The response body as text (string format)
2503
- */
2504
- bodyAsText: string;
1616
+ /** Optional parameters. */
1617
+ export interface ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams
1618
+ extends coreClient.OperationOptions {
1619
+ /** Delay to wait until next poll, in milliseconds. */
1620
+ updateIntervalInMs?: number;
1621
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1622
+ resumeFrom?: string;
1623
+ }
2505
1624
 
2506
- /**
2507
- * The response body as parsed JSON or XML
2508
- */
2509
- parsedBody: ServerSecurityAlertPolicy;
2510
- };
2511
- };
1625
+ /** Contains response data for the createOrUpdate operation. */
1626
+ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy;
2512
1627
 
2513
- /**
2514
- * Contains response data for the listByServerNext operation.
2515
- */
2516
- export type ServerSecurityAlertPoliciesListByServerNextResponse = ServerSecurityAlertPolicyListResult & {
2517
- /**
2518
- * The underlying HTTP response.
2519
- */
2520
- _response: msRest.HttpResponse & {
2521
- /**
2522
- * The response body as text (string format)
2523
- */
2524
- bodyAsText: string;
1628
+ /** Optional parameters. */
1629
+ export interface ServerSecurityAlertPoliciesListByServerOptionalParams
1630
+ extends coreClient.OperationOptions {}
2525
1631
 
2526
- /**
2527
- * The response body as parsed JSON or XML
2528
- */
2529
- parsedBody: ServerSecurityAlertPolicyListResult;
2530
- };
2531
- };
1632
+ /** Contains response data for the listByServer operation. */
1633
+ export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
2532
1634
 
2533
- /**
2534
- * Contains response data for the get operation.
2535
- */
2536
- export type QueryTextsGetResponse = QueryText & {
2537
- /**
2538
- * The underlying HTTP response.
2539
- */
2540
- _response: msRest.HttpResponse & {
2541
- /**
2542
- * The response body as text (string format)
2543
- */
2544
- bodyAsText: string;
1635
+ /** Optional parameters. */
1636
+ export interface ServerSecurityAlertPoliciesListByServerNextOptionalParams
1637
+ extends coreClient.OperationOptions {}
2545
1638
 
2546
- /**
2547
- * The response body as parsed JSON or XML
2548
- */
2549
- parsedBody: QueryText;
2550
- };
2551
- };
1639
+ /** Contains response data for the listByServerNext operation. */
1640
+ export type ServerSecurityAlertPoliciesListByServerNextResponse = ServerSecurityAlertPolicyListResult;
2552
1641
 
2553
- /**
2554
- * Contains response data for the listByServer operation.
2555
- */
2556
- export type QueryTextsListByServerResponse = QueryTextsResultList & {
2557
- /**
2558
- * The underlying HTTP response.
2559
- */
2560
- _response: msRest.HttpResponse & {
2561
- /**
2562
- * The response body as text (string format)
2563
- */
2564
- bodyAsText: string;
1642
+ /** Optional parameters. */
1643
+ export interface QueryTextsGetOptionalParams
1644
+ extends coreClient.OperationOptions {}
2565
1645
 
2566
- /**
2567
- * The response body as parsed JSON or XML
2568
- */
2569
- parsedBody: QueryTextsResultList;
2570
- };
2571
- };
1646
+ /** Contains response data for the get operation. */
1647
+ export type QueryTextsGetResponse = QueryText;
2572
1648
 
2573
- /**
2574
- * Contains response data for the listByServerNext operation.
2575
- */
2576
- export type QueryTextsListByServerNextResponse = QueryTextsResultList & {
2577
- /**
2578
- * The underlying HTTP response.
2579
- */
2580
- _response: msRest.HttpResponse & {
2581
- /**
2582
- * The response body as text (string format)
2583
- */
2584
- bodyAsText: string;
1649
+ /** Optional parameters. */
1650
+ export interface QueryTextsListByServerOptionalParams
1651
+ extends coreClient.OperationOptions {}
2585
1652
 
2586
- /**
2587
- * The response body as parsed JSON or XML
2588
- */
2589
- parsedBody: QueryTextsResultList;
2590
- };
2591
- };
1653
+ /** Contains response data for the listByServer operation. */
1654
+ export type QueryTextsListByServerResponse = QueryTextsResultList;
2592
1655
 
2593
- /**
2594
- * Contains response data for the get operation.
2595
- */
2596
- export type TopQueryStatisticsGetResponse = QueryStatistic & {
2597
- /**
2598
- * The underlying HTTP response.
2599
- */
2600
- _response: msRest.HttpResponse & {
2601
- /**
2602
- * The response body as text (string format)
2603
- */
2604
- bodyAsText: string;
1656
+ /** Optional parameters. */
1657
+ export interface QueryTextsListByServerNextOptionalParams
1658
+ extends coreClient.OperationOptions {}
2605
1659
 
2606
- /**
2607
- * The response body as parsed JSON or XML
2608
- */
2609
- parsedBody: QueryStatistic;
2610
- };
2611
- };
1660
+ /** Contains response data for the listByServerNext operation. */
1661
+ export type QueryTextsListByServerNextResponse = QueryTextsResultList;
2612
1662
 
2613
- /**
2614
- * Contains response data for the listByServer operation.
2615
- */
2616
- export type TopQueryStatisticsListByServerResponse = TopQueryStatisticsResultList & {
2617
- /**
2618
- * The underlying HTTP response.
2619
- */
2620
- _response: msRest.HttpResponse & {
2621
- /**
2622
- * The response body as text (string format)
2623
- */
2624
- bodyAsText: string;
1663
+ /** Optional parameters. */
1664
+ export interface TopQueryStatisticsGetOptionalParams
1665
+ extends coreClient.OperationOptions {}
2625
1666
 
2626
- /**
2627
- * The response body as parsed JSON or XML
2628
- */
2629
- parsedBody: TopQueryStatisticsResultList;
2630
- };
2631
- };
1667
+ /** Contains response data for the get operation. */
1668
+ export type TopQueryStatisticsGetResponse = QueryStatistic;
2632
1669
 
2633
- /**
2634
- * Contains response data for the listByServerNext operation.
2635
- */
2636
- export type TopQueryStatisticsListByServerNextResponse = TopQueryStatisticsResultList & {
2637
- /**
2638
- * The underlying HTTP response.
2639
- */
2640
- _response: msRest.HttpResponse & {
2641
- /**
2642
- * The response body as text (string format)
2643
- */
2644
- bodyAsText: string;
1670
+ /** Optional parameters. */
1671
+ export interface TopQueryStatisticsListByServerOptionalParams
1672
+ extends coreClient.OperationOptions {}
2645
1673
 
2646
- /**
2647
- * The response body as parsed JSON or XML
2648
- */
2649
- parsedBody: TopQueryStatisticsResultList;
2650
- };
2651
- };
1674
+ /** Contains response data for the listByServer operation. */
1675
+ export type TopQueryStatisticsListByServerResponse = TopQueryStatisticsResultList;
2652
1676
 
2653
- /**
2654
- * Contains response data for the get operation.
2655
- */
2656
- export type WaitStatisticsGetResponse = WaitStatistic & {
2657
- /**
2658
- * The underlying HTTP response.
2659
- */
2660
- _response: msRest.HttpResponse & {
2661
- /**
2662
- * The response body as text (string format)
2663
- */
2664
- bodyAsText: string;
1677
+ /** Optional parameters. */
1678
+ export interface TopQueryStatisticsListByServerNextOptionalParams
1679
+ extends coreClient.OperationOptions {}
2665
1680
 
2666
- /**
2667
- * The response body as parsed JSON or XML
2668
- */
2669
- parsedBody: WaitStatistic;
2670
- };
2671
- };
1681
+ /** Contains response data for the listByServerNext operation. */
1682
+ export type TopQueryStatisticsListByServerNextResponse = TopQueryStatisticsResultList;
2672
1683
 
2673
- /**
2674
- * Contains response data for the listByServer operation.
2675
- */
2676
- export type WaitStatisticsListByServerResponse = WaitStatisticsResultList & {
2677
- /**
2678
- * The underlying HTTP response.
2679
- */
2680
- _response: msRest.HttpResponse & {
2681
- /**
2682
- * The response body as text (string format)
2683
- */
2684
- bodyAsText: string;
1684
+ /** Optional parameters. */
1685
+ export interface WaitStatisticsGetOptionalParams
1686
+ extends coreClient.OperationOptions {}
2685
1687
 
2686
- /**
2687
- * The response body as parsed JSON or XML
2688
- */
2689
- parsedBody: WaitStatisticsResultList;
2690
- };
2691
- };
1688
+ /** Contains response data for the get operation. */
1689
+ export type WaitStatisticsGetResponse = WaitStatistic;
2692
1690
 
2693
- /**
2694
- * Contains response data for the listByServerNext operation.
2695
- */
2696
- export type WaitStatisticsListByServerNextResponse = WaitStatisticsResultList & {
2697
- /**
2698
- * The underlying HTTP response.
2699
- */
2700
- _response: msRest.HttpResponse & {
2701
- /**
2702
- * The response body as text (string format)
2703
- */
2704
- bodyAsText: string;
1691
+ /** Optional parameters. */
1692
+ export interface WaitStatisticsListByServerOptionalParams
1693
+ extends coreClient.OperationOptions {}
2705
1694
 
2706
- /**
2707
- * The response body as parsed JSON or XML
2708
- */
2709
- parsedBody: WaitStatisticsResultList;
2710
- };
2711
- };
1695
+ /** Contains response data for the listByServer operation. */
1696
+ export type WaitStatisticsListByServerResponse = WaitStatisticsResultList;
2712
1697
 
2713
- /**
2714
- * Contains response data for the resetQueryPerformanceInsightData operation.
2715
- */
2716
- export type ResetQueryPerformanceInsightDataResponse = QueryPerformanceInsightResetDataResult & {
2717
- /**
2718
- * The underlying HTTP response.
2719
- */
2720
- _response: msRest.HttpResponse & {
2721
- /**
2722
- * The response body as text (string format)
2723
- */
2724
- bodyAsText: string;
1698
+ /** Optional parameters. */
1699
+ export interface WaitStatisticsListByServerNextOptionalParams
1700
+ extends coreClient.OperationOptions {}
2725
1701
 
2726
- /**
2727
- * The response body as parsed JSON or XML
2728
- */
2729
- parsedBody: QueryPerformanceInsightResetDataResult;
2730
- };
2731
- };
1702
+ /** Contains response data for the listByServerNext operation. */
1703
+ export type WaitStatisticsListByServerNextResponse = WaitStatisticsResultList;
2732
1704
 
2733
- /**
2734
- * Contains response data for the get operation.
2735
- */
2736
- export type AdvisorsGetResponse = Advisor & {
2737
- /**
2738
- * The underlying HTTP response.
2739
- */
2740
- _response: msRest.HttpResponse & {
2741
- /**
2742
- * The response body as text (string format)
2743
- */
2744
- bodyAsText: string;
1705
+ /** Optional parameters. */
1706
+ export interface ResetQueryPerformanceInsightDataOptionalParams
1707
+ extends coreClient.OperationOptions {}
2745
1708
 
2746
- /**
2747
- * The response body as parsed JSON or XML
2748
- */
2749
- parsedBody: Advisor;
2750
- };
2751
- };
1709
+ /** Contains response data for the resetQueryPerformanceInsightData operation. */
1710
+ export type ResetQueryPerformanceInsightDataResponse = QueryPerformanceInsightResetDataResult;
2752
1711
 
2753
- /**
2754
- * Contains response data for the listByServer operation.
2755
- */
2756
- export type AdvisorsListByServerResponse = AdvisorsResultList & {
2757
- /**
2758
- * The underlying HTTP response.
2759
- */
2760
- _response: msRest.HttpResponse & {
2761
- /**
2762
- * The response body as text (string format)
2763
- */
2764
- bodyAsText: string;
1712
+ /** Optional parameters. */
1713
+ export interface CreateRecommendedActionSessionOptionalParams
1714
+ extends coreClient.OperationOptions {
1715
+ /** Delay to wait until next poll, in milliseconds. */
1716
+ updateIntervalInMs?: number;
1717
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1718
+ resumeFrom?: string;
1719
+ }
2765
1720
 
2766
- /**
2767
- * The response body as parsed JSON or XML
2768
- */
2769
- parsedBody: AdvisorsResultList;
2770
- };
2771
- };
1721
+ /** Optional parameters. */
1722
+ export interface AdvisorsGetOptionalParams
1723
+ extends coreClient.OperationOptions {}
2772
1724
 
2773
- /**
2774
- * Contains response data for the listByServerNext operation.
2775
- */
2776
- export type AdvisorsListByServerNextResponse = AdvisorsResultList & {
2777
- /**
2778
- * The underlying HTTP response.
2779
- */
2780
- _response: msRest.HttpResponse & {
2781
- /**
2782
- * The response body as text (string format)
2783
- */
2784
- bodyAsText: string;
1725
+ /** Contains response data for the get operation. */
1726
+ export type AdvisorsGetResponse = Advisor;
2785
1727
 
2786
- /**
2787
- * The response body as parsed JSON or XML
2788
- */
2789
- parsedBody: AdvisorsResultList;
2790
- };
2791
- };
1728
+ /** Optional parameters. */
1729
+ export interface AdvisorsListByServerOptionalParams
1730
+ extends coreClient.OperationOptions {}
2792
1731
 
2793
- /**
2794
- * Contains response data for the get operation.
2795
- */
2796
- export type RecommendedActionsGetResponse = RecommendationAction & {
2797
- /**
2798
- * The underlying HTTP response.
2799
- */
2800
- _response: msRest.HttpResponse & {
2801
- /**
2802
- * The response body as text (string format)
2803
- */
2804
- bodyAsText: string;
1732
+ /** Contains response data for the listByServer operation. */
1733
+ export type AdvisorsListByServerResponse = AdvisorsResultList;
2805
1734
 
2806
- /**
2807
- * The response body as parsed JSON or XML
2808
- */
2809
- parsedBody: RecommendationAction;
2810
- };
2811
- };
1735
+ /** Optional parameters. */
1736
+ export interface AdvisorsListByServerNextOptionalParams
1737
+ extends coreClient.OperationOptions {}
2812
1738
 
2813
- /**
2814
- * Contains response data for the listByServer operation.
2815
- */
2816
- export type RecommendedActionsListByServerResponse = RecommendationActionsResultList & {
2817
- /**
2818
- * The underlying HTTP response.
2819
- */
2820
- _response: msRest.HttpResponse & {
2821
- /**
2822
- * The response body as text (string format)
2823
- */
2824
- bodyAsText: string;
1739
+ /** Contains response data for the listByServerNext operation. */
1740
+ export type AdvisorsListByServerNextResponse = AdvisorsResultList;
2825
1741
 
2826
- /**
2827
- * The response body as parsed JSON or XML
2828
- */
2829
- parsedBody: RecommendationActionsResultList;
2830
- };
2831
- };
1742
+ /** Optional parameters. */
1743
+ export interface RecommendedActionsGetOptionalParams
1744
+ extends coreClient.OperationOptions {}
2832
1745
 
2833
- /**
2834
- * Contains response data for the listByServerNext operation.
2835
- */
2836
- export type RecommendedActionsListByServerNextResponse = RecommendationActionsResultList & {
2837
- /**
2838
- * The underlying HTTP response.
2839
- */
2840
- _response: msRest.HttpResponse & {
2841
- /**
2842
- * The response body as text (string format)
2843
- */
2844
- bodyAsText: string;
1746
+ /** Contains response data for the get operation. */
1747
+ export type RecommendedActionsGetResponse = RecommendationAction;
2845
1748
 
2846
- /**
2847
- * The response body as parsed JSON or XML
2848
- */
2849
- parsedBody: RecommendationActionsResultList;
2850
- };
2851
- };
1749
+ /** Optional parameters. */
1750
+ export interface RecommendedActionsListByServerOptionalParams
1751
+ extends coreClient.OperationOptions {
1752
+ /** The recommendation action session identifier. */
1753
+ sessionId?: string;
1754
+ }
2852
1755
 
2853
- /**
2854
- * Contains response data for the get operation.
2855
- */
2856
- export type LocationBasedRecommendedActionSessionsOperationStatusGetResponse = RecommendedActionSessionsOperationStatus & {
2857
- /**
2858
- * The underlying HTTP response.
2859
- */
2860
- _response: msRest.HttpResponse & {
2861
- /**
2862
- * The response body as text (string format)
2863
- */
2864
- bodyAsText: string;
1756
+ /** Contains response data for the listByServer operation. */
1757
+ export type RecommendedActionsListByServerResponse = RecommendationActionsResultList;
2865
1758
 
2866
- /**
2867
- * The response body as parsed JSON or XML
2868
- */
2869
- parsedBody: RecommendedActionSessionsOperationStatus;
2870
- };
2871
- };
1759
+ /** Optional parameters. */
1760
+ export interface RecommendedActionsListByServerNextOptionalParams
1761
+ extends coreClient.OperationOptions {
1762
+ /** The recommendation action session identifier. */
1763
+ sessionId?: string;
1764
+ }
2872
1765
 
2873
- /**
2874
- * Contains response data for the list operation.
2875
- */
2876
- export type LocationBasedRecommendedActionSessionsResultListResponse = RecommendationActionsResultList & {
2877
- /**
2878
- * The underlying HTTP response.
2879
- */
2880
- _response: msRest.HttpResponse & {
2881
- /**
2882
- * The response body as text (string format)
2883
- */
2884
- bodyAsText: string;
1766
+ /** Contains response data for the listByServerNext operation. */
1767
+ export type RecommendedActionsListByServerNextResponse = RecommendationActionsResultList;
2885
1768
 
2886
- /**
2887
- * The response body as parsed JSON or XML
2888
- */
2889
- parsedBody: RecommendationActionsResultList;
2890
- };
2891
- };
1769
+ /** Optional parameters. */
1770
+ export interface LocationBasedRecommendedActionSessionsOperationStatusGetOptionalParams
1771
+ extends coreClient.OperationOptions {}
2892
1772
 
2893
- /**
2894
- * Contains response data for the listNext operation.
2895
- */
2896
- export type LocationBasedRecommendedActionSessionsResultListNextResponse = RecommendationActionsResultList & {
2897
- /**
2898
- * The underlying HTTP response.
2899
- */
2900
- _response: msRest.HttpResponse & {
2901
- /**
2902
- * The response body as text (string format)
2903
- */
2904
- bodyAsText: string;
1773
+ /** Contains response data for the get operation. */
1774
+ export type LocationBasedRecommendedActionSessionsOperationStatusGetResponse = RecommendedActionSessionsOperationStatus;
2905
1775
 
2906
- /**
2907
- * The response body as parsed JSON or XML
2908
- */
2909
- parsedBody: RecommendationActionsResultList;
2910
- };
2911
- };
1776
+ /** Optional parameters. */
1777
+ export interface LocationBasedRecommendedActionSessionsResultListOptionalParams
1778
+ extends coreClient.OperationOptions {}
2912
1779
 
2913
- /**
2914
- * Contains response data for the get operation.
2915
- */
2916
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
2917
- /**
2918
- * The underlying HTTP response.
2919
- */
2920
- _response: msRest.HttpResponse & {
2921
- /**
2922
- * The response body as text (string format)
2923
- */
2924
- bodyAsText: string;
1780
+ /** Contains response data for the list operation. */
1781
+ export type LocationBasedRecommendedActionSessionsResultListResponse = RecommendationActionsResultList;
2925
1782
 
2926
- /**
2927
- * The response body as parsed JSON or XML
2928
- */
2929
- parsedBody: PrivateEndpointConnection;
2930
- };
2931
- };
1783
+ /** Optional parameters. */
1784
+ export interface LocationBasedRecommendedActionSessionsResultListNextOptionalParams
1785
+ extends coreClient.OperationOptions {}
2932
1786
 
2933
- /**
2934
- * Contains response data for the createOrUpdate operation.
2935
- */
2936
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
2937
- /**
2938
- * The underlying HTTP response.
2939
- */
2940
- _response: msRest.HttpResponse & {
2941
- /**
2942
- * The response body as text (string format)
2943
- */
2944
- bodyAsText: string;
1787
+ /** Contains response data for the listNext operation. */
1788
+ export type LocationBasedRecommendedActionSessionsResultListNextResponse = RecommendationActionsResultList;
2945
1789
 
2946
- /**
2947
- * The response body as parsed JSON or XML
2948
- */
2949
- parsedBody: PrivateEndpointConnection;
2950
- };
2951
- };
1790
+ /** Optional parameters. */
1791
+ export interface PrivateEndpointConnectionsGetOptionalParams
1792
+ extends coreClient.OperationOptions {}
2952
1793
 
2953
- /**
2954
- * Contains response data for the updateTags operation.
2955
- */
2956
- export type PrivateEndpointConnectionsUpdateTagsResponse = PrivateEndpointConnection & {
2957
- /**
2958
- * The underlying HTTP response.
2959
- */
2960
- _response: msRest.HttpResponse & {
2961
- /**
2962
- * The response body as text (string format)
2963
- */
2964
- bodyAsText: string;
1794
+ /** Contains response data for the get operation. */
1795
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2965
1796
 
2966
- /**
2967
- * The response body as parsed JSON or XML
2968
- */
2969
- parsedBody: PrivateEndpointConnection;
2970
- };
2971
- };
1797
+ /** Optional parameters. */
1798
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
1799
+ extends coreClient.OperationOptions {
1800
+ /** Delay to wait until next poll, in milliseconds. */
1801
+ updateIntervalInMs?: number;
1802
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1803
+ resumeFrom?: string;
1804
+ }
2972
1805
 
2973
- /**
2974
- * Contains response data for the listByServer operation.
2975
- */
2976
- export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult & {
2977
- /**
2978
- * The underlying HTTP response.
2979
- */
2980
- _response: msRest.HttpResponse & {
2981
- /**
2982
- * The response body as text (string format)
2983
- */
2984
- bodyAsText: string;
1806
+ /** Contains response data for the createOrUpdate operation. */
1807
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
2985
1808
 
2986
- /**
2987
- * The response body as parsed JSON or XML
2988
- */
2989
- parsedBody: PrivateEndpointConnectionListResult;
2990
- };
2991
- };
1809
+ /** Optional parameters. */
1810
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
1811
+ extends coreClient.OperationOptions {
1812
+ /** Delay to wait until next poll, in milliseconds. */
1813
+ updateIntervalInMs?: number;
1814
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1815
+ resumeFrom?: string;
1816
+ }
2992
1817
 
2993
- /**
2994
- * Contains response data for the beginCreateOrUpdate operation.
2995
- */
2996
- export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
2997
- /**
2998
- * The underlying HTTP response.
2999
- */
3000
- _response: msRest.HttpResponse & {
3001
- /**
3002
- * The response body as text (string format)
3003
- */
3004
- bodyAsText: string;
1818
+ /** Optional parameters. */
1819
+ export interface PrivateEndpointConnectionsUpdateTagsOptionalParams
1820
+ extends coreClient.OperationOptions {
1821
+ /** Delay to wait until next poll, in milliseconds. */
1822
+ updateIntervalInMs?: number;
1823
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1824
+ resumeFrom?: string;
1825
+ }
3005
1826
 
3006
- /**
3007
- * The response body as parsed JSON or XML
3008
- */
3009
- parsedBody: PrivateEndpointConnection;
3010
- };
3011
- };
1827
+ /** Contains response data for the updateTags operation. */
1828
+ export type PrivateEndpointConnectionsUpdateTagsResponse = PrivateEndpointConnection;
3012
1829
 
3013
- /**
3014
- * Contains response data for the beginUpdateTags operation.
3015
- */
3016
- export type PrivateEndpointConnectionsBeginUpdateTagsResponse = PrivateEndpointConnection & {
3017
- /**
3018
- * The underlying HTTP response.
3019
- */
3020
- _response: msRest.HttpResponse & {
3021
- /**
3022
- * The response body as text (string format)
3023
- */
3024
- bodyAsText: string;
1830
+ /** Optional parameters. */
1831
+ export interface PrivateEndpointConnectionsListByServerOptionalParams
1832
+ extends coreClient.OperationOptions {}
3025
1833
 
3026
- /**
3027
- * The response body as parsed JSON or XML
3028
- */
3029
- parsedBody: PrivateEndpointConnection;
3030
- };
3031
- };
1834
+ /** Contains response data for the listByServer operation. */
1835
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
3032
1836
 
3033
- /**
3034
- * Contains response data for the listByServerNext operation.
3035
- */
3036
- export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult & {
3037
- /**
3038
- * The underlying HTTP response.
3039
- */
3040
- _response: msRest.HttpResponse & {
3041
- /**
3042
- * The response body as text (string format)
3043
- */
3044
- bodyAsText: string;
1837
+ /** Optional parameters. */
1838
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams
1839
+ extends coreClient.OperationOptions {}
3045
1840
 
3046
- /**
3047
- * The response body as parsed JSON or XML
3048
- */
3049
- parsedBody: PrivateEndpointConnectionListResult;
3050
- };
3051
- };
1841
+ /** Contains response data for the listByServerNext operation. */
1842
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
3052
1843
 
3053
- /**
3054
- * Contains response data for the listByServer operation.
3055
- */
3056
- export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult & {
3057
- /**
3058
- * The underlying HTTP response.
3059
- */
3060
- _response: msRest.HttpResponse & {
3061
- /**
3062
- * The response body as text (string format)
3063
- */
3064
- bodyAsText: string;
1844
+ /** Optional parameters. */
1845
+ export interface PrivateLinkResourcesListByServerOptionalParams
1846
+ extends coreClient.OperationOptions {}
3065
1847
 
3066
- /**
3067
- * The response body as parsed JSON or XML
3068
- */
3069
- parsedBody: PrivateLinkResourceListResult;
3070
- };
3071
- };
1848
+ /** Contains response data for the listByServer operation. */
1849
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
3072
1850
 
3073
- /**
3074
- * Contains response data for the get operation.
3075
- */
3076
- export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
3077
- /**
3078
- * The underlying HTTP response.
3079
- */
3080
- _response: msRest.HttpResponse & {
3081
- /**
3082
- * The response body as text (string format)
3083
- */
3084
- bodyAsText: string;
1851
+ /** Optional parameters. */
1852
+ export interface PrivateLinkResourcesGetOptionalParams
1853
+ extends coreClient.OperationOptions {}
3085
1854
 
3086
- /**
3087
- * The response body as parsed JSON or XML
3088
- */
3089
- parsedBody: PrivateLinkResource;
3090
- };
3091
- };
1855
+ /** Contains response data for the get operation. */
1856
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3092
1857
 
3093
- /**
3094
- * Contains response data for the listByServerNext operation.
3095
- */
3096
- export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult & {
3097
- /**
3098
- * The underlying HTTP response.
3099
- */
3100
- _response: msRest.HttpResponse & {
3101
- /**
3102
- * The response body as text (string format)
3103
- */
3104
- bodyAsText: string;
1858
+ /** Optional parameters. */
1859
+ export interface PrivateLinkResourcesListByServerNextOptionalParams
1860
+ extends coreClient.OperationOptions {}
3105
1861
 
3106
- /**
3107
- * The response body as parsed JSON or XML
3108
- */
3109
- parsedBody: PrivateLinkResourceListResult;
3110
- };
3111
- };
1862
+ /** Contains response data for the listByServerNext operation. */
1863
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
3112
1864
 
3113
- /**
3114
- * Contains response data for the list operation.
3115
- */
3116
- export type ServerKeysListResponse = ServerKeyListResult & {
3117
- /**
3118
- * The underlying HTTP response.
3119
- */
3120
- _response: msRest.HttpResponse & {
3121
- /**
3122
- * The response body as text (string format)
3123
- */
3124
- bodyAsText: string;
1865
+ /** Optional parameters. */
1866
+ export interface ServerKeysListOptionalParams
1867
+ extends coreClient.OperationOptions {}
3125
1868
 
3126
- /**
3127
- * The response body as parsed JSON or XML
3128
- */
3129
- parsedBody: ServerKeyListResult;
3130
- };
3131
- };
1869
+ /** Contains response data for the list operation. */
1870
+ export type ServerKeysListResponse = ServerKeyListResult;
3132
1871
 
3133
- /**
3134
- * Contains response data for the get operation.
3135
- */
3136
- export type ServerKeysGetResponse = ServerKey & {
3137
- /**
3138
- * The underlying HTTP response.
3139
- */
3140
- _response: msRest.HttpResponse & {
3141
- /**
3142
- * The response body as text (string format)
3143
- */
3144
- bodyAsText: string;
1872
+ /** Optional parameters. */
1873
+ export interface ServerKeysGetOptionalParams
1874
+ extends coreClient.OperationOptions {}
3145
1875
 
3146
- /**
3147
- * The response body as parsed JSON or XML
3148
- */
3149
- parsedBody: ServerKey;
3150
- };
3151
- };
1876
+ /** Contains response data for the get operation. */
1877
+ export type ServerKeysGetResponse = ServerKey;
3152
1878
 
3153
- /**
3154
- * Contains response data for the createOrUpdate operation.
3155
- */
3156
- export type ServerKeysCreateOrUpdateResponse = ServerKey & {
3157
- /**
3158
- * The underlying HTTP response.
3159
- */
3160
- _response: msRest.HttpResponse & {
3161
- /**
3162
- * The response body as text (string format)
3163
- */
3164
- bodyAsText: string;
1879
+ /** Optional parameters. */
1880
+ export interface ServerKeysCreateOrUpdateOptionalParams
1881
+ extends coreClient.OperationOptions {
1882
+ /** Delay to wait until next poll, in milliseconds. */
1883
+ updateIntervalInMs?: number;
1884
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1885
+ resumeFrom?: string;
1886
+ }
3165
1887
 
3166
- /**
3167
- * The response body as parsed JSON or XML
3168
- */
3169
- parsedBody: ServerKey;
3170
- };
3171
- };
1888
+ /** Contains response data for the createOrUpdate operation. */
1889
+ export type ServerKeysCreateOrUpdateResponse = ServerKey;
3172
1890
 
3173
- /**
3174
- * Contains response data for the beginCreateOrUpdate operation.
3175
- */
3176
- export type ServerKeysBeginCreateOrUpdateResponse = ServerKey & {
3177
- /**
3178
- * The underlying HTTP response.
3179
- */
3180
- _response: msRest.HttpResponse & {
3181
- /**
3182
- * The response body as text (string format)
3183
- */
3184
- bodyAsText: string;
1891
+ /** Optional parameters. */
1892
+ export interface ServerKeysDeleteOptionalParams
1893
+ extends coreClient.OperationOptions {
1894
+ /** Delay to wait until next poll, in milliseconds. */
1895
+ updateIntervalInMs?: number;
1896
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1897
+ resumeFrom?: string;
1898
+ }
3185
1899
 
3186
- /**
3187
- * The response body as parsed JSON or XML
3188
- */
3189
- parsedBody: ServerKey;
3190
- };
3191
- };
1900
+ /** Optional parameters. */
1901
+ export interface ServerKeysListNextOptionalParams
1902
+ extends coreClient.OperationOptions {}
3192
1903
 
3193
- /**
3194
- * Contains response data for the listNext operation.
3195
- */
3196
- export type ServerKeysListNextResponse = ServerKeyListResult & {
3197
- /**
3198
- * The underlying HTTP response.
3199
- */
3200
- _response: msRest.HttpResponse & {
3201
- /**
3202
- * The response body as text (string format)
3203
- */
3204
- bodyAsText: string;
1904
+ /** Contains response data for the listNext operation. */
1905
+ export type ServerKeysListNextResponse = ServerKeyListResult;
3205
1906
 
3206
- /**
3207
- * The response body as parsed JSON or XML
3208
- */
3209
- parsedBody: ServerKeyListResult;
3210
- };
3211
- };
1907
+ /** Optional parameters. */
1908
+ export interface MySQLManagementClientOptionalParams
1909
+ extends coreClient.ServiceClientOptions {
1910
+ /** server parameter */
1911
+ $host?: string;
1912
+ /** Overrides client endpoint. */
1913
+ endpoint?: string;
1914
+ }