@azure/arm-postgresql-flexible 8.0.0-beta.2 → 8.0.0-beta.4

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 (266) hide show
  1. package/CHANGELOG.md +540 -1
  2. package/dist/index.js +6111 -3678
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/administratorsCreateSample.js +1 -1
  7. package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
  9. package/dist-esm/samples-dev/administratorsListByServerSample.js +4 -9
  10. package/dist-esm/samples-dev/administratorsListByServerSample.js.map +1 -1
  11. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/backupsListByServerSample.js +4 -9
  13. package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
  14. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +3 -4
  15. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -1
  16. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  17. package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
  18. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  19. package/dist-esm/samples-dev/configurationsListByServerSample.js +4 -9
  20. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  21. package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
  22. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  26. package/dist-esm/samples-dev/databasesListByServerSample.js +4 -9
  27. package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -1
  28. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
  29. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  30. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  31. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +4 -9
  32. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
  33. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +1 -1
  34. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +1 -1
  35. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +2 -4
  36. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -1
  37. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +4 -9
  38. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
  39. package/dist-esm/samples-dev/logFilesListByServerSample.js +4 -9
  40. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
  41. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +1 -1
  42. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +4 -9
  43. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
  44. package/dist-esm/samples-dev/migrationsCreateSample.js +74 -8
  45. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/migrationsDeleteSample.js +3 -4
  47. package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -1
  48. package/dist-esm/samples-dev/migrationsGetSample.js +79 -4
  49. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +6 -12
  51. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
  52. package/dist-esm/samples-dev/migrationsUpdateSample.js +6 -8
  53. package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  55. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +40 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +46 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +55 -0
  70. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +40 -0
  74. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  75. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +55 -0
  78. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -0
  79. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/quotaUsagesListSample.js +54 -0
  82. package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -0
  83. package/dist-esm/samples-dev/replicasListByServerSample.js +4 -9
  84. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
  85. package/dist-esm/samples-dev/serverCapabilitiesListSample.js +4 -9
  86. package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
  87. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +41 -0
  90. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -0
  91. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +40 -0
  94. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js.map +1 -0
  95. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +55 -0
  98. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -0
  99. package/dist-esm/samples-dev/serversCreateSample.js +9 -9
  100. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  102. package/dist-esm/samples-dev/serversGetSample.js +21 -2
  103. package/dist-esm/samples-dev/serversGetSample.js.map +1 -1
  104. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +4 -9
  105. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
  106. package/dist-esm/samples-dev/serversListSample.js +4 -9
  107. package/dist-esm/samples-dev/serversListSample.js.map +1 -1
  108. package/dist-esm/samples-dev/serversRestartSample.js +2 -2
  109. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  110. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  111. package/dist-esm/samples-dev/serversUpdateSample.js +95 -7
  112. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  113. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts +2 -0
  114. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +44 -0
  116. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -0
  117. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts +2 -0
  118. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts.map +1 -0
  119. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +40 -0
  120. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js.map +1 -0
  121. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts +2 -0
  122. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/virtualEndpointsGetSample.js +40 -0
  124. package/dist-esm/samples-dev/virtualEndpointsGetSample.js.map +1 -0
  125. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts +2 -0
  126. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts.map +1 -0
  127. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +55 -0
  128. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -0
  129. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts +2 -0
  130. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts.map +1 -0
  131. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +44 -0
  132. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -0
  133. package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
  134. package/dist-esm/src/models/index.d.ts +822 -119
  135. package/dist-esm/src/models/index.d.ts.map +1 -1
  136. package/dist-esm/src/models/index.js +158 -12
  137. package/dist-esm/src/models/index.js.map +1 -1
  138. package/dist-esm/src/models/mappers.d.ts +32 -7
  139. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  140. package/dist-esm/src/models/mappers.js +972 -160
  141. package/dist-esm/src/models/mappers.js.map +1 -1
  142. package/dist-esm/src/models/parameters.d.ts +12 -4
  143. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  144. package/dist-esm/src/models/parameters.js +82 -18
  145. package/dist-esm/src/models/parameters.js.map +1 -1
  146. package/dist-esm/src/operations/administrators.js +3 -8
  147. package/dist-esm/src/operations/administrators.js.map +1 -1
  148. package/dist-esm/src/operations/backups.js +3 -8
  149. package/dist-esm/src/operations/backups.js.map +1 -1
  150. package/dist-esm/src/operations/configurations.js +3 -8
  151. package/dist-esm/src/operations/configurations.js.map +1 -1
  152. package/dist-esm/src/operations/databases.js +3 -8
  153. package/dist-esm/src/operations/databases.js.map +1 -1
  154. package/dist-esm/src/operations/firewallRules.js +3 -8
  155. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  156. package/dist-esm/src/operations/flexibleServer.js +2 -2
  157. package/dist-esm/src/operations/flexibleServer.js.map +1 -1
  158. package/dist-esm/src/operations/index.d.ts +8 -2
  159. package/dist-esm/src/operations/index.d.ts.map +1 -1
  160. package/dist-esm/src/operations/index.js +8 -2
  161. package/dist-esm/src/operations/index.js.map +1 -1
  162. package/dist-esm/src/operations/locationBasedCapabilities.js +3 -8
  163. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
  164. package/dist-esm/src/operations/logFiles.js +3 -8
  165. package/dist-esm/src/operations/logFiles.js.map +1 -1
  166. package/dist-esm/src/operations/ltrBackupOperations.js +3 -8
  167. package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
  168. package/dist-esm/src/operations/migrations.js +5 -10
  169. package/dist-esm/src/operations/migrations.js.map +1 -1
  170. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +48 -0
  171. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  172. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +218 -0
  173. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  174. package/dist-esm/src/operations/privateEndpointConnections.d.ts +46 -0
  175. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  176. package/dist-esm/src/operations/privateEndpointConnections.js +182 -0
  177. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  178. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  179. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  180. package/dist-esm/src/operations/privateLinkResources.js +182 -0
  181. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  182. package/dist-esm/src/operations/quotaUsages.d.ts +35 -0
  183. package/dist-esm/src/operations/quotaUsages.d.ts.map +1 -0
  184. package/dist-esm/src/operations/quotaUsages.js +145 -0
  185. package/dist-esm/src/operations/quotaUsages.js.map +1 -0
  186. package/dist-esm/src/operations/replicas.js +3 -8
  187. package/dist-esm/src/operations/replicas.js.map +1 -1
  188. package/dist-esm/src/operations/serverCapabilities.js +3 -8
  189. package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
  190. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts +65 -0
  191. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -0
  192. package/dist-esm/src/operations/serverThreatProtectionSettings.js +283 -0
  193. package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -0
  194. package/dist-esm/src/operations/servers.js +6 -16
  195. package/dist-esm/src/operations/servers.js.map +1 -1
  196. package/dist-esm/src/operations/virtualEndpoints.d.ts +101 -0
  197. package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -0
  198. package/dist-esm/src/operations/virtualEndpoints.js +473 -0
  199. package/dist-esm/src/operations/virtualEndpoints.js.map +1 -0
  200. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
  201. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -2
  202. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  203. package/dist-esm/src/operationsInterfaces/index.js +8 -2
  204. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  205. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +40 -0
  206. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  207. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  208. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  209. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +21 -0
  210. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  211. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  212. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  213. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  214. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  215. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  216. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  217. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts +12 -0
  218. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  219. package/dist-esm/src/operationsInterfaces/quotaUsages.js +9 -0
  220. package/dist-esm/src/operationsInterfaces/quotaUsages.js.map +1 -0
  221. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts +40 -0
  222. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -0
  223. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js +9 -0
  224. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -0
  225. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts +76 -0
  226. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts.map +1 -0
  227. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js +9 -0
  228. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js.map +1 -0
  229. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +12 -5
  230. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  231. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +19 -15
  232. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  233. package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts +4 -0
  234. package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts.map +1 -0
  235. package/dist-esm/test/postgresql_flexible_operations_test.spec.js +55 -0
  236. package/dist-esm/test/postgresql_flexible_operations_test.spec.js.map +1 -0
  237. package/package.json +15 -19
  238. package/review/arm-postgresql-flexible.api.md +551 -6
  239. package/src/models/index.ts +934 -135
  240. package/src/models/mappers.ts +1189 -325
  241. package/src/models/parameters.ts +96 -20
  242. package/src/operations/flexibleServer.ts +2 -2
  243. package/src/operations/index.ts +8 -2
  244. package/src/operations/migrations.ts +2 -2
  245. package/src/operations/privateEndpointConnectionOperations.ts +316 -0
  246. package/src/operations/privateEndpointConnections.ts +243 -0
  247. package/src/operations/privateLinkResources.ts +242 -0
  248. package/src/operations/quotaUsages.ts +170 -0
  249. package/src/operations/serverThreatProtectionSettings.ts +393 -0
  250. package/src/operations/virtualEndpoints.ts +667 -0
  251. package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
  252. package/src/operationsInterfaces/index.ts +8 -2
  253. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +86 -0
  254. package/src/operationsInterfaces/privateEndpointConnections.ts +44 -0
  255. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  256. package/src/operationsInterfaces/quotaUsages.ts +24 -0
  257. package/src/operationsInterfaces/serverThreatProtectionSettings.ts +83 -0
  258. package/src/operationsInterfaces/virtualEndpoints.ts +155 -0
  259. package/src/postgreSQLManagementFlexibleServerClient.ts +61 -17
  260. package/types/arm-postgresql-flexible.d.ts +1025 -27
  261. package/types/tsdoc-metadata.json +1 -1
  262. package/dist-esm/test/sampleTest.d.ts +0 -2
  263. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  264. package/dist-esm/test/sampleTest.js +0 -38
  265. package/dist-esm/test/sampleTest.js.map +0 -1
  266. package/rollup.config.js +0 -122
@@ -21,7 +21,7 @@ export interface ActiveDirectoryAdministratorAdd {
21
21
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
22
22
  export interface Resource {
23
23
  /**
24
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
24
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
25
25
  * NOTE: This property will not be serialized. It can only be populated by the server.
26
26
  */
27
27
  readonly id?: string;
@@ -282,12 +282,13 @@ export interface Storage {
282
282
  /** Flag to enable / disable Storage Auto grow for flexible server. */
283
283
  autoGrow?: StorageAutoGrow;
284
284
  /** Name of storage tier for IOPS. */
285
- iopsTier?: AzureManagedDiskPerformanceTiers;
286
- /**
287
- * Storage tier IOPS quantity.
288
- * NOTE: This property will not be serialized. It can only be populated by the server.
289
- */
290
- readonly iops?: number;
285
+ tier?: AzureManagedDiskPerformanceTiers;
286
+ /** Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS */
287
+ iops?: number;
288
+ /** Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS */
289
+ throughput?: number;
290
+ /** Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified */
291
+ type?: StorageType;
291
292
  }
292
293
 
293
294
  /** Authentication configuration properties of a server */
@@ -333,11 +334,8 @@ export interface Backup {
333
334
 
334
335
  /** Network properties of a server. */
335
336
  export interface Network {
336
- /**
337
- * public network access is enabled or not
338
- * NOTE: This property will not be serialized. It can only be populated by the server.
339
- */
340
- readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
337
+ /** public network access is enabled or not */
338
+ publicNetworkAccess?: ServerPublicNetworkAccessState;
341
339
  /** Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone. */
342
340
  delegatedSubnetResourceId?: string;
343
341
  /** Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone. */
@@ -369,6 +367,45 @@ export interface MaintenanceWindow {
369
367
  dayOfWeek?: number;
370
368
  }
371
369
 
370
+ /** Replica properties of a server */
371
+ export interface Replica {
372
+ /** Used to indicate role of the server in replication set. */
373
+ role?: ReplicationRole;
374
+ /**
375
+ * Replicas allowed for a server.
376
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
+ */
378
+ readonly capacity?: number;
379
+ /**
380
+ * Gets the replication state of a replica server. This property is returned only for replicas api call. Supported values are Active, Catchup, Provisioning, Updating, Broken, Reconfiguring
381
+ * NOTE: This property will not be serialized. It can only be populated by the server.
382
+ */
383
+ readonly replicationState?: ReplicationState;
384
+ /** Sets the promote mode for a replica server. This is a write only property. */
385
+ promoteMode?: ReadReplicaPromoteMode;
386
+ /** Sets the promote options for a replica server. This is a write only property. */
387
+ promoteOption?: ReplicationPromoteOption;
388
+ }
389
+
390
+ /** The private endpoint resource. */
391
+ export interface PrivateEndpoint {
392
+ /**
393
+ * The ARM identifier for private endpoint.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly id?: string;
397
+ }
398
+
399
+ /** A collection of information about the state of the connection between service consumer and provider. */
400
+ export interface PrivateLinkServiceConnectionState {
401
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
402
+ status?: PrivateEndpointServiceConnectionStatus;
403
+ /** The reason for approval/rejection of the connection. */
404
+ description?: string;
405
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
406
+ actionsRequired?: string;
407
+ }
408
+
372
409
  /** Represents a server to be updated. */
373
410
  export interface ServerForUpdate {
374
411
  /** The SKU (pricing tier) of the server. */
@@ -382,7 +419,7 @@ export interface ServerForUpdate {
382
419
  * This value contains a credential. Consider obscuring before showing to users
383
420
  */
384
421
  administratorLoginPassword?: string;
385
- /** PostgreSQL Server version. */
422
+ /** PostgreSQL Server version. Version 16 is currently not supported for MVU. */
386
423
  version?: ServerVersion;
387
424
  /** Storage properties of a server. */
388
425
  storage?: Storage;
@@ -400,6 +437,8 @@ export interface ServerForUpdate {
400
437
  createMode?: CreateModeForUpdate;
401
438
  /** Replication role of the server */
402
439
  replicationRole?: ReplicationRole;
440
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
441
+ replica?: Replica;
403
442
  /** Network properties of a server. These are required to be passed only in case if server is a private access server. */
404
443
  network?: Network;
405
444
  }
@@ -412,6 +451,68 @@ export interface ServerListResult {
412
451
  nextLink?: string;
413
452
  }
414
453
 
454
+ /** BackupRequestBase is the base for all backup request. */
455
+ export interface BackupRequestBase {
456
+ /** Backup Settings */
457
+ backupSettings: BackupSettings;
458
+ }
459
+
460
+ /** The settings for the long term backup. */
461
+ export interface BackupSettings {
462
+ /** Backup Name for the current backup */
463
+ backupName: string;
464
+ }
465
+
466
+ /** Response for the LTR pre-backup API call */
467
+ export interface LtrPreBackupResponse {
468
+ /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
469
+ numberOfContainers: number;
470
+ }
471
+
472
+ /** Details about the target where the backup content will be stored. */
473
+ export interface BackupStoreDetails {
474
+ /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
475
+ sasUriList: string[];
476
+ }
477
+
478
+ /** Response for the LTR backup API call */
479
+ export interface LtrBackupResponse {
480
+ /** Size of datasource in bytes */
481
+ datasourceSizeInBytes?: number;
482
+ /** Data transferred in bytes */
483
+ dataTransferredInBytes?: number;
484
+ /** Name of Backup operation */
485
+ backupName?: string;
486
+ /** Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc */
487
+ backupMetadata?: string;
488
+ /** Service-set extensible enum indicating the status of operation */
489
+ status?: ExecutionStatus;
490
+ /** Start time of the operation. */
491
+ startTime?: Date;
492
+ /** End time of the operation. */
493
+ endTime?: Date;
494
+ /** PercentageCompleted */
495
+ percentComplete?: number;
496
+ /**
497
+ * The error code.
498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
499
+ */
500
+ readonly errorCode?: string;
501
+ /**
502
+ * The error message.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
+ */
505
+ readonly errorMessage?: string;
506
+ }
507
+
508
+ /** A list of long term retention backup operations for server. */
509
+ export interface LtrServerBackupOperationList {
510
+ /** The list of long term retention server backup operations */
511
+ value?: LtrServerBackupOperation[];
512
+ /** The link used to get the next page of operations. */
513
+ nextLink?: string;
514
+ }
515
+
415
516
  /** Migration status. */
416
517
  export interface MigrationStatus {
417
518
  /**
@@ -438,6 +539,90 @@ export interface MigrationSubStateDetails {
438
539
  * NOTE: This property will not be serialized. It can only be populated by the server.
439
540
  */
440
541
  readonly currentSubState?: MigrationSubState;
542
+ /** Dictionary of <DbMigrationStatus> */
543
+ dbDetails?: { [propertyName: string]: DbMigrationStatus };
544
+ /** Details for the validation for migration */
545
+ validationDetails?: ValidationDetails;
546
+ }
547
+
548
+ /** Migration status of an individual database */
549
+ export interface DbMigrationStatus {
550
+ /** Name of the database */
551
+ databaseName?: string;
552
+ /** Migration db state of an individual database */
553
+ migrationState?: MigrationDbState;
554
+ /** Migration operation of an individual database */
555
+ migrationOperation?: string;
556
+ /** Start date-time of a migration state */
557
+ startedOn?: Date;
558
+ /** End date-time of a migration state */
559
+ endedOn?: Date;
560
+ /** Number of tables queued for the migration of a DB */
561
+ fullLoadQueuedTables?: number;
562
+ /** Number of tables errored out during the migration of a DB */
563
+ fullLoadErroredTables?: number;
564
+ /** Number of tables loading during the migration of a DB */
565
+ fullLoadLoadingTables?: number;
566
+ /** Number of tables loaded during the migration of a DB */
567
+ fullLoadCompletedTables?: number;
568
+ /** CDC update counter */
569
+ cdcUpdateCounter?: number;
570
+ /** CDC delete counter */
571
+ cdcDeleteCounter?: number;
572
+ /** CDC insert counter */
573
+ cdcInsertCounter?: number;
574
+ /** CDC applied changes counter */
575
+ appliedChanges?: number;
576
+ /** CDC incoming changes counter */
577
+ incomingChanges?: number;
578
+ /** Lag in seconds between source and target during online phase */
579
+ latency?: number;
580
+ /** Error message, if any, for the migration state */
581
+ message?: string;
582
+ }
583
+
584
+ /** Details for the validation for migration */
585
+ export interface ValidationDetails {
586
+ /** Validation status for migration */
587
+ status?: ValidationState;
588
+ /** Validation Start date-time in UTC */
589
+ validationStartTimeInUtc?: Date;
590
+ /** Validation End date-time in UTC */
591
+ validationEndTimeInUtc?: Date;
592
+ /** Details of server level validations */
593
+ serverLevelValidationDetails?: ValidationSummaryItem[];
594
+ /** Details of server level validations */
595
+ dbLevelValidationDetails?: DbLevelValidationStatus[];
596
+ }
597
+
598
+ /** Validation summary object */
599
+ export interface ValidationSummaryItem {
600
+ /** Validation type */
601
+ type?: string;
602
+ /** Validation status for migration */
603
+ state?: ValidationState;
604
+ /** Validation messages */
605
+ messages?: ValidationMessage[];
606
+ }
607
+
608
+ /** Validation message object */
609
+ export interface ValidationMessage {
610
+ /** Severity of validation message */
611
+ state?: ValidationState;
612
+ /** Validation message string */
613
+ message?: string;
614
+ }
615
+
616
+ /** Validation status summary for an individual database */
617
+ export interface DbLevelValidationStatus {
618
+ /** Name of the database */
619
+ databaseName?: string;
620
+ /** Start date-time of a database level validation */
621
+ startedOn?: Date;
622
+ /** End date-time of a database level validation */
623
+ endedOn?: Date;
624
+ /** Summary of database level validations */
625
+ summary?: ValidationSummaryItem[];
441
626
  }
442
627
 
443
628
  /** Database server metadata. */
@@ -451,16 +636,16 @@ export interface DbServerMetadata {
451
636
  version?: string;
452
637
  /** Storage size in MB for database server */
453
638
  storageMb?: number;
454
- /** SKU for the database server */
639
+ /** SKU for the database server. This object is empty for PG single server */
455
640
  sku?: ServerSku;
456
641
  }
457
642
 
458
643
  /** Sku information related properties of a server. */
459
644
  export interface ServerSku {
460
645
  /** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
461
- name: string;
646
+ name?: string;
462
647
  /** The tier of the particular SKU, e.g. Burstable. */
463
- tier: SkuTier;
648
+ tier?: SkuTier;
464
649
  }
465
650
 
466
651
  /** Migration secret parameters. */
@@ -613,6 +798,70 @@ export interface OperationDisplay {
613
798
  readonly description?: string;
614
799
  }
615
800
 
801
+ /** A list of private endpoint connections. */
802
+ export interface PrivateEndpointConnectionListResult {
803
+ /**
804
+ * Array of results.
805
+ * NOTE: This property will not be serialized. It can only be populated by the server.
806
+ */
807
+ readonly value?: PrivateEndpointConnection[];
808
+ /**
809
+ * The URL to get the next set of results.
810
+ * NOTE: This property will not be serialized. It can only be populated by the server.
811
+ */
812
+ readonly nextLink?: string;
813
+ }
814
+
815
+ /** A list of private link resources */
816
+ export interface PrivateLinkResourceListResult {
817
+ /**
818
+ * Array of results.
819
+ * NOTE: This property will not be serialized. It can only be populated by the server.
820
+ */
821
+ readonly value?: PrivateLinkResource[];
822
+ /**
823
+ * Link to retrieve next page of results.
824
+ * NOTE: This property will not be serialized. It can only be populated by the server.
825
+ */
826
+ readonly nextLink?: string;
827
+ }
828
+
829
+ /** Capability for the PostgreSQL server */
830
+ export interface QuotaUsagesListResult {
831
+ /**
832
+ * A list of quota usages.
833
+ * NOTE: This property will not be serialized. It can only be populated by the server.
834
+ */
835
+ readonly value?: QuotaUsage[];
836
+ /**
837
+ * Link to retrieve next page of results.
838
+ * NOTE: This property will not be serialized. It can only be populated by the server.
839
+ */
840
+ readonly nextLink?: string;
841
+ }
842
+
843
+ /** Quota usage for flexible servers */
844
+ export interface QuotaUsage {
845
+ /** Name of quota usage for flexible servers */
846
+ name?: NameProperty;
847
+ /** Quota limit */
848
+ limit?: number;
849
+ /** Quota unit */
850
+ unit?: string;
851
+ /** Current Quota usage value */
852
+ currentValue?: number;
853
+ /** Fully qualified ARM resource Id */
854
+ id?: string;
855
+ }
856
+
857
+ /** Name property for quota usage */
858
+ export interface NameProperty {
859
+ /** Name value */
860
+ value?: string;
861
+ /** Localized name */
862
+ localizedValue?: string;
863
+ }
864
+
616
865
  /** A List of logFiles. */
617
866
  export interface LogFileListResult {
618
867
  /** The list of logFiles in a server */
@@ -629,6 +878,41 @@ export interface RestartParameter {
629
878
  failoverMode?: FailoverMode;
630
879
  }
631
880
 
881
+ /** A list of the server's Advanced Threat Protection settings. */
882
+ export interface ServerThreatProtectionListResult {
883
+ /**
884
+ * Array of results.
885
+ * NOTE: This property will not be serialized. It can only be populated by the server.
886
+ */
887
+ readonly value?: ServerThreatProtectionSettingsModel[];
888
+ /**
889
+ * Link to retrieve next page of results.
890
+ * NOTE: This property will not be serialized. It can only be populated by the server.
891
+ */
892
+ readonly nextLink?: string;
893
+ }
894
+
895
+ /** Represents a virtual endpoint for a server. */
896
+ export interface VirtualEndpointResourceForPatch {
897
+ /** The endpoint type for the virtual endpoint. */
898
+ endpointType?: VirtualEndpointType;
899
+ /** List of members for a virtual endpoint */
900
+ members?: string[];
901
+ /**
902
+ * List of virtual endpoints for a server
903
+ * NOTE: This property will not be serialized. It can only be populated by the server.
904
+ */
905
+ readonly virtualEndpoints?: string[];
906
+ }
907
+
908
+ /** A list of virtual endpoints. */
909
+ export interface VirtualEndpointsListResult {
910
+ /** The list of virtual endpoints */
911
+ value?: VirtualEndpointResource[];
912
+ /** The link used to get the next page of operations. */
913
+ nextLink?: string;
914
+ }
915
+
632
916
  /** Virtual network subnet usage parameter */
633
917
  export interface VirtualNetworkSubnetUsageParameter {
634
918
  /** Virtual network resource id. */
@@ -665,71 +949,27 @@ export interface DelegatedSubnetUsage {
665
949
  readonly usage?: number;
666
950
  }
667
951
 
668
- /** BackupRequestBase is the base for all backup request. */
669
- export interface BackupRequestBase {
670
- /** Backup Settings */
671
- backupSettings: BackupSettings;
672
- }
673
-
674
- /** The settings for the long term backup. */
675
- export interface BackupSettings {
676
- /** Backup Name for the current backup */
677
- backupName: string;
678
- }
679
-
680
- /** Response for the LTR pre-backup API call */
681
- export interface LtrPreBackupResponse {
682
- /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
683
- numberOfContainers: number;
684
- }
685
-
686
- /** Details about the target where the backup content will be stored. */
687
- export interface BackupStoreDetails {
688
- /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
689
- sasUriList: string[];
690
- }
952
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
953
+ export interface ProxyResource extends Resource {}
691
954
 
692
- /** Response for the LTR backup API call */
693
- export interface LtrBackupResponse {
694
- /** Size of datasource in bytes */
695
- datasourceSizeInBytes?: number;
696
- /** Data transferred in bytes */
697
- dataTransferredInBytes?: number;
698
- /** Name of Backup operation */
699
- backupName?: string;
700
- /** Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc */
701
- backupMetadata?: string;
702
- /** Service-set extensible enum indicating the status of operation */
703
- status?: ExecutionStatus;
704
- /** Start time of the operation. */
705
- startTime?: Date;
706
- /** End time of the operation. */
707
- endTime?: Date;
708
- /** PercentageCompleted */
709
- percentComplete?: number;
955
+ /** The private endpoint connection resource. */
956
+ export interface PrivateEndpointConnection extends Resource {
710
957
  /**
711
- * The error code.
958
+ * The group ids for the private endpoint resource.
712
959
  * NOTE: This property will not be serialized. It can only be populated by the server.
713
960
  */
714
- readonly errorCode?: string;
961
+ readonly groupIds?: string[];
962
+ /** The private endpoint resource. */
963
+ privateEndpoint?: PrivateEndpoint;
964
+ /** A collection of information about the state of the connection between service consumer and provider. */
965
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
715
966
  /**
716
- * The error message.
967
+ * The provisioning state of the private endpoint connection resource.
717
968
  * NOTE: This property will not be serialized. It can only be populated by the server.
718
969
  */
719
- readonly errorMessage?: string;
720
- }
721
-
722
- /** A list of long term retention backup operations for server. */
723
- export interface LtrServerBackupOperationList {
724
- /** The list of long term retention server backup operations */
725
- value?: LtrServerBackupOperation[];
726
- /** The link used to get the next page of operations. */
727
- nextLink?: string;
970
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
728
971
  }
729
972
 
730
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
731
- export interface ProxyResource extends Resource {}
732
-
733
973
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
734
974
  export interface TrackedResource extends Resource {
735
975
  /** Resource tags. */
@@ -738,6 +978,27 @@ export interface TrackedResource extends Resource {
738
978
  location: string;
739
979
  }
740
980
 
981
+ /** A private link resource. */
982
+ export interface PrivateLinkResource extends Resource {
983
+ /**
984
+ * The private link resource group id.
985
+ * NOTE: This property will not be serialized. It can only be populated by the server.
986
+ */
987
+ readonly groupId?: string;
988
+ /**
989
+ * The private link resource required member names.
990
+ * NOTE: This property will not be serialized. It can only be populated by the server.
991
+ */
992
+ readonly requiredMembers?: string[];
993
+ /** The private link resource private link DNS zone name. */
994
+ requiredZoneNames?: string[];
995
+ }
996
+
997
+ /** Represents a virtual endpoint for a server. */
998
+ export interface VirtualEndpointResource
999
+ extends VirtualEndpointResourceForPatch,
1000
+ Resource {}
1001
+
741
1002
  /** Represents capability of a storage tier */
742
1003
  export interface StorageTierCapability extends CapabilityBase {
743
1004
  /**
@@ -759,11 +1020,31 @@ export interface StorageMbCapability extends CapabilityBase {
759
1020
  * NOTE: This property will not be serialized. It can only be populated by the server.
760
1021
  */
761
1022
  readonly supportedIops?: number;
1023
+ /**
1024
+ * Maximum IOPS supported by this #Vcores or PremiumV2_LRS Storage Size
1025
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1026
+ */
1027
+ readonly supportedMaximumIops?: number;
762
1028
  /**
763
1029
  * Storage size in MB
764
1030
  * NOTE: This property will not be serialized. It can only be populated by the server.
765
1031
  */
766
1032
  readonly storageSizeMb?: number;
1033
+ /**
1034
+ * Maximum value of Storage size in MB
1035
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1036
+ */
1037
+ readonly maximumStorageSizeMb?: number;
1038
+ /**
1039
+ * Values of throughput in MB/s
1040
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1041
+ */
1042
+ readonly supportedThroughput?: number;
1043
+ /**
1044
+ * Maximum values of throughput in MB/s
1045
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1046
+ */
1047
+ readonly supportedMaximumThroughput?: number;
767
1048
  /**
768
1049
  * Default tier for IOPS
769
1050
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1066,20 +1347,6 @@ export interface FirewallRule extends ProxyResource {
1066
1347
  endIpAddress: string;
1067
1348
  }
1068
1349
 
1069
- /** Represents a logFile. */
1070
- export interface LogFile extends ProxyResource {
1071
- /** Creation timestamp of the log file. */
1072
- createdTime?: Date;
1073
- /** Last modified timestamp of the log file. */
1074
- lastModifiedTime?: Date;
1075
- /** The size in kb of the logFile. */
1076
- sizeInKb?: number;
1077
- /** Type of the log file. */
1078
- typePropertiesType?: string;
1079
- /** The url to download the log file from. */
1080
- url?: string;
1081
- }
1082
-
1083
1350
  /** Response for the LTR backup Operation API call */
1084
1351
  export interface LtrServerBackupOperation extends ProxyResource {
1085
1352
  /** Size of datasource in bytes */
@@ -1110,14 +1377,39 @@ export interface LtrServerBackupOperation extends ProxyResource {
1110
1377
  readonly errorMessage?: string;
1111
1378
  }
1112
1379
 
1113
- /** Represents a server. */
1114
- export interface Server extends TrackedResource {
1115
- /** The SKU (pricing tier) of the server. */
1116
- sku?: Sku;
1117
- /** Describes the identity of the application. */
1118
- identity?: UserAssignedIdentity;
1119
- /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
1120
- administratorLogin?: string;
1380
+ /** Represents a logFile. */
1381
+ export interface LogFile extends ProxyResource {
1382
+ /** Creation timestamp of the log file. */
1383
+ createdTime?: Date;
1384
+ /** Last modified timestamp of the log file. */
1385
+ lastModifiedTime?: Date;
1386
+ /** The size in kb of the logFile. */
1387
+ sizeInKb?: number;
1388
+ /** Type of the log file. */
1389
+ typePropertiesType?: string;
1390
+ /** The url to download the log file from. */
1391
+ url?: string;
1392
+ }
1393
+
1394
+ /** Server's Advanced Threat Protection settings. */
1395
+ export interface ServerThreatProtectionSettingsModel extends ProxyResource {
1396
+ /** Specifies the state of the Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific server. */
1397
+ state?: ThreatProtectionState;
1398
+ /**
1399
+ * Specifies the UTC creation time of the policy.
1400
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1401
+ */
1402
+ readonly creationTime?: Date;
1403
+ }
1404
+
1405
+ /** Represents a server. */
1406
+ export interface Server extends TrackedResource {
1407
+ /** The SKU (pricing tier) of the server. */
1408
+ sku?: Sku;
1409
+ /** Describes the identity of the application. */
1410
+ identity?: UserAssignedIdentity;
1411
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
1412
+ administratorLogin?: string;
1121
1413
  /**
1122
1414
  * The administrator login password (required for server creation).
1123
1415
  * This value contains a credential. Consider obscuring before showing to users
@@ -1167,8 +1459,15 @@ export interface Server extends TrackedResource {
1167
1459
  * NOTE: This property will not be serialized. It can only be populated by the server.
1168
1460
  */
1169
1461
  readonly replicaCapacity?: number;
1462
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
1463
+ replica?: Replica;
1170
1464
  /** The mode to create a new PostgreSQL server. */
1171
1465
  createMode?: CreateMode;
1466
+ /**
1467
+ * List of private endpoint connections associated with the specified resource.
1468
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1469
+ */
1470
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1172
1471
  }
1173
1472
 
1174
1473
  /** Represents a migration resource. */
@@ -1185,6 +1484,12 @@ export interface MigrationResource extends TrackedResource {
1185
1484
  readonly currentStatus?: MigrationStatus;
1186
1485
  /** There are two types of migration modes Online and Offline */
1187
1486
  migrationMode?: MigrationMode;
1487
+ /** This indicates the supported Migration option for the migration */
1488
+ migrationOption?: MigrationOption;
1489
+ /** migration source server type : OnPremises, AWS, GCP, AzureVM or PostgreSQLSingleServer */
1490
+ sourceType?: SourceType;
1491
+ /** SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types */
1492
+ sslMode?: SslMode;
1188
1493
  /**
1189
1494
  * Metadata of the source database server
1190
1495
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1195,7 +1500,7 @@ export interface MigrationResource extends TrackedResource {
1195
1500
  * NOTE: This property will not be serialized. It can only be populated by the server.
1196
1501
  */
1197
1502
  readonly targetDbServerMetadata?: DbServerMetadata;
1198
- /** ResourceId of the source database server */
1503
+ /** ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username */
1199
1504
  sourceDbServerResourceId?: string;
1200
1505
  /** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
1201
1506
  sourceDbServerFullyQualifiedDomainName?: string;
@@ -1328,6 +1633,31 @@ export interface FlexibleServerStartLtrBackupExceptionHeaders {
1328
1633
  xMsRequestId?: string;
1329
1634
  }
1330
1635
 
1636
+ /** Defines headers for PrivateEndpointConnection_update operation. */
1637
+ export interface PrivateEndpointConnectionUpdateHeaders {
1638
+ location?: string;
1639
+ }
1640
+
1641
+ /** Defines headers for PrivateEndpointConnection_delete operation. */
1642
+ export interface PrivateEndpointConnectionDeleteHeaders {
1643
+ location?: string;
1644
+ }
1645
+
1646
+ /** Defines headers for VirtualEndpoints_create operation. */
1647
+ export interface VirtualEndpointsCreateHeaders {
1648
+ location?: string;
1649
+ }
1650
+
1651
+ /** Defines headers for VirtualEndpoints_update operation. */
1652
+ export interface VirtualEndpointsUpdateHeaders {
1653
+ location?: string;
1654
+ }
1655
+
1656
+ /** Defines headers for VirtualEndpoints_delete operation. */
1657
+ export interface VirtualEndpointsDeleteHeaders {
1658
+ location?: string;
1659
+ }
1660
+
1331
1661
  /** Known values of {@link PrincipalType} that the service accepts. */
1332
1662
  export enum KnownPrincipalType {
1333
1663
  /** Unknown */
@@ -1627,7 +1957,9 @@ export enum KnownServerVersion {
1627
1957
  /** Twelve */
1628
1958
  Twelve = "12",
1629
1959
  /** Eleven */
1630
- Eleven = "11"
1960
+ Eleven = "11",
1961
+ /** Sixteen */
1962
+ Sixteen = "16"
1631
1963
  }
1632
1964
 
1633
1965
  /**
@@ -1639,7 +1971,8 @@ export enum KnownServerVersion {
1639
1971
  * **14** \
1640
1972
  * **13** \
1641
1973
  * **12** \
1642
- * **11**
1974
+ * **11** \
1975
+ * **16**
1643
1976
  */
1644
1977
  export type ServerVersion = string;
1645
1978
 
@@ -1748,6 +2081,24 @@ export enum KnownAzureManagedDiskPerformanceTiers {
1748
2081
  */
1749
2082
  export type AzureManagedDiskPerformanceTiers = string;
1750
2083
 
2084
+ /** Known values of {@link StorageType} that the service accepts. */
2085
+ export enum KnownStorageType {
2086
+ /** PremiumLRS */
2087
+ PremiumLRS = "Premium_LRS",
2088
+ /** PremiumV2LRS */
2089
+ PremiumV2LRS = "PremiumV2_LRS"
2090
+ }
2091
+
2092
+ /**
2093
+ * Defines values for StorageType. \
2094
+ * {@link KnownStorageType} can be used interchangeably with StorageType,
2095
+ * this enum contains the known values that the service supports.
2096
+ * ### Known values supported by the service
2097
+ * **Premium_LRS** \
2098
+ * **PremiumV2_LRS**
2099
+ */
2100
+ export type StorageType = string;
2101
+
1751
2102
  /** Known values of {@link ActiveDirectoryAuthEnum} that the service accepts. */
1752
2103
  export enum KnownActiveDirectoryAuthEnum {
1753
2104
  /** Enabled */
@@ -1931,6 +2282,72 @@ export enum KnownReplicationRole {
1931
2282
  */
1932
2283
  export type ReplicationRole = string;
1933
2284
 
2285
+ /** Known values of {@link ReplicationState} that the service accepts. */
2286
+ export enum KnownReplicationState {
2287
+ /** Active */
2288
+ Active = "Active",
2289
+ /** Catchup */
2290
+ Catchup = "Catchup",
2291
+ /** Provisioning */
2292
+ Provisioning = "Provisioning",
2293
+ /** Updating */
2294
+ Updating = "Updating",
2295
+ /** Broken */
2296
+ Broken = "Broken",
2297
+ /** Reconfiguring */
2298
+ Reconfiguring = "Reconfiguring"
2299
+ }
2300
+
2301
+ /**
2302
+ * Defines values for ReplicationState. \
2303
+ * {@link KnownReplicationState} can be used interchangeably with ReplicationState,
2304
+ * this enum contains the known values that the service supports.
2305
+ * ### Known values supported by the service
2306
+ * **Active** \
2307
+ * **Catchup** \
2308
+ * **Provisioning** \
2309
+ * **Updating** \
2310
+ * **Broken** \
2311
+ * **Reconfiguring**
2312
+ */
2313
+ export type ReplicationState = string;
2314
+
2315
+ /** Known values of {@link ReadReplicaPromoteMode} that the service accepts. */
2316
+ export enum KnownReadReplicaPromoteMode {
2317
+ /** Standalone */
2318
+ Standalone = "standalone",
2319
+ /** Switchover */
2320
+ Switchover = "switchover"
2321
+ }
2322
+
2323
+ /**
2324
+ * Defines values for ReadReplicaPromoteMode. \
2325
+ * {@link KnownReadReplicaPromoteMode} can be used interchangeably with ReadReplicaPromoteMode,
2326
+ * this enum contains the known values that the service supports.
2327
+ * ### Known values supported by the service
2328
+ * **standalone** \
2329
+ * **switchover**
2330
+ */
2331
+ export type ReadReplicaPromoteMode = string;
2332
+
2333
+ /** Known values of {@link ReplicationPromoteOption} that the service accepts. */
2334
+ export enum KnownReplicationPromoteOption {
2335
+ /** Planned */
2336
+ Planned = "planned",
2337
+ /** Forced */
2338
+ Forced = "forced"
2339
+ }
2340
+
2341
+ /**
2342
+ * Defines values for ReplicationPromoteOption. \
2343
+ * {@link KnownReplicationPromoteOption} can be used interchangeably with ReplicationPromoteOption,
2344
+ * this enum contains the known values that the service supports.
2345
+ * ### Known values supported by the service
2346
+ * **planned** \
2347
+ * **forced**
2348
+ */
2349
+ export type ReplicationPromoteOption = string;
2350
+
1934
2351
  /** Known values of {@link CreateMode} that the service accepts. */
1935
2352
  export enum KnownCreateMode {
1936
2353
  /** Default */
@@ -1964,6 +2381,51 @@ export enum KnownCreateMode {
1964
2381
  */
1965
2382
  export type CreateMode = string;
1966
2383
 
2384
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
2385
+ export enum KnownPrivateEndpointServiceConnectionStatus {
2386
+ /** Pending */
2387
+ Pending = "Pending",
2388
+ /** Approved */
2389
+ Approved = "Approved",
2390
+ /** Rejected */
2391
+ Rejected = "Rejected"
2392
+ }
2393
+
2394
+ /**
2395
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2396
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2397
+ * this enum contains the known values that the service supports.
2398
+ * ### Known values supported by the service
2399
+ * **Pending** \
2400
+ * **Approved** \
2401
+ * **Rejected**
2402
+ */
2403
+ export type PrivateEndpointServiceConnectionStatus = string;
2404
+
2405
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
2406
+ export enum KnownPrivateEndpointConnectionProvisioningState {
2407
+ /** Succeeded */
2408
+ Succeeded = "Succeeded",
2409
+ /** Creating */
2410
+ Creating = "Creating",
2411
+ /** Deleting */
2412
+ Deleting = "Deleting",
2413
+ /** Failed */
2414
+ Failed = "Failed"
2415
+ }
2416
+
2417
+ /**
2418
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2419
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2420
+ * this enum contains the known values that the service supports.
2421
+ * ### Known values supported by the service
2422
+ * **Succeeded** \
2423
+ * **Creating** \
2424
+ * **Deleting** \
2425
+ * **Failed**
2426
+ */
2427
+ export type PrivateEndpointConnectionProvisioningState = string;
2428
+
1967
2429
  /** Known values of {@link CreateModeForUpdate} that the service accepts. */
1968
2430
  export enum KnownCreateModeForUpdate {
1969
2431
  /** Default */
@@ -1982,6 +2444,30 @@ export enum KnownCreateModeForUpdate {
1982
2444
  */
1983
2445
  export type CreateModeForUpdate = string;
1984
2446
 
2447
+ /** Known values of {@link ExecutionStatus} that the service accepts. */
2448
+ export enum KnownExecutionStatus {
2449
+ /** Running */
2450
+ Running = "Running",
2451
+ /** Cancelled */
2452
+ Cancelled = "Cancelled",
2453
+ /** Failed */
2454
+ Failed = "Failed",
2455
+ /** Succeeded */
2456
+ Succeeded = "Succeeded"
2457
+ }
2458
+
2459
+ /**
2460
+ * Defines values for ExecutionStatus. \
2461
+ * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
2462
+ * this enum contains the known values that the service supports.
2463
+ * ### Known values supported by the service
2464
+ * **Running** \
2465
+ * **Cancelled** \
2466
+ * **Failed** \
2467
+ * **Succeeded**
2468
+ */
2469
+ export type ExecutionStatus = string;
2470
+
1985
2471
  /** Known values of {@link MigrationState} that the service accepts. */
1986
2472
  export enum KnownMigrationState {
1987
2473
  /** InProgress */
@@ -1993,7 +2479,11 @@ export enum KnownMigrationState {
1993
2479
  /** Failed */
1994
2480
  Failed = "Failed",
1995
2481
  /** Succeeded */
1996
- Succeeded = "Succeeded"
2482
+ Succeeded = "Succeeded",
2483
+ /** ValidationFailed */
2484
+ ValidationFailed = "ValidationFailed",
2485
+ /** CleaningUp */
2486
+ CleaningUp = "CleaningUp"
1997
2487
  }
1998
2488
 
1999
2489
  /**
@@ -2005,7 +2495,9 @@ export enum KnownMigrationState {
2005
2495
  * **WaitingForUserAction** \
2006
2496
  * **Canceled** \
2007
2497
  * **Failed** \
2008
- * **Succeeded**
2498
+ * **Succeeded** \
2499
+ * **ValidationFailed** \
2500
+ * **CleaningUp**
2009
2501
  */
2010
2502
  export type MigrationState = string;
2011
2503
 
@@ -2030,7 +2522,11 @@ export enum KnownMigrationSubState {
2030
2522
  /** CompletingMigration */
2031
2523
  CompletingMigration = "CompletingMigration",
2032
2524
  /** Completed */
2033
- Completed = "Completed"
2525
+ Completed = "Completed",
2526
+ /** CancelingRequestedDBMigrations */
2527
+ CancelingRequestedDBMigrations = "CancelingRequestedDBMigrations",
2528
+ /** ValidationInProgress */
2529
+ ValidationInProgress = "ValidationInProgress"
2034
2530
  }
2035
2531
 
2036
2532
  /**
@@ -2047,10 +2543,63 @@ export enum KnownMigrationSubState {
2047
2543
  * **MigratingData** \
2048
2544
  * **WaitingForCutoverTrigger** \
2049
2545
  * **CompletingMigration** \
2050
- * **Completed**
2546
+ * **Completed** \
2547
+ * **CancelingRequestedDBMigrations** \
2548
+ * **ValidationInProgress**
2051
2549
  */
2052
2550
  export type MigrationSubState = string;
2053
2551
 
2552
+ /** Known values of {@link MigrationDbState} that the service accepts. */
2553
+ export enum KnownMigrationDbState {
2554
+ /** InProgress */
2555
+ InProgress = "InProgress",
2556
+ /** WaitingForCutoverTrigger */
2557
+ WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
2558
+ /** Failed */
2559
+ Failed = "Failed",
2560
+ /** Canceled */
2561
+ Canceled = "Canceled",
2562
+ /** Succeeded */
2563
+ Succeeded = "Succeeded",
2564
+ /** Canceling */
2565
+ Canceling = "Canceling"
2566
+ }
2567
+
2568
+ /**
2569
+ * Defines values for MigrationDbState. \
2570
+ * {@link KnownMigrationDbState} can be used interchangeably with MigrationDbState,
2571
+ * this enum contains the known values that the service supports.
2572
+ * ### Known values supported by the service
2573
+ * **InProgress** \
2574
+ * **WaitingForCutoverTrigger** \
2575
+ * **Failed** \
2576
+ * **Canceled** \
2577
+ * **Succeeded** \
2578
+ * **Canceling**
2579
+ */
2580
+ export type MigrationDbState = string;
2581
+
2582
+ /** Known values of {@link ValidationState} that the service accepts. */
2583
+ export enum KnownValidationState {
2584
+ /** Failed */
2585
+ Failed = "Failed",
2586
+ /** Succeeded */
2587
+ Succeeded = "Succeeded",
2588
+ /** Warning */
2589
+ Warning = "Warning"
2590
+ }
2591
+
2592
+ /**
2593
+ * Defines values for ValidationState. \
2594
+ * {@link KnownValidationState} can be used interchangeably with ValidationState,
2595
+ * this enum contains the known values that the service supports.
2596
+ * ### Known values supported by the service
2597
+ * **Failed** \
2598
+ * **Succeeded** \
2599
+ * **Warning**
2600
+ */
2601
+ export type ValidationState = string;
2602
+
2054
2603
  /** Known values of {@link MigrationMode} that the service accepts. */
2055
2604
  export enum KnownMigrationMode {
2056
2605
  /** Offline */
@@ -2069,6 +2618,78 @@ export enum KnownMigrationMode {
2069
2618
  */
2070
2619
  export type MigrationMode = string;
2071
2620
 
2621
+ /** Known values of {@link MigrationOption} that the service accepts. */
2622
+ export enum KnownMigrationOption {
2623
+ /** Validate */
2624
+ Validate = "Validate",
2625
+ /** Migrate */
2626
+ Migrate = "Migrate",
2627
+ /** ValidateAndMigrate */
2628
+ ValidateAndMigrate = "ValidateAndMigrate"
2629
+ }
2630
+
2631
+ /**
2632
+ * Defines values for MigrationOption. \
2633
+ * {@link KnownMigrationOption} can be used interchangeably with MigrationOption,
2634
+ * this enum contains the known values that the service supports.
2635
+ * ### Known values supported by the service
2636
+ * **Validate** \
2637
+ * **Migrate** \
2638
+ * **ValidateAndMigrate**
2639
+ */
2640
+ export type MigrationOption = string;
2641
+
2642
+ /** Known values of {@link SourceType} that the service accepts. */
2643
+ export enum KnownSourceType {
2644
+ /** OnPremises */
2645
+ OnPremises = "OnPremises",
2646
+ /** AWS */
2647
+ AWS = "AWS",
2648
+ /** GCP */
2649
+ GCP = "GCP",
2650
+ /** AzureVM */
2651
+ AzureVM = "AzureVM",
2652
+ /** PostgreSQLSingleServer */
2653
+ PostgreSQLSingleServer = "PostgreSQLSingleServer"
2654
+ }
2655
+
2656
+ /**
2657
+ * Defines values for SourceType. \
2658
+ * {@link KnownSourceType} can be used interchangeably with SourceType,
2659
+ * this enum contains the known values that the service supports.
2660
+ * ### Known values supported by the service
2661
+ * **OnPremises** \
2662
+ * **AWS** \
2663
+ * **GCP** \
2664
+ * **AzureVM** \
2665
+ * **PostgreSQLSingleServer**
2666
+ */
2667
+ export type SourceType = string;
2668
+
2669
+ /** Known values of {@link SslMode} that the service accepts. */
2670
+ export enum KnownSslMode {
2671
+ /** Prefer */
2672
+ Prefer = "Prefer",
2673
+ /** Require */
2674
+ Require = "Require",
2675
+ /** VerifyCA */
2676
+ VerifyCA = "VerifyCA",
2677
+ /** VerifyFull */
2678
+ VerifyFull = "VerifyFull"
2679
+ }
2680
+
2681
+ /**
2682
+ * Defines values for SslMode. \
2683
+ * {@link KnownSslMode} can be used interchangeably with SslMode,
2684
+ * this enum contains the known values that the service supports.
2685
+ * ### Known values supported by the service
2686
+ * **Prefer** \
2687
+ * **Require** \
2688
+ * **VerifyCA** \
2689
+ * **VerifyFull**
2690
+ */
2691
+ export type SslMode = string;
2692
+
2072
2693
  /** Known values of {@link LogicalReplicationOnSourceDbEnum} that the service accepts. */
2073
2694
  export enum KnownLogicalReplicationOnSourceDbEnum {
2074
2695
  /** True */
@@ -2240,29 +2861,35 @@ export enum KnownFailoverMode {
2240
2861
  */
2241
2862
  export type FailoverMode = string;
2242
2863
 
2243
- /** Known values of {@link ExecutionStatus} that the service accepts. */
2244
- export enum KnownExecutionStatus {
2245
- /** Running */
2246
- Running = "Running",
2247
- /** Cancelled */
2248
- Cancelled = "Cancelled",
2249
- /** Failed */
2250
- Failed = "Failed",
2251
- /** Succeeded */
2252
- Succeeded = "Succeeded"
2864
+ /** Known values of {@link ThreatProtectionName} that the service accepts. */
2865
+ export enum KnownThreatProtectionName {
2866
+ /** Default */
2867
+ Default = "Default"
2253
2868
  }
2254
2869
 
2255
2870
  /**
2256
- * Defines values for ExecutionStatus. \
2257
- * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
2871
+ * Defines values for ThreatProtectionName. \
2872
+ * {@link KnownThreatProtectionName} can be used interchangeably with ThreatProtectionName,
2258
2873
  * this enum contains the known values that the service supports.
2259
2874
  * ### Known values supported by the service
2260
- * **Running** \
2261
- * **Cancelled** \
2262
- * **Failed** \
2263
- * **Succeeded**
2875
+ * **Default**
2264
2876
  */
2265
- export type ExecutionStatus = string;
2877
+ export type ThreatProtectionName = string;
2878
+
2879
+ /** Known values of {@link VirtualEndpointType} that the service accepts. */
2880
+ export enum KnownVirtualEndpointType {
2881
+ /** ReadWrite */
2882
+ ReadWrite = "ReadWrite"
2883
+ }
2884
+
2885
+ /**
2886
+ * Defines values for VirtualEndpointType. \
2887
+ * {@link KnownVirtualEndpointType} can be used interchangeably with VirtualEndpointType,
2888
+ * this enum contains the known values that the service supports.
2889
+ * ### Known values supported by the service
2890
+ * **ReadWrite**
2891
+ */
2892
+ export type VirtualEndpointType = string;
2266
2893
 
2267
2894
  /** Known values of {@link MigrationDetailsLevel} that the service accepts. */
2268
2895
  export enum KnownMigrationDetailsLevel {
@@ -2286,6 +2913,8 @@ export enum KnownMigrationDetailsLevel {
2286
2913
  export type MigrationDetailsLevel = string;
2287
2914
  /** Defines values for CapabilityStatus. */
2288
2915
  export type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled";
2916
+ /** Defines values for ThreatProtectionState. */
2917
+ export type ThreatProtectionState = "Enabled" | "Disabled";
2289
2918
 
2290
2919
  /** Optional parameters. */
2291
2920
  export interface AdministratorsCreateOptionalParams
@@ -2615,6 +3244,48 @@ export interface ServersListNextOptionalParams
2615
3244
  /** Contains response data for the listNext operation. */
2616
3245
  export type ServersListNextResponse = ServerListResult;
2617
3246
 
3247
+ /** Optional parameters. */
3248
+ export interface FlexibleServerTriggerLtrPreBackupOptionalParams
3249
+ extends coreClient.OperationOptions {}
3250
+
3251
+ /** Contains response data for the triggerLtrPreBackup operation. */
3252
+ export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders &
3253
+ LtrPreBackupResponse;
3254
+
3255
+ /** Optional parameters. */
3256
+ export interface FlexibleServerStartLtrBackupOptionalParams
3257
+ extends coreClient.OperationOptions {
3258
+ /** Delay to wait until next poll, in milliseconds. */
3259
+ updateIntervalInMs?: number;
3260
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3261
+ resumeFrom?: string;
3262
+ }
3263
+
3264
+ /** Contains response data for the startLtrBackup operation. */
3265
+ export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders &
3266
+ LtrBackupResponse;
3267
+
3268
+ /** Optional parameters. */
3269
+ export interface LtrBackupOperationsGetOptionalParams
3270
+ extends coreClient.OperationOptions {}
3271
+
3272
+ /** Contains response data for the get operation. */
3273
+ export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
3274
+
3275
+ /** Optional parameters. */
3276
+ export interface LtrBackupOperationsListByServerOptionalParams
3277
+ extends coreClient.OperationOptions {}
3278
+
3279
+ /** Contains response data for the listByServer operation. */
3280
+ export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
3281
+
3282
+ /** Optional parameters. */
3283
+ export interface LtrBackupOperationsListByServerNextOptionalParams
3284
+ extends coreClient.OperationOptions {}
3285
+
3286
+ /** Contains response data for the listByServerNext operation. */
3287
+ export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
3288
+
2618
3289
  /** Optional parameters. */
2619
3290
  export interface MigrationsCreateOptionalParams
2620
3291
  extends coreClient.OperationOptions {}
@@ -2681,6 +3352,86 @@ export type GetPrivateDnsZoneSuffixExecuteResponse = {
2681
3352
  body: string;
2682
3353
  };
2683
3354
 
3355
+ /** Optional parameters. */
3356
+ export interface PrivateEndpointConnectionsGetOptionalParams
3357
+ extends coreClient.OperationOptions {}
3358
+
3359
+ /** Contains response data for the get operation. */
3360
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
3361
+
3362
+ /** Optional parameters. */
3363
+ export interface PrivateEndpointConnectionsListByServerOptionalParams
3364
+ extends coreClient.OperationOptions {}
3365
+
3366
+ /** Contains response data for the listByServer operation. */
3367
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
3368
+
3369
+ /** Optional parameters. */
3370
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams
3371
+ extends coreClient.OperationOptions {}
3372
+
3373
+ /** Contains response data for the listByServerNext operation. */
3374
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
3375
+
3376
+ /** Optional parameters. */
3377
+ export interface PrivateEndpointConnectionUpdateOptionalParams
3378
+ extends coreClient.OperationOptions {
3379
+ /** Delay to wait until next poll, in milliseconds. */
3380
+ updateIntervalInMs?: number;
3381
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3382
+ resumeFrom?: string;
3383
+ }
3384
+
3385
+ /** Contains response data for the update operation. */
3386
+ export type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
3387
+
3388
+ /** Optional parameters. */
3389
+ export interface PrivateEndpointConnectionDeleteOptionalParams
3390
+ extends coreClient.OperationOptions {
3391
+ /** Delay to wait until next poll, in milliseconds. */
3392
+ updateIntervalInMs?: number;
3393
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3394
+ resumeFrom?: string;
3395
+ }
3396
+
3397
+ /** Contains response data for the delete operation. */
3398
+ export type PrivateEndpointConnectionDeleteResponse = PrivateEndpointConnectionDeleteHeaders;
3399
+
3400
+ /** Optional parameters. */
3401
+ export interface PrivateLinkResourcesListByServerOptionalParams
3402
+ extends coreClient.OperationOptions {}
3403
+
3404
+ /** Contains response data for the listByServer operation. */
3405
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
3406
+
3407
+ /** Optional parameters. */
3408
+ export interface PrivateLinkResourcesGetOptionalParams
3409
+ extends coreClient.OperationOptions {}
3410
+
3411
+ /** Contains response data for the get operation. */
3412
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3413
+
3414
+ /** Optional parameters. */
3415
+ export interface PrivateLinkResourcesListByServerNextOptionalParams
3416
+ extends coreClient.OperationOptions {}
3417
+
3418
+ /** Contains response data for the listByServerNext operation. */
3419
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
3420
+
3421
+ /** Optional parameters. */
3422
+ export interface QuotaUsagesListOptionalParams
3423
+ extends coreClient.OperationOptions {}
3424
+
3425
+ /** Contains response data for the list operation. */
3426
+ export type QuotaUsagesListResponse = QuotaUsagesListResult;
3427
+
3428
+ /** Optional parameters. */
3429
+ export interface QuotaUsagesListNextOptionalParams
3430
+ extends coreClient.OperationOptions {}
3431
+
3432
+ /** Contains response data for the listNext operation. */
3433
+ export type QuotaUsagesListNextResponse = QuotaUsagesListResult;
3434
+
2684
3435
  /** Optional parameters. */
2685
3436
  export interface ReplicasListByServerOptionalParams
2686
3437
  extends coreClient.OperationOptions {}
@@ -2703,22 +3454,21 @@ export interface LogFilesListByServerNextOptionalParams
2703
3454
  export type LogFilesListByServerNextResponse = LogFileListResult;
2704
3455
 
2705
3456
  /** Optional parameters. */
2706
- export interface VirtualNetworkSubnetUsageExecuteOptionalParams
3457
+ export interface ServerThreatProtectionSettingsListByServerOptionalParams
2707
3458
  extends coreClient.OperationOptions {}
2708
3459
 
2709
- /** Contains response data for the execute operation. */
2710
- export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
3460
+ /** Contains response data for the listByServer operation. */
3461
+ export type ServerThreatProtectionSettingsListByServerResponse = ServerThreatProtectionListResult;
2711
3462
 
2712
3463
  /** Optional parameters. */
2713
- export interface FlexibleServerTriggerLtrPreBackupOptionalParams
3464
+ export interface ServerThreatProtectionSettingsGetOptionalParams
2714
3465
  extends coreClient.OperationOptions {}
2715
3466
 
2716
- /** Contains response data for the triggerLtrPreBackup operation. */
2717
- export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders &
2718
- LtrPreBackupResponse;
3467
+ /** Contains response data for the get operation. */
3468
+ export type ServerThreatProtectionSettingsGetResponse = ServerThreatProtectionSettingsModel;
2719
3469
 
2720
3470
  /** Optional parameters. */
2721
- export interface FlexibleServerStartLtrBackupOptionalParams
3471
+ export interface ServerThreatProtectionSettingsCreateOrUpdateOptionalParams
2722
3472
  extends coreClient.OperationOptions {
2723
3473
  /** Delay to wait until next poll, in milliseconds. */
2724
3474
  updateIntervalInMs?: number;
@@ -2726,30 +3476,79 @@ export interface FlexibleServerStartLtrBackupOptionalParams
2726
3476
  resumeFrom?: string;
2727
3477
  }
2728
3478
 
2729
- /** Contains response data for the startLtrBackup operation. */
2730
- export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders &
2731
- LtrBackupResponse;
3479
+ /** Contains response data for the createOrUpdate operation. */
3480
+ export type ServerThreatProtectionSettingsCreateOrUpdateResponse = ServerThreatProtectionSettingsModel;
2732
3481
 
2733
3482
  /** Optional parameters. */
2734
- export interface LtrBackupOperationsGetOptionalParams
3483
+ export interface ServerThreatProtectionSettingsListByServerNextOptionalParams
3484
+ extends coreClient.OperationOptions {}
3485
+
3486
+ /** Contains response data for the listByServerNext operation. */
3487
+ export type ServerThreatProtectionSettingsListByServerNextResponse = ServerThreatProtectionListResult;
3488
+
3489
+ /** Optional parameters. */
3490
+ export interface VirtualEndpointsCreateOptionalParams
3491
+ extends coreClient.OperationOptions {
3492
+ /** Delay to wait until next poll, in milliseconds. */
3493
+ updateIntervalInMs?: number;
3494
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3495
+ resumeFrom?: string;
3496
+ }
3497
+
3498
+ /** Contains response data for the create operation. */
3499
+ export type VirtualEndpointsCreateResponse = VirtualEndpointResource;
3500
+
3501
+ /** Optional parameters. */
3502
+ export interface VirtualEndpointsUpdateOptionalParams
3503
+ extends coreClient.OperationOptions {
3504
+ /** Delay to wait until next poll, in milliseconds. */
3505
+ updateIntervalInMs?: number;
3506
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3507
+ resumeFrom?: string;
3508
+ }
3509
+
3510
+ /** Contains response data for the update operation. */
3511
+ export type VirtualEndpointsUpdateResponse = VirtualEndpointResource;
3512
+
3513
+ /** Optional parameters. */
3514
+ export interface VirtualEndpointsDeleteOptionalParams
3515
+ extends coreClient.OperationOptions {
3516
+ /** Delay to wait until next poll, in milliseconds. */
3517
+ updateIntervalInMs?: number;
3518
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3519
+ resumeFrom?: string;
3520
+ }
3521
+
3522
+ /** Contains response data for the delete operation. */
3523
+ export type VirtualEndpointsDeleteResponse = VirtualEndpointsDeleteHeaders;
3524
+
3525
+ /** Optional parameters. */
3526
+ export interface VirtualEndpointsGetOptionalParams
2735
3527
  extends coreClient.OperationOptions {}
2736
3528
 
2737
3529
  /** Contains response data for the get operation. */
2738
- export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
3530
+ export type VirtualEndpointsGetResponse = VirtualEndpointResource;
2739
3531
 
2740
3532
  /** Optional parameters. */
2741
- export interface LtrBackupOperationsListByServerOptionalParams
3533
+ export interface VirtualEndpointsListByServerOptionalParams
2742
3534
  extends coreClient.OperationOptions {}
2743
3535
 
2744
3536
  /** Contains response data for the listByServer operation. */
2745
- export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
3537
+ export type VirtualEndpointsListByServerResponse = VirtualEndpointsListResult;
2746
3538
 
2747
3539
  /** Optional parameters. */
2748
- export interface LtrBackupOperationsListByServerNextOptionalParams
3540
+ export interface VirtualEndpointsListByServerNextOptionalParams
2749
3541
  extends coreClient.OperationOptions {}
2750
3542
 
2751
3543
  /** Contains response data for the listByServerNext operation. */
2752
- export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
3544
+ export type VirtualEndpointsListByServerNextResponse = VirtualEndpointsListResult;
3545
+
3546
+ /** Optional parameters. */
3547
+ export interface VirtualNetworkSubnetUsageExecuteOptionalParams
3548
+ extends coreClient.OperationOptions {}
3549
+
3550
+ /** Contains response data for the execute operation. */
3551
+ export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
2753
3552
 
2754
3553
  /** Optional parameters. */
2755
3554
  export interface PostgreSQLManagementFlexibleServerClientOptionalParams