@azure/arm-mysql-flexible 4.0.0-beta.1 → 4.0.0-beta.2

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 (336) hide show
  1. package/CHANGELOG.md +234 -5
  2. package/LICENSE +1 -1
  3. package/dist/index.js +3909 -1522
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/advancedThreatProtectionSettingsGetSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/advancedThreatProtectionSettingsGetSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/advancedThreatProtectionSettingsGetSample.js +40 -0
  10. package/dist-esm/samples-dev/advancedThreatProtectionSettingsGetSample.js.map +1 -0
  11. package/dist-esm/samples-dev/advancedThreatProtectionSettingsListSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/advancedThreatProtectionSettingsListSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/advancedThreatProtectionSettingsListSample.js +55 -0
  14. package/dist-esm/samples-dev/advancedThreatProtectionSettingsListSample.js.map +1 -0
  15. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdatePutSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdatePutSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdatePutSample.js +62 -0
  18. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdatePutSample.js.map +1 -0
  19. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdateSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdateSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdateSample.js +62 -0
  22. package/dist-esm/samples-dev/advancedThreatProtectionSettingsUpdateSample.js.map +1 -0
  23. package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.js +3 -3
  24. package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.js.map +1 -1
  25. package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.js +1 -1
  26. package/dist-esm/samples-dev/azureAdAdministratorsGetSample.js +1 -1
  27. package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.js +5 -10
  28. package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.js.map +1 -1
  29. package/dist-esm/samples-dev/backupAndExportCreateSample.js +4 -4
  30. package/dist-esm/samples-dev/backupAndExportCreateSample.js.map +1 -1
  31. package/dist-esm/samples-dev/backupAndExportValidateBackupSample.js +1 -1
  32. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  33. package/dist-esm/samples-dev/backupsListByServerSample.js +5 -10
  34. package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
  35. package/dist-esm/samples-dev/backupsPutSample.js +1 -1
  36. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +3 -3
  37. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js.map +1 -1
  38. package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.js +3 -3
  39. package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js +3 -3
  41. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js.map +1 -1
  42. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js +4 -4
  43. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.js +2 -2
  45. package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  47. package/dist-esm/samples-dev/configurationsListByServerSample.js +6 -11
  48. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  49. package/dist-esm/samples-dev/configurationsUpdateSample.js +2 -2
  50. package/dist-esm/samples-dev/configurationsUpdateSample.js.map +1 -1
  51. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +3 -3
  52. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js.map +1 -1
  53. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  54. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  55. package/dist-esm/samples-dev/databasesListByServerSample.js +5 -10
  56. package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -1
  57. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +3 -3
  58. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -1
  59. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  60. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  61. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +5 -10
  62. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
  63. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +2 -4
  64. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -1
  65. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js +5 -10
  66. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js.map +1 -1
  67. package/dist-esm/samples-dev/locationBasedCapabilitySetGetSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/locationBasedCapabilitySetGetSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/locationBasedCapabilitySetGetSample.js +39 -0
  70. package/dist-esm/samples-dev/locationBasedCapabilitySetGetSample.js.map +1 -0
  71. package/dist-esm/samples-dev/locationBasedCapabilitySetListSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/locationBasedCapabilitySetListSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/locationBasedCapabilitySetListSample.js +54 -0
  74. package/dist-esm/samples-dev/locationBasedCapabilitySetListSample.js.map +1 -0
  75. package/dist-esm/samples-dev/logFilesListByServerSample.js +5 -10
  76. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
  77. package/dist-esm/samples-dev/longRunningBackupCreateSample.d.ts +2 -0
  78. package/dist-esm/samples-dev/longRunningBackupCreateSample.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/longRunningBackupCreateSample.js +40 -0
  80. package/dist-esm/samples-dev/longRunningBackupCreateSample.js.map +1 -0
  81. package/dist-esm/samples-dev/longRunningBackupsGetSample.d.ts +2 -0
  82. package/dist-esm/samples-dev/longRunningBackupsGetSample.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/longRunningBackupsGetSample.js +40 -0
  84. package/dist-esm/samples-dev/longRunningBackupsGetSample.js.map +1 -0
  85. package/dist-esm/samples-dev/longRunningBackupsListSample.d.ts +2 -0
  86. package/dist-esm/samples-dev/longRunningBackupsListSample.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/longRunningBackupsListSample.js +55 -0
  88. package/dist-esm/samples-dev/longRunningBackupsListSample.js.map +1 -0
  89. package/dist-esm/samples-dev/maintenancesListSample.d.ts +2 -0
  90. package/dist-esm/samples-dev/maintenancesListSample.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/maintenancesListSample.js +55 -0
  92. package/dist-esm/samples-dev/maintenancesListSample.js.map +1 -0
  93. package/dist-esm/samples-dev/maintenancesReadSample.d.ts +2 -0
  94. package/dist-esm/samples-dev/maintenancesReadSample.d.ts.map +1 -0
  95. package/dist-esm/samples-dev/maintenancesReadSample.js +40 -0
  96. package/dist-esm/samples-dev/maintenancesReadSample.js.map +1 -0
  97. package/dist-esm/samples-dev/maintenancesUpdateSample.d.ts +2 -0
  98. package/dist-esm/samples-dev/maintenancesUpdateSample.d.ts.map +1 -0
  99. package/dist-esm/samples-dev/maintenancesUpdateSample.js +44 -0
  100. package/dist-esm/samples-dev/maintenancesUpdateSample.js.map +1 -0
  101. package/dist-esm/samples-dev/operationProgressGetSample.d.ts +2 -0
  102. package/dist-esm/samples-dev/operationProgressGetSample.d.ts.map +1 -0
  103. package/dist-esm/samples-dev/operationProgressGetSample.js +58 -0
  104. package/dist-esm/samples-dev/operationProgressGetSample.js.map +1 -0
  105. package/dist-esm/samples-dev/operationResultsGetSample.d.ts +2 -0
  106. package/dist-esm/samples-dev/operationResultsGetSample.d.ts.map +1 -0
  107. package/dist-esm/samples-dev/operationResultsGetSample.js +39 -0
  108. package/dist-esm/samples-dev/operationResultsGetSample.js.map +1 -0
  109. package/dist-esm/samples-dev/operationsListSample.js +5 -10
  110. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  111. package/dist-esm/samples-dev/replicasListByServerSample.js +5 -10
  112. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
  113. package/dist-esm/samples-dev/serversCreateSample.js +22 -14
  114. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  115. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  116. package/dist-esm/samples-dev/serversFailoverSample.js +1 -1
  117. package/dist-esm/samples-dev/serversGetSample.js +2 -2
  118. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +5 -10
  119. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
  120. package/dist-esm/samples-dev/serversListSample.js +5 -10
  121. package/dist-esm/samples-dev/serversListSample.js.map +1 -1
  122. package/dist-esm/samples-dev/serversMigrationCutoverMigrationSample.d.ts +2 -0
  123. package/dist-esm/samples-dev/serversMigrationCutoverMigrationSample.d.ts.map +1 -0
  124. package/dist-esm/samples-dev/serversMigrationCutoverMigrationSample.js +39 -0
  125. package/dist-esm/samples-dev/serversMigrationCutoverMigrationSample.js.map +1 -0
  126. package/dist-esm/samples-dev/serversResetGtidSample.js +3 -3
  127. package/dist-esm/samples-dev/serversResetGtidSample.js.map +1 -1
  128. package/dist-esm/samples-dev/serversRestartSample.js +3 -3
  129. package/dist-esm/samples-dev/serversRestartSample.js.map +1 -1
  130. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  131. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  132. package/dist-esm/samples-dev/serversUpdateSample.js +13 -12
  133. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  134. package/dist-esm/samples-dev/serversValidateEstimateHighAvailabilitySample.d.ts +2 -0
  135. package/dist-esm/samples-dev/serversValidateEstimateHighAvailabilitySample.d.ts.map +1 -0
  136. package/dist-esm/samples-dev/serversValidateEstimateHighAvailabilitySample.js +42 -0
  137. package/dist-esm/samples-dev/serversValidateEstimateHighAvailabilitySample.js.map +1 -0
  138. package/dist-esm/src/lroImpl.js +1 -1
  139. package/dist-esm/src/models/index.d.ts +820 -94
  140. package/dist-esm/src/models/index.d.ts.map +1 -1
  141. package/dist-esm/src/models/index.js +131 -9
  142. package/dist-esm/src/models/index.js.map +1 -1
  143. package/dist-esm/src/models/mappers.d.ts +38 -5
  144. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  145. package/dist-esm/src/models/mappers.js +1609 -761
  146. package/dist-esm/src/models/mappers.js.map +1 -1
  147. package/dist-esm/src/models/parameters.d.ts +16 -5
  148. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  149. package/dist-esm/src/models/parameters.js +180 -85
  150. package/dist-esm/src/models/parameters.js.map +1 -1
  151. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts +12 -3
  152. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts.map +1 -1
  153. package/dist-esm/src/mySQLManagementFlexibleServerClient.js +27 -18
  154. package/dist-esm/src/mySQLManagementFlexibleServerClient.js.map +1 -1
  155. package/dist-esm/src/operations/advancedThreatProtectionSettings.d.ts +83 -0
  156. package/dist-esm/src/operations/advancedThreatProtectionSettings.d.ts.map +1 -0
  157. package/dist-esm/src/operations/advancedThreatProtectionSettings.js +382 -0
  158. package/dist-esm/src/operations/advancedThreatProtectionSettings.js.map +1 -0
  159. package/dist-esm/src/operations/azureADAdministrators.d.ts.map +1 -1
  160. package/dist-esm/src/operations/azureADAdministrators.js +41 -46
  161. package/dist-esm/src/operations/azureADAdministrators.js.map +1 -1
  162. package/dist-esm/src/operations/backupAndExport.d.ts.map +1 -1
  163. package/dist-esm/src/operations/backupAndExport.js +18 -18
  164. package/dist-esm/src/operations/backupAndExport.js.map +1 -1
  165. package/dist-esm/src/operations/backups.js +24 -29
  166. package/dist-esm/src/operations/backups.js.map +1 -1
  167. package/dist-esm/src/operations/checkNameAvailability.js +6 -6
  168. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
  169. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.d.ts.map +1 -1
  170. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.js +5 -5
  171. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.js.map +1 -1
  172. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts.map +1 -1
  173. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js +7 -7
  174. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js.map +1 -1
  175. package/dist-esm/src/operations/configurations.d.ts.map +1 -1
  176. package/dist-esm/src/operations/configurations.js +62 -67
  177. package/dist-esm/src/operations/configurations.js.map +1 -1
  178. package/dist-esm/src/operations/databases.d.ts.map +1 -1
  179. package/dist-esm/src/operations/databases.js +42 -47
  180. package/dist-esm/src/operations/databases.js.map +1 -1
  181. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
  182. package/dist-esm/src/operations/firewallRules.js +42 -47
  183. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  184. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +5 -5
  185. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js.map +1 -1
  186. package/dist-esm/src/operations/index.d.ts +8 -0
  187. package/dist-esm/src/operations/index.d.ts.map +1 -1
  188. package/dist-esm/src/operations/index.js +8 -0
  189. package/dist-esm/src/operations/index.js.map +1 -1
  190. package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -1
  191. package/dist-esm/src/operations/locationBasedCapabilities.js +15 -20
  192. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
  193. package/dist-esm/src/operations/locationBasedCapabilitySet.d.ts +42 -0
  194. package/dist-esm/src/operations/locationBasedCapabilitySet.d.ts.map +1 -0
  195. package/dist-esm/src/operations/locationBasedCapabilitySet.js +175 -0
  196. package/dist-esm/src/operations/locationBasedCapabilitySet.js.map +1 -0
  197. package/dist-esm/src/operations/logFiles.js +14 -19
  198. package/dist-esm/src/operations/logFiles.js.map +1 -1
  199. package/dist-esm/src/operations/longRunningBackup.d.ts +30 -0
  200. package/dist-esm/src/operations/longRunningBackup.d.ts.map +1 -0
  201. package/dist-esm/src/operations/longRunningBackup.js +117 -0
  202. package/dist-esm/src/operations/longRunningBackup.js.map +1 -0
  203. package/dist-esm/src/operations/longRunningBackups.d.ts +46 -0
  204. package/dist-esm/src/operations/longRunningBackups.d.ts.map +1 -0
  205. package/dist-esm/src/operations/longRunningBackups.js +182 -0
  206. package/dist-esm/src/operations/longRunningBackups.js.map +1 -0
  207. package/dist-esm/src/operations/maintenances.d.ts +63 -0
  208. package/dist-esm/src/operations/maintenances.d.ts.map +1 -0
  209. package/dist-esm/src/operations/maintenances.js +274 -0
  210. package/dist-esm/src/operations/maintenances.js.map +1 -0
  211. package/dist-esm/src/operations/operationProgress.d.ts +20 -0
  212. package/dist-esm/src/operations/operationProgress.d.ts.map +1 -0
  213. package/dist-esm/src/operations/operationProgress.js +53 -0
  214. package/dist-esm/src/operations/operationProgress.js.map +1 -0
  215. package/dist-esm/src/operations/operationResults.d.ts +20 -0
  216. package/dist-esm/src/operations/operationResults.d.ts.map +1 -0
  217. package/dist-esm/src/operations/operationResults.js +53 -0
  218. package/dist-esm/src/operations/operationResults.js.map +1 -0
  219. package/dist-esm/src/operations/operations.js +13 -18
  220. package/dist-esm/src/operations/operations.js.map +1 -1
  221. package/dist-esm/src/operations/replicas.js +15 -20
  222. package/dist-esm/src/operations/replicas.js.map +1 -1
  223. package/dist-esm/src/operations/servers.d.ts +9 -1
  224. package/dist-esm/src/operations/servers.d.ts.map +1 -1
  225. package/dist-esm/src/operations/servers.js +153 -130
  226. package/dist-esm/src/operations/servers.js.map +1 -1
  227. package/dist-esm/src/operations/serversMigration.d.ts +28 -0
  228. package/dist-esm/src/operations/serversMigration.d.ts.map +1 -0
  229. package/dist-esm/src/operations/serversMigration.js +112 -0
  230. package/dist-esm/src/operations/serversMigration.js.map +1 -0
  231. package/dist-esm/src/operationsInterfaces/advancedThreatProtectionSettings.d.ts +58 -0
  232. package/dist-esm/src/operationsInterfaces/advancedThreatProtectionSettings.d.ts.map +1 -0
  233. package/dist-esm/src/operationsInterfaces/advancedThreatProtectionSettings.js +9 -0
  234. package/dist-esm/src/operationsInterfaces/advancedThreatProtectionSettings.js.map +1 -0
  235. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  236. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  237. package/dist-esm/src/operationsInterfaces/index.js +8 -0
  238. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  239. package/dist-esm/src/operationsInterfaces/locationBasedCapabilitySet.d.ts +19 -0
  240. package/dist-esm/src/operationsInterfaces/locationBasedCapabilitySet.d.ts.map +1 -0
  241. package/dist-esm/src/operationsInterfaces/locationBasedCapabilitySet.js +9 -0
  242. package/dist-esm/src/operationsInterfaces/locationBasedCapabilitySet.js.map +1 -0
  243. package/dist-esm/src/operationsInterfaces/longRunningBackup.d.ts +22 -0
  244. package/dist-esm/src/operationsInterfaces/longRunningBackup.d.ts.map +1 -0
  245. package/dist-esm/src/operationsInterfaces/longRunningBackup.js +9 -0
  246. package/dist-esm/src/operationsInterfaces/longRunningBackup.js.map +1 -0
  247. package/dist-esm/src/operationsInterfaces/longRunningBackups.d.ts +21 -0
  248. package/dist-esm/src/operationsInterfaces/longRunningBackups.d.ts.map +1 -0
  249. package/dist-esm/src/operationsInterfaces/longRunningBackups.js +9 -0
  250. package/dist-esm/src/operationsInterfaces/longRunningBackups.js.map +1 -0
  251. package/dist-esm/src/operationsInterfaces/maintenances.d.ts +38 -0
  252. package/dist-esm/src/operationsInterfaces/maintenances.d.ts.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/maintenances.js +9 -0
  254. package/dist-esm/src/operationsInterfaces/maintenances.js.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/operationProgress.d.ts +12 -0
  256. package/dist-esm/src/operationsInterfaces/operationProgress.d.ts.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/operationProgress.js +9 -0
  258. package/dist-esm/src/operationsInterfaces/operationProgress.js.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/operationResults.d.ts +12 -0
  260. package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/operationResults.js +9 -0
  262. package/dist-esm/src/operationsInterfaces/operationResults.js.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/servers.d.ts +9 -1
  264. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -1
  265. package/dist-esm/src/operationsInterfaces/serversMigration.d.ts +20 -0
  266. package/dist-esm/src/operationsInterfaces/serversMigration.d.ts.map +1 -0
  267. package/dist-esm/src/operationsInterfaces/serversMigration.js +9 -0
  268. package/dist-esm/src/operationsInterfaces/serversMigration.js.map +1 -0
  269. package/dist-esm/src/pagingHelper.js.map +1 -1
  270. package/dist-esm/test/mysql_operations_test.spec.d.ts +4 -0
  271. package/dist-esm/test/mysql_operations_test.spec.d.ts.map +1 -0
  272. package/dist-esm/test/mysql_operations_test.spec.js +125 -0
  273. package/dist-esm/test/mysql_operations_test.spec.js.map +1 -0
  274. package/package.json +19 -24
  275. package/review/arm-mysql-flexible.api.md +596 -40
  276. package/src/lroImpl.ts +3 -3
  277. package/src/models/index.ts +954 -116
  278. package/src/models/mappers.ts +1714 -780
  279. package/src/models/parameters.ts +197 -86
  280. package/src/mySQLManagementFlexibleServerClient.ts +71 -23
  281. package/src/operations/advancedThreatProtectionSettings.ts +528 -0
  282. package/src/operations/azureADAdministrators.ts +76 -82
  283. package/src/operations/backupAndExport.ts +33 -36
  284. package/src/operations/backups.ts +40 -43
  285. package/src/operations/checkNameAvailability.ts +10 -11
  286. package/src/operations/checkNameAvailabilityWithoutLocation.ts +11 -11
  287. package/src/operations/checkVirtualNetworkSubnetUsage.ts +13 -13
  288. package/src/operations/configurations.ts +108 -116
  289. package/src/operations/databases.ts +77 -83
  290. package/src/operations/firewallRules.ts +77 -83
  291. package/src/operations/getPrivateDnsZoneSuffix.ts +7 -7
  292. package/src/operations/index.ts +8 -0
  293. package/src/operations/locationBasedCapabilities.ts +23 -23
  294. package/src/operations/locationBasedCapabilitySet.ts +211 -0
  295. package/src/operations/logFiles.ts +24 -25
  296. package/src/operations/longRunningBackup.ts +167 -0
  297. package/src/operations/longRunningBackups.ts +236 -0
  298. package/src/operations/maintenances.ts +371 -0
  299. package/src/operations/operationProgress.ts +71 -0
  300. package/src/operations/operationResults.ts +71 -0
  301. package/src/operations/operations.ts +17 -17
  302. package/src/operations/replicas.ts +25 -26
  303. package/src/operations/servers.ts +269 -242
  304. package/src/operations/serversMigration.ts +159 -0
  305. package/src/operationsInterfaces/advancedThreatProtectionSettings.ts +121 -0
  306. package/src/operationsInterfaces/azureADAdministrators.ts +7 -7
  307. package/src/operationsInterfaces/backupAndExport.ts +4 -4
  308. package/src/operationsInterfaces/backups.ts +4 -4
  309. package/src/operationsInterfaces/checkNameAvailability.ts +2 -2
  310. package/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.ts +2 -2
  311. package/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.ts +2 -2
  312. package/src/operationsInterfaces/configurations.ts +9 -9
  313. package/src/operationsInterfaces/databases.ts +7 -7
  314. package/src/operationsInterfaces/firewallRules.ts +7 -7
  315. package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +2 -2
  316. package/src/operationsInterfaces/index.ts +8 -0
  317. package/src/operationsInterfaces/locationBasedCapabilities.ts +2 -2
  318. package/src/operationsInterfaces/locationBasedCapabilitySet.ts +40 -0
  319. package/src/operationsInterfaces/logFiles.ts +1 -1
  320. package/src/operationsInterfaces/longRunningBackup.ts +48 -0
  321. package/src/operationsInterfaces/longRunningBackups.ts +44 -0
  322. package/src/operationsInterfaces/maintenances.ts +78 -0
  323. package/src/operationsInterfaces/operationProgress.ts +27 -0
  324. package/src/operationsInterfaces/operationResults.ts +27 -0
  325. package/src/operationsInterfaces/operations.ts +1 -1
  326. package/src/operationsInterfaces/replicas.ts +1 -1
  327. package/src/operationsInterfaces/servers.ts +35 -19
  328. package/src/operationsInterfaces/serversMigration.ts +44 -0
  329. package/src/pagingHelper.ts +1 -1
  330. package/types/arm-mysql-flexible.d.ts +1134 -110
  331. package/types/tsdoc-metadata.json +1 -1
  332. package/dist-esm/test/sampleTest.d.ts +0 -2
  333. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  334. package/dist-esm/test/sampleTest.js +0 -38
  335. package/dist-esm/test/sampleTest.js.map +0 -1
  336. package/rollup.config.js +0 -122
@@ -30,13 +30,189 @@ export declare type AdministratorName = string;
30
30
  */
31
31
  export declare type AdministratorType = string;
32
32
 
33
- /** Represents a Administrator. */
34
- export declare interface AzureADAdministrator extends ProxyResource {
33
+ /** A server's Advanced Threat Protection. */
34
+ export declare interface AdvancedThreatProtection extends ProxyResource {
35
35
  /**
36
- * The system metadata relating to this resource.
36
+ * Specifies the UTC creation time of the policy.
37
37
  * NOTE: This property will not be serialized. It can only be populated by the server.
38
38
  */
39
- readonly systemData?: SystemData;
39
+ readonly creationTime?: Date;
40
+ /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */
41
+ state?: AdvancedThreatProtectionState;
42
+ /**
43
+ * Provisioning state of the Threat Protection.
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly provisioningState?: AdvancedThreatProtectionProvisioningState;
47
+ }
48
+
49
+ /** Parameters allowed to update advanced threat protection for a server. */
50
+ export declare interface AdvancedThreatProtectionForUpdate {
51
+ /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */
52
+ state?: AdvancedThreatProtectionState;
53
+ }
54
+
55
+ /** A list of the server's Advanced Threat Protection configurations. */
56
+ export declare interface AdvancedThreatProtectionListResult {
57
+ /**
58
+ * Array of results.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly value?: AdvancedThreatProtection[];
62
+ /**
63
+ * Link to retrieve next page of results.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly nextLink?: string;
67
+ }
68
+
69
+ /**
70
+ * Defines values for AdvancedThreatProtectionName. \
71
+ * {@link KnownAdvancedThreatProtectionName} can be used interchangeably with AdvancedThreatProtectionName,
72
+ * this enum contains the known values that the service supports.
73
+ * ### Known values supported by the service
74
+ * **Default**
75
+ */
76
+ export declare type AdvancedThreatProtectionName = string;
77
+
78
+ /**
79
+ * Defines values for AdvancedThreatProtectionProvisioningState. \
80
+ * {@link KnownAdvancedThreatProtectionProvisioningState} can be used interchangeably with AdvancedThreatProtectionProvisioningState,
81
+ * this enum contains the known values that the service supports.
82
+ * ### Known values supported by the service
83
+ * **Succeeded** \
84
+ * **Updating** \
85
+ * **Canceled** \
86
+ * **Failed**
87
+ */
88
+ export declare type AdvancedThreatProtectionProvisioningState = string;
89
+
90
+ /** Interface representing a AdvancedThreatProtectionSettings. */
91
+ export declare interface AdvancedThreatProtectionSettings {
92
+ /**
93
+ * Gets a list of server's Advanced Threat Protection states.
94
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
+ * @param serverName The name of the server.
96
+ * @param options The options parameters.
97
+ */
98
+ list(resourceGroupName: string, serverName: string, options?: AdvancedThreatProtectionSettingsListOptionalParams): PagedAsyncIterableIterator<AdvancedThreatProtection>;
99
+ /**
100
+ * Get a server's Advanced Threat Protection state
101
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
102
+ * @param serverName The name of the server.
103
+ * @param advancedThreatProtectionName The name of the Advanced Threat Protection state.
104
+ * @param options The options parameters.
105
+ */
106
+ get(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, options?: AdvancedThreatProtectionSettingsGetOptionalParams): Promise<AdvancedThreatProtectionSettingsGetResponse>;
107
+ /**
108
+ * Updates a server's Advanced Threat Protection state.
109
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
110
+ * @param serverName The name of the server.
111
+ * @param advancedThreatProtectionName The name of the Advanced Threat Protection state.
112
+ * @param parameters The server's Advanced Threat Protection body to update.
113
+ * @param options The options parameters.
114
+ */
115
+ beginUpdate(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: AdvancedThreatProtectionForUpdate, options?: AdvancedThreatProtectionSettingsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AdvancedThreatProtectionSettingsUpdateResponse>, AdvancedThreatProtectionSettingsUpdateResponse>>;
116
+ /**
117
+ * Updates a server's Advanced Threat Protection state.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param serverName The name of the server.
120
+ * @param advancedThreatProtectionName The name of the Advanced Threat Protection state.
121
+ * @param parameters The server's Advanced Threat Protection body to update.
122
+ * @param options The options parameters.
123
+ */
124
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: AdvancedThreatProtectionForUpdate, options?: AdvancedThreatProtectionSettingsUpdateOptionalParams): Promise<AdvancedThreatProtectionSettingsUpdateResponse>;
125
+ /**
126
+ * Updates a server's Advanced Threat Protection state.
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
+ * @param serverName The name of the server.
129
+ * @param advancedThreatProtectionName The name of the Advanced Threat Protection state.
130
+ * @param parameters The server's Advanced Threat Protection body to update.
131
+ * @param options The options parameters.
132
+ */
133
+ beginUpdatePut(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: AdvancedThreatProtection, options?: AdvancedThreatProtectionSettingsUpdatePutOptionalParams): Promise<SimplePollerLike<OperationState<AdvancedThreatProtectionSettingsUpdatePutResponse>, AdvancedThreatProtectionSettingsUpdatePutResponse>>;
134
+ /**
135
+ * Updates a server's Advanced Threat Protection state.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param serverName The name of the server.
138
+ * @param advancedThreatProtectionName The name of the Advanced Threat Protection state.
139
+ * @param parameters The server's Advanced Threat Protection body to update.
140
+ * @param options The options parameters.
141
+ */
142
+ beginUpdatePutAndWait(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: AdvancedThreatProtection, options?: AdvancedThreatProtectionSettingsUpdatePutOptionalParams): Promise<AdvancedThreatProtectionSettingsUpdatePutResponse>;
143
+ }
144
+
145
+ /** Optional parameters. */
146
+ export declare interface AdvancedThreatProtectionSettingsGetOptionalParams extends coreClient.OperationOptions {
147
+ }
148
+
149
+ /** Contains response data for the get operation. */
150
+ export declare type AdvancedThreatProtectionSettingsGetResponse = AdvancedThreatProtection;
151
+
152
+ /** Optional parameters. */
153
+ export declare interface AdvancedThreatProtectionSettingsListNextOptionalParams extends coreClient.OperationOptions {
154
+ }
155
+
156
+ /** Contains response data for the listNext operation. */
157
+ export declare type AdvancedThreatProtectionSettingsListNextResponse = AdvancedThreatProtectionListResult;
158
+
159
+ /** Optional parameters. */
160
+ export declare interface AdvancedThreatProtectionSettingsListOptionalParams extends coreClient.OperationOptions {
161
+ }
162
+
163
+ /** Contains response data for the list operation. */
164
+ export declare type AdvancedThreatProtectionSettingsListResponse = AdvancedThreatProtectionListResult;
165
+
166
+ /** Defines headers for AdvancedThreatProtectionSettings_update operation. */
167
+ export declare interface AdvancedThreatProtectionSettingsUpdateHeaders {
168
+ /** URL to retrieve the final result after operation completes. */
169
+ location?: string;
170
+ /** URL to query for status of the operation. */
171
+ azureAsyncOperation?: string;
172
+ }
173
+
174
+ /** Optional parameters. */
175
+ export declare interface AdvancedThreatProtectionSettingsUpdateOptionalParams extends coreClient.OperationOptions {
176
+ /** Delay to wait until next poll, in milliseconds. */
177
+ updateIntervalInMs?: number;
178
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
179
+ resumeFrom?: string;
180
+ }
181
+
182
+ /** Defines headers for AdvancedThreatProtectionSettings_updatePut operation. */
183
+ export declare interface AdvancedThreatProtectionSettingsUpdatePutHeaders {
184
+ /** URL to retrieve the final result after operation completes. */
185
+ location?: string;
186
+ /** URL to query for status of the operation. */
187
+ azureAsyncOperation?: string;
188
+ }
189
+
190
+ /** Optional parameters. */
191
+ export declare interface AdvancedThreatProtectionSettingsUpdatePutOptionalParams extends coreClient.OperationOptions {
192
+ /** Delay to wait until next poll, in milliseconds. */
193
+ updateIntervalInMs?: number;
194
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
195
+ resumeFrom?: string;
196
+ }
197
+
198
+ /** Contains response data for the updatePut operation. */
199
+ export declare type AdvancedThreatProtectionSettingsUpdatePutResponse = AdvancedThreatProtection;
200
+
201
+ /** Contains response data for the update operation. */
202
+ export declare type AdvancedThreatProtectionSettingsUpdateResponse = AdvancedThreatProtection;
203
+
204
+ /**
205
+ * Defines values for AdvancedThreatProtectionState. \
206
+ * {@link KnownAdvancedThreatProtectionState} can be used interchangeably with AdvancedThreatProtectionState,
207
+ * this enum contains the known values that the service supports.
208
+ * ### Known values supported by the service
209
+ * **Enabled** \
210
+ * **Disabled**
211
+ */
212
+ export declare type AdvancedThreatProtectionState = string;
213
+
214
+ /** Represents a Administrator. */
215
+ export declare interface AzureADAdministrator extends ProxyResource {
40
216
  /** Type of the sever administrator. */
41
217
  administratorType?: AdministratorType;
42
218
  /** Login name of the server administrator. */
@@ -146,6 +322,8 @@ export declare type AzureADAdministratorsListByServerResponse = AdministratorLis
146
322
  export declare interface Backup {
147
323
  /** Backup retention days for the server. */
148
324
  backupRetentionDays?: number;
325
+ /** Backup interval hours for the server. */
326
+ backupIntervalHours?: number;
149
327
  /** Whether or not geo redundant backup is enabled. */
150
328
  geoRedundantBackup?: EnableStatusEnum;
151
329
  /**
@@ -208,7 +386,7 @@ export declare interface BackupAndExportRequest extends BackupRequestBase {
208
386
  }
209
387
 
210
388
  /** Represents BackupAndExport API Response */
211
- export declare interface BackupAndExportResponse extends ProxyResource {
389
+ export declare interface BackupAndExportResponse extends ProxyResource, ErrorResponse {
212
390
  /** The operation status */
213
391
  status?: OperationStatus;
214
392
  /** Start time */
@@ -217,8 +395,18 @@ export declare interface BackupAndExportResponse extends ProxyResource {
217
395
  endTime?: Date;
218
396
  /** Operation progress (0-100). */
219
397
  percentComplete?: number;
220
- /** The BackupAndExport operation error response. */
221
- error?: ErrorResponse;
398
+ /** Size of datasource in bytes */
399
+ datasourceSizeInBytes?: number;
400
+ /** Data transferred in bytes */
401
+ dataTransferredInBytes?: number;
402
+ /** Metadata related to backup to be stored for restoring resource in key-value pairs. */
403
+ backupMetadata?: string;
404
+ }
405
+
406
+ /** BackupAndExport Response Properties */
407
+ export declare interface BackupAndExportResponseType extends OperationProgressResponseType {
408
+ /** Polymorphic discriminator, which specifies the different types this object can be */
409
+ objectType: "BackupAndExportResponse";
222
410
  /** Size of datasource in bytes */
223
411
  datasourceSizeInBytes?: number;
224
412
  /** Data transferred in bytes */
@@ -239,8 +427,8 @@ export declare type BackupAndExportValidateBackupResponse = ValidateBackupRespon
239
427
  * {@link KnownBackupFormat} can be used interchangeably with BackupFormat,
240
428
  * this enum contains the known values that the service supports.
241
429
  * ### Known values supported by the service
242
- * **None** \
243
- * **CollatedFormat**
430
+ * **CollatedFormat** \
431
+ * **Raw**
244
432
  */
245
433
  export declare type BackupFormat = string;
246
434
 
@@ -321,6 +509,15 @@ export declare interface BackupStoreDetails {
321
509
 
322
510
  export declare type BackupStoreDetailsUnion = BackupStoreDetails | FullBackupStoreDetails;
323
511
 
512
+ /**
513
+ * Defines values for BackupType. \
514
+ * {@link KnownBackupType} can be used interchangeably with BackupType,
515
+ * this enum contains the known values that the service supports.
516
+ * ### Known values supported by the service
517
+ * **FULL**
518
+ */
519
+ export declare type BackupType = string;
520
+
324
521
  /** location capability */
325
522
  export declare interface CapabilitiesListResult {
326
523
  /**
@@ -335,6 +532,25 @@ export declare interface CapabilitiesListResult {
335
532
  readonly nextLink?: string;
336
533
  }
337
534
 
535
+ /** Represents a location capability set. */
536
+ export declare interface Capability extends ProxyResource {
537
+ /**
538
+ * supported geo backup regions
539
+ * NOTE: This property will not be serialized. It can only be populated by the server.
540
+ */
541
+ readonly supportedGeoBackupRegions?: string[];
542
+ /**
543
+ * A list of supported flexible server editions.
544
+ * NOTE: This property will not be serialized. It can only be populated by the server.
545
+ */
546
+ readonly supportedFlexibleServerEditions?: ServerEditionCapabilityV2[];
547
+ /**
548
+ * A list of supported server versions.
549
+ * NOTE: This property will not be serialized. It can only be populated by the server.
550
+ */
551
+ readonly supportedServerVersions?: ServerVersionCapabilityV2[];
552
+ }
553
+
338
554
  /** Location capabilities. */
339
555
  export declare interface CapabilityProperties {
340
556
  /**
@@ -359,6 +575,20 @@ export declare interface CapabilityProperties {
359
575
  readonly supportedFlexibleServerEditions?: ServerEditionCapability[];
360
576
  }
361
577
 
578
+ /** location capability set */
579
+ export declare interface CapabilitySetsList {
580
+ /**
581
+ * A list of supported capability sets.
582
+ * NOTE: This property will not be serialized. It can only be populated by the server.
583
+ */
584
+ readonly value?: Capability[];
585
+ /**
586
+ * Link to retrieve next page of results.
587
+ * NOTE: This property will not be serialized. It can only be populated by the server.
588
+ */
589
+ readonly nextLink?: string;
590
+ }
591
+
362
592
  /** Interface representing a CheckNameAvailability. */
363
593
  export declare interface CheckNameAvailability {
364
594
  /**
@@ -412,19 +642,8 @@ export declare interface CheckVirtualNetworkSubnetUsageExecuteOptionalParams ext
412
642
  /** Contains response data for the execute operation. */
413
643
  export declare type CheckVirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
414
644
 
415
- /** An error response from the Batch service. */
416
- export declare interface CloudError {
417
- /** The resource management error response. */
418
- error?: ErrorResponse;
419
- }
420
-
421
645
  /** Represents a Configuration. */
422
646
  export declare interface Configuration extends ProxyResource {
423
- /**
424
- * The system metadata relating to this resource.
425
- * NOTE: This property will not be serialized. It can only be populated by the server.
426
- */
427
- readonly systemData?: SystemData;
428
647
  /** Value of the configuration. */
429
648
  value?: string;
430
649
  /** Current value of the configuration. */
@@ -673,11 +892,6 @@ export declare type CreateMode = string;
673
892
 
674
893
  /** Represents a Database. */
675
894
  export declare interface Database extends ProxyResource {
676
- /**
677
- * The system metadata relating to this resource.
678
- * NOTE: This property will not be serialized. It can only be populated by the server.
679
- */
680
- readonly systemData?: SystemData;
681
895
  /** The charset of the database. */
682
896
  charset?: string;
683
897
  /** The collation of the database. */
@@ -840,8 +1054,8 @@ export declare interface ErrorAdditionalInfo {
840
1054
  readonly info?: Record<string, unknown>;
841
1055
  }
842
1056
 
843
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
844
- export declare interface ErrorResponse {
1057
+ /** The error detail. */
1058
+ export declare interface ErrorDetail {
845
1059
  /**
846
1060
  * The error code.
847
1061
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -861,7 +1075,7 @@ export declare interface ErrorResponse {
861
1075
  * The error details.
862
1076
  * NOTE: This property will not be serialized. It can only be populated by the server.
863
1077
  */
864
- readonly details?: ErrorResponse[];
1078
+ readonly details?: ErrorDetail[];
865
1079
  /**
866
1080
  * The error additional info.
867
1081
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -869,13 +1083,14 @@ export declare interface ErrorResponse {
869
1083
  readonly additionalInfo?: ErrorAdditionalInfo[];
870
1084
  }
871
1085
 
1086
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1087
+ export declare interface ErrorResponse {
1088
+ /** The error object. */
1089
+ error?: ErrorDetail;
1090
+ }
1091
+
872
1092
  /** Represents a server firewall rule. */
873
1093
  export declare interface FirewallRule extends ProxyResource {
874
- /**
875
- * The system metadata relating to this resource.
876
- * NOTE: This property will not be serialized. It can only be populated by the server.
877
- */
878
- readonly systemData?: SystemData;
879
1094
  /** The start IP address of the server firewall rule. Must be IPv4 format. */
880
1095
  startIpAddress: string;
881
1096
  /** The end IP address of the server firewall rule. Must be IPv4 format. */
@@ -1022,7 +1237,7 @@ export declare interface GetPrivateDnsZoneSuffixResponse {
1022
1237
  privateDnsZoneSuffix?: string;
1023
1238
  }
1024
1239
 
1025
- /** Network related properties of a server */
1240
+ /** High availability properties of a server */
1026
1241
  export declare interface HighAvailability {
1027
1242
  /** High availability mode for a server. */
1028
1243
  mode?: HighAvailabilityMode;
@@ -1059,26 +1274,51 @@ export declare type HighAvailabilityMode = string;
1059
1274
  */
1060
1275
  export declare type HighAvailabilityState = string;
1061
1276
 
1062
- /** Properties to configure Identity for Bring your Own Keys */
1063
- export declare interface Identity {
1277
+ /** High availability validation properties of a server */
1278
+ export declare interface HighAvailabilityValidationEstimation {
1064
1279
  /**
1065
- * ObjectId from the KeyVault
1280
+ * Estimated seconds of downtime for the deployment.
1066
1281
  * NOTE: This property will not be serialized. It can only be populated by the server.
1067
1282
  */
1068
- readonly principalId?: string;
1283
+ readonly estimatedDowntime?: number;
1069
1284
  /**
1070
- * TenantId from the KeyVault
1285
+ * Scheduled Availability zone of the standby server.
1071
1286
  * NOTE: This property will not be serialized. It can only be populated by the server.
1072
1287
  */
1073
- readonly tenantId?: string;
1074
- /** Type of managed service identity. */
1075
- type?: ManagedServiceIdentityType;
1076
- /** Metadata of user assigned identity. */
1077
- userAssignedIdentities?: {
1078
- [propertyName: string]: Record<string, unknown>;
1079
- };
1288
+ readonly scheduledStandbyAvailabilityZone?: string;
1289
+ /** Expected Availability zone of the standby server. */
1290
+ expectedStandbyAvailabilityZone?: string;
1291
+ }
1292
+
1293
+ /** ImportFromStorage Response Properties */
1294
+ export declare interface ImportFromStorageResponseType extends OperationProgressResponseType {
1295
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1296
+ objectType: "ImportFromStorageResponse";
1297
+ /** The estimated time of operation completion. */
1298
+ estimatedCompletionTime?: Date;
1080
1299
  }
1081
1300
 
1301
+ /** Import source related properties. */
1302
+ export declare interface ImportSourceProperties {
1303
+ /** Storage type of import source. */
1304
+ storageType?: ImportSourceStorageType;
1305
+ /** Uri of the import source storage. */
1306
+ storageUrl?: string;
1307
+ /** Sas token for accessing source storage. Read and list permissions are required for sas token. */
1308
+ sasToken?: string;
1309
+ /** Relative path of data directory in storage. */
1310
+ dataDirPath?: string;
1311
+ }
1312
+
1313
+ /**
1314
+ * Defines values for ImportSourceStorageType. \
1315
+ * {@link KnownImportSourceStorageType} can be used interchangeably with ImportSourceStorageType,
1316
+ * this enum contains the known values that the service supports.
1317
+ * ### Known values supported by the service
1318
+ * **AzureBlob**
1319
+ */
1320
+ export declare type ImportSourceStorageType = string;
1321
+
1082
1322
  /**
1083
1323
  * Defines values for IsConfigPendingRestart. \
1084
1324
  * {@link KnownIsConfigPendingRestart} can be used interchangeably with IsConfigPendingRestart,
@@ -1121,12 +1361,44 @@ export declare enum KnownAdministratorType {
1121
1361
  ActiveDirectory = "ActiveDirectory"
1122
1362
  }
1123
1363
 
1364
+ /** Known values of {@link AdvancedThreatProtectionName} that the service accepts. */
1365
+ export declare enum KnownAdvancedThreatProtectionName {
1366
+ /** Default */
1367
+ Default = "Default"
1368
+ }
1369
+
1370
+ /** Known values of {@link AdvancedThreatProtectionProvisioningState} that the service accepts. */
1371
+ export declare enum KnownAdvancedThreatProtectionProvisioningState {
1372
+ /** Succeeded */
1373
+ Succeeded = "Succeeded",
1374
+ /** Updating */
1375
+ Updating = "Updating",
1376
+ /** Canceled */
1377
+ Canceled = "Canceled",
1378
+ /** Failed */
1379
+ Failed = "Failed"
1380
+ }
1381
+
1382
+ /** Known values of {@link AdvancedThreatProtectionState} that the service accepts. */
1383
+ export declare enum KnownAdvancedThreatProtectionState {
1384
+ /** Enabled */
1385
+ Enabled = "Enabled",
1386
+ /** Disabled */
1387
+ Disabled = "Disabled"
1388
+ }
1389
+
1124
1390
  /** Known values of {@link BackupFormat} that the service accepts. */
1125
1391
  export declare enum KnownBackupFormat {
1126
- /** None */
1127
- None = "None",
1128
1392
  /** CollatedFormat */
1129
- CollatedFormat = "CollatedFormat"
1393
+ CollatedFormat = "CollatedFormat",
1394
+ /** Raw */
1395
+ Raw = "Raw"
1396
+ }
1397
+
1398
+ /** Known values of {@link BackupType} that the service accepts. */
1399
+ export declare enum KnownBackupType {
1400
+ /** Full */
1401
+ Full = "FULL"
1130
1402
  }
1131
1403
 
1132
1404
  /** Known values of {@link ConfigurationSource} that the service accepts. */
@@ -1193,6 +1465,12 @@ export declare enum KnownHighAvailabilityState {
1193
1465
  RemovingStandby = "RemovingStandby"
1194
1466
  }
1195
1467
 
1468
+ /** Known values of {@link ImportSourceStorageType} that the service accepts. */
1469
+ export declare enum KnownImportSourceStorageType {
1470
+ /** AzureBlob */
1471
+ AzureBlob = "AzureBlob"
1472
+ }
1473
+
1196
1474
  /** Known values of {@link IsConfigPendingRestart} that the service accepts. */
1197
1475
  export declare enum KnownIsConfigPendingRestart {
1198
1476
  /** True */
@@ -1217,12 +1495,96 @@ export declare enum KnownIsReadOnly {
1217
1495
  False = "False"
1218
1496
  }
1219
1497
 
1498
+ /** Known values of {@link MaintenanceProvisioningState} that the service accepts. */
1499
+ export declare enum KnownMaintenanceProvisioningState {
1500
+ /** Succeeded */
1501
+ Succeeded = "Succeeded",
1502
+ /** Creating */
1503
+ Creating = "Creating",
1504
+ /** Deleting */
1505
+ Deleting = "Deleting",
1506
+ /** Failed */
1507
+ Failed = "Failed"
1508
+ }
1509
+
1510
+ /** Known values of {@link MaintenanceState} that the service accepts. */
1511
+ export declare enum KnownMaintenanceState {
1512
+ /** Scheduled */
1513
+ Scheduled = "Scheduled",
1514
+ /** ReScheduled */
1515
+ ReScheduled = "ReScheduled",
1516
+ /** InPreparation */
1517
+ InPreparation = "InPreparation",
1518
+ /** Processing */
1519
+ Processing = "Processing",
1520
+ /** Completed */
1521
+ Completed = "Completed",
1522
+ /** Canceled */
1523
+ Canceled = "Canceled"
1524
+ }
1525
+
1526
+ /** Known values of {@link MaintenanceType} that the service accepts. */
1527
+ export declare enum KnownMaintenanceType {
1528
+ /** RoutineMaintenance */
1529
+ RoutineMaintenance = "RoutineMaintenance",
1530
+ /** MinorVersionUpgrade */
1531
+ MinorVersionUpgrade = "MinorVersionUpgrade",
1532
+ /** SecurityPatches */
1533
+ SecurityPatches = "SecurityPatches",
1534
+ /** HotFixes */
1535
+ HotFixes = "HotFixes"
1536
+ }
1537
+
1220
1538
  /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
1221
1539
  export declare enum KnownManagedServiceIdentityType {
1222
1540
  /** UserAssigned */
1223
1541
  UserAssigned = "UserAssigned"
1224
1542
  }
1225
1543
 
1544
+ /** Known values of {@link ObjectType} that the service accepts. */
1545
+ export declare enum KnownObjectType {
1546
+ /** BackupAndExportResponse */
1547
+ BackupAndExportResponse = "BackupAndExportResponse",
1548
+ /** ImportFromStorageResponse */
1549
+ ImportFromStorageResponse = "ImportFromStorageResponse"
1550
+ }
1551
+
1552
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1553
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1554
+ /** Succeeded */
1555
+ Succeeded = "Succeeded",
1556
+ /** Creating */
1557
+ Creating = "Creating",
1558
+ /** Deleting */
1559
+ Deleting = "Deleting",
1560
+ /** Failed */
1561
+ Failed = "Failed"
1562
+ }
1563
+
1564
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1565
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
1566
+ /** Pending */
1567
+ Pending = "Pending",
1568
+ /** Approved */
1569
+ Approved = "Approved",
1570
+ /** Rejected */
1571
+ Rejected = "Rejected"
1572
+ }
1573
+
1574
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1575
+ export declare enum KnownProvisioningState {
1576
+ /** Succeeded */
1577
+ Succeeded = "Succeeded",
1578
+ /** Creating */
1579
+ Creating = "Creating",
1580
+ /** Deleting */
1581
+ Deleting = "Deleting",
1582
+ /** Failed */
1583
+ Failed = "Failed",
1584
+ /** Canceled */
1585
+ Canceled = "Canceled"
1586
+ }
1587
+
1226
1588
  /** Known values of {@link ReplicationRole} that the service accepts. */
1227
1589
  export declare enum KnownReplicationRole {
1228
1590
  /** None */
@@ -1241,6 +1603,16 @@ export declare enum KnownResetAllToDefault {
1241
1603
  False = "False"
1242
1604
  }
1243
1605
 
1606
+ /** Known values of {@link ServerSkuTier} that the service accepts. */
1607
+ export declare enum KnownServerSkuTier {
1608
+ /** Burstable */
1609
+ Burstable = "Burstable",
1610
+ /** GeneralPurpose */
1611
+ GeneralPurpose = "GeneralPurpose",
1612
+ /** MemoryOptimized */
1613
+ MemoryOptimized = "MemoryOptimized"
1614
+ }
1615
+
1244
1616
  /** Known values of {@link ServerState} that the service accepts. */
1245
1617
  export declare enum KnownServerState {
1246
1618
  /** Ready */
@@ -1267,16 +1639,6 @@ export declare enum KnownServerVersion {
1267
1639
  Eight021 = "8.0.21"
1268
1640
  }
1269
1641
 
1270
- /** Known values of {@link SkuTier} that the service accepts. */
1271
- export declare enum KnownSkuTier {
1272
- /** Burstable */
1273
- Burstable = "Burstable",
1274
- /** GeneralPurpose */
1275
- GeneralPurpose = "GeneralPurpose",
1276
- /** MemoryOptimized */
1277
- MemoryOptimized = "MemoryOptimized"
1278
- }
1279
-
1280
1642
  /** Interface representing a LocationBasedCapabilities. */
1281
1643
  export declare interface LocationBasedCapabilities {
1282
1644
  /**
@@ -1301,26 +1663,59 @@ export declare interface LocationBasedCapabilitiesListOptionalParams extends cor
1301
1663
  /** Contains response data for the list operation. */
1302
1664
  export declare type LocationBasedCapabilitiesListResponse = CapabilitiesListResult;
1303
1665
 
1304
- /** Represents a logFile. */
1305
- export declare interface LogFile extends ProxyResource {
1666
+ /** Interface representing a LocationBasedCapabilitySet. */
1667
+ export declare interface LocationBasedCapabilitySet {
1306
1668
  /**
1307
- * The system metadata relating to this resource.
1308
- * NOTE: This property will not be serialized. It can only be populated by the server.
1669
+ * Get capabilities at specified location in a given subscription.
1670
+ * @param locationName The name of the location.
1671
+ * @param options The options parameters.
1309
1672
  */
1310
- readonly systemData?: SystemData;
1311
- /** The size in kb of the logFile. */
1312
- sizeInKB?: number;
1313
- /** Creation timestamp of the log file. */
1314
- createdTime?: Date;
1315
- /** Type of the log file. */
1316
- typePropertiesType?: string;
1317
- /** Last modified timestamp of the log file. */
1318
- lastModifiedTime?: Date;
1319
- /** The url to download the log file from. */
1320
- url?: string;
1673
+ list(locationName: string, options?: LocationBasedCapabilitySetListOptionalParams): PagedAsyncIterableIterator<Capability>;
1674
+ /**
1675
+ * Get capabilities at specified location in a given subscription.
1676
+ * @param locationName The name of the location.
1677
+ * @param capabilitySetName Name of capability set
1678
+ * @param options The options parameters.
1679
+ */
1680
+ get(locationName: string, capabilitySetName: string, options?: LocationBasedCapabilitySetGetOptionalParams): Promise<LocationBasedCapabilitySetGetResponse>;
1321
1681
  }
1322
1682
 
1323
- /** A List of logFiles. */
1683
+ /** Optional parameters. */
1684
+ export declare interface LocationBasedCapabilitySetGetOptionalParams extends coreClient.OperationOptions {
1685
+ }
1686
+
1687
+ /** Contains response data for the get operation. */
1688
+ export declare type LocationBasedCapabilitySetGetResponse = Capability;
1689
+
1690
+ /** Optional parameters. */
1691
+ export declare interface LocationBasedCapabilitySetListNextOptionalParams extends coreClient.OperationOptions {
1692
+ }
1693
+
1694
+ /** Contains response data for the listNext operation. */
1695
+ export declare type LocationBasedCapabilitySetListNextResponse = CapabilitySetsList;
1696
+
1697
+ /** Optional parameters. */
1698
+ export declare interface LocationBasedCapabilitySetListOptionalParams extends coreClient.OperationOptions {
1699
+ }
1700
+
1701
+ /** Contains response data for the list operation. */
1702
+ export declare type LocationBasedCapabilitySetListResponse = CapabilitySetsList;
1703
+
1704
+ /** Represents a logFile. */
1705
+ export declare interface LogFile extends ProxyResource {
1706
+ /** The size in kb of the logFile. */
1707
+ sizeInKB?: number;
1708
+ /** Creation timestamp of the log file. */
1709
+ createdTime?: Date;
1710
+ /** Type of the log file. */
1711
+ typePropertiesType?: string;
1712
+ /** Last modified timestamp of the log file. */
1713
+ lastModifiedTime?: Date;
1714
+ /** The url to download the log file from. */
1715
+ url?: string;
1716
+ }
1717
+
1718
+ /** A List of logFiles. */
1324
1719
  export declare interface LogFileListResult {
1325
1720
  /** The list of logFiles in a server */
1326
1721
  value?: LogFile[];
@@ -1353,6 +1748,269 @@ export declare interface LogFilesListByServerOptionalParams extends coreClient.O
1353
1748
  /** Contains response data for the listByServer operation. */
1354
1749
  export declare type LogFilesListByServerResponse = LogFileListResult;
1355
1750
 
1751
+ /** Interface representing a LongRunningBackup. */
1752
+ export declare interface LongRunningBackup {
1753
+ /**
1754
+ * Create backup for a given server with specified backup name.
1755
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1756
+ * @param serverName The name of the server.
1757
+ * @param backupName The name of the backup.
1758
+ * @param options The options parameters.
1759
+ */
1760
+ beginCreate(resourceGroupName: string, serverName: string, backupName: string, options?: LongRunningBackupCreateOptionalParams): Promise<SimplePollerLike<OperationState<LongRunningBackupCreateResponse>, LongRunningBackupCreateResponse>>;
1761
+ /**
1762
+ * Create backup for a given server with specified backup name.
1763
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1764
+ * @param serverName The name of the server.
1765
+ * @param backupName The name of the backup.
1766
+ * @param options The options parameters.
1767
+ */
1768
+ beginCreateAndWait(resourceGroupName: string, serverName: string, backupName: string, options?: LongRunningBackupCreateOptionalParams): Promise<LongRunningBackupCreateResponse>;
1769
+ }
1770
+
1771
+ /** Defines headers for LongRunningBackup_create operation. */
1772
+ export declare interface LongRunningBackupCreateHeaders {
1773
+ /** URL to retrieve the final result after operation completes. */
1774
+ location?: string;
1775
+ /** URL to query for status of the operation. */
1776
+ azureAsyncOperation?: string;
1777
+ }
1778
+
1779
+ /** Optional parameters. */
1780
+ export declare interface LongRunningBackupCreateOptionalParams extends coreClient.OperationOptions {
1781
+ /** The required parameters for creating and exporting backup of the given server. */
1782
+ parameters?: ServerBackupV2;
1783
+ /** Delay to wait until next poll, in milliseconds. */
1784
+ updateIntervalInMs?: number;
1785
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1786
+ resumeFrom?: string;
1787
+ }
1788
+
1789
+ /** Contains response data for the create operation. */
1790
+ export declare type LongRunningBackupCreateResponse = ServerBackupV2;
1791
+
1792
+ /** Interface representing a LongRunningBackups. */
1793
+ export declare interface LongRunningBackups {
1794
+ /**
1795
+ * List all the backups for a given server.
1796
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1797
+ * @param serverName The name of the server.
1798
+ * @param options The options parameters.
1799
+ */
1800
+ list(resourceGroupName: string, serverName: string, options?: LongRunningBackupsListOptionalParams): PagedAsyncIterableIterator<ServerBackupV2>;
1801
+ /**
1802
+ * Get backup for a given server.
1803
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1804
+ * @param serverName The name of the server.
1805
+ * @param backupName The name of the backup.
1806
+ * @param options The options parameters.
1807
+ */
1808
+ get(resourceGroupName: string, serverName: string, backupName: string, options?: LongRunningBackupsGetOptionalParams): Promise<LongRunningBackupsGetResponse>;
1809
+ }
1810
+
1811
+ /** Optional parameters. */
1812
+ export declare interface LongRunningBackupsGetOptionalParams extends coreClient.OperationOptions {
1813
+ }
1814
+
1815
+ /** Contains response data for the get operation. */
1816
+ export declare type LongRunningBackupsGetResponse = ServerBackupV2;
1817
+
1818
+ /** Optional parameters. */
1819
+ export declare interface LongRunningBackupsListNextOptionalParams extends coreClient.OperationOptions {
1820
+ }
1821
+
1822
+ /** Contains response data for the listNext operation. */
1823
+ export declare type LongRunningBackupsListNextResponse = ServerBackupV2ListResult;
1824
+
1825
+ /** Optional parameters. */
1826
+ export declare interface LongRunningBackupsListOptionalParams extends coreClient.OperationOptions {
1827
+ }
1828
+
1829
+ /** Contains response data for the list operation. */
1830
+ export declare type LongRunningBackupsListResponse = ServerBackupV2ListResult;
1831
+
1832
+ /** Represents a maintenance. */
1833
+ export declare interface Maintenance extends ProxyResource {
1834
+ /**
1835
+ * A string defines maintenance type.
1836
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1837
+ */
1838
+ readonly maintenanceType?: MaintenanceType;
1839
+ /**
1840
+ * A string describes the maintenance status
1841
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1842
+ */
1843
+ readonly maintenanceState?: MaintenanceState;
1844
+ /** The start time for a maintenance. */
1845
+ maintenanceStartTime?: Date;
1846
+ /**
1847
+ * The end time for a maintenance.
1848
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1849
+ */
1850
+ readonly maintenanceEndTime?: Date;
1851
+ /**
1852
+ * The start time for a maintenance execution.
1853
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1854
+ */
1855
+ readonly maintenanceExecutionStartTime?: Date;
1856
+ /**
1857
+ * The end time for a maintenance execution.
1858
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1859
+ */
1860
+ readonly maintenanceExecutionEndTime?: Date;
1861
+ /**
1862
+ * The min time the maintenance can be rescheduled.
1863
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1864
+ */
1865
+ readonly maintenanceAvailableScheduleMinTime?: Date;
1866
+ /**
1867
+ * The max time the maintenance can be rescheduled.
1868
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1869
+ */
1870
+ readonly maintenanceAvailableScheduleMaxTime?: Date;
1871
+ /**
1872
+ * The maintenance title.
1873
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1874
+ */
1875
+ readonly maintenanceTitle?: string;
1876
+ /**
1877
+ * The maintenance description.
1878
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1879
+ */
1880
+ readonly maintenanceDescription?: string;
1881
+ /**
1882
+ * Provisioning state of the Maintenance.
1883
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1884
+ */
1885
+ readonly provisioningState?: MaintenanceProvisioningState;
1886
+ }
1887
+
1888
+ /** A list of maintenances. */
1889
+ export declare interface MaintenanceListResult {
1890
+ /** The list of maintenances in a server. */
1891
+ value?: Maintenance[];
1892
+ /** The link used to get the next page of operations. */
1893
+ nextLink?: string;
1894
+ }
1895
+
1896
+ /**
1897
+ * Defines values for MaintenanceProvisioningState. \
1898
+ * {@link KnownMaintenanceProvisioningState} can be used interchangeably with MaintenanceProvisioningState,
1899
+ * this enum contains the known values that the service supports.
1900
+ * ### Known values supported by the service
1901
+ * **Succeeded** \
1902
+ * **Creating** \
1903
+ * **Deleting** \
1904
+ * **Failed**
1905
+ */
1906
+ export declare type MaintenanceProvisioningState = string;
1907
+
1908
+ /** Interface representing a Maintenances. */
1909
+ export declare interface Maintenances {
1910
+ /**
1911
+ * List maintenances.
1912
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1913
+ * @param serverName The name of the server.
1914
+ * @param options The options parameters.
1915
+ */
1916
+ list(resourceGroupName: string, serverName: string, options?: MaintenancesListOptionalParams): PagedAsyncIterableIterator<Maintenance>;
1917
+ /**
1918
+ * Read maintenance.
1919
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1920
+ * @param serverName The name of the server.
1921
+ * @param maintenanceName The name of the maintenance.
1922
+ * @param options The options parameters.
1923
+ */
1924
+ read(resourceGroupName: string, serverName: string, maintenanceName: string, options?: MaintenancesReadOptionalParams): Promise<MaintenancesReadResponse>;
1925
+ /**
1926
+ * Update maintenances.
1927
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1928
+ * @param serverName The name of the server.
1929
+ * @param maintenanceName The name of the maintenance.
1930
+ * @param options The options parameters.
1931
+ */
1932
+ beginUpdate(resourceGroupName: string, serverName: string, maintenanceName: string, options?: MaintenancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MaintenancesUpdateResponse>, MaintenancesUpdateResponse>>;
1933
+ /**
1934
+ * Update maintenances.
1935
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1936
+ * @param serverName The name of the server.
1937
+ * @param maintenanceName The name of the maintenance.
1938
+ * @param options The options parameters.
1939
+ */
1940
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, maintenanceName: string, options?: MaintenancesUpdateOptionalParams): Promise<MaintenancesUpdateResponse>;
1941
+ }
1942
+
1943
+ /** Optional parameters. */
1944
+ export declare interface MaintenancesListNextOptionalParams extends coreClient.OperationOptions {
1945
+ }
1946
+
1947
+ /** Contains response data for the listNext operation. */
1948
+ export declare type MaintenancesListNextResponse = MaintenanceListResult;
1949
+
1950
+ /** Optional parameters. */
1951
+ export declare interface MaintenancesListOptionalParams extends coreClient.OperationOptions {
1952
+ }
1953
+
1954
+ /** Contains response data for the list operation. */
1955
+ export declare type MaintenancesListResponse = MaintenanceListResult;
1956
+
1957
+ /** Optional parameters. */
1958
+ export declare interface MaintenancesReadOptionalParams extends coreClient.OperationOptions {
1959
+ }
1960
+
1961
+ /** Contains response data for the read operation. */
1962
+ export declare type MaintenancesReadResponse = Maintenance;
1963
+
1964
+ /**
1965
+ * Defines values for MaintenanceState. \
1966
+ * {@link KnownMaintenanceState} can be used interchangeably with MaintenanceState,
1967
+ * this enum contains the known values that the service supports.
1968
+ * ### Known values supported by the service
1969
+ * **Scheduled** \
1970
+ * **ReScheduled** \
1971
+ * **InPreparation** \
1972
+ * **Processing** \
1973
+ * **Completed** \
1974
+ * **Canceled**
1975
+ */
1976
+ export declare type MaintenanceState = string;
1977
+
1978
+ /** Defines headers for Maintenances_update operation. */
1979
+ export declare interface MaintenancesUpdateHeaders {
1980
+ location?: string;
1981
+ }
1982
+
1983
+ /** Optional parameters. */
1984
+ export declare interface MaintenancesUpdateOptionalParams extends coreClient.OperationOptions {
1985
+ /** The required parameters for update maintenance on a server. */
1986
+ parameters?: MaintenanceUpdate;
1987
+ /** Delay to wait until next poll, in milliseconds. */
1988
+ updateIntervalInMs?: number;
1989
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1990
+ resumeFrom?: string;
1991
+ }
1992
+
1993
+ /** Contains response data for the update operation. */
1994
+ export declare type MaintenancesUpdateResponse = Maintenance;
1995
+
1996
+ /**
1997
+ * Defines values for MaintenanceType. \
1998
+ * {@link KnownMaintenanceType} can be used interchangeably with MaintenanceType,
1999
+ * this enum contains the known values that the service supports.
2000
+ * ### Known values supported by the service
2001
+ * **RoutineMaintenance** \
2002
+ * **MinorVersionUpgrade** \
2003
+ * **SecurityPatches** \
2004
+ * **HotFixes**
2005
+ */
2006
+ export declare type MaintenanceType = string;
2007
+
2008
+ /** Represents a maintenance update parameter. */
2009
+ export declare interface MaintenanceUpdate {
2010
+ /** The start time for a maintenance. */
2011
+ maintenanceStartTime?: Date;
2012
+ }
2013
+
1356
2014
  /** Maintenance window of a server. */
1357
2015
  export declare interface MaintenanceWindow {
1358
2016
  /** indicates whether custom window is enabled or disabled */
@@ -1376,29 +2034,38 @@ export declare type ManagedServiceIdentityType = string;
1376
2034
 
1377
2035
  export declare class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {
1378
2036
  $host: string;
1379
- subscriptionId: string;
2037
+ subscriptionId?: string;
1380
2038
  /**
1381
2039
  * Initializes a new instance of the MySQLManagementFlexibleServerClient class.
1382
2040
  * @param credentials Subscription credentials which uniquely identify client subscription.
1383
- * @param subscriptionId The ID of the target subscription.
2041
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
1384
2042
  * @param options The parameter options
1385
2043
  */
1386
2044
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MySQLManagementFlexibleServerClientOptionalParams);
2045
+ constructor(credentials: coreAuth.TokenCredential, options?: MySQLManagementFlexibleServerClientOptionalParams);
1387
2046
  azureADAdministrators: AzureADAdministrators;
1388
2047
  backups: Backups;
1389
2048
  backupAndExport: BackupAndExport;
2049
+ longRunningBackup: LongRunningBackup;
2050
+ longRunningBackups: LongRunningBackups;
1390
2051
  configurations: Configurations;
1391
2052
  databases: Databases;
1392
2053
  firewallRules: FirewallRules;
1393
2054
  servers: Servers;
1394
2055
  replicas: Replicas;
2056
+ serversMigration: ServersMigration;
2057
+ advancedThreatProtectionSettings: AdvancedThreatProtectionSettings;
1395
2058
  logFiles: LogFiles;
1396
2059
  locationBasedCapabilities: LocationBasedCapabilities;
2060
+ locationBasedCapabilitySet: LocationBasedCapabilitySet;
1397
2061
  checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;
1398
2062
  checkNameAvailability: CheckNameAvailability;
1399
2063
  checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;
2064
+ operationResults: OperationResults;
2065
+ operationProgress: OperationProgress;
1400
2066
  getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
1401
2067
  operations: Operations;
2068
+ maintenances: Maintenances;
1402
2069
  }
1403
2070
 
1404
2071
  /** Optional parameters. */
@@ -1409,6 +2076,34 @@ export declare interface MySQLManagementFlexibleServerClientOptionalParams exten
1409
2076
  endpoint?: string;
1410
2077
  }
1411
2078
 
2079
+ /** Properties to configure Identity for Bring your Own Keys */
2080
+ export declare interface MySQLServerIdentity {
2081
+ /**
2082
+ * ObjectId from the KeyVault
2083
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2084
+ */
2085
+ readonly principalId?: string;
2086
+ /**
2087
+ * TenantId from the KeyVault
2088
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2089
+ */
2090
+ readonly tenantId?: string;
2091
+ /** Type of managed service identity. */
2092
+ type?: ManagedServiceIdentityType;
2093
+ /** Metadata of user assigned identity. */
2094
+ userAssignedIdentities?: {
2095
+ [propertyName: string]: Record<string, unknown>;
2096
+ };
2097
+ }
2098
+
2099
+ /** Billing information related properties of a server. */
2100
+ export declare interface MySQLServerSku {
2101
+ /** The name of the sku, e.g. Standard_D32s_v3. */
2102
+ name: string;
2103
+ /** The tier of the particular SKU, e.g. GeneralPurpose. */
2104
+ tier: ServerSkuTier;
2105
+ }
2106
+
1412
2107
  /** Represents a resource name availability. */
1413
2108
  export declare interface NameAvailability {
1414
2109
  /** Error Message. */
@@ -1437,6 +2132,16 @@ export declare interface Network {
1437
2132
  privateDnsZoneResourceId?: string;
1438
2133
  }
1439
2134
 
2135
+ /**
2136
+ * Defines values for ObjectType. \
2137
+ * {@link KnownObjectType} can be used interchangeably with ObjectType,
2138
+ * this enum contains the known values that the service supports.
2139
+ * ### Known values supported by the service
2140
+ * **BackupAndExportResponse** \
2141
+ * **ImportFromStorageResponse**
2142
+ */
2143
+ export declare type ObjectType = string;
2144
+
1440
2145
  /** REST API operation definition. */
1441
2146
  export declare interface Operation {
1442
2147
  /** The name of the operation being performed on this particular object. */
@@ -1471,6 +2176,56 @@ export declare interface OperationListResult {
1471
2176
  nextLink?: string;
1472
2177
  }
1473
2178
 
2179
+ /** Interface representing a OperationProgress. */
2180
+ export declare interface OperationProgress {
2181
+ /**
2182
+ * Get the operation result for a long running operation.
2183
+ * @param locationName The name of the location.
2184
+ * @param operationId The ID of an ongoing async operation.
2185
+ * @param options The options parameters.
2186
+ */
2187
+ get(locationName: string, operationId: string, options?: OperationProgressGetOptionalParams): Promise<OperationProgressGetResponse>;
2188
+ }
2189
+
2190
+ /** Optional parameters. */
2191
+ export declare interface OperationProgressGetOptionalParams extends coreClient.OperationOptions {
2192
+ }
2193
+
2194
+ /** Contains response data for the get operation. */
2195
+ export declare type OperationProgressGetResponse = OperationProgressResult;
2196
+
2197
+ /** Represents the response properties specific to the operation */
2198
+ export declare interface OperationProgressResponseType {
2199
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2200
+ objectType: "BackupAndExportResponse" | "ImportFromStorageResponse";
2201
+ }
2202
+
2203
+ export declare type OperationProgressResponseTypeUnion = OperationProgressResponseType | BackupAndExportResponseType | ImportFromStorageResponseType;
2204
+
2205
+ /** Represents Operation Results API Response */
2206
+ export declare interface OperationProgressResult extends OperationStatusResult {
2207
+ /** Identifies the type of source operation */
2208
+ objectType?: ObjectType;
2209
+ }
2210
+
2211
+ /** Interface representing a OperationResults. */
2212
+ export declare interface OperationResults {
2213
+ /**
2214
+ * Get the operation result for a long running operation.
2215
+ * @param locationName The name of the location.
2216
+ * @param operationId The operation Id.
2217
+ * @param options The options parameters.
2218
+ */
2219
+ get(locationName: string, operationId: string, options?: OperationResultsGetOptionalParams): Promise<OperationResultsGetResponse>;
2220
+ }
2221
+
2222
+ /** Optional parameters. */
2223
+ export declare interface OperationResultsGetOptionalParams extends coreClient.OperationOptions {
2224
+ }
2225
+
2226
+ /** Contains response data for the get operation. */
2227
+ export declare type OperationResultsGetResponse = OperationStatusExtendedResult;
2228
+
1474
2229
  /** Interface representing a Operations. */
1475
2230
  export declare interface Operations {
1476
2231
  /**
@@ -1497,6 +2252,121 @@ export declare type OperationsListResponse = OperationListResult;
1497
2252
  /** Defines values for OperationStatus. */
1498
2253
  export declare type OperationStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "CancelInProgress" | "Canceled";
1499
2254
 
2255
+ /** Represents Operation Results API Response */
2256
+ export declare interface OperationStatusExtendedResult extends OperationStatusResult {
2257
+ /** The extended properties of Operation Results */
2258
+ properties?: {
2259
+ [propertyName: string]: any;
2260
+ };
2261
+ }
2262
+
2263
+ /** The current status of an async operation. */
2264
+ export declare interface OperationStatusResult {
2265
+ /** Fully qualified ID for the async operation. */
2266
+ id?: string;
2267
+ /**
2268
+ * Fully qualified ID of the resource against which the original async operation was started.
2269
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2270
+ */
2271
+ readonly resourceId?: string;
2272
+ /** Name of the async operation. */
2273
+ name?: string;
2274
+ /** Operation status. */
2275
+ status: string;
2276
+ /** Percent of the operation that is complete. */
2277
+ percentComplete?: number;
2278
+ /** The start time of the operation. */
2279
+ startTime?: Date;
2280
+ /** The end time of the operation. */
2281
+ endTime?: Date;
2282
+ /** The operations list. */
2283
+ operations?: OperationStatusResult[];
2284
+ /** If present, details of the operation error. */
2285
+ error?: ErrorDetail;
2286
+ }
2287
+
2288
+ /** The private endpoint resource. */
2289
+ export declare interface PrivateEndpoint {
2290
+ /**
2291
+ * The ARM identifier for private endpoint.
2292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2293
+ */
2294
+ readonly id?: string;
2295
+ }
2296
+
2297
+ /** The private endpoint connection resource. */
2298
+ export declare interface PrivateEndpointConnection extends Resource {
2299
+ /**
2300
+ * The group ids for the private endpoint resource.
2301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2302
+ */
2303
+ readonly groupIds?: string[];
2304
+ /** The private endpoint resource. */
2305
+ privateEndpoint?: PrivateEndpoint;
2306
+ /** A collection of information about the state of the connection between service consumer and provider. */
2307
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
2308
+ /**
2309
+ * The provisioning state of the private endpoint connection resource.
2310
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2311
+ */
2312
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
2313
+ }
2314
+
2315
+ /**
2316
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2317
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2318
+ * this enum contains the known values that the service supports.
2319
+ * ### Known values supported by the service
2320
+ * **Succeeded** \
2321
+ * **Creating** \
2322
+ * **Deleting** \
2323
+ * **Failed**
2324
+ */
2325
+ export declare type PrivateEndpointConnectionProvisioningState = string;
2326
+
2327
+ /**
2328
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2329
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2330
+ * this enum contains the known values that the service supports.
2331
+ * ### Known values supported by the service
2332
+ * **Pending** \
2333
+ * **Approved** \
2334
+ * **Rejected**
2335
+ */
2336
+ export declare type PrivateEndpointServiceConnectionStatus = string;
2337
+
2338
+ /** A collection of information about the state of the connection between service consumer and provider. */
2339
+ export declare interface PrivateLinkServiceConnectionState {
2340
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
2341
+ status?: PrivateEndpointServiceConnectionStatus;
2342
+ /** The reason for approval/rejection of the connection. */
2343
+ description?: string;
2344
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
2345
+ actionsRequired?: string;
2346
+ }
2347
+
2348
+ /** Server backup properties */
2349
+ export declare interface Provisioning extends ProxyResource {
2350
+ /**
2351
+ * The provisioning state of backup resource.
2352
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2353
+ */
2354
+ readonly provisioningState?: ProvisioningState;
2355
+ }
2356
+
2357
+ /**
2358
+ * Defines values for ProvisioningState. \
2359
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
2360
+ * this enum contains the known values that the service supports.
2361
+ * ### Known values supported by the service
2362
+ * **Succeeded** \
2363
+ * **Creating** \
2364
+ * **Deleting** \
2365
+ * **Failed** \
2366
+ * **Canceled**
2367
+ */
2368
+ export declare type ProvisioningState = string;
2369
+
1500
2370
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1501
2371
  export declare interface ProxyResource extends Resource {
1502
2372
  }
@@ -1550,7 +2420,7 @@ export declare type ResetAllToDefault = string;
1550
2420
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1551
2421
  export declare interface Resource {
1552
2422
  /**
1553
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2423
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
1554
2424
  * NOTE: This property will not be serialized. It can only be populated by the server.
1555
2425
  */
1556
2426
  readonly id?: string;
@@ -1564,19 +2434,19 @@ export declare interface Resource {
1564
2434
  * NOTE: This property will not be serialized. It can only be populated by the server.
1565
2435
  */
1566
2436
  readonly type?: string;
2437
+ /**
2438
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
2439
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2440
+ */
2441
+ readonly systemData?: SystemData;
1567
2442
  }
1568
2443
 
1569
2444
  /** Represents a server. */
1570
2445
  export declare interface Server extends TrackedResource {
1571
2446
  /** The cmk identity for the server. */
1572
- identity?: Identity;
2447
+ identity?: MySQLServerIdentity;
1573
2448
  /** The SKU (pricing tier) of the server. */
1574
- sku?: Sku;
1575
- /**
1576
- * The system metadata relating to this resource.
1577
- * NOTE: This property will not be serialized. It can only be populated by the server.
1578
- */
1579
- readonly systemData?: SystemData;
2449
+ sku?: MySQLServerSku;
1580
2450
  /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
1581
2451
  administratorLogin?: string;
1582
2452
  /**
@@ -1621,17 +2491,19 @@ export declare interface Server extends TrackedResource {
1621
2491
  highAvailability?: HighAvailability;
1622
2492
  /** Network related properties of a server. */
1623
2493
  network?: Network;
2494
+ /**
2495
+ * PrivateEndpointConnections related properties of a server.
2496
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2497
+ */
2498
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1624
2499
  /** Maintenance window of a server. */
1625
2500
  maintenanceWindow?: MaintenanceWindow;
2501
+ /** Source properties for import from storage. */
2502
+ importSourceProperties?: ImportSourceProperties;
1626
2503
  }
1627
2504
 
1628
2505
  /** Server backup properties */
1629
2506
  export declare interface ServerBackup extends ProxyResource {
1630
- /**
1631
- * The system metadata relating to this resource.
1632
- * NOTE: This property will not be serialized. It can only be populated by the server.
1633
- */
1634
- readonly systemData?: SystemData;
1635
2507
  /** Backup type. */
1636
2508
  backupType?: string;
1637
2509
  /** Backup completed time (ISO8601 format). */
@@ -1648,6 +2520,30 @@ export declare interface ServerBackupListResult {
1648
2520
  nextLink?: string;
1649
2521
  }
1650
2522
 
2523
+ /** Server backup properties */
2524
+ export declare interface ServerBackupV2 extends ProxyResource {
2525
+ /** Backup name */
2526
+ backupNameV2?: string;
2527
+ backupType?: BackupType;
2528
+ /** Backup completed time (ISO8601 format). */
2529
+ completedTime?: Date;
2530
+ /** Backup source */
2531
+ source?: string;
2532
+ /**
2533
+ * The provisioning state of backup resource.
2534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2535
+ */
2536
+ readonly provisioningState?: ProvisioningState;
2537
+ }
2538
+
2539
+ /** A list of server backups. */
2540
+ export declare interface ServerBackupV2ListResult {
2541
+ /** The list of backups of a server. */
2542
+ value?: ServerBackupV2[];
2543
+ /** The link used to get the next page of operations. */
2544
+ nextLink?: string;
2545
+ }
2546
+
1651
2547
  /** Server edition capabilities. */
1652
2548
  export declare interface ServerEditionCapability {
1653
2549
  /**
@@ -1667,12 +2563,41 @@ export declare interface ServerEditionCapability {
1667
2563
  readonly supportedServerVersions?: ServerVersionCapability[];
1668
2564
  }
1669
2565
 
2566
+ /** Server edition capabilities. */
2567
+ export declare interface ServerEditionCapabilityV2 {
2568
+ /**
2569
+ * Server edition name
2570
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2571
+ */
2572
+ readonly name?: string;
2573
+ /**
2574
+ * Default Sku name
2575
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2576
+ */
2577
+ readonly defaultSku?: string;
2578
+ /**
2579
+ * Default storage size
2580
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2581
+ */
2582
+ readonly defaultStorageSize?: number;
2583
+ /**
2584
+ * A list of supported storage editions
2585
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2586
+ */
2587
+ readonly supportedStorageEditions?: StorageEditionCapability[];
2588
+ /**
2589
+ * A list of supported Skus
2590
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2591
+ */
2592
+ readonly supportedSkus?: SkuCapabilityV2[];
2593
+ }
2594
+
1670
2595
  /** Parameters allowed to update for a server. */
1671
2596
  export declare interface ServerForUpdate {
1672
2597
  /** The cmk identity for the server. */
1673
- identity?: Identity;
2598
+ identity?: MySQLServerIdentity;
1674
2599
  /** The SKU (pricing tier) of the server. */
1675
- sku?: Sku;
2600
+ sku?: MySQLServerSku;
1676
2601
  /** Application-specific metadata in the form of key-value pairs. */
1677
2602
  tags?: {
1678
2603
  [propertyName: string]: string;
@@ -1696,11 +2621,13 @@ export declare interface ServerForUpdate {
1696
2621
  replicationRole?: ReplicationRole;
1697
2622
  /** The Data Encryption for CMK. */
1698
2623
  dataEncryption?: DataEncryption;
2624
+ /** Network related properties of a server */
2625
+ network?: Network;
1699
2626
  }
1700
2627
 
1701
- /** Server gtid set parameters. */
2628
+ /** Server Gtid set parameters. */
1702
2629
  export declare interface ServerGtidSetParameter {
1703
- /** The gtid set of server. */
2630
+ /** The Gtid set of server. */
1704
2631
  gtidSet?: string;
1705
2632
  }
1706
2633
 
@@ -1804,6 +2731,14 @@ export declare interface Servers {
1804
2731
  * @param options The options parameters.
1805
2732
  */
1806
2733
  beginFailoverAndWait(resourceGroupName: string, serverName: string, options?: ServersFailoverOptionalParams): Promise<void>;
2734
+ /**
2735
+ * Validate a deployment of high availability.
2736
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2737
+ * @param serverName The name of the server.
2738
+ * @param parameters The required parameters for validation of high availability deployment.
2739
+ * @param options The options parameters.
2740
+ */
2741
+ validateEstimateHighAvailability(resourceGroupName: string, serverName: string, parameters: HighAvailabilityValidationEstimation, options?: ServersValidateEstimateHighAvailabilityOptionalParams): Promise<ServersValidateEstimateHighAvailabilityResponse>;
1807
2742
  /**
1808
2743
  * Restarts a server.
1809
2744
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1915,6 +2850,17 @@ export declare interface ServersGetOptionalParams extends coreClient.OperationOp
1915
2850
  /** Contains response data for the get operation. */
1916
2851
  export declare type ServersGetResponse = Server;
1917
2852
 
2853
+ /**
2854
+ * Defines values for ServerSkuTier. \
2855
+ * {@link KnownServerSkuTier} can be used interchangeably with ServerSkuTier,
2856
+ * this enum contains the known values that the service supports.
2857
+ * ### Known values supported by the service
2858
+ * **Burstable** \
2859
+ * **GeneralPurpose** \
2860
+ * **MemoryOptimized**
2861
+ */
2862
+ export declare type ServerSkuTier = string;
2863
+
1918
2864
  /** Optional parameters. */
1919
2865
  export declare interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1920
2866
  }
@@ -1943,6 +2889,43 @@ export declare interface ServersListOptionalParams extends coreClient.OperationO
1943
2889
  /** Contains response data for the list operation. */
1944
2890
  export declare type ServersListResponse = ServerListResult;
1945
2891
 
2892
+ /** Interface representing a ServersMigration. */
2893
+ export declare interface ServersMigration {
2894
+ /**
2895
+ * Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server.
2896
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2897
+ * @param serverName The name of the server.
2898
+ * @param options The options parameters.
2899
+ */
2900
+ beginCutoverMigration(resourceGroupName: string, serverName: string, options?: ServersMigrationCutoverMigrationOptionalParams): Promise<SimplePollerLike<OperationState<ServersMigrationCutoverMigrationResponse>, ServersMigrationCutoverMigrationResponse>>;
2901
+ /**
2902
+ * Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server.
2903
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2904
+ * @param serverName The name of the server.
2905
+ * @param options The options parameters.
2906
+ */
2907
+ beginCutoverMigrationAndWait(resourceGroupName: string, serverName: string, options?: ServersMigrationCutoverMigrationOptionalParams): Promise<ServersMigrationCutoverMigrationResponse>;
2908
+ }
2909
+
2910
+ /** Defines headers for ServersMigration_cutoverMigration operation. */
2911
+ export declare interface ServersMigrationCutoverMigrationHeaders {
2912
+ /** URL to retrieve the final result after operation completes. */
2913
+ location?: string;
2914
+ /** URL to query for status of the operation. */
2915
+ azureAsyncOperation?: string;
2916
+ }
2917
+
2918
+ /** Optional parameters. */
2919
+ export declare interface ServersMigrationCutoverMigrationOptionalParams extends coreClient.OperationOptions {
2920
+ /** Delay to wait until next poll, in milliseconds. */
2921
+ updateIntervalInMs?: number;
2922
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2923
+ resumeFrom?: string;
2924
+ }
2925
+
2926
+ /** Contains response data for the cutoverMigration operation. */
2927
+ export declare type ServersMigrationCutoverMigrationResponse = Server;
2928
+
1946
2929
  /** Defines headers for Servers_resetGtid operation. */
1947
2930
  export declare interface ServersResetGtidHeaders {
1948
2931
  location?: string;
@@ -2026,6 +3009,13 @@ export declare interface ServersUpdateOptionalParams extends coreClient.Operatio
2026
3009
  /** Contains response data for the update operation. */
2027
3010
  export declare type ServersUpdateResponse = Server;
2028
3011
 
3012
+ /** Optional parameters. */
3013
+ export declare interface ServersValidateEstimateHighAvailabilityOptionalParams extends coreClient.OperationOptions {
3014
+ }
3015
+
3016
+ /** Contains response data for the validateEstimateHighAvailability operation. */
3017
+ export declare type ServersValidateEstimateHighAvailabilityResponse = HighAvailabilityValidationEstimation;
3018
+
2029
3019
  /**
2030
3020
  * Defines values for ServerVersion. \
2031
3021
  * {@link KnownServerVersion} can be used interchangeably with ServerVersion,
@@ -2050,12 +3040,13 @@ export declare interface ServerVersionCapability {
2050
3040
  readonly supportedSkus?: SkuCapability[];
2051
3041
  }
2052
3042
 
2053
- /** Billing information related properties of a server. */
2054
- export declare interface Sku {
2055
- /** The name of the sku, e.g. Standard_D32s_v3. */
2056
- name: string;
2057
- /** The tier of the particular SKU, e.g. GeneralPurpose. */
2058
- tier: SkuTier;
3043
+ /** Server version capabilities. */
3044
+ export declare interface ServerVersionCapabilityV2 {
3045
+ /**
3046
+ * server version
3047
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3048
+ */
3049
+ readonly name?: string;
2059
3050
  }
2060
3051
 
2061
3052
  /** Sku capability */
@@ -2082,16 +3073,39 @@ export declare interface SkuCapability {
2082
3073
  readonly supportedMemoryPerVCoreMB?: number;
2083
3074
  }
2084
3075
 
2085
- /**
2086
- * Defines values for SkuTier. \
2087
- * {@link KnownSkuTier} can be used interchangeably with SkuTier,
2088
- * this enum contains the known values that the service supports.
2089
- * ### Known values supported by the service
2090
- * **Burstable** \
2091
- * **GeneralPurpose** \
2092
- * **MemoryOptimized**
2093
- */
2094
- export declare type SkuTier = string;
3076
+ /** Sku capability */
3077
+ export declare interface SkuCapabilityV2 {
3078
+ /**
3079
+ * vCore name
3080
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3081
+ */
3082
+ readonly name?: string;
3083
+ /**
3084
+ * supported vCores
3085
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3086
+ */
3087
+ readonly vCores?: number;
3088
+ /**
3089
+ * supported IOPS
3090
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3091
+ */
3092
+ readonly supportedIops?: number;
3093
+ /**
3094
+ * supported memory per vCore in MB
3095
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3096
+ */
3097
+ readonly supportedMemoryPerVCoreMB?: number;
3098
+ /**
3099
+ * Supported zones
3100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3101
+ */
3102
+ readonly supportedZones?: string[];
3103
+ /**
3104
+ * Supported high availability mode
3105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3106
+ */
3107
+ readonly supportedHAMode?: string[];
3108
+ }
2095
3109
 
2096
3110
  /** Storage Profile properties of a server */
2097
3111
  declare interface Storage_2 {
@@ -2140,6 +3154,16 @@ export declare interface StorageEditionCapability {
2140
3154
  * NOTE: This property will not be serialized. It can only be populated by the server.
2141
3155
  */
2142
3156
  readonly maxBackupRetentionDays?: number;
3157
+ /**
3158
+ * Minimal backup interval hours
3159
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3160
+ */
3161
+ readonly minBackupIntervalHours?: number;
3162
+ /**
3163
+ * Maximum backup interval hours
3164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3165
+ */
3166
+ readonly maxBackupIntervalHours?: number;
2143
3167
  }
2144
3168
 
2145
3169
  /** Metadata pertaining to creation and last modification of the resource. */