@azure/arm-mysql 3.4.0 → 5.0.0-alpha.20211215.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +65 -83
  4. package/dist/index.js +7800 -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 +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  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/dist-esm/src/models/mappers.js +2145 -0
  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/dist-esm/src/models/parameters.js +372 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/mySQLManagementClient.d.ts +65 -0
  29. package/dist-esm/src/mySQLManagementClient.d.ts.map +1 -0
  30. package/dist-esm/src/mySQLManagementClient.js +151 -0
  31. package/dist-esm/src/mySQLManagementClient.js.map +1 -0
  32. package/dist-esm/src/mySQLManagementClientContext.d.ts +15 -0
  33. package/dist-esm/src/mySQLManagementClientContext.d.ts.map +1 -0
  34. package/dist-esm/src/mySQLManagementClientContext.js +48 -0
  35. package/dist-esm/src/mySQLManagementClientContext.js.map +1 -0
  36. package/dist-esm/src/operations/advisors.d.ts +46 -0
  37. package/dist-esm/src/operations/advisors.d.ts.map +1 -0
  38. package/dist-esm/src/operations/advisors.js +160 -0
  39. package/dist-esm/src/operations/advisors.js.map +1 -0
  40. package/dist-esm/src/operations/checkNameAvailability.d.ts +19 -0
  41. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
  42. package/dist-esm/src/operations/checkNameAvailability.js +49 -0
  43. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
  44. package/dist-esm/src/operations/configurations.d.ts +57 -0
  45. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/configurations.js +219 -0
  47. package/dist-esm/src/operations/configurations.js.map +1 -0
  48. package/dist-esm/src/operations/databases.d.ts +73 -0
  49. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  50. package/dist-esm/src/operations/databases.js +293 -0
  51. package/dist-esm/src/operations/databases.js.map +1 -0
  52. package/dist-esm/src/operations/firewallRules.d.ts +73 -0
  53. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  54. package/dist-esm/src/operations/firewallRules.js +293 -0
  55. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  56. package/dist-esm/src/operations/index.d.ts +26 -0
  57. package/dist-esm/src/operations/index.d.ts.map +1 -0
  58. package/dist-esm/src/operations/index.js +33 -0
  59. package/dist-esm/src/operations/index.js.map +1 -0
  60. package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts +28 -0
  61. package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts.map +1 -0
  62. package/dist-esm/src/operations/locationBasedPerformanceTier.js +96 -0
  63. package/dist-esm/src/operations/locationBasedPerformanceTier.js.map +1 -0
  64. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts +20 -0
  65. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +1 -0
  66. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.js +50 -0
  67. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsOperationStatus.js.map +1 -0
  68. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts +38 -0
  69. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -0
  70. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js +137 -0
  71. package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js.map +1 -0
  72. package/dist-esm/src/operations/logFiles.d.ts +30 -0
  73. package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
  74. package/dist-esm/src/operations/logFiles.js +99 -0
  75. package/dist-esm/src/operations/logFiles.js.map +1 -0
  76. package/dist-esm/src/operations/operations.d.ts +18 -0
  77. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operations/operations.js +46 -0
  79. package/dist-esm/src/operations/operations.js.map +1 -0
  80. package/dist-esm/src/operations/privateEndpointConnections.d.ts +99 -0
  81. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  82. package/dist-esm/src/operations/privateEndpointConnections.js +429 -0
  83. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  84. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  85. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  86. package/dist-esm/src/operations/privateLinkResources.js +169 -0
  87. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  88. package/dist-esm/src/operations/queryTexts.d.ts +49 -0
  89. package/dist-esm/src/operations/queryTexts.d.ts.map +1 -0
  90. package/dist-esm/src/operations/queryTexts.js +172 -0
  91. package/dist-esm/src/operations/queryTexts.js.map +1 -0
  92. package/dist-esm/src/operations/recommendedActions.d.ts +50 -0
  93. package/dist-esm/src/operations/recommendedActions.d.ts.map +1 -0
  94. package/dist-esm/src/operations/recommendedActions.js +173 -0
  95. package/dist-esm/src/operations/recommendedActions.js.map +1 -0
  96. package/dist-esm/src/operations/recoverableServers.d.ts +20 -0
  97. package/dist-esm/src/operations/recoverableServers.d.ts.map +1 -0
  98. package/dist-esm/src/operations/recoverableServers.js +53 -0
  99. package/dist-esm/src/operations/recoverableServers.js.map +1 -0
  100. package/dist-esm/src/operations/replicas.d.ts +30 -0
  101. package/dist-esm/src/operations/replicas.d.ts.map +1 -0
  102. package/dist-esm/src/operations/replicas.js +99 -0
  103. package/dist-esm/src/operations/replicas.js.map +1 -0
  104. package/dist-esm/src/operations/serverAdministrators.d.ts +70 -0
  105. package/dist-esm/src/operations/serverAdministrators.d.ts.map +1 -0
  106. package/dist-esm/src/operations/serverAdministrators.js +287 -0
  107. package/dist-esm/src/operations/serverAdministrators.js.map +1 -0
  108. package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts +30 -0
  109. package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts.map +1 -0
  110. package/dist-esm/src/operations/serverBasedPerformanceTier.js +99 -0
  111. package/dist-esm/src/operations/serverBasedPerformanceTier.js.map +1 -0
  112. package/dist-esm/src/operations/serverKeys.d.ts +81 -0
  113. package/dist-esm/src/operations/serverKeys.d.ts.map +1 -0
  114. package/dist-esm/src/operations/serverKeys.js +331 -0
  115. package/dist-esm/src/operations/serverKeys.js.map +1 -0
  116. package/dist-esm/src/operations/serverParameters.d.ts +30 -0
  117. package/dist-esm/src/operations/serverParameters.d.ts.map +1 -0
  118. package/dist-esm/src/operations/serverParameters.js +110 -0
  119. package/dist-esm/src/operations/serverParameters.js.map +1 -0
  120. package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts +65 -0
  121. package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts.map +1 -0
  122. package/dist-esm/src/operations/serverSecurityAlertPolicies.js +255 -0
  123. package/dist-esm/src/operations/serverSecurityAlertPolicies.js.map +1 -0
  124. package/dist-esm/src/operations/servers.d.ts +156 -0
  125. package/dist-esm/src/operations/servers.d.ts.map +1 -0
  126. package/dist-esm/src/operations/servers.js +722 -0
  127. package/dist-esm/src/operations/servers.js.map +1 -0
  128. package/dist-esm/src/operations/topQueryStatistics.d.ts +49 -0
  129. package/dist-esm/src/operations/topQueryStatistics.d.ts.map +1 -0
  130. package/dist-esm/src/operations/topQueryStatistics.js +174 -0
  131. package/dist-esm/src/operations/topQueryStatistics.js.map +1 -0
  132. package/dist-esm/src/operations/virtualNetworkRules.d.ts +81 -0
  133. package/dist-esm/src/operations/virtualNetworkRules.d.ts.map +1 -0
  134. package/dist-esm/src/operations/virtualNetworkRules.js +320 -0
  135. package/dist-esm/src/operations/virtualNetworkRules.js.map +1 -0
  136. package/dist-esm/src/operations/waitStatistics.d.ts +49 -0
  137. package/dist-esm/src/operations/waitStatistics.d.ts.map +1 -0
  138. package/dist-esm/src/operations/waitStatistics.js +174 -0
  139. package/dist-esm/src/operations/waitStatistics.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/advisors.d.ts +21 -0
  141. package/dist-esm/src/operationsInterfaces/advisors.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/advisors.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/advisors.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +11 -0
  145. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/checkNameAvailability.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/configurations.d.ts +40 -0
  149. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/configurations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/databases.d.ts +56 -0
  153. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/databases.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +56 -0
  157. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/index.d.ts +26 -0
  161. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/index.js +33 -0
  163. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.d.ts +12 -0
  165. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/locationBasedPerformanceTier.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.d.ts +12 -0
  169. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.d.ts +13 -0
  173. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.js +9 -0
  175. package/dist-esm/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
  177. package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/logFiles.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  181. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +74 -0
  185. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  189. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/queryTexts.d.ts +22 -0
  193. package/dist-esm/src/operationsInterfaces/queryTexts.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/queryTexts.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/queryTexts.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/recommendedActions.d.ts +23 -0
  197. package/dist-esm/src/operationsInterfaces/recommendedActions.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/recommendedActions.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/recommendedActions.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/recoverableServers.d.ts +12 -0
  201. package/dist-esm/src/operationsInterfaces/recoverableServers.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/recoverableServers.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/recoverableServers.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/replicas.d.ts +13 -0
  205. package/dist-esm/src/operationsInterfaces/replicas.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/replicas.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/replicas.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/serverAdministrators.d.ts +53 -0
  209. package/dist-esm/src/operationsInterfaces/serverAdministrators.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/serverAdministrators.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/serverAdministrators.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.d.ts +13 -0
  213. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/serverBasedPerformanceTier.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/serverKeys.d.ts +56 -0
  217. package/dist-esm/src/operationsInterfaces/serverKeys.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/serverKeys.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/serverKeys.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/serverParameters.d.ts +22 -0
  221. package/dist-esm/src/operationsInterfaces/serverParameters.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/serverParameters.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/serverParameters.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.d.ts +40 -0
  225. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/serverSecurityAlertPolicies.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/servers.d.ts +133 -0
  229. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/servers.js +9 -0
  231. package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/topQueryStatistics.d.ts +22 -0
  233. package/dist-esm/src/operationsInterfaces/topQueryStatistics.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/topQueryStatistics.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/topQueryStatistics.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.d.ts +56 -0
  237. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.d.ts.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.js +9 -0
  239. package/dist-esm/src/operationsInterfaces/virtualNetworkRules.js.map +1 -0
  240. package/dist-esm/src/operationsInterfaces/waitStatistics.d.ts +22 -0
  241. package/dist-esm/src/operationsInterfaces/waitStatistics.d.ts.map +1 -0
  242. package/dist-esm/src/operationsInterfaces/waitStatistics.js +9 -0
  243. package/dist-esm/src/operationsInterfaces/waitStatistics.js.map +1 -0
  244. package/dist-esm/test/sampleTest.d.ts +2 -0
  245. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  246. package/dist-esm/test/sampleTest.js +40 -0
  247. package/dist-esm/test/sampleTest.js.map +1 -0
  248. package/package.json +63 -21
  249. package/review/arm-mysql.api.md +1577 -0
  250. package/rollup.config.js +181 -30
  251. package/src/index.ts +13 -0
  252. package/src/lroImpl.ts +34 -0
  253. package/src/models/index.ts +1584 -1096
  254. package/src/models/mappers.ts +1763 -534
  255. package/src/models/parameters.ts +344 -41
  256. package/src/mySQLManagementClient.ts +280 -51
  257. package/src/mySQLManagementClientContext.ts +46 -46
  258. package/src/operations/advisors.ts +224 -0
  259. package/src/operations/checkNameAvailability.ts +34 -57
  260. package/src/operations/configurations.ts +234 -150
  261. package/src/operations/databases.ts +324 -194
  262. package/src/operations/firewallRules.ts +324 -194
  263. package/src/operations/index.ts +18 -6
  264. package/src/operations/locationBasedPerformanceTier.ts +75 -44
  265. package/src/operations/locationBasedRecommendedActionSessionsOperationStatus.ts +70 -0
  266. package/src/operations/locationBasedRecommendedActionSessionsResult.ts +178 -0
  267. package/src/operations/logFiles.ts +97 -52
  268. package/src/operations/operations.ts +26 -41
  269. package/src/operations/privateEndpointConnections.ts +621 -0
  270. package/src/operations/privateLinkResources.ts +233 -0
  271. package/src/operations/queryTexts.ts +246 -0
  272. package/src/operations/recommendedActions.ts +248 -0
  273. package/src/operations/recoverableServers.ts +72 -0
  274. package/src/operations/replicas.ts +97 -52
  275. package/src/operations/serverAdministrators.ts +397 -0
  276. package/src/operations/serverBasedPerformanceTier.ts +124 -0
  277. package/src/operations/serverKeys.ts +464 -0
  278. package/src/operations/serverParameters.ts +160 -0
  279. package/src/operations/serverSecurityAlertPolicies.ts +300 -95
  280. package/src/operations/servers.ts +828 -280
  281. package/src/operations/topQueryStatistics.ts +249 -0
  282. package/src/operations/virtualNetworkRules.ts +357 -233
  283. package/src/operations/waitStatistics.ts +249 -0
  284. package/src/operationsInterfaces/advisors.ts +44 -0
  285. package/src/operationsInterfaces/checkNameAvailability.ts +26 -0
  286. package/src/operationsInterfaces/configurations.ts +82 -0
  287. package/src/operationsInterfaces/databases.ts +109 -0
  288. package/src/operationsInterfaces/firewallRules.ts +109 -0
  289. package/src/operationsInterfaces/index.ts +33 -0
  290. package/src/operationsInterfaces/locationBasedPerformanceTier.ts +27 -0
  291. package/src/operationsInterfaces/locationBasedRecommendedActionSessionsOperationStatus.ts +27 -0
  292. package/src/operationsInterfaces/locationBasedRecommendedActionSessionsResult.ts +29 -0
  293. package/src/operationsInterfaces/logFiles.ts +26 -0
  294. package/src/operationsInterfaces/operations.ts +21 -0
  295. package/src/operationsInterfaces/privateEndpointConnections.ts +147 -0
  296. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  297. package/src/operationsInterfaces/queryTexts.ts +46 -0
  298. package/src/operationsInterfaces/recommendedActions.ts +48 -0
  299. package/src/operationsInterfaces/recoverableServers.ts +27 -0
  300. package/src/operationsInterfaces/replicas.ts +26 -0
  301. package/src/operationsInterfaces/serverAdministrators.ts +101 -0
  302. package/src/operationsInterfaces/serverBasedPerformanceTier.ts +29 -0
  303. package/src/operationsInterfaces/serverKeys.ts +109 -0
  304. package/src/operationsInterfaces/serverParameters.ts +49 -0
  305. package/src/operationsInterfaces/serverSecurityAlertPolicies.ts +83 -0
  306. package/src/operationsInterfaces/servers.ts +233 -0
  307. package/src/operationsInterfaces/topQueryStatistics.ts +47 -0
  308. package/src/operationsInterfaces/virtualNetworkRules.ts +109 -0
  309. package/src/operationsInterfaces/waitStatistics.ts +47 -0
  310. package/tsconfig.json +4 -4
  311. package/types/arm-mysql.d.ts +2739 -0
  312. package/types/tsdoc-metadata.json +11 -0
  313. package/dist/arm-mysql.js +0 -3173
  314. package/dist/arm-mysql.js.map +0 -1
  315. package/dist/arm-mysql.min.js +0 -1
  316. package/dist/arm-mysql.min.js.map +0 -1
  317. package/esm/models/checkNameAvailabilityMappers.d.ts +0 -2
  318. package/esm/models/checkNameAvailabilityMappers.d.ts.map +0 -1
  319. package/esm/models/checkNameAvailabilityMappers.js +0 -9
  320. package/esm/models/checkNameAvailabilityMappers.js.map +0 -1
  321. package/esm/models/configurationsMappers.d.ts +0 -2
  322. package/esm/models/configurationsMappers.d.ts.map +0 -1
  323. package/esm/models/configurationsMappers.js +0 -9
  324. package/esm/models/configurationsMappers.js.map +0 -1
  325. package/esm/models/databasesMappers.d.ts +0 -2
  326. package/esm/models/databasesMappers.d.ts.map +0 -1
  327. package/esm/models/databasesMappers.js +0 -9
  328. package/esm/models/databasesMappers.js.map +0 -1
  329. package/esm/models/firewallRulesMappers.d.ts +0 -2
  330. package/esm/models/firewallRulesMappers.d.ts.map +0 -1
  331. package/esm/models/firewallRulesMappers.js +0 -9
  332. package/esm/models/firewallRulesMappers.js.map +0 -1
  333. package/esm/models/index.d.ts +0 -1319
  334. package/esm/models/index.d.ts.map +0 -1
  335. package/esm/models/index.js +0 -8
  336. package/esm/models/index.js.map +0 -1
  337. package/esm/models/locationBasedPerformanceTierMappers.d.ts +0 -2
  338. package/esm/models/locationBasedPerformanceTierMappers.d.ts.map +0 -1
  339. package/esm/models/locationBasedPerformanceTierMappers.js +0 -9
  340. package/esm/models/locationBasedPerformanceTierMappers.js.map +0 -1
  341. package/esm/models/logFilesMappers.d.ts +0 -2
  342. package/esm/models/logFilesMappers.d.ts.map +0 -1
  343. package/esm/models/logFilesMappers.js +0 -9
  344. package/esm/models/logFilesMappers.js.map +0 -1
  345. package/esm/models/mappers.d.ts +0 -43
  346. package/esm/models/mappers.d.ts.map +0 -1
  347. package/esm/models/mappers.js +0 -1037
  348. package/esm/models/mappers.js.map +0 -1
  349. package/esm/models/operationsMappers.d.ts +0 -2
  350. package/esm/models/operationsMappers.d.ts.map +0 -1
  351. package/esm/models/operationsMappers.js +0 -9
  352. package/esm/models/operationsMappers.js.map +0 -1
  353. package/esm/models/parameters.d.ts +0 -14
  354. package/esm/models/parameters.d.ts.map +0 -1
  355. package/esm/models/parameters.js +0 -133
  356. package/esm/models/parameters.js.map +0 -1
  357. package/esm/models/replicasMappers.d.ts +0 -2
  358. package/esm/models/replicasMappers.d.ts.map +0 -1
  359. package/esm/models/replicasMappers.js +0 -9
  360. package/esm/models/replicasMappers.js.map +0 -1
  361. package/esm/models/serverSecurityAlertPoliciesMappers.d.ts +0 -2
  362. package/esm/models/serverSecurityAlertPoliciesMappers.d.ts.map +0 -1
  363. package/esm/models/serverSecurityAlertPoliciesMappers.js +0 -9
  364. package/esm/models/serverSecurityAlertPoliciesMappers.js.map +0 -1
  365. package/esm/models/serversMappers.d.ts +0 -2
  366. package/esm/models/serversMappers.d.ts.map +0 -1
  367. package/esm/models/serversMappers.js +0 -9
  368. package/esm/models/serversMappers.js.map +0 -1
  369. package/esm/models/virtualNetworkRulesMappers.d.ts +0 -2
  370. package/esm/models/virtualNetworkRulesMappers.d.ts.map +0 -1
  371. package/esm/models/virtualNetworkRulesMappers.js +0 -9
  372. package/esm/models/virtualNetworkRulesMappers.js.map +0 -1
  373. package/esm/mySQLManagementClient.d.ts +0 -34
  374. package/esm/mySQLManagementClient.d.ts.map +0 -1
  375. package/esm/mySQLManagementClient.js +0 -48
  376. package/esm/mySQLManagementClient.js.map +0 -1
  377. package/esm/mySQLManagementClientContext.d.ts +0 -22
  378. package/esm/mySQLManagementClientContext.d.ts.map +0 -1
  379. package/esm/mySQLManagementClientContext.js +0 -61
  380. package/esm/mySQLManagementClientContext.js.map +0 -1
  381. package/esm/operations/checkNameAvailability.d.ts +0 -34
  382. package/esm/operations/checkNameAvailability.d.ts.map +0 -1
  383. package/esm/operations/checkNameAvailability.js +0 -60
  384. package/esm/operations/checkNameAvailability.js.map +0 -1
  385. package/esm/operations/configurations.d.ts +0 -87
  386. package/esm/operations/configurations.d.ts.map +0 -1
  387. package/esm/operations/configurations.js +0 -155
  388. package/esm/operations/configurations.js.map +0 -1
  389. package/esm/operations/databases.d.ts +0 -107
  390. package/esm/operations/databases.d.ts.map +0 -1
  391. package/esm/operations/databases.js +0 -213
  392. package/esm/operations/databases.js.map +0 -1
  393. package/esm/operations/firewallRules.d.ts +0 -107
  394. package/esm/operations/firewallRules.d.ts.map +0 -1
  395. package/esm/operations/firewallRules.js +0 -213
  396. package/esm/operations/firewallRules.js.map +0 -1
  397. package/esm/operations/index.d.ts +0 -12
  398. package/esm/operations/index.d.ts.map +0 -1
  399. package/esm/operations/index.js +0 -21
  400. package/esm/operations/index.js.map +0 -1
  401. package/esm/operations/locationBasedPerformanceTier.d.ts +0 -31
  402. package/esm/operations/locationBasedPerformanceTier.d.ts.map +0 -1
  403. package/esm/operations/locationBasedPerformanceTier.js +0 -56
  404. package/esm/operations/locationBasedPerformanceTier.js.map +0 -1
  405. package/esm/operations/logFiles.d.ts +0 -37
  406. package/esm/operations/logFiles.d.ts.map +0 -1
  407. package/esm/operations/logFiles.js +0 -58
  408. package/esm/operations/logFiles.js.map +0 -1
  409. package/esm/operations/operations.d.ts +0 -28
  410. package/esm/operations/operations.d.ts.map +0 -1
  411. package/esm/operations/operations.js +0 -51
  412. package/esm/operations/operations.js.map +0 -1
  413. package/esm/operations/replicas.d.ts +0 -37
  414. package/esm/operations/replicas.d.ts.map +0 -1
  415. package/esm/operations/replicas.js +0 -58
  416. package/esm/operations/replicas.js.map +0 -1
  417. package/esm/operations/serverSecurityAlertPolicies.d.ts +0 -58
  418. package/esm/operations/serverSecurityAlertPolicies.d.ts.map +0 -1
  419. package/esm/operations/serverSecurityAlertPolicies.js +0 -120
  420. package/esm/operations/serverSecurityAlertPolicies.js.map +0 -1
  421. package/esm/operations/servers.d.ts +0 -154
  422. package/esm/operations/servers.d.ts.map +0 -1
  423. package/esm/operations/servers.js +0 -341
  424. package/esm/operations/servers.js.map +0 -1
  425. package/esm/operations/virtualNetworkRules.d.ts +0 -125
  426. package/esm/operations/virtualNetworkRules.d.ts.map +0 -1
  427. package/esm/operations/virtualNetworkRules.js +0 -239
  428. package/esm/operations/virtualNetworkRules.js.map +0 -1
  429. package/src/models/checkNameAvailabilityMappers.ts +0 -14
  430. package/src/models/configurationsMappers.ts +0 -25
  431. package/src/models/databasesMappers.ts +0 -25
  432. package/src/models/firewallRulesMappers.ts +0 -25
  433. package/src/models/locationBasedPerformanceTierMappers.ts +0 -15
  434. package/src/models/logFilesMappers.ts +0 -25
  435. package/src/models/operationsMappers.ts +0 -15
  436. package/src/models/replicasMappers.ts +0 -25
  437. package/src/models/serverSecurityAlertPoliciesMappers.ts +0 -24
  438. package/src/models/serversMappers.ts +0 -32
  439. package/src/models/virtualNetworkRulesMappers.ts +0 -25
@@ -1,1426 +1,1914 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
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
- * Resource properties.
16
- */
17
- export interface ProxyResource extends BaseResource {
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 };
30
+ }
31
+
32
+ /** Azure Active Directory identity configuration for a resource. */
33
+ export interface ResourceIdentity {
34
+ /**
35
+ * The Azure Active Directory principal id.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
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;
41
+ /**
42
+ * The Azure Active Directory tenant id.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly tenantId?: string;
46
+ }
47
+
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;
60
+ }
61
+
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
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
93
+ export interface Resource {
18
94
  /**
19
- * Resource ID
20
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
95
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
97
  */
22
98
  readonly id?: string;
23
99
  /**
24
- * Resource name.
25
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
100
+ * The name of the resource
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
26
102
  */
27
103
  readonly name?: string;
28
104
  /**
29
- * Resource type.
30
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
105
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
106
+ * NOTE: This property will not be serialized. It can only be populated by the server.
31
107
  */
32
108
  readonly type?: string;
33
109
  }
34
110
 
35
- /**
36
- * Resource properties including location and tags for track resources.
37
- */
38
- export interface TrackedResource extends ProxyResource {
111
+ /** A private endpoint connection under a server */
112
+ export interface ServerPrivateEndpointConnection {
39
113
  /**
40
- * The location the resource resides in.
114
+ * Resource Id of the private endpoint connection.
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
116
  */
42
- location: string;
117
+ readonly id?: string;
43
118
  /**
44
- * Application-specific metadata in the form of key-value pairs.
119
+ * Private endpoint connection properties
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
121
  */
46
- tags?: { [propertyName: string]: string };
122
+ readonly properties?: ServerPrivateEndpointConnectionProperties;
47
123
  }
48
124
 
49
- /**
50
- * Storage Profile properties of a server
51
- */
52
- export interface StorageProfile {
53
- /**
54
- * Backup retention days for the server.
55
- */
56
- backupRetentionDays?: number;
57
- /**
58
- * Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'
59
- */
60
- geoRedundantBackup?: GeoRedundantBackup;
61
- /**
62
- * Max storage allowed for a server.
63
- */
64
- storageMB?: number;
125
+ /** Properties of a private endpoint connection. */
126
+ export interface ServerPrivateEndpointConnectionProperties {
127
+ /** Private endpoint which the connection belongs to. */
128
+ privateEndpoint?: PrivateEndpointProperty;
129
+ /** Connection state of the private endpoint connection. */
130
+ privateLinkServiceConnectionState?: ServerPrivateLinkServiceConnectionStateProperty;
65
131
  /**
66
- * Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled'
132
+ * State of the private endpoint connection.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
67
134
  */
68
- storageAutogrow?: StorageAutogrow;
135
+ readonly provisioningState?: PrivateEndpointProvisioningState;
69
136
  }
70
137
 
71
- /**
72
- * Contains the possible cases for ServerPropertiesForCreate.
73
- */
74
- export type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
138
+ export interface PrivateEndpointProperty {
139
+ /** Resource id of the private endpoint. */
140
+ id?: string;
141
+ }
75
142
 
76
- /**
77
- * The properties used to create a new server.
78
- */
79
- export interface ServerPropertiesForCreate {
143
+ export interface ServerPrivateLinkServiceConnectionStateProperty {
144
+ /** The private link service connection status. */
145
+ status: PrivateLinkServiceConnectionStateStatus;
146
+ /** The private link service connection description. */
147
+ description: string;
80
148
  /**
81
- * Polymorphic Discriminator
149
+ * The actions required for private link service connection.
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
82
151
  */
83
- createMode: "ServerPropertiesForCreate";
152
+ readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
153
+ }
154
+
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
+ }
160
+
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 {
84
163
  /**
85
- * Server version. Possible values include: '5.6', '5.7'
164
+ * The error code.
165
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
166
  */
87
- version?: ServerVersion;
167
+ readonly code?: string;
88
168
  /**
89
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
90
- * 'Disabled'
169
+ * The error message.
170
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
171
  */
92
- sslEnforcement?: SslEnforcementEnum;
172
+ readonly message?: string;
93
173
  /**
94
- * Storage profile of a server.
174
+ * The error target.
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
95
176
  */
96
- storageProfile?: StorageProfile;
97
- }
98
-
99
- /**
100
- * The properties used to create a new server.
101
- */
102
- export interface ServerPropertiesForDefaultCreate {
177
+ readonly target?: string;
103
178
  /**
104
- * Polymorphic Discriminator
179
+ * The error details.
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
181
  */
106
- createMode: "Default";
182
+ readonly details?: ErrorResponse[];
107
183
  /**
108
- * Server version. Possible values include: '5.6', '5.7'
184
+ * The error additional info.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
109
186
  */
110
- version?: ServerVersion;
187
+ readonly additionalInfo?: ErrorAdditionalInfo[];
188
+ }
189
+
190
+ /** The resource management error additional info. */
191
+ export interface ErrorAdditionalInfo {
111
192
  /**
112
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
113
- * 'Disabled'
193
+ * The additional info type.
194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
195
  */
115
- sslEnforcement?: SslEnforcementEnum;
196
+ readonly type?: string;
116
197
  /**
117
- * 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.
118
200
  */
201
+ readonly info?: Record<string, unknown>;
202
+ }
203
+
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. */
119
213
  storageProfile?: StorageProfile;
120
- /**
121
- * The administrator's login name of a server. Can only be specified when the server is being
122
- * created (and is required for creation).
123
- */
124
- administratorLogin: string;
125
214
  /**
126
215
  * The password of the administrator login.
216
+ * This value contains a credential. Consider obscuring before showing to users
127
217
  */
128
- administratorLoginPassword: string;
218
+ administratorLoginPassword?: string;
219
+ /** The version of a server. */
220
+ version?: ServerVersion;
221
+ /** Enable ssl enforcement or not when connect to server. */
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;
129
229
  }
130
230
 
131
- /**
132
- * The properties used to create a new server by restoring from a backup.
133
- */
134
- export interface ServerPropertiesForRestore {
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 {
135
245
  /**
136
- * Polymorphic Discriminator
246
+ * Array of results.
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
137
248
  */
138
- createMode: "PointInTimeRestore";
249
+ readonly value?: VirtualNetworkRule[];
139
250
  /**
140
- * Server version. Possible values include: '5.6', '5.7'
251
+ * Link to retrieve next page of results.
252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
141
253
  */
142
- version?: ServerVersion;
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 {
143
353
  /**
144
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
145
- * '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.
146
356
  */
147
- sslEnforcement?: SslEnforcementEnum;
357
+ readonly name?: string;
148
358
  /**
149
- * 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.
150
361
  */
151
- storageProfile?: StorageProfile;
362
+ readonly display?: OperationDisplay;
152
363
  /**
153
- * The source server id to restore from.
364
+ * The intended executor of the operation.
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
154
366
  */
155
- sourceServerId: string;
367
+ readonly origin?: OperationOrigin;
156
368
  /**
157
- * Restore point creation time (ISO8601 format), specifying the time to restore from.
369
+ * Additional descriptions for the operation.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
371
  */
159
- restorePointInTime: Date;
372
+ readonly properties?: { [propertyName: string]: Record<string, unknown> };
160
373
  }
161
374
 
162
- /**
163
- * The properties used to create a new server by restoring to a different region from a geo
164
- * replicated backup.
165
- */
166
- export interface ServerPropertiesForGeoRestore {
167
- /**
168
- * Polymorphic Discriminator
169
- */
170
- createMode: "GeoRestore";
375
+ /** Display metadata associated with the operation. */
376
+ export interface OperationDisplay {
171
377
  /**
172
- * Server version. Possible values include: '5.6', '5.7'
378
+ * Operation resource provider name.
379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
173
380
  */
174
- version?: ServerVersion;
381
+ readonly provider?: string;
175
382
  /**
176
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
177
- * '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.
178
385
  */
179
- sslEnforcement?: SslEnforcementEnum;
386
+ readonly resource?: string;
180
387
  /**
181
- * Storage profile of a server.
388
+ * Localized friendly name for the operation.
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
182
390
  */
183
- storageProfile?: StorageProfile;
391
+ readonly operation?: string;
184
392
  /**
185
- * The source server id to restore from.
393
+ * Operation description.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
395
  */
187
- sourceServerId: string;
396
+ readonly description?: string;
188
397
  }
189
398
 
190
- /**
191
- * The properties to create a new replica.
192
- */
193
- export interface ServerPropertiesForReplica {
194
- /**
195
- * Polymorphic Discriminator
196
- */
197
- createMode: "Replica";
399
+ /** A list of the server's security alert policies. */
400
+ export interface ServerSecurityAlertPolicyListResult {
198
401
  /**
199
- * Server version. Possible values include: '5.6', '5.7'
402
+ * Array of results.
403
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
404
  */
201
- version?: ServerVersion;
405
+ readonly value?: ServerSecurityAlertPolicy[];
202
406
  /**
203
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
204
- * 'Disabled'
407
+ * Link to retrieve next page of results.
408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
409
  */
206
- sslEnforcement?: SslEnforcementEnum;
410
+ readonly nextLink?: string;
411
+ }
412
+
413
+ /** A list of query texts. */
414
+ export interface QueryTextsResultList {
207
415
  /**
208
- * Storage profile of a server.
416
+ * The list of query texts.
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
209
418
  */
210
- storageProfile?: StorageProfile;
419
+ readonly value?: QueryText[];
211
420
  /**
212
- * The master server id to create replica 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.
213
423
  */
214
- sourceServerId: string;
424
+ readonly nextLink?: string;
215
425
  }
216
426
 
217
- /**
218
- * Billing information related properties of a server.
219
- */
220
- export interface Sku {
221
- /**
222
- * The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
223
- */
224
- name?: string;
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 {
225
445
  /**
226
- * The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic',
227
- * 'GeneralPurpose', 'MemoryOptimized'
446
+ * The list of top query statistics.
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
448
  */
229
- tier?: SkuTier;
449
+ readonly value?: QueryStatistic[];
230
450
  /**
231
- * The scale up/out capacity, representing server's compute units.
451
+ * Link to retrieve next page of results.
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
232
453
  */
233
- capacity?: number;
454
+ readonly nextLink?: string;
455
+ }
456
+
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 {
234
469
  /**
235
- * The size code, to be interpreted by resource as appropriate.
470
+ * The list of wait statistics.
471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
472
  */
237
- size?: string;
473
+ readonly value?: WaitStatistic[];
238
474
  /**
239
- * The family of hardware.
475
+ * Link to retrieve next page of results.
476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
240
477
  */
241
- family?: string;
478
+ readonly nextLink?: string;
242
479
  }
243
480
 
244
- /**
245
- * Represents a server.
246
- */
247
- export interface Server extends TrackedResource {
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 {
248
491
  /**
249
- * The SKU (pricing tier) of the server.
492
+ * The list of recommendation action advisors.
493
+ * NOTE: This property will not be serialized. It can only be populated by the server.
250
494
  */
251
- sku?: Sku;
495
+ readonly value?: Advisor[];
252
496
  /**
253
- * The administrator's login name of a server. Can only be specified when the server is being
254
- * created (and is required for creation).
497
+ * Link to retrieve next page of results.
498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
255
499
  */
256
- administratorLogin?: string;
500
+ readonly nextLink?: string;
501
+ }
502
+
503
+ /** A list of recommendation actions. */
504
+ export interface RecommendationActionsResultList {
257
505
  /**
258
- * Server version. Possible values include: '5.6', '5.7'
506
+ * The list of recommendation action advisors.
507
+ * NOTE: This property will not be serialized. It can only be populated by the server.
259
508
  */
260
- version?: ServerVersion;
509
+ readonly value?: RecommendationAction[];
261
510
  /**
262
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
263
- * 'Disabled'
511
+ * Link to retrieve next page of results.
512
+ * NOTE: This property will not be serialized. It can only be populated by the server.
264
513
  */
265
- sslEnforcement?: SslEnforcementEnum;
514
+ readonly nextLink?: string;
515
+ }
516
+
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;
266
532
  /**
267
- * A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping',
268
- * 'Disabled'
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.
269
535
  */
270
- userVisibleState?: ServerState;
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 {
271
547
  /**
272
- * The fully qualified domain name of a server.
548
+ * Array of results.
549
+ * NOTE: This property will not be serialized. It can only be populated by the server.
273
550
  */
274
- fullyQualifiedDomainName?: string;
551
+ readonly value?: PrivateEndpointConnection[];
275
552
  /**
276
- * Earliest restore point creation time (ISO8601 format)
553
+ * Link to retrieve next page of results.
554
+ * NOTE: This property will not be serialized. It can only be populated by the server.
277
555
  */
278
- earliestRestoreDate?: Date;
556
+ readonly nextLink?: string;
557
+ }
558
+
559
+ /** A list of private link resources */
560
+ export interface PrivateLinkResourceListResult {
279
561
  /**
280
- * Storage profile of a server.
562
+ * Array of results.
563
+ * NOTE: This property will not be serialized. It can only be populated by the server.
281
564
  */
282
- storageProfile?: StorageProfile;
565
+ readonly value?: PrivateLinkResource[];
283
566
  /**
284
- * The replication role of the server.
567
+ * Link to retrieve next page of results.
568
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
569
  */
286
- replicationRole?: string;
570
+ readonly nextLink?: string;
571
+ }
572
+
573
+ /** Properties of a private link resource. */
574
+ export interface PrivateLinkResourceProperties {
287
575
  /**
288
- * The master server id of a replica server.
576
+ * The private link resource group id.
577
+ * NOTE: This property will not be serialized. It can only be populated by the server.
289
578
  */
290
- masterServerId?: string;
579
+ readonly groupId?: string;
291
580
  /**
292
- * The maximum number of replicas that a master server can have.
581
+ * The private link resource required member names.
582
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
583
  */
294
- replicaCapacity?: number;
584
+ readonly requiredMembers?: string[];
295
585
  }
296
586
 
297
- /**
298
- * Represents a server to be created.
299
- */
300
- export interface ServerForCreate {
587
+ /** A list of MySQL Server keys. */
588
+ export interface ServerKeyListResult {
301
589
  /**
302
- * The SKU (pricing tier) of 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.
303
592
  */
304
- sku?: Sku;
593
+ readonly value?: ServerKey[];
305
594
  /**
306
- * Properties of the server.
307
- */
308
- properties: ServerPropertiesForCreateUnion;
309
- /**
310
- * The location the resource resides in.
311
- */
312
- location: string;
313
- /**
314
- * Application-specific metadata in the form of key-value pairs.
595
+ * Link to retrieve next page of results.
596
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
597
  */
316
- tags?: { [propertyName: string]: string };
598
+ readonly nextLink?: string;
317
599
  }
318
600
 
319
- /**
320
- * Parameters allowed to update for a server.
321
- */
322
- export interface ServerUpdateParameters {
323
- /**
324
- * The SKU (pricing tier) of the server.
325
- */
326
- sku?: Sku;
327
- /**
328
- * Storage profile of a server.
329
- */
330
- storageProfile?: StorageProfile;
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;
331
618
  /**
332
619
  * The password of the administrator login.
620
+ * This value contains a credential. Consider obscuring before showing to users
333
621
  */
334
- administratorLoginPassword?: string;
335
- /**
336
- * The version of a server. Possible values include: '5.6', '5.7'
337
- */
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. */
654
+ tags?: { [propertyName: string]: string };
655
+ /** The geo-location where the resource lives */
656
+ location: string;
657
+ };
658
+
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. */
665
+ identity?: ResourceIdentity;
666
+ /** The SKU (pricing tier) of the server. */
667
+ sku?: Sku;
668
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
669
+ administratorLogin?: string;
670
+ /** Server version. */
338
671
  version?: ServerVersion;
339
- /**
340
- * Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled',
341
- * 'Disabled'
342
- */
672
+ /** Enable ssl enforcement or not when connect to server. */
343
673
  sslEnforcement?: SslEnforcementEnum;
674
+ /** Enforce a minimal Tls version for the server. */
675
+ minimalTlsVersion?: MinimalTlsVersionEnum;
344
676
  /**
345
- * The replication role of the server.
677
+ * Status showing whether the server data encryption is enabled with customer-managed keys.
678
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
679
  */
680
+ readonly byokEnforcement?: string;
681
+ /** Status showing whether the server enabled infrastructure encryption. */
682
+ infrastructureEncryption?: InfrastructureEncryption;
683
+ /** A state of a server that is visible to user. */
684
+ userVisibleState?: ServerState;
685
+ /** The fully qualified domain name of a server. */
686
+ fullyQualifiedDomainName?: string;
687
+ /** Earliest restore point creation time (ISO8601 format) */
688
+ earliestRestoreDate?: Date;
689
+ /** Storage profile of a server. */
690
+ storageProfile?: StorageProfile;
691
+ /** The replication role of the server. */
347
692
  replicationRole?: string;
693
+ /** The master server id of a replica server. */
694
+ masterServerId?: string;
695
+ /** The maximum number of replicas that a master server can have. */
696
+ replicaCapacity?: number;
697
+ /** Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */
698
+ publicNetworkAccess?: PublicNetworkAccessEnum;
348
699
  /**
349
- * Application-specific metadata in the form of key-value pairs.
700
+ * List of private endpoint connections on a server
701
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
702
  */
351
- tags?: { [propertyName: string]: string };
352
- }
703
+ readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
704
+ };
353
705
 
354
- /**
355
- * Represents a server firewall rule.
356
- */
357
- export interface FirewallRule extends ProxyResource {
358
- /**
359
- * The start IP address of the server firewall rule. Must be IPv4 format.
360
- */
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. */
361
709
  startIpAddress: string;
362
- /**
363
- * The end IP address of the server firewall rule. Must be IPv4 format.
364
- */
710
+ /** The end IP address of the server firewall rule. Must be IPv4 format. */
365
711
  endIpAddress: string;
366
- }
712
+ };
367
713
 
368
- /**
369
- * A virtual network rule.
370
- */
371
- export interface VirtualNetworkRule extends ProxyResource {
372
- /**
373
- * The ARM resource id of the virtual network subnet.
374
- */
375
- virtualNetworkSubnetId: string;
376
- /**
377
- * Create firewall rule before the virtual network has vnet service endpoint enabled.
378
- */
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. */
379
719
  ignoreMissingVnetServiceEndpoint?: boolean;
380
720
  /**
381
- * Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready',
382
- * 'Deleting', 'Unknown'
383
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
721
+ * Virtual Network Rule State
722
+ * NOTE: This property will not be serialized. It can only be populated by the server.
384
723
  */
385
724
  readonly state?: VirtualNetworkRuleState;
386
- }
725
+ };
387
726
 
388
- /**
389
- * Represents a Database.
390
- */
391
- export interface Database extends ProxyResource {
392
- /**
393
- * The charset of the database.
394
- */
727
+ /** Represents a Database. */
728
+ export type Database = ProxyResource & {
729
+ /** The charset of the database. */
395
730
  charset?: string;
396
- /**
397
- * The collation of the database.
398
- */
731
+ /** The collation of the database. */
399
732
  collation?: string;
400
- }
733
+ };
401
734
 
402
- /**
403
- * Represents a Configuration.
404
- */
405
- export interface Configuration extends ProxyResource {
406
- /**
407
- * Value of the configuration.
408
- */
735
+ /** Represents a Configuration. */
736
+ export type Configuration = ProxyResource & {
737
+ /** Value of the configuration. */
409
738
  value?: string;
410
739
  /**
411
740
  * Description of the configuration.
412
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
741
+ * NOTE: This property will not be serialized. It can only be populated by the server.
413
742
  */
414
743
  readonly description?: string;
415
744
  /**
416
745
  * Default value of the configuration.
417
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
746
+ * NOTE: This property will not be serialized. It can only be populated by the server.
418
747
  */
419
748
  readonly defaultValue?: string;
420
749
  /**
421
750
  * Data type of the configuration.
422
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
751
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
752
  */
424
753
  readonly dataType?: string;
425
754
  /**
426
755
  * Allowed values of the configuration.
427
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
756
+ * NOTE: This property will not be serialized. It can only be populated by the server.
428
757
  */
429
758
  readonly allowedValues?: string;
430
- /**
431
- * Source of the configuration.
432
- */
759
+ /** Source of the configuration. */
433
760
  source?: string;
434
- }
435
-
436
- /**
437
- * Display metadata associated with the operation.
438
- */
439
- export interface OperationDisplay {
440
- /**
441
- * Operation resource provider name.
442
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
443
- */
444
- readonly provider?: string;
445
- /**
446
- * Resource on which the operation is performed.
447
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
448
- */
449
- readonly resource?: string;
450
- /**
451
- * Localized friendly name for the operation.
452
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
453
- */
454
- readonly operation?: string;
455
- /**
456
- * Operation description.
457
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
458
- */
459
- readonly description?: string;
460
- }
461
-
462
- /**
463
- * REST API operation definition.
464
- */
465
- export interface Operation {
466
- /**
467
- * The name of the operation being performed on this particular object.
468
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
469
- */
470
- readonly name?: string;
471
- /**
472
- * The localized display information for this particular operation or action.
473
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
474
- */
475
- readonly display?: OperationDisplay;
476
- /**
477
- * The intended executor of the operation. Possible values include: 'NotSpecified', 'user',
478
- * 'system'
479
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
480
- */
481
- readonly origin?: OperationOrigin;
482
- /**
483
- * Additional descriptions for the operation.
484
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
485
- */
486
- readonly properties?: { [propertyName: string]: any };
487
- }
488
-
489
- /**
490
- * A list of resource provider operations.
491
- */
492
- export interface OperationListResult {
493
- /**
494
- * The list of resource provider operations.
495
- */
496
- value?: Operation[];
497
- }
761
+ };
498
762
 
499
- /**
500
- * Represents a log file.
501
- */
502
- export interface LogFile extends ProxyResource {
503
- /**
504
- * Size of the log file.
505
- */
763
+ /** Represents a log file. */
764
+ export type LogFile = ProxyResource & {
765
+ /** Size of the log file. */
506
766
  sizeInKB?: number;
507
767
  /**
508
768
  * Creation timestamp of the log file.
509
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
769
+ * NOTE: This property will not be serialized. It can only be populated by the server.
510
770
  */
511
771
  readonly createdTime?: Date;
512
772
  /**
513
773
  * Last modified timestamp of the log file.
514
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
774
+ * NOTE: This property will not be serialized. It can only be populated by the server.
515
775
  */
516
776
  readonly lastModifiedTime?: Date;
517
- /**
518
- * Type of the log file.
519
- */
520
- logFileType?: string;
521
- /**
522
- * The url to download the log file from.
523
- */
777
+ /** Type of the log file. */
778
+ typePropertiesType?: string;
779
+ /** The url to download the log file from. */
524
780
  url?: string;
525
- }
781
+ };
526
782
 
527
- /**
528
- * Service level objectives for performance tier.
529
- */
530
- export interface PerformanceTierServiceLevelObjectives {
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 & {
531
797
  /**
532
- * ID for the service level objective.
798
+ * The last available backup date time.
799
+ * NOTE: This property will not be serialized. It can only be populated by the server.
533
800
  */
534
- id?: string;
801
+ readonly lastAvailableBackupDateTime?: string;
802
+ /**
803
+ * The service level objective
804
+ * NOTE: This property will not be serialized. It can only be populated by the server.
805
+ */
806
+ readonly serviceLevelObjective?: string;
535
807
  /**
536
808
  * Edition of the performance tier.
809
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
810
  */
538
- edition?: string;
811
+ readonly edition?: string;
539
812
  /**
540
813
  * vCore associated with the service level objective
814
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
815
  */
542
- vCore?: number;
816
+ readonly vCore?: number;
543
817
  /**
544
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.
545
820
  */
546
- hardwareGeneration?: string;
547
- /**
548
- * Maximum Backup retention in days for the performance tier edition
549
- */
550
- maxBackupRetentionDays?: number;
821
+ readonly hardwareGeneration?: string;
551
822
  /**
552
- * Minimum Backup retention in days for the performance tier edition
823
+ * The MySQL version
824
+ * NOTE: This property will not be serialized. It can only be populated by the server.
553
825
  */
554
- minBackupRetentionDays?: number;
826
+ readonly version?: string;
827
+ };
828
+
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
+ };
846
+
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
+ };
854
+
855
+ /** Represents a Query Statistic. */
856
+ export type QueryStatistic = ProxyResource & {
857
+ /** Database query identifier. */
858
+ queryId?: string;
859
+ /** Observation start time. */
860
+ startTime?: Date;
861
+ /** Observation end time. */
862
+ endTime?: Date;
863
+ /** Aggregation function name. */
864
+ aggregationFunction?: string;
865
+ /** The list of database names. */
866
+ databaseNames?: string[];
867
+ /** Number of query executions in this time interval. */
868
+ queryExecutionCount?: number;
869
+ /** Metric name. */
870
+ metricName?: string;
871
+ /** Metric display name. */
872
+ metricDisplayName?: string;
873
+ /** Metric value. */
874
+ metricValue?: number;
875
+ /** Metric value unit. */
876
+ metricValueUnit?: string;
877
+ };
878
+
879
+ /** Represents a Wait Statistic. */
880
+ export type WaitStatistic = ProxyResource & {
881
+ /** Observation start time. */
882
+ startTime?: Date;
883
+ /** Observation end time. */
884
+ endTime?: Date;
885
+ /** Wait event name. */
886
+ eventName?: string;
887
+ /** Wait event type name. */
888
+ eventTypeName?: string;
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
+ };
900
+
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
+ };
906
+
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
+ };
926
+
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;
555
933
  /**
556
- * Max storage allowed for a server.
934
+ * State of the private endpoint connection.
935
+ * NOTE: This property will not be serialized. It can only be populated by the server.
557
936
  */
558
- maxStorageMB?: number;
937
+ readonly provisioningState?: string;
938
+ };
939
+
940
+ /** A private link resource */
941
+ export type PrivateLinkResource = ProxyResource & {
559
942
  /**
560
- * Max storage allowed for a server.
943
+ * The private link resource group id.
944
+ * NOTE: This property will not be serialized. It can only be populated by the server.
561
945
  */
562
- minStorageMB?: number;
563
- }
946
+ readonly properties?: PrivateLinkResourceProperties;
947
+ };
564
948
 
565
- /**
566
- * Performance tier properties
567
- */
568
- export interface PerformanceTierProperties {
949
+ /** A MySQL Server key. */
950
+ export type ServerKey = ProxyResource & {
569
951
  /**
570
- * ID of the performance tier.
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.
571
954
  */
572
- id?: string;
955
+ readonly kind?: string;
956
+ /** The key type like 'AzureKeyVault'. */
957
+ serverKeyType?: ServerKeyType;
958
+ /** The URI of the key. */
959
+ uri?: string;
573
960
  /**
574
- * Service level objectives associated with the performance tier
961
+ * The key creation date.
962
+ * NOTE: This property will not be serialized. It can only be populated by the server.
575
963
  */
576
- serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[];
964
+ readonly creationDate?: Date;
965
+ };
966
+
967
+ /** Known values of {@link IdentityType} that the service accepts. */
968
+ export enum KnownIdentityType {
969
+ SystemAssigned = "SystemAssigned"
577
970
  }
578
971
 
579
972
  /**
580
- * Request from client to check resource name availability.
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**
581
978
  */
582
- export interface NameAvailabilityRequest {
583
- /**
584
- * Resource name to verify.
585
- */
586
- name: string;
587
- /**
588
- * Resource type used for verification.
589
- */
590
- type?: string;
979
+ export type IdentityType = string;
980
+
981
+ /** Known values of {@link SkuTier} that the service accepts. */
982
+ export enum KnownSkuTier {
983
+ Basic = "Basic",
984
+ GeneralPurpose = "GeneralPurpose",
985
+ MemoryOptimized = "MemoryOptimized"
591
986
  }
592
987
 
593
988
  /**
594
- * Represents a resource name availability.
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**
595
996
  */
596
- export interface NameAvailability {
597
- /**
598
- * Error Message.
599
- */
600
- message?: string;
601
- /**
602
- * Indicates whether the resource name is available.
603
- */
604
- nameAvailable?: boolean;
605
- /**
606
- * Reason for name being unavailable.
607
- */
608
- reason?: 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"
609
1004
  }
610
1005
 
611
1006
  /**
612
- * A server security alert policy.
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**
613
1014
  */
614
- export interface ServerSecurityAlertPolicy extends ProxyResource {
615
- /**
616
- * Specifies the state of the policy, whether it is enabled or disabled. Possible values include:
617
- * 'Enabled', 'Disabled'
618
- */
619
- state: ServerSecurityAlertPolicyState;
620
- /**
621
- * Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection,
622
- * Sql_Injection_Vulnerability, Access_Anomaly
623
- */
624
- disabledAlerts?: string[];
625
- /**
626
- * Specifies an array of e-mail addresses to which the alert is sent.
627
- */
628
- emailAddresses?: string[];
629
- /**
630
- * Specifies that the alert is sent to the account administrators.
631
- */
632
- emailAccountAdmins?: boolean;
633
- /**
634
- * Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob
635
- * storage will hold all Threat Detection audit logs.
636
- */
637
- storageEndpoint?: string;
638
- /**
639
- * Specifies the identifier key of the Threat Detection audit storage account.
640
- */
641
- storageAccountAccessKey?: string;
642
- /**
643
- * Specifies the number of days to keep in the Threat Detection audit logs.
644
- */
645
- retentionDays?: number;
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"
646
1023
  }
647
1024
 
648
1025
  /**
649
- * An interface representing MySQLManagementClientOptions.
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**
650
1034
  */
651
- export interface MySQLManagementClientOptions extends AzureServiceClientOptions {
652
- baseUri?: string;
1035
+ export type MinimalTlsVersionEnum = string;
1036
+
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"
653
1043
  }
654
1044
 
655
1045
  /**
656
- * @interface
657
- * A list of servers.
658
- * @extends Array<Server>
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
659
1052
  */
660
- export interface ServerListResult extends Array<Server> {
1053
+ export type InfrastructureEncryption = string;
1054
+
1055
+ /** Known values of {@link PublicNetworkAccessEnum} that the service accepts. */
1056
+ export enum KnownPublicNetworkAccessEnum {
1057
+ Enabled = "Enabled",
1058
+ Disabled = "Disabled"
661
1059
  }
662
1060
 
663
1061
  /**
664
- * @interface
665
- * A list of firewall rules.
666
- * @extends Array<FirewallRule>
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**
667
1068
  */
668
- export interface FirewallRuleListResult extends Array<FirewallRule> {
1069
+ export type PublicNetworkAccessEnum = string;
1070
+
1071
+ /** Known values of {@link GeoRedundantBackup} that the service accepts. */
1072
+ export enum KnownGeoRedundantBackup {
1073
+ Enabled = "Enabled",
1074
+ Disabled = "Disabled"
669
1075
  }
670
1076
 
671
1077
  /**
672
- * @interface
673
- * A list of virtual network rules.
674
- * @extends Array<VirtualNetworkRule>
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**
675
1084
  */
676
- export interface VirtualNetworkRuleListResult extends Array<VirtualNetworkRule> {
677
- /**
678
- * Link to retrieve next page of results.
679
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
680
- */
681
- readonly nextLink?: string;
1085
+ export type GeoRedundantBackup = string;
1086
+
1087
+ /** Known values of {@link StorageAutogrow} that the service accepts. */
1088
+ export enum KnownStorageAutogrow {
1089
+ Enabled = "Enabled",
1090
+ Disabled = "Disabled"
682
1091
  }
683
1092
 
684
1093
  /**
685
- * @interface
686
- * A List of databases.
687
- * @extends Array<Database>
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**
688
1100
  */
689
- export interface DatabaseListResult extends Array<Database> {
1101
+ export type StorageAutogrow = string;
1102
+
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"
690
1109
  }
691
1110
 
692
1111
  /**
693
- * @interface
694
- * A list of server configurations.
695
- * @extends Array<Configuration>
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**
696
1120
  */
697
- export interface ConfigurationListResult extends Array<Configuration> {
1121
+ export type CreateMode = string;
1122
+
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"
698
1129
  }
699
1130
 
700
1131
  /**
701
- * @interface
702
- * A list of log files.
703
- * @extends Array<LogFile>
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**
704
1140
  */
705
- export interface LogFileListResult extends Array<LogFile> {
1141
+ export type ServerState = string;
1142
+
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"
706
1149
  }
707
1150
 
708
1151
  /**
709
- * @interface
710
- * A list of performance tiers.
711
- * @extends Array<PerformanceTierProperties>
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**
712
1160
  */
713
- export interface PerformanceTierListResult extends Array<PerformanceTierProperties> {
1161
+ export type PrivateLinkServiceConnectionStateStatus = string;
1162
+
1163
+ /** Known values of {@link PrivateLinkServiceConnectionStateActionsRequire} that the service accepts. */
1164
+ export enum KnownPrivateLinkServiceConnectionStateActionsRequire {
1165
+ None = "None"
714
1166
  }
715
1167
 
716
1168
  /**
717
- * Defines values for ServerVersion.
718
- * Possible values include: '5.6', '5.7'
719
- * @readonly
720
- * @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**
721
1174
  */
722
- export type ServerVersion = '5.6' | '5.7';
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
+ }
723
1185
 
724
1186
  /**
725
- * Defines values for SslEnforcementEnum.
726
- * Possible values include: 'Enabled', 'Disabled'
727
- * @readonly
728
- * @enum {string}
729
- */
730
- export type SslEnforcementEnum = 'Enabled' | 'Disabled';
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**
1196
+ */
1197
+ export type PrivateEndpointProvisioningState = string;
1198
+
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
+ }
731
1207
 
732
1208
  /**
733
- * Defines values for ServerState.
734
- * Possible values include: 'Ready', 'Dropping', 'Disabled'
735
- * @readonly
736
- * @enum {string}
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**
737
1218
  */
738
- export type ServerState = 'Ready' | 'Dropping' | 'Disabled';
1219
+ export type VirtualNetworkRuleState = string;
739
1220
 
740
- /**
741
- * Defines values for GeoRedundantBackup.
742
- * Possible values include: 'Enabled', 'Disabled'
743
- * @readonly
744
- * @enum {string}
745
- */
746
- export type GeoRedundantBackup = 'Enabled' | 'Disabled';
1221
+ /** Known values of {@link OperationOrigin} that the service accepts. */
1222
+ export enum KnownOperationOrigin {
1223
+ NotSpecified = "NotSpecified",
1224
+ User = "user",
1225
+ System = "system"
1226
+ }
747
1227
 
748
1228
  /**
749
- * Defines values for StorageAutogrow.
750
- * Possible values include: 'Enabled', 'Disabled'
751
- * @readonly
752
- * @enum {string}
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**
753
1236
  */
754
- export type StorageAutogrow = 'Enabled' | 'Disabled';
1237
+ export type OperationOrigin = string;
755
1238
 
756
- /**
757
- * Defines values for SkuTier.
758
- * Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
759
- * @readonly
760
- * @enum {string}
761
- */
762
- export type SkuTier = 'Basic' | 'GeneralPurpose' | 'MemoryOptimized';
1239
+ /** Known values of {@link SecurityAlertPolicyName} that the service accepts. */
1240
+ export enum KnownSecurityAlertPolicyName {
1241
+ Default = "Default"
1242
+ }
763
1243
 
764
1244
  /**
765
- * Defines values for VirtualNetworkRuleState.
766
- * Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
767
- * @readonly
768
- * @enum {string}
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**
769
1250
  */
770
- export type VirtualNetworkRuleState = 'Initializing' | 'InProgress' | 'Ready' | 'Deleting' | 'Unknown';
1251
+ export type SecurityAlertPolicyName = string;
771
1252
 
772
- /**
773
- * Defines values for OperationOrigin.
774
- * Possible values include: 'NotSpecified', 'user', 'system'
775
- * @readonly
776
- * @enum {string}
777
- */
778
- export type OperationOrigin = 'NotSpecified' | 'user' | 'system';
1253
+ /** Known values of {@link QueryPerformanceInsightResetDataResultState} that the service accepts. */
1254
+ export enum KnownQueryPerformanceInsightResetDataResultState {
1255
+ Succeeded = "Succeeded",
1256
+ Failed = "Failed"
1257
+ }
779
1258
 
780
1259
  /**
781
- * Defines values for ServerSecurityAlertPolicyState.
782
- * Possible values include: 'Enabled', 'Disabled'
783
- * @readonly
784
- * @enum {string}
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**
785
1266
  */
786
- export type ServerSecurityAlertPolicyState = 'Enabled' | 'Disabled';
1267
+ export type QueryPerformanceInsightResetDataResultState = string;
1268
+
1269
+ /** Known values of {@link ServerKeyType} that the service accepts. */
1270
+ export enum KnownServerKeyType {
1271
+ AzureKeyVault = "AzureKeyVault"
1272
+ }
787
1273
 
788
1274
  /**
789
- * Contains response data for the create operation.
790
- */
791
- export type ServersCreateResponse = Server & {
792
- /**
793
- * The underlying HTTP response.
794
- */
795
- _response: msRest.HttpResponse & {
796
- /**
797
- * The response body as text (string format)
798
- */
799
- bodyAsText: string;
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**
1280
+ */
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";
1286
+
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
+ }
800
1295
 
801
- /**
802
- * The response body as parsed JSON or XML
803
- */
804
- parsedBody: Server;
805
- };
806
- };
1296
+ /** Contains response data for the create operation. */
1297
+ export type ServersCreateResponse = Server;
807
1298
 
808
- /**
809
- * Contains response data for the update operation.
810
- */
811
- export type ServersUpdateResponse = Server & {
812
- /**
813
- * The underlying HTTP response.
814
- */
815
- _response: msRest.HttpResponse & {
816
- /**
817
- * The response body as text (string format)
818
- */
819
- bodyAsText: string;
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
+ }
820
1307
 
821
- /**
822
- * The response body as parsed JSON or XML
823
- */
824
- parsedBody: Server;
825
- };
826
- };
1308
+ /** Contains response data for the update operation. */
1309
+ export type ServersUpdateResponse = Server;
827
1310
 
828
- /**
829
- * Contains response data for the get operation.
830
- */
831
- export type ServersGetResponse = Server & {
832
- /**
833
- * The underlying HTTP response.
834
- */
835
- _response: msRest.HttpResponse & {
836
- /**
837
- * The response body as text (string format)
838
- */
839
- bodyAsText: string;
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
+ }
840
1319
 
841
- /**
842
- * The response body as parsed JSON or XML
843
- */
844
- parsedBody: Server;
845
- };
846
- };
1320
+ /** Optional parameters. */
1321
+ export interface ServersGetOptionalParams extends coreClient.OperationOptions {}
847
1322
 
848
- /**
849
- * Contains response data for the listByResourceGroup operation.
850
- */
851
- export type ServersListByResourceGroupResponse = ServerListResult & {
852
- /**
853
- * The underlying HTTP response.
854
- */
855
- _response: msRest.HttpResponse & {
856
- /**
857
- * The response body as text (string format)
858
- */
859
- bodyAsText: string;
1323
+ /** Contains response data for the get operation. */
1324
+ export type ServersGetResponse = Server;
860
1325
 
861
- /**
862
- * The response body as parsed JSON or XML
863
- */
864
- parsedBody: ServerListResult;
865
- };
866
- };
1326
+ /** Optional parameters. */
1327
+ export interface ServersListByResourceGroupOptionalParams
1328
+ extends coreClient.OperationOptions {}
867
1329
 
868
- /**
869
- * Contains response data for the list operation.
870
- */
871
- export type ServersListResponse = ServerListResult & {
872
- /**
873
- * The underlying HTTP response.
874
- */
875
- _response: msRest.HttpResponse & {
876
- /**
877
- * The response body as text (string format)
878
- */
879
- bodyAsText: string;
1330
+ /** Contains response data for the listByResourceGroup operation. */
1331
+ export type ServersListByResourceGroupResponse = ServerListResult;
880
1332
 
881
- /**
882
- * The response body as parsed JSON or XML
883
- */
884
- parsedBody: ServerListResult;
885
- };
886
- };
1333
+ /** Optional parameters. */
1334
+ export interface ServersListOptionalParams
1335
+ extends coreClient.OperationOptions {}
887
1336
 
888
- /**
889
- * Contains response data for the beginCreate operation.
890
- */
891
- export type ServersBeginCreateResponse = Server & {
892
- /**
893
- * The underlying HTTP response.
894
- */
895
- _response: msRest.HttpResponse & {
896
- /**
897
- * The response body as text (string format)
898
- */
899
- bodyAsText: string;
1337
+ /** Contains response data for the list operation. */
1338
+ export type ServersListResponse = ServerListResult;
900
1339
 
901
- /**
902
- * The response body as parsed JSON or XML
903
- */
904
- parsedBody: Server;
905
- };
906
- };
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
+ }
907
1348
 
908
- /**
909
- * Contains response data for the beginUpdate operation.
910
- */
911
- export type ServersBeginUpdateResponse = Server & {
912
- /**
913
- * The underlying HTTP response.
914
- */
915
- _response: msRest.HttpResponse & {
916
- /**
917
- * The response body as text (string format)
918
- */
919
- bodyAsText: string;
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
+ }
920
1357
 
921
- /**
922
- * The response body as parsed JSON or XML
923
- */
924
- parsedBody: Server;
925
- };
926
- };
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
+ }
927
1365
 
928
- /**
929
- * Contains response data for the listByServer operation.
930
- */
931
- export type ReplicasListByServerResponse = ServerListResult & {
932
- /**
933
- * The underlying HTTP response.
934
- */
935
- _response: msRest.HttpResponse & {
936
- /**
937
- * The response body as text (string format)
938
- */
939
- bodyAsText: string;
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
+ }
940
1374
 
941
- /**
942
- * The response body as parsed JSON or XML
943
- */
944
- parsedBody: ServerListResult;
945
- };
946
- };
1375
+ /** Optional parameters. */
1376
+ export interface ReplicasListByServerOptionalParams
1377
+ extends coreClient.OperationOptions {}
947
1378
 
948
- /**
949
- * Contains response data for the createOrUpdate operation.
950
- */
951
- export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
952
- /**
953
- * The underlying HTTP response.
954
- */
955
- _response: msRest.HttpResponse & {
956
- /**
957
- * The response body as text (string format)
958
- */
959
- bodyAsText: string;
1379
+ /** Contains response data for the listByServer operation. */
1380
+ export type ReplicasListByServerResponse = ServerListResult;
960
1381
 
961
- /**
962
- * The response body as parsed JSON or XML
963
- */
964
- parsedBody: FirewallRule;
965
- };
966
- };
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
+ }
967
1390
 
968
- /**
969
- * Contains response data for the get operation.
970
- */
971
- export type FirewallRulesGetResponse = FirewallRule & {
972
- /**
973
- * The underlying HTTP response.
974
- */
975
- _response: msRest.HttpResponse & {
976
- /**
977
- * The response body as text (string format)
978
- */
979
- bodyAsText: string;
1391
+ /** Contains response data for the createOrUpdate operation. */
1392
+ export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
980
1393
 
981
- /**
982
- * The response body as parsed JSON or XML
983
- */
984
- parsedBody: FirewallRule;
985
- };
986
- };
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
+ }
987
1402
 
988
- /**
989
- * Contains response data for the listByServer operation.
990
- */
991
- export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
992
- /**
993
- * The underlying HTTP response.
994
- */
995
- _response: msRest.HttpResponse & {
996
- /**
997
- * The response body as text (string format)
998
- */
999
- bodyAsText: string;
1403
+ /** Optional parameters. */
1404
+ export interface FirewallRulesGetOptionalParams
1405
+ extends coreClient.OperationOptions {}
1000
1406
 
1001
- /**
1002
- * The response body as parsed JSON or XML
1003
- */
1004
- parsedBody: FirewallRuleListResult;
1005
- };
1006
- };
1407
+ /** Contains response data for the get operation. */
1408
+ export type FirewallRulesGetResponse = FirewallRule;
1007
1409
 
1008
- /**
1009
- * Contains response data for the beginCreateOrUpdate operation.
1010
- */
1011
- export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & {
1012
- /**
1013
- * The underlying HTTP response.
1014
- */
1015
- _response: msRest.HttpResponse & {
1016
- /**
1017
- * The response body as text (string format)
1018
- */
1019
- bodyAsText: string;
1410
+ /** Optional parameters. */
1411
+ export interface FirewallRulesListByServerOptionalParams
1412
+ extends coreClient.OperationOptions {}
1020
1413
 
1021
- /**
1022
- * The response body as parsed JSON or XML
1023
- */
1024
- parsedBody: FirewallRule;
1025
- };
1026
- };
1414
+ /** Contains response data for the listByServer operation. */
1415
+ export type FirewallRulesListByServerResponse = FirewallRuleListResult;
1027
1416
 
1028
- /**
1029
- * Contains response data for the get operation.
1030
- */
1031
- export type VirtualNetworkRulesGetResponse = VirtualNetworkRule & {
1032
- /**
1033
- * The underlying HTTP response.
1034
- */
1035
- _response: msRest.HttpResponse & {
1036
- /**
1037
- * The response body as text (string format)
1038
- */
1039
- bodyAsText: string;
1417
+ /** Optional parameters. */
1418
+ export interface VirtualNetworkRulesGetOptionalParams
1419
+ extends coreClient.OperationOptions {}
1040
1420
 
1041
- /**
1042
- * The response body as parsed JSON or XML
1043
- */
1044
- parsedBody: VirtualNetworkRule;
1045
- };
1046
- };
1421
+ /** Contains response data for the get operation. */
1422
+ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule;
1047
1423
 
1048
- /**
1049
- * Contains response data for the createOrUpdate operation.
1050
- */
1051
- export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule & {
1052
- /**
1053
- * The underlying HTTP response.
1054
- */
1055
- _response: msRest.HttpResponse & {
1056
- /**
1057
- * The response body as text (string format)
1058
- */
1059
- bodyAsText: string;
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
+ }
1060
1432
 
1061
- /**
1062
- * The response body as parsed JSON or XML
1063
- */
1064
- parsedBody: VirtualNetworkRule;
1065
- };
1066
- };
1433
+ /** Contains response data for the createOrUpdate operation. */
1434
+ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule;
1067
1435
 
1068
- /**
1069
- * Contains response data for the listByServer operation.
1070
- */
1071
- export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult & {
1072
- /**
1073
- * The underlying HTTP response.
1074
- */
1075
- _response: msRest.HttpResponse & {
1076
- /**
1077
- * The response body as text (string format)
1078
- */
1079
- bodyAsText: string;
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
+ }
1080
1444
 
1081
- /**
1082
- * The response body as parsed JSON or XML
1083
- */
1084
- parsedBody: VirtualNetworkRuleListResult;
1085
- };
1086
- };
1445
+ /** Optional parameters. */
1446
+ export interface VirtualNetworkRulesListByServerOptionalParams
1447
+ extends coreClient.OperationOptions {}
1087
1448
 
1088
- /**
1089
- * Contains response data for the beginCreateOrUpdate operation.
1090
- */
1091
- export type VirtualNetworkRulesBeginCreateOrUpdateResponse = VirtualNetworkRule & {
1092
- /**
1093
- * The underlying HTTP response.
1094
- */
1095
- _response: msRest.HttpResponse & {
1096
- /**
1097
- * The response body as text (string format)
1098
- */
1099
- bodyAsText: string;
1449
+ /** Contains response data for the listByServer operation. */
1450
+ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult;
1100
1451
 
1101
- /**
1102
- * The response body as parsed JSON or XML
1103
- */
1104
- parsedBody: VirtualNetworkRule;
1105
- };
1106
- };
1452
+ /** Optional parameters. */
1453
+ export interface VirtualNetworkRulesListByServerNextOptionalParams
1454
+ extends coreClient.OperationOptions {}
1107
1455
 
1108
- /**
1109
- * Contains response data for the listByServerNext operation.
1110
- */
1111
- export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult & {
1112
- /**
1113
- * The underlying HTTP response.
1114
- */
1115
- _response: msRest.HttpResponse & {
1116
- /**
1117
- * The response body as text (string format)
1118
- */
1119
- bodyAsText: string;
1456
+ /** Contains response data for the listByServerNext operation. */
1457
+ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult;
1120
1458
 
1121
- /**
1122
- * The response body as parsed JSON or XML
1123
- */
1124
- parsedBody: VirtualNetworkRuleListResult;
1125
- };
1126
- };
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
+ }
1127
1467
 
1128
- /**
1129
- * Contains response data for the createOrUpdate operation.
1130
- */
1131
- export type DatabasesCreateOrUpdateResponse = Database & {
1132
- /**
1133
- * The underlying HTTP response.
1134
- */
1135
- _response: msRest.HttpResponse & {
1136
- /**
1137
- * The response body as text (string format)
1138
- */
1139
- bodyAsText: string;
1468
+ /** Contains response data for the createOrUpdate operation. */
1469
+ export type DatabasesCreateOrUpdateResponse = Database;
1140
1470
 
1141
- /**
1142
- * The response body as parsed JSON or XML
1143
- */
1144
- parsedBody: Database;
1145
- };
1146
- };
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
+ }
1147
1479
 
1148
- /**
1149
- * Contains response data for the get operation.
1150
- */
1151
- export type DatabasesGetResponse = Database & {
1152
- /**
1153
- * The underlying HTTP response.
1154
- */
1155
- _response: msRest.HttpResponse & {
1156
- /**
1157
- * The response body as text (string format)
1158
- */
1159
- bodyAsText: string;
1480
+ /** Optional parameters. */
1481
+ export interface DatabasesGetOptionalParams
1482
+ extends coreClient.OperationOptions {}
1160
1483
 
1161
- /**
1162
- * The response body as parsed JSON or XML
1163
- */
1164
- parsedBody: Database;
1165
- };
1166
- };
1484
+ /** Contains response data for the get operation. */
1485
+ export type DatabasesGetResponse = Database;
1167
1486
 
1168
- /**
1169
- * Contains response data for the listByServer operation.
1170
- */
1171
- export type DatabasesListByServerResponse = DatabaseListResult & {
1172
- /**
1173
- * The underlying HTTP response.
1174
- */
1175
- _response: msRest.HttpResponse & {
1176
- /**
1177
- * The response body as text (string format)
1178
- */
1179
- bodyAsText: string;
1487
+ /** Optional parameters. */
1488
+ export interface DatabasesListByServerOptionalParams
1489
+ extends coreClient.OperationOptions {}
1180
1490
 
1181
- /**
1182
- * The response body as parsed JSON or XML
1183
- */
1184
- parsedBody: DatabaseListResult;
1185
- };
1186
- };
1491
+ /** Contains response data for the listByServer operation. */
1492
+ export type DatabasesListByServerResponse = DatabaseListResult;
1187
1493
 
1188
- /**
1189
- * Contains response data for the beginCreateOrUpdate operation.
1190
- */
1191
- export type DatabasesBeginCreateOrUpdateResponse = Database & {
1192
- /**
1193
- * The underlying HTTP response.
1194
- */
1195
- _response: msRest.HttpResponse & {
1196
- /**
1197
- * The response body as text (string format)
1198
- */
1199
- bodyAsText: string;
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
+ }
1200
1502
 
1201
- /**
1202
- * The response body as parsed JSON or XML
1203
- */
1204
- parsedBody: Database;
1205
- };
1206
- };
1503
+ /** Contains response data for the createOrUpdate operation. */
1504
+ export type ConfigurationsCreateOrUpdateResponse = Configuration;
1207
1505
 
1208
- /**
1209
- * Contains response data for the createOrUpdate operation.
1210
- */
1211
- export type ConfigurationsCreateOrUpdateResponse = Configuration & {
1212
- /**
1213
- * The underlying HTTP response.
1214
- */
1215
- _response: msRest.HttpResponse & {
1216
- /**
1217
- * The response body as text (string format)
1218
- */
1219
- bodyAsText: string;
1506
+ /** Optional parameters. */
1507
+ export interface ConfigurationsGetOptionalParams
1508
+ extends coreClient.OperationOptions {}
1220
1509
 
1221
- /**
1222
- * The response body as parsed JSON or XML
1223
- */
1224
- parsedBody: Configuration;
1225
- };
1226
- };
1510
+ /** Contains response data for the get operation. */
1511
+ export type ConfigurationsGetResponse = Configuration;
1227
1512
 
1228
- /**
1229
- * Contains response data for the get operation.
1230
- */
1231
- export type ConfigurationsGetResponse = Configuration & {
1232
- /**
1233
- * The underlying HTTP response.
1234
- */
1235
- _response: msRest.HttpResponse & {
1236
- /**
1237
- * The response body as text (string format)
1238
- */
1239
- bodyAsText: string;
1513
+ /** Optional parameters. */
1514
+ export interface ConfigurationsListByServerOptionalParams
1515
+ extends coreClient.OperationOptions {}
1240
1516
 
1241
- /**
1242
- * The response body as parsed JSON or XML
1243
- */
1244
- parsedBody: Configuration;
1245
- };
1246
- };
1517
+ /** Contains response data for the listByServer operation. */
1518
+ export type ConfigurationsListByServerResponse = ConfigurationListResult;
1247
1519
 
1248
- /**
1249
- * Contains response data for the listByServer operation.
1250
- */
1251
- export type ConfigurationsListByServerResponse = ConfigurationListResult & {
1252
- /**
1253
- * The underlying HTTP response.
1254
- */
1255
- _response: msRest.HttpResponse & {
1256
- /**
1257
- * The response body as text (string format)
1258
- */
1259
- bodyAsText: string;
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
+ }
1260
1528
 
1261
- /**
1262
- * The response body as parsed JSON or XML
1263
- */
1264
- parsedBody: ConfigurationListResult;
1265
- };
1266
- };
1529
+ /** Contains response data for the listUpdateConfigurations operation. */
1530
+ export type ServerParametersListUpdateConfigurationsResponse = ConfigurationListResult;
1267
1531
 
1268
- /**
1269
- * Contains response data for the beginCreateOrUpdate operation.
1270
- */
1271
- export type ConfigurationsBeginCreateOrUpdateResponse = Configuration & {
1272
- /**
1273
- * The underlying HTTP response.
1274
- */
1275
- _response: msRest.HttpResponse & {
1276
- /**
1277
- * The response body as text (string format)
1278
- */
1279
- bodyAsText: string;
1532
+ /** Optional parameters. */
1533
+ export interface LogFilesListByServerOptionalParams
1534
+ extends coreClient.OperationOptions {}
1280
1535
 
1281
- /**
1282
- * The response body as parsed JSON or XML
1283
- */
1284
- parsedBody: Configuration;
1285
- };
1286
- };
1536
+ /** Contains response data for the listByServer operation. */
1537
+ export type LogFilesListByServerResponse = LogFileListResult;
1287
1538
 
1288
- /**
1289
- * Contains response data for the listByServer operation.
1290
- */
1291
- export type LogFilesListByServerResponse = LogFileListResult & {
1292
- /**
1293
- * The underlying HTTP response.
1294
- */
1295
- _response: msRest.HttpResponse & {
1296
- /**
1297
- * The response body as text (string format)
1298
- */
1299
- bodyAsText: string;
1539
+ /** Optional parameters. */
1540
+ export interface ServerAdministratorsGetOptionalParams
1541
+ extends coreClient.OperationOptions {}
1300
1542
 
1301
- /**
1302
- * The response body as parsed JSON or XML
1303
- */
1304
- parsedBody: LogFileListResult;
1305
- };
1306
- };
1543
+ /** Contains response data for the get operation. */
1544
+ export type ServerAdministratorsGetResponse = ServerAdministratorResource;
1307
1545
 
1308
- /**
1309
- * Contains response data for the list operation.
1310
- */
1311
- export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult & {
1312
- /**
1313
- * The underlying HTTP response.
1314
- */
1315
- _response: msRest.HttpResponse & {
1316
- /**
1317
- * The response body as text (string format)
1318
- */
1319
- bodyAsText: string;
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
+ }
1320
1554
 
1321
- /**
1322
- * The response body as parsed JSON or XML
1323
- */
1324
- parsedBody: PerformanceTierListResult;
1325
- };
1326
- };
1555
+ /** Contains response data for the createOrUpdate operation. */
1556
+ export type ServerAdministratorsCreateOrUpdateResponse = ServerAdministratorResource;
1327
1557
 
1328
- /**
1329
- * Contains response data for the execute operation.
1330
- */
1331
- export type CheckNameAvailabilityExecuteResponse = NameAvailability & {
1332
- /**
1333
- * The underlying HTTP response.
1334
- */
1335
- _response: msRest.HttpResponse & {
1336
- /**
1337
- * The response body as text (string format)
1338
- */
1339
- bodyAsText: string;
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
+ }
1340
1566
 
1341
- /**
1342
- * The response body as parsed JSON or XML
1343
- */
1344
- parsedBody: NameAvailability;
1345
- };
1346
- };
1567
+ /** Optional parameters. */
1568
+ export interface ServerAdministratorsListOptionalParams
1569
+ extends coreClient.OperationOptions {}
1347
1570
 
1348
- /**
1349
- * Contains response data for the get operation.
1350
- */
1351
- export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy & {
1352
- /**
1353
- * The underlying HTTP response.
1354
- */
1355
- _response: msRest.HttpResponse & {
1356
- /**
1357
- * The response body as text (string format)
1358
- */
1359
- bodyAsText: string;
1571
+ /** Contains response data for the list operation. */
1572
+ export type ServerAdministratorsListResponse = ServerAdministratorResourceListResult;
1360
1573
 
1361
- /**
1362
- * The response body as parsed JSON or XML
1363
- */
1364
- parsedBody: ServerSecurityAlertPolicy;
1365
- };
1366
- };
1574
+ /** Optional parameters. */
1575
+ export interface RecoverableServersGetOptionalParams
1576
+ extends coreClient.OperationOptions {}
1367
1577
 
1368
- /**
1369
- * Contains response data for the createOrUpdate operation.
1370
- */
1371
- export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
1372
- /**
1373
- * The underlying HTTP response.
1374
- */
1375
- _response: msRest.HttpResponse & {
1376
- /**
1377
- * The response body as text (string format)
1378
- */
1379
- bodyAsText: string;
1578
+ /** Contains response data for the get operation. */
1579
+ export type RecoverableServersGetResponse = RecoverableServerResource;
1380
1580
 
1381
- /**
1382
- * The response body as parsed JSON or XML
1383
- */
1384
- parsedBody: ServerSecurityAlertPolicy;
1385
- };
1386
- };
1581
+ /** Optional parameters. */
1582
+ export interface ServerBasedPerformanceTierListOptionalParams
1583
+ extends coreClient.OperationOptions {}
1387
1584
 
1388
- /**
1389
- * Contains response data for the beginCreateOrUpdate operation.
1390
- */
1391
- export type ServerSecurityAlertPoliciesBeginCreateOrUpdateResponse = ServerSecurityAlertPolicy & {
1392
- /**
1393
- * The underlying HTTP response.
1394
- */
1395
- _response: msRest.HttpResponse & {
1396
- /**
1397
- * The response body as text (string format)
1398
- */
1399
- bodyAsText: string;
1585
+ /** Contains response data for the list operation. */
1586
+ export type ServerBasedPerformanceTierListResponse = PerformanceTierListResult;
1400
1587
 
1401
- /**
1402
- * The response body as parsed JSON or XML
1403
- */
1404
- parsedBody: ServerSecurityAlertPolicy;
1405
- };
1406
- };
1588
+ /** Optional parameters. */
1589
+ export interface LocationBasedPerformanceTierListOptionalParams
1590
+ extends coreClient.OperationOptions {}
1407
1591
 
1408
- /**
1409
- * Contains response data for the list operation.
1410
- */
1411
- export type OperationsListResponse = OperationListResult & {
1412
- /**
1413
- * The underlying HTTP response.
1414
- */
1415
- _response: msRest.HttpResponse & {
1416
- /**
1417
- * The response body as text (string format)
1418
- */
1419
- bodyAsText: string;
1592
+ /** Contains response data for the list operation. */
1593
+ export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult;
1420
1594
 
1421
- /**
1422
- * The response body as parsed JSON or XML
1423
- */
1424
- parsedBody: OperationListResult;
1425
- };
1426
- };
1595
+ /** Optional parameters. */
1596
+ export interface CheckNameAvailabilityExecuteOptionalParams
1597
+ extends coreClient.OperationOptions {}
1598
+
1599
+ /** Contains response data for the execute operation. */
1600
+ export type CheckNameAvailabilityExecuteResponse = NameAvailability;
1601
+
1602
+ /** Optional parameters. */
1603
+ export interface OperationsListOptionalParams
1604
+ extends coreClient.OperationOptions {}
1605
+
1606
+ /** Contains response data for the list operation. */
1607
+ export type OperationsListResponse = OperationListResult;
1608
+
1609
+ /** Optional parameters. */
1610
+ export interface ServerSecurityAlertPoliciesGetOptionalParams
1611
+ extends coreClient.OperationOptions {}
1612
+
1613
+ /** Contains response data for the get operation. */
1614
+ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy;
1615
+
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
+ }
1624
+
1625
+ /** Contains response data for the createOrUpdate operation. */
1626
+ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy;
1627
+
1628
+ /** Optional parameters. */
1629
+ export interface ServerSecurityAlertPoliciesListByServerOptionalParams
1630
+ extends coreClient.OperationOptions {}
1631
+
1632
+ /** Contains response data for the listByServer operation. */
1633
+ export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
1634
+
1635
+ /** Optional parameters. */
1636
+ export interface ServerSecurityAlertPoliciesListByServerNextOptionalParams
1637
+ extends coreClient.OperationOptions {}
1638
+
1639
+ /** Contains response data for the listByServerNext operation. */
1640
+ export type ServerSecurityAlertPoliciesListByServerNextResponse = ServerSecurityAlertPolicyListResult;
1641
+
1642
+ /** Optional parameters. */
1643
+ export interface QueryTextsGetOptionalParams
1644
+ extends coreClient.OperationOptions {}
1645
+
1646
+ /** Contains response data for the get operation. */
1647
+ export type QueryTextsGetResponse = QueryText;
1648
+
1649
+ /** Optional parameters. */
1650
+ export interface QueryTextsListByServerOptionalParams
1651
+ extends coreClient.OperationOptions {}
1652
+
1653
+ /** Contains response data for the listByServer operation. */
1654
+ export type QueryTextsListByServerResponse = QueryTextsResultList;
1655
+
1656
+ /** Optional parameters. */
1657
+ export interface QueryTextsListByServerNextOptionalParams
1658
+ extends coreClient.OperationOptions {}
1659
+
1660
+ /** Contains response data for the listByServerNext operation. */
1661
+ export type QueryTextsListByServerNextResponse = QueryTextsResultList;
1662
+
1663
+ /** Optional parameters. */
1664
+ export interface TopQueryStatisticsGetOptionalParams
1665
+ extends coreClient.OperationOptions {}
1666
+
1667
+ /** Contains response data for the get operation. */
1668
+ export type TopQueryStatisticsGetResponse = QueryStatistic;
1669
+
1670
+ /** Optional parameters. */
1671
+ export interface TopQueryStatisticsListByServerOptionalParams
1672
+ extends coreClient.OperationOptions {}
1673
+
1674
+ /** Contains response data for the listByServer operation. */
1675
+ export type TopQueryStatisticsListByServerResponse = TopQueryStatisticsResultList;
1676
+
1677
+ /** Optional parameters. */
1678
+ export interface TopQueryStatisticsListByServerNextOptionalParams
1679
+ extends coreClient.OperationOptions {}
1680
+
1681
+ /** Contains response data for the listByServerNext operation. */
1682
+ export type TopQueryStatisticsListByServerNextResponse = TopQueryStatisticsResultList;
1683
+
1684
+ /** Optional parameters. */
1685
+ export interface WaitStatisticsGetOptionalParams
1686
+ extends coreClient.OperationOptions {}
1687
+
1688
+ /** Contains response data for the get operation. */
1689
+ export type WaitStatisticsGetResponse = WaitStatistic;
1690
+
1691
+ /** Optional parameters. */
1692
+ export interface WaitStatisticsListByServerOptionalParams
1693
+ extends coreClient.OperationOptions {}
1694
+
1695
+ /** Contains response data for the listByServer operation. */
1696
+ export type WaitStatisticsListByServerResponse = WaitStatisticsResultList;
1697
+
1698
+ /** Optional parameters. */
1699
+ export interface WaitStatisticsListByServerNextOptionalParams
1700
+ extends coreClient.OperationOptions {}
1701
+
1702
+ /** Contains response data for the listByServerNext operation. */
1703
+ export type WaitStatisticsListByServerNextResponse = WaitStatisticsResultList;
1704
+
1705
+ /** Optional parameters. */
1706
+ export interface ResetQueryPerformanceInsightDataOptionalParams
1707
+ extends coreClient.OperationOptions {}
1708
+
1709
+ /** Contains response data for the resetQueryPerformanceInsightData operation. */
1710
+ export type ResetQueryPerformanceInsightDataResponse = QueryPerformanceInsightResetDataResult;
1711
+
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
+ }
1720
+
1721
+ /** Optional parameters. */
1722
+ export interface AdvisorsGetOptionalParams
1723
+ extends coreClient.OperationOptions {}
1724
+
1725
+ /** Contains response data for the get operation. */
1726
+ export type AdvisorsGetResponse = Advisor;
1727
+
1728
+ /** Optional parameters. */
1729
+ export interface AdvisorsListByServerOptionalParams
1730
+ extends coreClient.OperationOptions {}
1731
+
1732
+ /** Contains response data for the listByServer operation. */
1733
+ export type AdvisorsListByServerResponse = AdvisorsResultList;
1734
+
1735
+ /** Optional parameters. */
1736
+ export interface AdvisorsListByServerNextOptionalParams
1737
+ extends coreClient.OperationOptions {}
1738
+
1739
+ /** Contains response data for the listByServerNext operation. */
1740
+ export type AdvisorsListByServerNextResponse = AdvisorsResultList;
1741
+
1742
+ /** Optional parameters. */
1743
+ export interface RecommendedActionsGetOptionalParams
1744
+ extends coreClient.OperationOptions {}
1745
+
1746
+ /** Contains response data for the get operation. */
1747
+ export type RecommendedActionsGetResponse = RecommendationAction;
1748
+
1749
+ /** Optional parameters. */
1750
+ export interface RecommendedActionsListByServerOptionalParams
1751
+ extends coreClient.OperationOptions {
1752
+ /** The recommendation action session identifier. */
1753
+ sessionId?: string;
1754
+ }
1755
+
1756
+ /** Contains response data for the listByServer operation. */
1757
+ export type RecommendedActionsListByServerResponse = RecommendationActionsResultList;
1758
+
1759
+ /** Optional parameters. */
1760
+ export interface RecommendedActionsListByServerNextOptionalParams
1761
+ extends coreClient.OperationOptions {
1762
+ /** The recommendation action session identifier. */
1763
+ sessionId?: string;
1764
+ }
1765
+
1766
+ /** Contains response data for the listByServerNext operation. */
1767
+ export type RecommendedActionsListByServerNextResponse = RecommendationActionsResultList;
1768
+
1769
+ /** Optional parameters. */
1770
+ export interface LocationBasedRecommendedActionSessionsOperationStatusGetOptionalParams
1771
+ extends coreClient.OperationOptions {}
1772
+
1773
+ /** Contains response data for the get operation. */
1774
+ export type LocationBasedRecommendedActionSessionsOperationStatusGetResponse = RecommendedActionSessionsOperationStatus;
1775
+
1776
+ /** Optional parameters. */
1777
+ export interface LocationBasedRecommendedActionSessionsResultListOptionalParams
1778
+ extends coreClient.OperationOptions {}
1779
+
1780
+ /** Contains response data for the list operation. */
1781
+ export type LocationBasedRecommendedActionSessionsResultListResponse = RecommendationActionsResultList;
1782
+
1783
+ /** Optional parameters. */
1784
+ export interface LocationBasedRecommendedActionSessionsResultListNextOptionalParams
1785
+ extends coreClient.OperationOptions {}
1786
+
1787
+ /** Contains response data for the listNext operation. */
1788
+ export type LocationBasedRecommendedActionSessionsResultListNextResponse = RecommendationActionsResultList;
1789
+
1790
+ /** Optional parameters. */
1791
+ export interface PrivateEndpointConnectionsGetOptionalParams
1792
+ extends coreClient.OperationOptions {}
1793
+
1794
+ /** Contains response data for the get operation. */
1795
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1796
+
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
+ }
1805
+
1806
+ /** Contains response data for the createOrUpdate operation. */
1807
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
1808
+
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
+ }
1817
+
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
+ }
1826
+
1827
+ /** Contains response data for the updateTags operation. */
1828
+ export type PrivateEndpointConnectionsUpdateTagsResponse = PrivateEndpointConnection;
1829
+
1830
+ /** Optional parameters. */
1831
+ export interface PrivateEndpointConnectionsListByServerOptionalParams
1832
+ extends coreClient.OperationOptions {}
1833
+
1834
+ /** Contains response data for the listByServer operation. */
1835
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
1836
+
1837
+ /** Optional parameters. */
1838
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams
1839
+ extends coreClient.OperationOptions {}
1840
+
1841
+ /** Contains response data for the listByServerNext operation. */
1842
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
1843
+
1844
+ /** Optional parameters. */
1845
+ export interface PrivateLinkResourcesListByServerOptionalParams
1846
+ extends coreClient.OperationOptions {}
1847
+
1848
+ /** Contains response data for the listByServer operation. */
1849
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
1850
+
1851
+ /** Optional parameters. */
1852
+ export interface PrivateLinkResourcesGetOptionalParams
1853
+ extends coreClient.OperationOptions {}
1854
+
1855
+ /** Contains response data for the get operation. */
1856
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
1857
+
1858
+ /** Optional parameters. */
1859
+ export interface PrivateLinkResourcesListByServerNextOptionalParams
1860
+ extends coreClient.OperationOptions {}
1861
+
1862
+ /** Contains response data for the listByServerNext operation. */
1863
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
1864
+
1865
+ /** Optional parameters. */
1866
+ export interface ServerKeysListOptionalParams
1867
+ extends coreClient.OperationOptions {}
1868
+
1869
+ /** Contains response data for the list operation. */
1870
+ export type ServerKeysListResponse = ServerKeyListResult;
1871
+
1872
+ /** Optional parameters. */
1873
+ export interface ServerKeysGetOptionalParams
1874
+ extends coreClient.OperationOptions {}
1875
+
1876
+ /** Contains response data for the get operation. */
1877
+ export type ServerKeysGetResponse = ServerKey;
1878
+
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
+ }
1887
+
1888
+ /** Contains response data for the createOrUpdate operation. */
1889
+ export type ServerKeysCreateOrUpdateResponse = ServerKey;
1890
+
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
+ }
1899
+
1900
+ /** Optional parameters. */
1901
+ export interface ServerKeysListNextOptionalParams
1902
+ extends coreClient.OperationOptions {}
1903
+
1904
+ /** Contains response data for the listNext operation. */
1905
+ export type ServerKeysListNextResponse = ServerKeyListResult;
1906
+
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
+ }