@azure/arm-mysql-flexible 1.0.0 → 2.0.0

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 (408) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +81 -82
  4. package/dist/index.js +4360 -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/samples-dev/backupsGetSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/backupsGetSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/backupsGetSample.js +32 -0
  11. package/dist-esm/samples-dev/backupsGetSample.js.map +1 -0
  12. package/dist-esm/samples-dev/backupsListByServerSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/backupsListByServerSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/backupsListByServerSample.js +45 -0
  15. package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -0
  16. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +34 -0
  19. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js.map +1 -0
  20. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js +33 -0
  23. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/configurationsBatchUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/configurationsBatchUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js +37 -0
  27. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/configurationsGetSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/configurationsGetSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/configurationsGetSample.js +32 -0
  31. package/dist-esm/samples-dev/configurationsGetSample.js.map +1 -0
  32. package/dist-esm/samples-dev/configurationsListByServerSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/configurationsListByServerSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/configurationsListByServerSample.js +45 -0
  35. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -0
  36. package/dist-esm/samples-dev/configurationsUpdateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/configurationsUpdateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/configurationsUpdateSample.js +33 -0
  39. package/dist-esm/samples-dev/configurationsUpdateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +36 -0
  43. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js.map +1 -0
  44. package/dist-esm/samples-dev/databasesDeleteSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/databasesDeleteSample.js +32 -0
  47. package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -0
  48. package/dist-esm/samples-dev/databasesGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/databasesGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/databasesGetSample.js +32 -0
  51. package/dist-esm/samples-dev/databasesGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/databasesListByServerSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/databasesListByServerSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/databasesListByServerSample.js +45 -0
  55. package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -0
  56. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +36 -0
  59. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +32 -0
  63. package/dist-esm/samples-dev/firewallRulesDeleteSample.js.map +1 -0
  64. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/firewallRulesGetSample.js +32 -0
  67. package/dist-esm/samples-dev/firewallRulesGetSample.js.map +1 -0
  68. package/dist-esm/samples-dev/firewallRulesListByServerSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/firewallRulesListByServerSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +45 -0
  71. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -0
  72. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +29 -0
  75. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -0
  76. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js +44 -0
  79. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js.map +1 -0
  80. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  83. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  84. package/dist-esm/samples-dev/replicasListByServerSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/replicasListByServerSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/replicasListByServerSample.js +45 -0
  87. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -0
  88. package/dist-esm/samples-dev/serversCreateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/serversCreateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/serversCreateSample.js +137 -0
  91. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -0
  92. package/dist-esm/samples-dev/serversDeleteSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/serversDeleteSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/serversDeleteSample.js +31 -0
  95. package/dist-esm/samples-dev/serversDeleteSample.js.map +1 -0
  96. package/dist-esm/samples-dev/serversFailoverSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/serversFailoverSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/serversFailoverSample.js +31 -0
  99. package/dist-esm/samples-dev/serversFailoverSample.js.map +1 -0
  100. package/dist-esm/samples-dev/serversGetSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/serversGetSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/serversGetSample.js +49 -0
  103. package/dist-esm/samples-dev/serversGetSample.js.map +1 -0
  104. package/dist-esm/samples-dev/serversListByResourceGroupSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/serversListByResourceGroupSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +44 -0
  107. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -0
  108. package/dist-esm/samples-dev/serversListSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/serversListSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/serversListSample.js +43 -0
  111. package/dist-esm/samples-dev/serversListSample.js.map +1 -0
  112. package/dist-esm/samples-dev/serversRestartSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/serversRestartSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/serversRestartSample.js +35 -0
  115. package/dist-esm/samples-dev/serversRestartSample.js.map +1 -0
  116. package/dist-esm/samples-dev/serversStartSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/serversStartSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/serversStartSample.js +31 -0
  119. package/dist-esm/samples-dev/serversStartSample.js.map +1 -0
  120. package/dist-esm/samples-dev/serversStopSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/serversStopSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/serversStopSample.js +31 -0
  123. package/dist-esm/samples-dev/serversStopSample.js.map +1 -0
  124. package/dist-esm/samples-dev/serversUpdateSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/serversUpdateSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/serversUpdateSample.js +93 -0
  127. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -0
  128. package/dist-esm/src/index.d.ts +5 -0
  129. package/dist-esm/src/index.d.ts.map +1 -0
  130. package/dist-esm/src/index.js +12 -0
  131. package/dist-esm/src/index.js.map +1 -0
  132. package/dist-esm/src/lroImpl.d.ts +16 -0
  133. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  134. package/dist-esm/src/lroImpl.js +29 -0
  135. package/dist-esm/src/lroImpl.js.map +1 -0
  136. package/dist-esm/src/models/index.d.ts +1084 -0
  137. package/dist-esm/src/models/index.d.ts.map +1 -0
  138. package/dist-esm/src/models/index.js +101 -0
  139. package/dist-esm/src/models/index.js.map +1 -0
  140. package/dist-esm/src/models/mappers.d.ts +47 -0
  141. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  142. package/{esm → dist-esm/src}/models/mappers.js +730 -662
  143. package/dist-esm/src/models/mappers.js.map +1 -0
  144. package/dist-esm/src/models/parameters.d.ts +24 -0
  145. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  146. package/dist-esm/src/models/parameters.js +187 -0
  147. package/dist-esm/src/models/parameters.js.map +1 -0
  148. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts +28 -0
  149. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts.map +1 -0
  150. package/dist-esm/src/mySQLManagementFlexibleServerClient.js +61 -0
  151. package/dist-esm/src/mySQLManagementFlexibleServerClient.js.map +1 -0
  152. package/dist-esm/src/operations/backups.d.ts +46 -0
  153. package/dist-esm/src/operations/backups.d.ts.map +1 -0
  154. package/dist-esm/src/operations/backups.js +169 -0
  155. package/dist-esm/src/operations/backups.js.map +1 -0
  156. package/dist-esm/src/operations/checkNameAvailability.d.ts +20 -0
  157. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
  158. package/dist-esm/src/operations/checkNameAvailability.js +54 -0
  159. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
  160. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts +20 -0
  161. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts.map +1 -0
  162. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js +54 -0
  163. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js.map +1 -0
  164. package/dist-esm/src/operations/configurations.d.ts +81 -0
  165. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  166. package/dist-esm/src/operations/configurations.js +341 -0
  167. package/dist-esm/src/operations/configurations.js.map +1 -0
  168. package/dist-esm/src/operations/databases.d.ts +81 -0
  169. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  170. package/dist-esm/src/operations/databases.js +331 -0
  171. package/dist-esm/src/operations/databases.js.map +1 -0
  172. package/dist-esm/src/operations/firewallRules.d.ts +81 -0
  173. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  174. package/dist-esm/src/operations/firewallRules.js +331 -0
  175. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  176. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts +18 -0
  177. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  178. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +46 -0
  179. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js.map +1 -0
  180. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  181. package/dist-esm/src/operations/index.d.ts.map +1 -0
  182. package/{esm → dist-esm/src}/operations/index.js +1 -2
  183. package/dist-esm/src/operations/index.js.map +1 -0
  184. package/dist-esm/src/operations/locationBasedCapabilities.d.ts +35 -0
  185. package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -0
  186. package/dist-esm/src/operations/locationBasedCapabilities.js +132 -0
  187. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -0
  188. package/dist-esm/src/operations/operations.d.ts +32 -0
  189. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  190. package/dist-esm/src/operations/operations.js +120 -0
  191. package/dist-esm/src/operations/operations.js.map +1 -0
  192. package/dist-esm/src/operations/replicas.d.ts +38 -0
  193. package/dist-esm/src/operations/replicas.d.ts.map +1 -0
  194. package/dist-esm/src/operations/replicas.js +137 -0
  195. package/dist-esm/src/operations/replicas.js.map +1 -0
  196. package/dist-esm/src/operations/servers.d.ts +169 -0
  197. package/dist-esm/src/operations/servers.d.ts.map +1 -0
  198. package/dist-esm/src/operations/servers.js +792 -0
  199. package/dist-esm/src/operations/servers.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/backups.d.ts +21 -0
  201. package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -0
  202. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/backups.js} +2 -1
  203. package/dist-esm/src/operationsInterfaces/backups.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +12 -0
  205. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
  206. package/{src/models/getPrivateDnsZoneSuffixMappers.ts → dist-esm/src/operationsInterfaces/checkNameAvailability.js} +2 -7
  207. package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.d.ts +12 -0
  209. package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.d.ts.map +1 -0
  210. package/{src/models/checkNameAvailabilityMappers.ts → dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.js} +2 -8
  211. package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/configurations.d.ts +56 -0
  213. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  214. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -9
  215. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/databases.d.ts +56 -0
  217. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/databases.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +56 -0
  221. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +10 -0
  225. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  229. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  231. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +12 -0
  233. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  237. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  239. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  240. package/dist-esm/src/operationsInterfaces/replicas.d.ts +13 -0
  241. package/dist-esm/src/operationsInterfaces/replicas.d.ts.map +1 -0
  242. package/dist-esm/src/operationsInterfaces/replicas.js +9 -0
  243. package/dist-esm/src/operationsInterfaces/replicas.js.map +1 -0
  244. package/dist-esm/src/operationsInterfaces/servers.d.ts +133 -0
  245. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
  246. package/dist-esm/src/operationsInterfaces/servers.js +9 -0
  247. package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
  248. package/dist-esm/test/sampleTest.d.ts +2 -0
  249. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  250. package/dist-esm/test/sampleTest.js +40 -0
  251. package/dist-esm/test/sampleTest.js.map +1 -0
  252. package/package.json +83 -24
  253. package/review/arm-mysql-flexible.api.md +939 -0
  254. package/rollup.config.js +115 -30
  255. package/src/{models/checkVirtualNetworkSubnetUsageMappers.ts → index.ts} +4 -8
  256. package/src/lroImpl.ts +34 -0
  257. package/src/models/index.ts +927 -1445
  258. package/src/models/mappers.ts +765 -691
  259. package/src/models/parameters.ts +141 -49
  260. package/src/mySQLManagementFlexibleServerClient.ts +121 -0
  261. package/src/operations/backups.ts +156 -123
  262. package/src/operations/checkNameAvailability.ts +39 -57
  263. package/src/operations/checkVirtualNetworkSubnetUsage.ts +40 -57
  264. package/src/operations/configurations.ts +368 -212
  265. package/src/operations/databases.ts +355 -212
  266. package/src/operations/firewallRules.ts +355 -212
  267. package/src/operations/getPrivateDnsZoneSuffix.ts +27 -41
  268. package/src/operations/index.ts +1 -2
  269. package/src/operations/locationBasedCapabilities.ts +106 -80
  270. package/src/operations/operations.ts +85 -73
  271. package/src/operations/replicas.ts +133 -82
  272. package/src/operations/servers.ts +833 -454
  273. package/src/operationsInterfaces/backups.ts +44 -0
  274. package/src/operationsInterfaces/checkNameAvailability.ts +28 -0
  275. package/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.ts +28 -0
  276. package/src/operationsInterfaces/configurations.ts +116 -0
  277. package/src/operationsInterfaces/databases.ts +109 -0
  278. package/src/operationsInterfaces/firewallRules.ts +109 -0
  279. package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +23 -0
  280. package/src/operationsInterfaces/index.ts +19 -0
  281. package/src/operationsInterfaces/locationBasedCapabilities.ts +27 -0
  282. package/src/operationsInterfaces/operations.ts +22 -0
  283. package/src/operationsInterfaces/replicas.ts +26 -0
  284. package/src/operationsInterfaces/servers.ts +232 -0
  285. package/tsconfig.json +21 -7
  286. package/types/arm-mysql-flexible.d.ts +1627 -0
  287. package/types/tsdoc-metadata.json +11 -0
  288. package/dist/arm-mysql-flexible.js +0 -3773
  289. package/dist/arm-mysql-flexible.js.map +0 -1
  290. package/dist/arm-mysql-flexible.min.js +0 -1
  291. package/dist/arm-mysql-flexible.min.js.map +0 -1
  292. package/esm/models/backupsMappers.d.ts +0 -2
  293. package/esm/models/backupsMappers.d.ts.map +0 -1
  294. package/esm/models/backupsMappers.js +0 -9
  295. package/esm/models/backupsMappers.js.map +0 -1
  296. package/esm/models/checkNameAvailabilityMappers.d.ts +0 -2
  297. package/esm/models/checkNameAvailabilityMappers.d.ts.map +0 -1
  298. package/esm/models/checkNameAvailabilityMappers.js +0 -9
  299. package/esm/models/checkNameAvailabilityMappers.js.map +0 -1
  300. package/esm/models/checkVirtualNetworkSubnetUsageMappers.d.ts +0 -2
  301. package/esm/models/checkVirtualNetworkSubnetUsageMappers.d.ts.map +0 -1
  302. package/esm/models/checkVirtualNetworkSubnetUsageMappers.js +0 -9
  303. package/esm/models/checkVirtualNetworkSubnetUsageMappers.js.map +0 -1
  304. package/esm/models/configurationsMappers.d.ts +0 -2
  305. package/esm/models/configurationsMappers.d.ts.map +0 -1
  306. package/esm/models/configurationsMappers.js +0 -9
  307. package/esm/models/configurationsMappers.js.map +0 -1
  308. package/esm/models/databasesMappers.d.ts +0 -2
  309. package/esm/models/databasesMappers.d.ts.map +0 -1
  310. package/esm/models/databasesMappers.js +0 -9
  311. package/esm/models/databasesMappers.js.map +0 -1
  312. package/esm/models/firewallRulesMappers.d.ts +0 -2
  313. package/esm/models/firewallRulesMappers.d.ts.map +0 -1
  314. package/esm/models/firewallRulesMappers.js +0 -9
  315. package/esm/models/firewallRulesMappers.js.map +0 -1
  316. package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts +0 -2
  317. package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts.map +0 -1
  318. package/esm/models/getPrivateDnsZoneSuffixMappers.js +0 -9
  319. package/esm/models/getPrivateDnsZoneSuffixMappers.js.map +0 -1
  320. package/esm/models/index.d.ts +0 -1621
  321. package/esm/models/index.d.ts.map +0 -1
  322. package/esm/models/index.js.map +0 -1
  323. package/esm/models/locationBasedCapabilitiesMappers.d.ts +0 -2
  324. package/esm/models/locationBasedCapabilitiesMappers.d.ts.map +0 -1
  325. package/esm/models/locationBasedCapabilitiesMappers.js +0 -9
  326. package/esm/models/locationBasedCapabilitiesMappers.js.map +0 -1
  327. package/esm/models/mappers.d.ts +0 -46
  328. package/esm/models/mappers.d.ts.map +0 -1
  329. package/esm/models/mappers.js.map +0 -1
  330. package/esm/models/operationsMappers.d.ts +0 -2
  331. package/esm/models/operationsMappers.d.ts.map +0 -1
  332. package/esm/models/operationsMappers.js +0 -9
  333. package/esm/models/operationsMappers.js.map +0 -1
  334. package/esm/models/parameters.d.ts +0 -13
  335. package/esm/models/parameters.d.ts.map +0 -1
  336. package/esm/models/parameters.js +0 -130
  337. package/esm/models/parameters.js.map +0 -1
  338. package/esm/models/replicasMappers.d.ts +0 -2
  339. package/esm/models/replicasMappers.d.ts.map +0 -1
  340. package/esm/models/replicasMappers.js +0 -9
  341. package/esm/models/replicasMappers.js.map +0 -1
  342. package/esm/models/serversMappers.d.ts +0 -2
  343. package/esm/models/serversMappers.d.ts.map +0 -1
  344. package/esm/models/serversMappers.js +0 -9
  345. package/esm/models/serversMappers.js.map +0 -1
  346. package/esm/mySQLManagementClient.d.ts +0 -34
  347. package/esm/mySQLManagementClient.d.ts.map +0 -1
  348. package/esm/mySQLManagementClient.js +0 -47
  349. package/esm/mySQLManagementClient.js.map +0 -1
  350. package/esm/mySQLManagementClientContext.d.ts +0 -22
  351. package/esm/mySQLManagementClientContext.d.ts.map +0 -1
  352. package/esm/mySQLManagementClientContext.js +0 -60
  353. package/esm/mySQLManagementClientContext.js.map +0 -1
  354. package/esm/operations/backups.d.ts +0 -76
  355. package/esm/operations/backups.d.ts.map +0 -1
  356. package/esm/operations/backups.js +0 -119
  357. package/esm/operations/backups.js.map +0 -1
  358. package/esm/operations/checkNameAvailability.d.ts +0 -34
  359. package/esm/operations/checkNameAvailability.d.ts.map +0 -1
  360. package/esm/operations/checkNameAvailability.js +0 -61
  361. package/esm/operations/checkNameAvailability.js.map +0 -1
  362. package/esm/operations/checkVirtualNetworkSubnetUsage.d.ts +0 -34
  363. package/esm/operations/checkVirtualNetworkSubnetUsage.d.ts.map +0 -1
  364. package/esm/operations/checkVirtualNetworkSubnetUsage.js +0 -61
  365. package/esm/operations/checkVirtualNetworkSubnetUsage.js.map +0 -1
  366. package/esm/operations/configurations.d.ts +0 -115
  367. package/esm/operations/configurations.d.ts.map +0 -1
  368. package/esm/operations/configurations.js +0 -238
  369. package/esm/operations/configurations.js.map +0 -1
  370. package/esm/operations/databases.d.ts +0 -115
  371. package/esm/operations/databases.d.ts.map +0 -1
  372. package/esm/operations/databases.js +0 -237
  373. package/esm/operations/databases.js.map +0 -1
  374. package/esm/operations/firewallRules.d.ts +0 -115
  375. package/esm/operations/firewallRules.d.ts.map +0 -1
  376. package/esm/operations/firewallRules.js +0 -237
  377. package/esm/operations/firewallRules.js.map +0 -1
  378. package/esm/operations/getPrivateDnsZoneSuffix.d.ts +0 -28
  379. package/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +0 -1
  380. package/esm/operations/getPrivateDnsZoneSuffix.js +0 -50
  381. package/esm/operations/getPrivateDnsZoneSuffix.js.map +0 -1
  382. package/esm/operations/index.d.ts.map +0 -1
  383. package/esm/operations/index.js.map +0 -1
  384. package/esm/operations/locationBasedCapabilities.d.ts +0 -49
  385. package/esm/operations/locationBasedCapabilities.d.ts.map +0 -1
  386. package/esm/operations/locationBasedCapabilities.js +0 -84
  387. package/esm/operations/locationBasedCapabilities.js.map +0 -1
  388. package/esm/operations/operations.d.ts +0 -46
  389. package/esm/operations/operations.d.ts.map +0 -1
  390. package/esm/operations/operations.js +0 -79
  391. package/esm/operations/operations.js.map +0 -1
  392. package/esm/operations/replicas.d.ts +0 -52
  393. package/esm/operations/replicas.d.ts.map +0 -1
  394. package/esm/operations/replicas.js +0 -86
  395. package/esm/operations/replicas.js.map +0 -1
  396. package/esm/operations/servers.d.ts +0 -226
  397. package/esm/operations/servers.d.ts.map +0 -1
  398. package/esm/operations/servers.js +0 -541
  399. package/esm/operations/servers.js.map +0 -1
  400. package/src/models/backupsMappers.ts +0 -31
  401. package/src/models/configurationsMappers.ts +0 -33
  402. package/src/models/databasesMappers.ts +0 -31
  403. package/src/models/firewallRulesMappers.ts +0 -31
  404. package/src/models/locationBasedCapabilitiesMappers.ts +0 -19
  405. package/src/models/replicasMappers.ts +0 -31
  406. package/src/models/serversMappers.ts +0 -33
  407. package/src/mySQLManagementClient.ts +0 -67
  408. package/src/mySQLManagementClientContext.ts +0 -67
@@ -0,0 +1,1627 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** Storage Profile properties of a server */
8
+ export declare interface Backup {
9
+ /** Backup retention days for the server. */
10
+ backupRetentionDays?: number;
11
+ /** Whether or not geo redundant backup is enabled. */
12
+ geoRedundantBackup?: EnableStatusEnum;
13
+ /**
14
+ * Earliest restore point creation time (ISO8601 format)
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly earliestRestoreDate?: Date;
18
+ }
19
+
20
+ /** Interface representing a Backups. */
21
+ export declare interface Backups {
22
+ /**
23
+ * List all the backups for a given server.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param serverName The name of the server.
26
+ * @param options The options parameters.
27
+ */
28
+ listByServer(resourceGroupName: string, serverName: string, options?: BackupsListByServerOptionalParams): PagedAsyncIterableIterator<ServerBackup>;
29
+ /**
30
+ * List all the backups for a given server.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param serverName The name of the server.
33
+ * @param backupName The name of the backup.
34
+ * @param options The options parameters.
35
+ */
36
+ get(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsGetOptionalParams): Promise<BackupsGetResponse>;
37
+ }
38
+
39
+ /** Optional parameters. */
40
+ export declare interface BackupsGetOptionalParams extends coreClient.OperationOptions {
41
+ }
42
+
43
+ /** Contains response data for the get operation. */
44
+ export declare type BackupsGetResponse = ServerBackup;
45
+
46
+ /** Optional parameters. */
47
+ export declare interface BackupsListByServerNextOptionalParams extends coreClient.OperationOptions {
48
+ }
49
+
50
+ /** Contains response data for the listByServerNext operation. */
51
+ export declare type BackupsListByServerNextResponse = ServerBackupListResult;
52
+
53
+ /** Optional parameters. */
54
+ export declare interface BackupsListByServerOptionalParams extends coreClient.OperationOptions {
55
+ }
56
+
57
+ /** Contains response data for the listByServer operation. */
58
+ export declare type BackupsListByServerResponse = ServerBackupListResult;
59
+
60
+ /** location capability */
61
+ export declare interface CapabilitiesListResult {
62
+ /**
63
+ * A list of supported capabilities.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly value?: CapabilityProperties[];
67
+ /**
68
+ * Link to retrieve next page of results.
69
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
+ */
71
+ readonly nextLink?: string;
72
+ }
73
+
74
+ /** Location capabilities. */
75
+ export declare interface CapabilityProperties {
76
+ /**
77
+ * zone name
78
+ * NOTE: This property will not be serialized. It can only be populated by the server.
79
+ */
80
+ readonly zone?: string;
81
+ /**
82
+ * Supported high availability mode
83
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
+ */
85
+ readonly supportedHAMode?: string[];
86
+ /**
87
+ * supported geo backup regions
88
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
+ */
90
+ readonly supportedGeoBackupRegions?: string[];
91
+ /**
92
+ * A list of supported flexible server editions.
93
+ * NOTE: This property will not be serialized. It can only be populated by the server.
94
+ */
95
+ readonly supportedFlexibleServerEditions?: ServerEditionCapability[];
96
+ }
97
+
98
+ /** Interface representing a CheckNameAvailability. */
99
+ export declare interface CheckNameAvailability {
100
+ /**
101
+ * Check the availability of name for server
102
+ * @param locationName The name of the location.
103
+ * @param nameAvailabilityRequest The required parameters for checking if server name is available.
104
+ * @param options The options parameters.
105
+ */
106
+ execute(locationName: string, nameAvailabilityRequest: NameAvailabilityRequest, options?: CheckNameAvailabilityExecuteOptionalParams): Promise<CheckNameAvailabilityExecuteResponse>;
107
+ }
108
+
109
+ /** Optional parameters. */
110
+ export declare interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions {
111
+ }
112
+
113
+ /** Contains response data for the execute operation. */
114
+ export declare type CheckNameAvailabilityExecuteResponse = NameAvailability;
115
+
116
+ /** Interface representing a CheckVirtualNetworkSubnetUsage. */
117
+ export declare interface CheckVirtualNetworkSubnetUsage {
118
+ /**
119
+ * Get virtual network subnet usage for a given vNet resource id.
120
+ * @param locationName The name of the location.
121
+ * @param parameters The required parameters for creating or updating a server.
122
+ * @param options The options parameters.
123
+ */
124
+ execute(locationName: string, parameters: VirtualNetworkSubnetUsageParameter, options?: CheckVirtualNetworkSubnetUsageExecuteOptionalParams): Promise<CheckVirtualNetworkSubnetUsageExecuteResponse>;
125
+ }
126
+
127
+ /** Optional parameters. */
128
+ export declare interface CheckVirtualNetworkSubnetUsageExecuteOptionalParams extends coreClient.OperationOptions {
129
+ }
130
+
131
+ /** Contains response data for the execute operation. */
132
+ export declare type CheckVirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
133
+
134
+ /** An error response from the Batch service. */
135
+ export declare interface CloudError {
136
+ /** The resource management error response. */
137
+ error?: ErrorResponse;
138
+ }
139
+
140
+ /** Represents a Configuration. */
141
+ export declare type Configuration = ProxyResource & {
142
+ /**
143
+ * The system metadata relating to this resource.
144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
145
+ */
146
+ readonly systemData?: SystemData;
147
+ /** Value of the configuration. */
148
+ value?: string;
149
+ /**
150
+ * Description of the configuration.
151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
152
+ */
153
+ readonly description?: string;
154
+ /**
155
+ * Default value of the configuration.
156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
+ */
158
+ readonly defaultValue?: string;
159
+ /**
160
+ * Data type of the configuration.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
162
+ */
163
+ readonly dataType?: string;
164
+ /**
165
+ * Allowed values of the configuration.
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
167
+ */
168
+ readonly allowedValues?: string;
169
+ /** Source of the configuration. */
170
+ source?: ConfigurationSource;
171
+ /**
172
+ * If is the configuration read only.
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
174
+ */
175
+ readonly isReadOnly?: IsReadOnly;
176
+ /**
177
+ * If is the configuration pending restart or not.
178
+ * NOTE: This property will not be serialized. It can only be populated by the server.
179
+ */
180
+ readonly isConfigPendingRestart?: IsConfigPendingRestart;
181
+ /**
182
+ * If is the configuration dynamic.
183
+ * NOTE: This property will not be serialized. It can only be populated by the server.
184
+ */
185
+ readonly isDynamicConfig?: IsDynamicConfig;
186
+ };
187
+
188
+ /** Represents a Configuration. */
189
+ export declare interface ConfigurationForBatchUpdate {
190
+ /** Name of the configuration. */
191
+ name?: string;
192
+ /** Value of the configuration. */
193
+ value?: string;
194
+ /** Source of the configuration. */
195
+ source?: string;
196
+ }
197
+
198
+ /** A list of server configurations to update. */
199
+ export declare interface ConfigurationListForBatchUpdate {
200
+ /** The list of server configurations. */
201
+ value?: ConfigurationForBatchUpdate[];
202
+ }
203
+
204
+ /** A list of server configurations. */
205
+ export declare interface ConfigurationListResult {
206
+ /** The list of server configurations. */
207
+ value?: Configuration[];
208
+ /** The link used to get the next page of operations. */
209
+ nextLink?: string;
210
+ }
211
+
212
+ /** Interface representing a Configurations. */
213
+ export declare interface Configurations {
214
+ /**
215
+ * List all the configurations in a given server.
216
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
217
+ * @param serverName The name of the server.
218
+ * @param options The options parameters.
219
+ */
220
+ listByServer(resourceGroupName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<Configuration>;
221
+ /**
222
+ * Updates a configuration of a server.
223
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
224
+ * @param serverName The name of the server.
225
+ * @param configurationName The name of the server configuration.
226
+ * @param parameters The required parameters for updating a server configuration.
227
+ * @param options The options parameters.
228
+ */
229
+ beginUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationsUpdateResponse>, ConfigurationsUpdateResponse>>;
230
+ /**
231
+ * Updates a configuration of a server.
232
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
233
+ * @param serverName The name of the server.
234
+ * @param configurationName The name of the server configuration.
235
+ * @param parameters The required parameters for updating a server configuration.
236
+ * @param options The options parameters.
237
+ */
238
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsUpdateOptionalParams): Promise<ConfigurationsUpdateResponse>;
239
+ /**
240
+ * Gets information about a configuration of server.
241
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
242
+ * @param serverName The name of the server.
243
+ * @param configurationName The name of the server configuration.
244
+ * @param options The options parameters.
245
+ */
246
+ get(resourceGroupName: string, serverName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<ConfigurationsGetResponse>;
247
+ /**
248
+ * Update a list of configurations in a given server.
249
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
250
+ * @param serverName The name of the server.
251
+ * @param parameters The parameters for updating a list of server configuration.
252
+ * @param options The options parameters.
253
+ */
254
+ beginBatchUpdate(resourceGroupName: string, serverName: string, parameters: ConfigurationListForBatchUpdate, options?: ConfigurationsBatchUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationsBatchUpdateResponse>, ConfigurationsBatchUpdateResponse>>;
255
+ /**
256
+ * Update a list of configurations in a given server.
257
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
258
+ * @param serverName The name of the server.
259
+ * @param parameters The parameters for updating a list of server configuration.
260
+ * @param options The options parameters.
261
+ */
262
+ beginBatchUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ConfigurationListForBatchUpdate, options?: ConfigurationsBatchUpdateOptionalParams): Promise<ConfigurationsBatchUpdateResponse>;
263
+ }
264
+
265
+ /** Optional parameters. */
266
+ export declare interface ConfigurationsBatchUpdateOptionalParams extends coreClient.OperationOptions {
267
+ /** Delay to wait until next poll, in milliseconds. */
268
+ updateIntervalInMs?: number;
269
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
270
+ resumeFrom?: string;
271
+ }
272
+
273
+ /** Contains response data for the batchUpdate operation. */
274
+ export declare type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
275
+
276
+ /** Optional parameters. */
277
+ export declare interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
278
+ }
279
+
280
+ /** Contains response data for the get operation. */
281
+ export declare type ConfigurationsGetResponse = Configuration;
282
+
283
+ /** Optional parameters. */
284
+ export declare interface ConfigurationsListByServerNextOptionalParams extends coreClient.OperationOptions {
285
+ }
286
+
287
+ /** Contains response data for the listByServerNext operation. */
288
+ export declare type ConfigurationsListByServerNextResponse = ConfigurationListResult;
289
+
290
+ /** Optional parameters. */
291
+ export declare interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
292
+ }
293
+
294
+ /** Contains response data for the listByServer operation. */
295
+ export declare type ConfigurationsListByServerResponse = ConfigurationListResult;
296
+
297
+ /**
298
+ * Defines values for ConfigurationSource. \
299
+ * {@link KnownConfigurationSource} can be used interchangeably with ConfigurationSource,
300
+ * this enum contains the known values that the service supports.
301
+ * ### Known values supported by the service
302
+ * **system-default** \
303
+ * **user-override**
304
+ */
305
+ export declare type ConfigurationSource = string;
306
+
307
+ /** Optional parameters. */
308
+ export declare interface ConfigurationsUpdateOptionalParams extends coreClient.OperationOptions {
309
+ /** Delay to wait until next poll, in milliseconds. */
310
+ updateIntervalInMs?: number;
311
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
312
+ resumeFrom?: string;
313
+ }
314
+
315
+ /** Contains response data for the update operation. */
316
+ export declare type ConfigurationsUpdateResponse = Configuration;
317
+
318
+ /**
319
+ * Defines values for CreatedByType. \
320
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
321
+ * this enum contains the known values that the service supports.
322
+ * ### Known values supported by the service
323
+ * **User** \
324
+ * **Application** \
325
+ * **ManagedIdentity** \
326
+ * **Key**
327
+ */
328
+ export declare type CreatedByType = string;
329
+
330
+ /**
331
+ * Defines values for CreateMode. \
332
+ * {@link KnownCreateMode} can be used interchangeably with CreateMode,
333
+ * this enum contains the known values that the service supports.
334
+ * ### Known values supported by the service
335
+ * **Default** \
336
+ * **PointInTimeRestore** \
337
+ * **Replica** \
338
+ * **GeoRestore**
339
+ */
340
+ export declare type CreateMode = string;
341
+
342
+ /** Represents a Database. */
343
+ export declare type Database = ProxyResource & {
344
+ /**
345
+ * The system metadata relating to this resource.
346
+ * NOTE: This property will not be serialized. It can only be populated by the server.
347
+ */
348
+ readonly systemData?: SystemData;
349
+ /** The charset of the database. */
350
+ charset?: string;
351
+ /** The collation of the database. */
352
+ collation?: string;
353
+ };
354
+
355
+ /** A List of databases. */
356
+ export declare interface DatabaseListResult {
357
+ /** The list of databases housed in a server */
358
+ value?: Database[];
359
+ /** The link used to get the next page of operations. */
360
+ nextLink?: string;
361
+ }
362
+
363
+ /** Interface representing a Databases. */
364
+ export declare interface Databases {
365
+ /**
366
+ * List all the databases in a given server.
367
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
368
+ * @param serverName The name of the server.
369
+ * @param options The options parameters.
370
+ */
371
+ listByServer(resourceGroupName: string, serverName: string, options?: DatabasesListByServerOptionalParams): PagedAsyncIterableIterator<Database>;
372
+ /**
373
+ * Creates a new database or updates an existing database.
374
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
375
+ * @param serverName The name of the server.
376
+ * @param databaseName The name of the database.
377
+ * @param parameters The required parameters for creating or updating a database.
378
+ * @param options The options parameters.
379
+ */
380
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateOrUpdateResponse>, DatabasesCreateOrUpdateResponse>>;
381
+ /**
382
+ * Creates a new database or updates an existing database.
383
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
384
+ * @param serverName The name of the server.
385
+ * @param databaseName The name of the database.
386
+ * @param parameters The required parameters for creating or updating a database.
387
+ * @param options The options parameters.
388
+ */
389
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<DatabasesCreateOrUpdateResponse>;
390
+ /**
391
+ * Deletes a database.
392
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
393
+ * @param serverName The name of the server.
394
+ * @param databaseName The name of the database.
395
+ * @param options The options parameters.
396
+ */
397
+ beginDelete(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
398
+ /**
399
+ * Deletes a database.
400
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
401
+ * @param serverName The name of the server.
402
+ * @param databaseName The name of the database.
403
+ * @param options The options parameters.
404
+ */
405
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
406
+ /**
407
+ * Gets information about a database.
408
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
409
+ * @param serverName The name of the server.
410
+ * @param databaseName The name of the database.
411
+ * @param options The options parameters.
412
+ */
413
+ get(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
414
+ }
415
+
416
+ /** Optional parameters. */
417
+ export declare interface DatabasesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
418
+ /** Delay to wait until next poll, in milliseconds. */
419
+ updateIntervalInMs?: number;
420
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
421
+ resumeFrom?: string;
422
+ }
423
+
424
+ /** Contains response data for the createOrUpdate operation. */
425
+ export declare type DatabasesCreateOrUpdateResponse = Database;
426
+
427
+ /** Optional parameters. */
428
+ export declare interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
429
+ /** Delay to wait until next poll, in milliseconds. */
430
+ updateIntervalInMs?: number;
431
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
432
+ resumeFrom?: string;
433
+ }
434
+
435
+ /** Optional parameters. */
436
+ export declare interface DatabasesGetOptionalParams extends coreClient.OperationOptions {
437
+ }
438
+
439
+ /** Contains response data for the get operation. */
440
+ export declare type DatabasesGetResponse = Database;
441
+
442
+ /** Optional parameters. */
443
+ export declare interface DatabasesListByServerNextOptionalParams extends coreClient.OperationOptions {
444
+ }
445
+
446
+ /** Contains response data for the listByServerNext operation. */
447
+ export declare type DatabasesListByServerNextResponse = DatabaseListResult;
448
+
449
+ /** Optional parameters. */
450
+ export declare interface DatabasesListByServerOptionalParams extends coreClient.OperationOptions {
451
+ }
452
+
453
+ /** Contains response data for the listByServer operation. */
454
+ export declare type DatabasesListByServerResponse = DatabaseListResult;
455
+
456
+ /** The date encryption for cmk. */
457
+ export declare interface DataEncryption {
458
+ /** Primary user identity resource id */
459
+ primaryUserAssignedIdentityId?: string;
460
+ /** Primary key uri */
461
+ primaryKeyUri?: string;
462
+ /** Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup */
463
+ geoBackupUserAssignedIdentityId?: string;
464
+ /** Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup */
465
+ geoBackupKeyUri?: string;
466
+ /** The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. */
467
+ type?: DataEncryptionType;
468
+ }
469
+
470
+ /** Defines values for DataEncryptionType. */
471
+ export declare type DataEncryptionType = "AzureKeyVault" | "SystemManaged";
472
+
473
+ /** Delegated subnet usage data. */
474
+ export declare interface DelegatedSubnetUsage {
475
+ /**
476
+ * name of the subnet
477
+ * NOTE: This property will not be serialized. It can only be populated by the server.
478
+ */
479
+ readonly subnetName?: string;
480
+ /**
481
+ * Number of used delegated subnets
482
+ * NOTE: This property will not be serialized. It can only be populated by the server.
483
+ */
484
+ readonly usage?: number;
485
+ }
486
+
487
+ /**
488
+ * Defines values for EnableStatusEnum. \
489
+ * {@link KnownEnableStatusEnum} can be used interchangeably with EnableStatusEnum,
490
+ * this enum contains the known values that the service supports.
491
+ * ### Known values supported by the service
492
+ * **Enabled** \
493
+ * **Disabled**
494
+ */
495
+ export declare type EnableStatusEnum = string;
496
+
497
+ /** The resource management error additional info. */
498
+ export declare interface ErrorAdditionalInfo {
499
+ /**
500
+ * The additional info type.
501
+ * NOTE: This property will not be serialized. It can only be populated by the server.
502
+ */
503
+ readonly type?: string;
504
+ /**
505
+ * The additional info.
506
+ * NOTE: This property will not be serialized. It can only be populated by the server.
507
+ */
508
+ readonly info?: Record<string, unknown>;
509
+ }
510
+
511
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
512
+ export declare interface ErrorResponse {
513
+ /**
514
+ * The error code.
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
516
+ */
517
+ readonly code?: string;
518
+ /**
519
+ * The error message.
520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
+ */
522
+ readonly message?: string;
523
+ /**
524
+ * The error target.
525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
+ */
527
+ readonly target?: string;
528
+ /**
529
+ * The error details.
530
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
+ */
532
+ readonly details?: ErrorResponse[];
533
+ /**
534
+ * The error additional info.
535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
+ */
537
+ readonly additionalInfo?: ErrorAdditionalInfo[];
538
+ }
539
+
540
+ /** Represents a server firewall rule. */
541
+ export declare type FirewallRule = ProxyResource & {
542
+ /**
543
+ * The system metadata relating to this resource.
544
+ * NOTE: This property will not be serialized. It can only be populated by the server.
545
+ */
546
+ readonly systemData?: SystemData;
547
+ /** The start IP address of the server firewall rule. Must be IPv4 format. */
548
+ startIpAddress: string;
549
+ /** The end IP address of the server firewall rule. Must be IPv4 format. */
550
+ endIpAddress: string;
551
+ };
552
+
553
+ /** A list of firewall rules. */
554
+ export declare interface FirewallRuleListResult {
555
+ /** The list of firewall rules in a server. */
556
+ value?: FirewallRule[];
557
+ /** The link used to get the next page of operations. */
558
+ nextLink?: string;
559
+ }
560
+
561
+ /** Interface representing a FirewallRules. */
562
+ export declare interface FirewallRules {
563
+ /**
564
+ * List all the firewall rules in a given server.
565
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
566
+ * @param serverName The name of the server.
567
+ * @param options The options parameters.
568
+ */
569
+ listByServer(resourceGroupName: string, serverName: string, options?: FirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator<FirewallRule>;
570
+ /**
571
+ * Creates a new firewall rule or updates an existing firewall rule.
572
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
573
+ * @param serverName The name of the server.
574
+ * @param firewallRuleName The name of the server firewall rule.
575
+ * @param parameters The required parameters for creating or updating a firewall rule.
576
+ * @param options The options parameters.
577
+ */
578
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FirewallRulesCreateOrUpdateResponse>, FirewallRulesCreateOrUpdateResponse>>;
579
+ /**
580
+ * Creates a new firewall rule or updates an existing firewall rule.
581
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
582
+ * @param serverName The name of the server.
583
+ * @param firewallRuleName The name of the server firewall rule.
584
+ * @param parameters The required parameters for creating or updating a firewall rule.
585
+ * @param options The options parameters.
586
+ */
587
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
588
+ /**
589
+ * Deletes a firewall rule.
590
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
591
+ * @param serverName The name of the server.
592
+ * @param firewallRuleName The name of the server firewall rule.
593
+ * @param options The options parameters.
594
+ */
595
+ beginDelete(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
596
+ /**
597
+ * Deletes a firewall rule.
598
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
599
+ * @param serverName The name of the server.
600
+ * @param firewallRuleName The name of the server firewall rule.
601
+ * @param options The options parameters.
602
+ */
603
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>;
604
+ /**
605
+ * Gets information about a server firewall rule.
606
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
607
+ * @param serverName The name of the server.
608
+ * @param firewallRuleName The name of the server firewall rule.
609
+ * @param options The options parameters.
610
+ */
611
+ get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
612
+ }
613
+
614
+ /** Optional parameters. */
615
+ export declare interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
616
+ /** Delay to wait until next poll, in milliseconds. */
617
+ updateIntervalInMs?: number;
618
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
619
+ resumeFrom?: string;
620
+ }
621
+
622
+ /** Contains response data for the createOrUpdate operation. */
623
+ export declare type FirewallRulesCreateOrUpdateResponse = FirewallRule;
624
+
625
+ /** Optional parameters. */
626
+ export declare interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
627
+ /** Delay to wait until next poll, in milliseconds. */
628
+ updateIntervalInMs?: number;
629
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
630
+ resumeFrom?: string;
631
+ }
632
+
633
+ /** Optional parameters. */
634
+ export declare interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
635
+ }
636
+
637
+ /** Contains response data for the get operation. */
638
+ export declare type FirewallRulesGetResponse = FirewallRule;
639
+
640
+ /** Optional parameters. */
641
+ export declare interface FirewallRulesListByServerNextOptionalParams extends coreClient.OperationOptions {
642
+ }
643
+
644
+ /** Contains response data for the listByServerNext operation. */
645
+ export declare type FirewallRulesListByServerNextResponse = FirewallRuleListResult;
646
+
647
+ /** Optional parameters. */
648
+ export declare interface FirewallRulesListByServerOptionalParams extends coreClient.OperationOptions {
649
+ }
650
+
651
+ /** Contains response data for the listByServer operation. */
652
+ export declare type FirewallRulesListByServerResponse = FirewallRuleListResult;
653
+
654
+ /** Interface representing a GetPrivateDnsZoneSuffix. */
655
+ export declare interface GetPrivateDnsZoneSuffix {
656
+ /**
657
+ * Get private DNS zone suffix in the cloud.
658
+ * @param options The options parameters.
659
+ */
660
+ execute(options?: GetPrivateDnsZoneSuffixExecuteOptionalParams): Promise<GetPrivateDnsZoneSuffixExecuteResponse>;
661
+ }
662
+
663
+ /** Optional parameters. */
664
+ export declare interface GetPrivateDnsZoneSuffixExecuteOptionalParams extends coreClient.OperationOptions {
665
+ }
666
+
667
+ /** Contains response data for the execute operation. */
668
+ export declare type GetPrivateDnsZoneSuffixExecuteResponse = GetPrivateDnsZoneSuffixResponse;
669
+
670
+ /** The response of get private dns zone suffix. */
671
+ export declare interface GetPrivateDnsZoneSuffixResponse {
672
+ /** Represents the private DNS zone suffix. */
673
+ privateDnsZoneSuffix?: string;
674
+ }
675
+
676
+ /** Network related properties of a server */
677
+ export declare interface HighAvailability {
678
+ /** High availability mode for a server. */
679
+ mode?: HighAvailabilityMode;
680
+ /**
681
+ * The state of server high availability.
682
+ * NOTE: This property will not be serialized. It can only be populated by the server.
683
+ */
684
+ readonly state?: HighAvailabilityState;
685
+ /** Availability zone of the standby server. */
686
+ standbyAvailabilityZone?: string;
687
+ }
688
+
689
+ /**
690
+ * Defines values for HighAvailabilityMode. \
691
+ * {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode,
692
+ * this enum contains the known values that the service supports.
693
+ * ### Known values supported by the service
694
+ * **Disabled** \
695
+ * **ZoneRedundant** \
696
+ * **SameZone**
697
+ */
698
+ export declare type HighAvailabilityMode = string;
699
+
700
+ /**
701
+ * Defines values for HighAvailabilityState. \
702
+ * {@link KnownHighAvailabilityState} can be used interchangeably with HighAvailabilityState,
703
+ * this enum contains the known values that the service supports.
704
+ * ### Known values supported by the service
705
+ * **NotEnabled** \
706
+ * **CreatingStandby** \
707
+ * **Healthy** \
708
+ * **FailingOver** \
709
+ * **RemovingStandby**
710
+ */
711
+ export declare type HighAvailabilityState = string;
712
+
713
+ /** Properties to configure Identity for Bring your Own Keys */
714
+ export declare interface Identity {
715
+ /**
716
+ * ObjectId from the KeyVault
717
+ * NOTE: This property will not be serialized. It can only be populated by the server.
718
+ */
719
+ readonly principalId?: string;
720
+ /**
721
+ * TenantId from the KeyVault
722
+ * NOTE: This property will not be serialized. It can only be populated by the server.
723
+ */
724
+ readonly tenantId?: string;
725
+ /** Type of managed service identity. */
726
+ type?: "UserAssigned";
727
+ /** Metadata of user assigned identity. */
728
+ userAssignedIdentities?: {
729
+ [propertyName: string]: Record<string, unknown>;
730
+ };
731
+ }
732
+
733
+ /**
734
+ * Defines values for IsConfigPendingRestart. \
735
+ * {@link KnownIsConfigPendingRestart} can be used interchangeably with IsConfigPendingRestart,
736
+ * this enum contains the known values that the service supports.
737
+ * ### Known values supported by the service
738
+ * **True** \
739
+ * **False**
740
+ */
741
+ export declare type IsConfigPendingRestart = string;
742
+
743
+ /**
744
+ * Defines values for IsDynamicConfig. \
745
+ * {@link KnownIsDynamicConfig} can be used interchangeably with IsDynamicConfig,
746
+ * this enum contains the known values that the service supports.
747
+ * ### Known values supported by the service
748
+ * **True** \
749
+ * **False**
750
+ */
751
+ export declare type IsDynamicConfig = string;
752
+
753
+ /**
754
+ * Defines values for IsReadOnly. \
755
+ * {@link KnownIsReadOnly} can be used interchangeably with IsReadOnly,
756
+ * this enum contains the known values that the service supports.
757
+ * ### Known values supported by the service
758
+ * **True** \
759
+ * **False**
760
+ */
761
+ export declare type IsReadOnly = string;
762
+
763
+ /** Known values of {@link ConfigurationSource} that the service accepts. */
764
+ export declare enum KnownConfigurationSource {
765
+ SystemDefault = "system-default",
766
+ UserOverride = "user-override"
767
+ }
768
+
769
+ /** Known values of {@link CreatedByType} that the service accepts. */
770
+ export declare enum KnownCreatedByType {
771
+ User = "User",
772
+ Application = "Application",
773
+ ManagedIdentity = "ManagedIdentity",
774
+ Key = "Key"
775
+ }
776
+
777
+ /** Known values of {@link CreateMode} that the service accepts. */
778
+ export declare enum KnownCreateMode {
779
+ Default = "Default",
780
+ PointInTimeRestore = "PointInTimeRestore",
781
+ Replica = "Replica",
782
+ GeoRestore = "GeoRestore"
783
+ }
784
+
785
+ /** Known values of {@link EnableStatusEnum} that the service accepts. */
786
+ export declare enum KnownEnableStatusEnum {
787
+ Enabled = "Enabled",
788
+ Disabled = "Disabled"
789
+ }
790
+
791
+ /** Known values of {@link HighAvailabilityMode} that the service accepts. */
792
+ export declare enum KnownHighAvailabilityMode {
793
+ Disabled = "Disabled",
794
+ ZoneRedundant = "ZoneRedundant",
795
+ SameZone = "SameZone"
796
+ }
797
+
798
+ /** Known values of {@link HighAvailabilityState} that the service accepts. */
799
+ export declare enum KnownHighAvailabilityState {
800
+ NotEnabled = "NotEnabled",
801
+ CreatingStandby = "CreatingStandby",
802
+ Healthy = "Healthy",
803
+ FailingOver = "FailingOver",
804
+ RemovingStandby = "RemovingStandby"
805
+ }
806
+
807
+ /** Known values of {@link IsConfigPendingRestart} that the service accepts. */
808
+ export declare enum KnownIsConfigPendingRestart {
809
+ True = "True",
810
+ False = "False"
811
+ }
812
+
813
+ /** Known values of {@link IsDynamicConfig} that the service accepts. */
814
+ export declare enum KnownIsDynamicConfig {
815
+ True = "True",
816
+ False = "False"
817
+ }
818
+
819
+ /** Known values of {@link IsReadOnly} that the service accepts. */
820
+ export declare enum KnownIsReadOnly {
821
+ True = "True",
822
+ False = "False"
823
+ }
824
+
825
+ /** Known values of {@link ReplicationRole} that the service accepts. */
826
+ export declare enum KnownReplicationRole {
827
+ None = "None",
828
+ Source = "Source",
829
+ Replica = "Replica"
830
+ }
831
+
832
+ /** Known values of {@link ServerState} that the service accepts. */
833
+ export declare enum KnownServerState {
834
+ Ready = "Ready",
835
+ Dropping = "Dropping",
836
+ Disabled = "Disabled",
837
+ Starting = "Starting",
838
+ Stopping = "Stopping",
839
+ Stopped = "Stopped",
840
+ Updating = "Updating"
841
+ }
842
+
843
+ /** Known values of {@link ServerVersion} that the service accepts. */
844
+ export declare enum KnownServerVersion {
845
+ Five7 = "5.7",
846
+ Eight021 = "8.0.21"
847
+ }
848
+
849
+ /** Known values of {@link SkuTier} that the service accepts. */
850
+ export declare enum KnownSkuTier {
851
+ Burstable = "Burstable",
852
+ GeneralPurpose = "GeneralPurpose",
853
+ MemoryOptimized = "MemoryOptimized"
854
+ }
855
+
856
+ /** Interface representing a LocationBasedCapabilities. */
857
+ export declare interface LocationBasedCapabilities {
858
+ /**
859
+ * Get capabilities at specified location in a given subscription.
860
+ * @param locationName The name of the location.
861
+ * @param options The options parameters.
862
+ */
863
+ list(locationName: string, options?: LocationBasedCapabilitiesListOptionalParams): PagedAsyncIterableIterator<CapabilityProperties>;
864
+ }
865
+
866
+ /** Optional parameters. */
867
+ export declare interface LocationBasedCapabilitiesListNextOptionalParams extends coreClient.OperationOptions {
868
+ }
869
+
870
+ /** Contains response data for the listNext operation. */
871
+ export declare type LocationBasedCapabilitiesListNextResponse = CapabilitiesListResult;
872
+
873
+ /** Optional parameters. */
874
+ export declare interface LocationBasedCapabilitiesListOptionalParams extends coreClient.OperationOptions {
875
+ }
876
+
877
+ /** Contains response data for the list operation. */
878
+ export declare type LocationBasedCapabilitiesListResponse = CapabilitiesListResult;
879
+
880
+ /** Maintenance window of a server. */
881
+ export declare interface MaintenanceWindow {
882
+ /** indicates whether custom window is enabled or disabled */
883
+ customWindow?: string;
884
+ /** start hour for maintenance window */
885
+ startHour?: number;
886
+ /** start minute for maintenance window */
887
+ startMinute?: number;
888
+ /** day of week for maintenance window */
889
+ dayOfWeek?: number;
890
+ }
891
+
892
+ export declare class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {
893
+ $host: string;
894
+ apiVersion: string;
895
+ subscriptionId: string;
896
+ /**
897
+ * Initializes a new instance of the MySQLManagementFlexibleServerClient class.
898
+ * @param credentials Subscription credentials which uniquely identify client subscription.
899
+ * @param subscriptionId The ID of the target subscription.
900
+ * @param options The parameter options
901
+ */
902
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MySQLManagementFlexibleServerClientOptionalParams);
903
+ servers: Servers;
904
+ replicas: Replicas;
905
+ backups: Backups;
906
+ firewallRules: FirewallRules;
907
+ databases: Databases;
908
+ configurations: Configurations;
909
+ locationBasedCapabilities: LocationBasedCapabilities;
910
+ checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;
911
+ checkNameAvailability: CheckNameAvailability;
912
+ getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
913
+ operations: Operations;
914
+ }
915
+
916
+ /** Optional parameters. */
917
+ export declare interface MySQLManagementFlexibleServerClientOptionalParams extends coreClient.ServiceClientOptions {
918
+ /** server parameter */
919
+ $host?: string;
920
+ /** Api Version */
921
+ apiVersion?: string;
922
+ /** Overrides client endpoint. */
923
+ endpoint?: string;
924
+ }
925
+
926
+ /** Represents a resource name availability. */
927
+ export declare interface NameAvailability {
928
+ /** Error Message. */
929
+ message?: string;
930
+ /** Indicates whether the resource name is available. */
931
+ nameAvailable?: boolean;
932
+ /** Reason for name being unavailable. */
933
+ reason?: string;
934
+ }
935
+
936
+ /** Request from client to check resource name availability. */
937
+ export declare interface NameAvailabilityRequest {
938
+ /** Resource name to verify. */
939
+ name: string;
940
+ /** Resource type used for verification. */
941
+ type?: string;
942
+ }
943
+
944
+ /** Network related properties of a server */
945
+ export declare interface Network {
946
+ /**
947
+ * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
948
+ * NOTE: This property will not be serialized. It can only be populated by the server.
949
+ */
950
+ readonly publicNetworkAccess?: EnableStatusEnum;
951
+ /** Delegated subnet resource id used to setup vnet for a server. */
952
+ delegatedSubnetResourceId?: string;
953
+ /** Private DNS zone resource id. */
954
+ privateDnsZoneResourceId?: string;
955
+ }
956
+
957
+ /** REST API operation definition. */
958
+ export declare interface Operation {
959
+ /** The name of the operation being performed on this particular object. */
960
+ name?: string;
961
+ /** The localized display information for this particular operation or action. */
962
+ display?: OperationDisplay;
963
+ /** The intended executor of the operation. */
964
+ origin?: string;
965
+ /** Additional descriptions for the operation. */
966
+ properties?: {
967
+ [propertyName: string]: Record<string, unknown>;
968
+ };
969
+ }
970
+
971
+ /** Display metadata associated with the operation. */
972
+ export declare interface OperationDisplay {
973
+ /** Operation resource provider name. */
974
+ provider?: string;
975
+ /** Resource on which the operation is performed. */
976
+ resource?: string;
977
+ /** Localized friendly name for the operation. */
978
+ operation?: string;
979
+ /** Operation description. */
980
+ description?: string;
981
+ }
982
+
983
+ /** A list of resource provider operations. */
984
+ export declare interface OperationListResult {
985
+ /** Collection of available operation details */
986
+ value?: Operation[];
987
+ /** URL client should use to fetch the next page (per server side paging). */
988
+ nextLink?: string;
989
+ }
990
+
991
+ /** Interface representing a Operations. */
992
+ export declare interface Operations {
993
+ /**
994
+ * Lists all of the available REST API operations.
995
+ * @param options The options parameters.
996
+ */
997
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
998
+ }
999
+
1000
+ /** Optional parameters. */
1001
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1002
+ }
1003
+
1004
+ /** Contains response data for the listNext operation. */
1005
+ export declare type OperationsListNextResponse = OperationListResult;
1006
+
1007
+ /** Optional parameters. */
1008
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1009
+ }
1010
+
1011
+ /** Contains response data for the list operation. */
1012
+ export declare type OperationsListResponse = OperationListResult;
1013
+
1014
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1015
+ export declare type ProxyResource = Resource & {};
1016
+
1017
+ /** Interface representing a Replicas. */
1018
+ export declare interface Replicas {
1019
+ /**
1020
+ * List all the replicas for a given server.
1021
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1022
+ * @param serverName The name of the server.
1023
+ * @param options The options parameters.
1024
+ */
1025
+ listByServer(resourceGroupName: string, serverName: string, options?: ReplicasListByServerOptionalParams): PagedAsyncIterableIterator<Server>;
1026
+ }
1027
+
1028
+ /** Optional parameters. */
1029
+ export declare interface ReplicasListByServerNextOptionalParams extends coreClient.OperationOptions {
1030
+ }
1031
+
1032
+ /** Contains response data for the listByServerNext operation. */
1033
+ export declare type ReplicasListByServerNextResponse = ServerListResult;
1034
+
1035
+ /** Optional parameters. */
1036
+ export declare interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
1037
+ }
1038
+
1039
+ /** Contains response data for the listByServer operation. */
1040
+ export declare type ReplicasListByServerResponse = ServerListResult;
1041
+
1042
+ /**
1043
+ * Defines values for ReplicationRole. \
1044
+ * {@link KnownReplicationRole} can be used interchangeably with ReplicationRole,
1045
+ * this enum contains the known values that the service supports.
1046
+ * ### Known values supported by the service
1047
+ * **None** \
1048
+ * **Source** \
1049
+ * **Replica**
1050
+ */
1051
+ export declare type ReplicationRole = string;
1052
+
1053
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1054
+ export declare interface Resource {
1055
+ /**
1056
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1057
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1058
+ */
1059
+ readonly id?: string;
1060
+ /**
1061
+ * The name of the resource
1062
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1063
+ */
1064
+ readonly name?: string;
1065
+ /**
1066
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1067
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1068
+ */
1069
+ readonly type?: string;
1070
+ }
1071
+
1072
+ /** Represents a server. */
1073
+ export declare type Server = TrackedResource & {
1074
+ /** The cmk identity for the server. */
1075
+ identity?: Identity;
1076
+ /** The SKU (pricing tier) of the server. */
1077
+ sku?: Sku;
1078
+ /**
1079
+ * The system metadata relating to this resource.
1080
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1081
+ */
1082
+ readonly systemData?: SystemData;
1083
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
1084
+ administratorLogin?: string;
1085
+ /**
1086
+ * The password of the administrator login (required for server creation).
1087
+ * This value contains a credential. Consider obscuring before showing to users
1088
+ */
1089
+ administratorLoginPassword?: string;
1090
+ /** Server version. */
1091
+ version?: ServerVersion;
1092
+ /** availability Zone information of the server. */
1093
+ availabilityZone?: string;
1094
+ /** The mode to create a new MySQL server. */
1095
+ createMode?: CreateMode;
1096
+ /** The source MySQL server id. */
1097
+ sourceServerResourceId?: string;
1098
+ /** Restore point creation time (ISO8601 format), specifying the time to restore from. */
1099
+ restorePointInTime?: Date;
1100
+ /** The replication role. */
1101
+ replicationRole?: ReplicationRole;
1102
+ /**
1103
+ * The maximum number of replicas that a primary server can have.
1104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1105
+ */
1106
+ readonly replicaCapacity?: number;
1107
+ /** The Data Encryption for CMK. */
1108
+ dataEncryption?: DataEncryption;
1109
+ /**
1110
+ * The state of a server.
1111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1112
+ */
1113
+ readonly state?: ServerState;
1114
+ /**
1115
+ * The fully qualified domain name of a server.
1116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1117
+ */
1118
+ readonly fullyQualifiedDomainName?: string;
1119
+ /** Storage related properties of a server. */
1120
+ storage?: Storage_2;
1121
+ /** Backup related properties of a server. */
1122
+ backup?: Backup;
1123
+ /** High availability related properties of a server. */
1124
+ highAvailability?: HighAvailability;
1125
+ /** Network related properties of a server. */
1126
+ network?: Network;
1127
+ /** Maintenance window of a server. */
1128
+ maintenanceWindow?: MaintenanceWindow;
1129
+ };
1130
+
1131
+ /** Server backup properties */
1132
+ export declare type ServerBackup = ProxyResource & {
1133
+ /**
1134
+ * The system metadata relating to this resource.
1135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1136
+ */
1137
+ readonly systemData?: SystemData;
1138
+ /** Backup type. */
1139
+ backupType?: string;
1140
+ /** Backup completed time (ISO8601 format). */
1141
+ completedTime?: Date;
1142
+ /** Backup source */
1143
+ source?: string;
1144
+ };
1145
+
1146
+ /** A list of server backups. */
1147
+ export declare interface ServerBackupListResult {
1148
+ /** The list of backups of a server. */
1149
+ value?: ServerBackup[];
1150
+ /** The link used to get the next page of operations. */
1151
+ nextLink?: string;
1152
+ }
1153
+
1154
+ /** Server edition capabilities. */
1155
+ export declare interface ServerEditionCapability {
1156
+ /**
1157
+ * Server edition name
1158
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1159
+ */
1160
+ readonly name?: string;
1161
+ /**
1162
+ * A list of supported storage editions
1163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1164
+ */
1165
+ readonly supportedStorageEditions?: StorageEditionCapability[];
1166
+ /**
1167
+ * A list of supported server versions.
1168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1169
+ */
1170
+ readonly supportedServerVersions?: ServerVersionCapability[];
1171
+ }
1172
+
1173
+ /** Parameters allowed to update for a server. */
1174
+ export declare interface ServerForUpdate {
1175
+ /** The cmk identity for the server. */
1176
+ identity?: Identity;
1177
+ /** The SKU (pricing tier) of the server. */
1178
+ sku?: Sku;
1179
+ /** Application-specific metadata in the form of key-value pairs. */
1180
+ tags?: {
1181
+ [propertyName: string]: string;
1182
+ };
1183
+ /**
1184
+ * The password of the administrator login.
1185
+ * This value contains a credential. Consider obscuring before showing to users
1186
+ */
1187
+ administratorLoginPassword?: string;
1188
+ /** Storage related properties of a server. */
1189
+ storage?: Storage_2;
1190
+ /** Backup related properties of a server. */
1191
+ backup?: Backup;
1192
+ /** High availability related properties of a server. */
1193
+ highAvailability?: HighAvailability;
1194
+ /** Maintenance window of a server. */
1195
+ maintenanceWindow?: MaintenanceWindow;
1196
+ /** The replication role of the server. */
1197
+ replicationRole?: ReplicationRole;
1198
+ /** The Data Encryption for CMK. */
1199
+ dataEncryption?: DataEncryption;
1200
+ }
1201
+
1202
+ /** A list of servers. */
1203
+ export declare interface ServerListResult {
1204
+ /** The list of servers */
1205
+ value?: Server[];
1206
+ /** The link used to get the next page of operations. */
1207
+ nextLink?: string;
1208
+ }
1209
+
1210
+ /** Server restart parameters. */
1211
+ export declare interface ServerRestartParameter {
1212
+ /** Whether or not failover to standby server when restarting a server with high availability enabled. */
1213
+ restartWithFailover?: EnableStatusEnum;
1214
+ /** The maximum allowed failover time in seconds. */
1215
+ maxFailoverSeconds?: number;
1216
+ }
1217
+
1218
+ /** Interface representing a Servers. */
1219
+ export declare interface Servers {
1220
+ /**
1221
+ * List all the servers in a given resource group.
1222
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1223
+ * @param options The options parameters.
1224
+ */
1225
+ listByResourceGroup(resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Server>;
1226
+ /**
1227
+ * List all the servers in a given subscription.
1228
+ * @param options The options parameters.
1229
+ */
1230
+ list(options?: ServersListOptionalParams): PagedAsyncIterableIterator<Server>;
1231
+ /**
1232
+ * Creates a new server or updates an existing server. The update action will overwrite the existing
1233
+ * server.
1234
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1235
+ * @param serverName The name of the server.
1236
+ * @param parameters The required parameters for creating or updating a server.
1237
+ * @param options The options parameters.
1238
+ */
1239
+ beginCreate(resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOptionalParams): Promise<PollerLike<PollOperationState<ServersCreateResponse>, ServersCreateResponse>>;
1240
+ /**
1241
+ * Creates a new server or updates an existing server. The update action will overwrite the existing
1242
+ * server.
1243
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1244
+ * @param serverName The name of the server.
1245
+ * @param parameters The required parameters for creating or updating a server.
1246
+ * @param options The options parameters.
1247
+ */
1248
+ beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOptionalParams): Promise<ServersCreateResponse>;
1249
+ /**
1250
+ * Updates an existing server. The request body can contain one to many of the properties present in
1251
+ * the normal server definition.
1252
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1253
+ * @param serverName The name of the server.
1254
+ * @param parameters The required parameters for updating a server.
1255
+ * @param options The options parameters.
1256
+ */
1257
+ beginUpdate(resourceGroupName: string, serverName: string, parameters: ServerForUpdate, options?: ServersUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServersUpdateResponse>, ServersUpdateResponse>>;
1258
+ /**
1259
+ * Updates an existing server. The request body can contain one to many of the properties present in
1260
+ * the normal server definition.
1261
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1262
+ * @param serverName The name of the server.
1263
+ * @param parameters The required parameters for updating a server.
1264
+ * @param options The options parameters.
1265
+ */
1266
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ServerForUpdate, options?: ServersUpdateOptionalParams): Promise<ServersUpdateResponse>;
1267
+ /**
1268
+ * Deletes a server.
1269
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1270
+ * @param serverName The name of the server.
1271
+ * @param options The options parameters.
1272
+ */
1273
+ beginDelete(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1274
+ /**
1275
+ * Deletes a server.
1276
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1277
+ * @param serverName The name of the server.
1278
+ * @param options The options parameters.
1279
+ */
1280
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<void>;
1281
+ /**
1282
+ * Gets information about a server.
1283
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1284
+ * @param serverName The name of the server.
1285
+ * @param options The options parameters.
1286
+ */
1287
+ get(resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ServersGetResponse>;
1288
+ /**
1289
+ * Manual failover a server.
1290
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1291
+ * @param serverName The name of the server.
1292
+ * @param options The options parameters.
1293
+ */
1294
+ beginFailover(resourceGroupName: string, serverName: string, options?: ServersFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1295
+ /**
1296
+ * Manual failover a server.
1297
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1298
+ * @param serverName The name of the server.
1299
+ * @param options The options parameters.
1300
+ */
1301
+ beginFailoverAndWait(resourceGroupName: string, serverName: string, options?: ServersFailoverOptionalParams): Promise<void>;
1302
+ /**
1303
+ * Restarts a server.
1304
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1305
+ * @param serverName The name of the server.
1306
+ * @param parameters The required parameters for restarting a server.
1307
+ * @param options The options parameters.
1308
+ */
1309
+ beginRestart(resourceGroupName: string, serverName: string, parameters: ServerRestartParameter, options?: ServersRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1310
+ /**
1311
+ * Restarts a server.
1312
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1313
+ * @param serverName The name of the server.
1314
+ * @param parameters The required parameters for restarting a server.
1315
+ * @param options The options parameters.
1316
+ */
1317
+ beginRestartAndWait(resourceGroupName: string, serverName: string, parameters: ServerRestartParameter, options?: ServersRestartOptionalParams): Promise<void>;
1318
+ /**
1319
+ * Starts a server.
1320
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1321
+ * @param serverName The name of the server.
1322
+ * @param options The options parameters.
1323
+ */
1324
+ beginStart(resourceGroupName: string, serverName: string, options?: ServersStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1325
+ /**
1326
+ * Starts a server.
1327
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1328
+ * @param serverName The name of the server.
1329
+ * @param options The options parameters.
1330
+ */
1331
+ beginStartAndWait(resourceGroupName: string, serverName: string, options?: ServersStartOptionalParams): Promise<void>;
1332
+ /**
1333
+ * Stops a server.
1334
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1335
+ * @param serverName The name of the server.
1336
+ * @param options The options parameters.
1337
+ */
1338
+ beginStop(resourceGroupName: string, serverName: string, options?: ServersStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1339
+ /**
1340
+ * Stops a server.
1341
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1342
+ * @param serverName The name of the server.
1343
+ * @param options The options parameters.
1344
+ */
1345
+ beginStopAndWait(resourceGroupName: string, serverName: string, options?: ServersStopOptionalParams): Promise<void>;
1346
+ }
1347
+
1348
+ /** Optional parameters. */
1349
+ export declare interface ServersCreateOptionalParams extends coreClient.OperationOptions {
1350
+ /** Delay to wait until next poll, in milliseconds. */
1351
+ updateIntervalInMs?: number;
1352
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1353
+ resumeFrom?: string;
1354
+ }
1355
+
1356
+ /** Contains response data for the create operation. */
1357
+ export declare type ServersCreateResponse = Server;
1358
+
1359
+ /** Optional parameters. */
1360
+ export declare interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
1361
+ /** Delay to wait until next poll, in milliseconds. */
1362
+ updateIntervalInMs?: number;
1363
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1364
+ resumeFrom?: string;
1365
+ }
1366
+
1367
+ /** Optional parameters. */
1368
+ export declare interface ServersFailoverOptionalParams 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
+ }
1374
+
1375
+ /** Optional parameters. */
1376
+ export declare interface ServersGetOptionalParams extends coreClient.OperationOptions {
1377
+ }
1378
+
1379
+ /** Contains response data for the get operation. */
1380
+ export declare type ServersGetResponse = Server;
1381
+
1382
+ /** Optional parameters. */
1383
+ export declare interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1384
+ }
1385
+
1386
+ /** Contains response data for the listByResourceGroupNext operation. */
1387
+ export declare type ServersListByResourceGroupNextResponse = ServerListResult;
1388
+
1389
+ /** Optional parameters. */
1390
+ export declare interface ServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1391
+ }
1392
+
1393
+ /** Contains response data for the listByResourceGroup operation. */
1394
+ export declare type ServersListByResourceGroupResponse = ServerListResult;
1395
+
1396
+ /** Optional parameters. */
1397
+ export declare interface ServersListNextOptionalParams extends coreClient.OperationOptions {
1398
+ }
1399
+
1400
+ /** Contains response data for the listNext operation. */
1401
+ export declare type ServersListNextResponse = ServerListResult;
1402
+
1403
+ /** Optional parameters. */
1404
+ export declare interface ServersListOptionalParams extends coreClient.OperationOptions {
1405
+ }
1406
+
1407
+ /** Contains response data for the list operation. */
1408
+ export declare type ServersListResponse = ServerListResult;
1409
+
1410
+ /** Optional parameters. */
1411
+ export declare interface ServersRestartOptionalParams extends coreClient.OperationOptions {
1412
+ /** Delay to wait until next poll, in milliseconds. */
1413
+ updateIntervalInMs?: number;
1414
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1415
+ resumeFrom?: string;
1416
+ }
1417
+
1418
+ /** Optional parameters. */
1419
+ export declare interface ServersStartOptionalParams extends coreClient.OperationOptions {
1420
+ /** Delay to wait until next poll, in milliseconds. */
1421
+ updateIntervalInMs?: number;
1422
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1423
+ resumeFrom?: string;
1424
+ }
1425
+
1426
+ /** Optional parameters. */
1427
+ export declare interface ServersStopOptionalParams extends coreClient.OperationOptions {
1428
+ /** Delay to wait until next poll, in milliseconds. */
1429
+ updateIntervalInMs?: number;
1430
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1431
+ resumeFrom?: string;
1432
+ }
1433
+
1434
+ /**
1435
+ * Defines values for ServerState. \
1436
+ * {@link KnownServerState} can be used interchangeably with ServerState,
1437
+ * this enum contains the known values that the service supports.
1438
+ * ### Known values supported by the service
1439
+ * **Ready** \
1440
+ * **Dropping** \
1441
+ * **Disabled** \
1442
+ * **Starting** \
1443
+ * **Stopping** \
1444
+ * **Stopped** \
1445
+ * **Updating**
1446
+ */
1447
+ export declare type ServerState = string;
1448
+
1449
+ /** Optional parameters. */
1450
+ export declare interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
1451
+ /** Delay to wait until next poll, in milliseconds. */
1452
+ updateIntervalInMs?: number;
1453
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1454
+ resumeFrom?: string;
1455
+ }
1456
+
1457
+ /** Contains response data for the update operation. */
1458
+ export declare type ServersUpdateResponse = Server;
1459
+
1460
+ /**
1461
+ * Defines values for ServerVersion. \
1462
+ * {@link KnownServerVersion} can be used interchangeably with ServerVersion,
1463
+ * this enum contains the known values that the service supports.
1464
+ * ### Known values supported by the service
1465
+ * **5.7** \
1466
+ * **8.0.21**
1467
+ */
1468
+ export declare type ServerVersion = string;
1469
+
1470
+ /** Server version capabilities. */
1471
+ export declare interface ServerVersionCapability {
1472
+ /**
1473
+ * server version
1474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1475
+ */
1476
+ readonly name?: string;
1477
+ /**
1478
+ * A list of supported Skus
1479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1480
+ */
1481
+ readonly supportedSkus?: SkuCapability[];
1482
+ }
1483
+
1484
+ /** Billing information related properties of a server. */
1485
+ export declare interface Sku {
1486
+ /** The name of the sku, e.g. Standard_D32s_v3. */
1487
+ name: string;
1488
+ /** The tier of the particular SKU, e.g. GeneralPurpose. */
1489
+ tier: SkuTier;
1490
+ }
1491
+
1492
+ /** Sku capability */
1493
+ export declare interface SkuCapability {
1494
+ /**
1495
+ * vCore name
1496
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1497
+ */
1498
+ readonly name?: string;
1499
+ /**
1500
+ * supported vCores
1501
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1502
+ */
1503
+ readonly vCores?: number;
1504
+ /**
1505
+ * supported IOPS
1506
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1507
+ */
1508
+ readonly supportedIops?: number;
1509
+ /**
1510
+ * supported memory per vCore in MB
1511
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1512
+ */
1513
+ readonly supportedMemoryPerVCoreMB?: number;
1514
+ }
1515
+
1516
+ /**
1517
+ * Defines values for SkuTier. \
1518
+ * {@link KnownSkuTier} can be used interchangeably with SkuTier,
1519
+ * this enum contains the known values that the service supports.
1520
+ * ### Known values supported by the service
1521
+ * **Burstable** \
1522
+ * **GeneralPurpose** \
1523
+ * **MemoryOptimized**
1524
+ */
1525
+ export declare type SkuTier = string;
1526
+
1527
+ /** Storage Profile properties of a server */
1528
+ declare interface Storage_2 {
1529
+ /** Max storage size allowed for a server. */
1530
+ storageSizeGB?: number;
1531
+ /** Storage IOPS for a server. */
1532
+ iops?: number;
1533
+ /** Enable Storage Auto Grow or not. */
1534
+ autoGrow?: EnableStatusEnum;
1535
+ /**
1536
+ * The sku name of the server storage.
1537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1538
+ */
1539
+ readonly storageSku?: string;
1540
+ }
1541
+ export { Storage_2 as Storage }
1542
+
1543
+ /** storage edition capability */
1544
+ export declare interface StorageEditionCapability {
1545
+ /**
1546
+ * storage edition name
1547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1548
+ */
1549
+ readonly name?: string;
1550
+ /**
1551
+ * The minimal supported storage size.
1552
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1553
+ */
1554
+ readonly minStorageSize?: number;
1555
+ /**
1556
+ * The maximum supported storage size.
1557
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1558
+ */
1559
+ readonly maxStorageSize?: number;
1560
+ /**
1561
+ * Minimal backup retention days
1562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1563
+ */
1564
+ readonly minBackupRetentionDays?: number;
1565
+ /**
1566
+ * Maximum backup retention days
1567
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1568
+ */
1569
+ readonly maxBackupRetentionDays?: number;
1570
+ }
1571
+
1572
+ /** Metadata pertaining to creation and last modification of the resource. */
1573
+ export declare interface SystemData {
1574
+ /** The identity that created the resource. */
1575
+ createdBy?: string;
1576
+ /** The type of identity that created the resource. */
1577
+ createdByType?: CreatedByType;
1578
+ /** The timestamp of resource creation (UTC). */
1579
+ createdAt?: Date;
1580
+ /** The identity that last modified the resource. */
1581
+ lastModifiedBy?: string;
1582
+ /** The type of identity that last modified the resource. */
1583
+ lastModifiedByType?: CreatedByType;
1584
+ /** The timestamp of resource last modification (UTC) */
1585
+ lastModifiedAt?: Date;
1586
+ }
1587
+
1588
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1589
+ export declare type TrackedResource = Resource & {
1590
+ /** Resource tags. */
1591
+ tags?: {
1592
+ [propertyName: string]: string;
1593
+ };
1594
+ /** The geo-location where the resource lives */
1595
+ location: string;
1596
+ };
1597
+
1598
+ /** Metadata of user assigned identity. */
1599
+ export declare interface UserAssignedIdentity {
1600
+ /**
1601
+ * Principal Id of user assigned identity
1602
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1603
+ */
1604
+ readonly principalId?: string;
1605
+ /**
1606
+ * Client Id of user assigned identity
1607
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1608
+ */
1609
+ readonly clientId?: string;
1610
+ }
1611
+
1612
+ /** Virtual network subnet usage parameter */
1613
+ export declare interface VirtualNetworkSubnetUsageParameter {
1614
+ /** Virtual network resource id. */
1615
+ virtualNetworkResourceId?: string;
1616
+ }
1617
+
1618
+ /** Virtual network subnet usage data. */
1619
+ export declare interface VirtualNetworkSubnetUsageResult {
1620
+ /**
1621
+ * A list of delegated subnet usage
1622
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1623
+ */
1624
+ readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
1625
+ }
1626
+
1627
+ export { }