@azure/arm-postgresql-flexible 8.0.0-beta.3 → 8.0.0-beta.5

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 (252) hide show
  1. package/CHANGELOG.md +501 -0
  2. package/dist/index.js +6142 -3689
  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 +1 -1
  15. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  16. package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
  17. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  18. package/dist-esm/samples-dev/configurationsListByServerSample.js +4 -9
  19. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  20. package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
  21. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  22. package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
  23. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesListByServerSample.js +4 -9
  26. package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -1
  27. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  30. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +4 -9
  31. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
  32. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +1 -1
  33. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +1 -1
  34. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
  35. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +4 -9
  36. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
  37. package/dist-esm/samples-dev/logFilesListByServerSample.js +4 -9
  38. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
  39. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +1 -1
  40. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +4 -9
  41. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
  42. package/dist-esm/samples-dev/migrationsCreateSample.js +70 -2
  43. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/migrationsDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/migrationsGetSample.js +77 -1
  46. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
  47. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +4 -9
  48. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
  49. package/dist-esm/samples-dev/migrationsUpdateSample.js +2 -2
  50. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  51. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +40 -0
  54. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
  55. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +46 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +55 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -0
  67. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +40 -0
  70. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +55 -0
  74. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -0
  75. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/quotaUsagesListSample.js +54 -0
  78. package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -0
  79. package/dist-esm/samples-dev/replicasListByServerSample.js +4 -9
  80. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
  81. package/dist-esm/samples-dev/serverCapabilitiesListSample.js +4 -9
  82. package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
  83. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +41 -0
  86. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -0
  87. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +40 -0
  90. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js.map +1 -0
  91. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +55 -0
  94. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -0
  95. package/dist-esm/samples-dev/serversCreateSample.js +7 -7
  96. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  97. package/dist-esm/samples-dev/serversGetSample.js +21 -2
  98. package/dist-esm/samples-dev/serversGetSample.js.map +1 -1
  99. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +4 -9
  100. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
  101. package/dist-esm/samples-dev/serversListSample.js +4 -9
  102. package/dist-esm/samples-dev/serversListSample.js.map +1 -1
  103. package/dist-esm/samples-dev/serversRestartSample.js +2 -2
  104. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  105. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  106. package/dist-esm/samples-dev/serversUpdateSample.js +93 -5
  107. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  108. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +44 -0
  111. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -0
  112. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +40 -0
  115. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js.map +1 -0
  116. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/virtualEndpointsGetSample.js +40 -0
  119. package/dist-esm/samples-dev/virtualEndpointsGetSample.js.map +1 -0
  120. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +55 -0
  123. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -0
  124. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +44 -0
  127. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -0
  128. package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
  129. package/dist-esm/src/models/index.d.ts +825 -118
  130. package/dist-esm/src/models/index.d.ts.map +1 -1
  131. package/dist-esm/src/models/index.js +158 -12
  132. package/dist-esm/src/models/index.js.map +1 -1
  133. package/dist-esm/src/models/mappers.d.ts +33 -7
  134. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  135. package/dist-esm/src/models/mappers.js +1108 -282
  136. package/dist-esm/src/models/mappers.js.map +1 -1
  137. package/dist-esm/src/models/parameters.d.ts +12 -4
  138. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  139. package/dist-esm/src/models/parameters.js +82 -18
  140. package/dist-esm/src/models/parameters.js.map +1 -1
  141. package/dist-esm/src/operations/administrators.js +3 -8
  142. package/dist-esm/src/operations/administrators.js.map +1 -1
  143. package/dist-esm/src/operations/backups.js +3 -8
  144. package/dist-esm/src/operations/backups.js.map +1 -1
  145. package/dist-esm/src/operations/configurations.js +3 -8
  146. package/dist-esm/src/operations/configurations.js.map +1 -1
  147. package/dist-esm/src/operations/databases.js +3 -8
  148. package/dist-esm/src/operations/databases.js.map +1 -1
  149. package/dist-esm/src/operations/firewallRules.js +3 -8
  150. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  151. package/dist-esm/src/operations/flexibleServer.js +2 -2
  152. package/dist-esm/src/operations/flexibleServer.js.map +1 -1
  153. package/dist-esm/src/operations/index.d.ts +8 -2
  154. package/dist-esm/src/operations/index.d.ts.map +1 -1
  155. package/dist-esm/src/operations/index.js +8 -2
  156. package/dist-esm/src/operations/index.js.map +1 -1
  157. package/dist-esm/src/operations/locationBasedCapabilities.js +3 -8
  158. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
  159. package/dist-esm/src/operations/logFiles.js +3 -8
  160. package/dist-esm/src/operations/logFiles.js.map +1 -1
  161. package/dist-esm/src/operations/ltrBackupOperations.js +3 -8
  162. package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
  163. package/dist-esm/src/operations/migrations.js +5 -10
  164. package/dist-esm/src/operations/migrations.js.map +1 -1
  165. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +48 -0
  166. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  167. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +218 -0
  168. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  169. package/dist-esm/src/operations/privateEndpointConnections.d.ts +46 -0
  170. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  171. package/dist-esm/src/operations/privateEndpointConnections.js +182 -0
  172. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  173. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  174. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  175. package/dist-esm/src/operations/privateLinkResources.js +182 -0
  176. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  177. package/dist-esm/src/operations/quotaUsages.d.ts +35 -0
  178. package/dist-esm/src/operations/quotaUsages.d.ts.map +1 -0
  179. package/dist-esm/src/operations/quotaUsages.js +145 -0
  180. package/dist-esm/src/operations/quotaUsages.js.map +1 -0
  181. package/dist-esm/src/operations/replicas.js +3 -8
  182. package/dist-esm/src/operations/replicas.js.map +1 -1
  183. package/dist-esm/src/operations/serverCapabilities.js +3 -8
  184. package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
  185. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts +65 -0
  186. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -0
  187. package/dist-esm/src/operations/serverThreatProtectionSettings.js +283 -0
  188. package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -0
  189. package/dist-esm/src/operations/servers.js +6 -16
  190. package/dist-esm/src/operations/servers.js.map +1 -1
  191. package/dist-esm/src/operations/virtualEndpoints.d.ts +101 -0
  192. package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -0
  193. package/dist-esm/src/operations/virtualEndpoints.js +473 -0
  194. package/dist-esm/src/operations/virtualEndpoints.js.map +1 -0
  195. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
  196. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -2
  197. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  198. package/dist-esm/src/operationsInterfaces/index.js +8 -2
  199. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  200. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +40 -0
  201. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +21 -0
  205. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  209. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts +12 -0
  213. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/quotaUsages.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/quotaUsages.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts +40 -0
  217. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts +76 -0
  221. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js.map +1 -0
  224. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +10 -4
  225. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  226. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +12 -6
  227. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  228. package/package.json +9 -7
  229. package/review/arm-postgresql-flexible.api.md +554 -4
  230. package/src/models/index.ts +938 -134
  231. package/src/models/mappers.ts +1252 -373
  232. package/src/models/parameters.ts +96 -20
  233. package/src/operations/flexibleServer.ts +2 -2
  234. package/src/operations/index.ts +8 -2
  235. package/src/operations/migrations.ts +2 -2
  236. package/src/operations/privateEndpointConnectionOperations.ts +316 -0
  237. package/src/operations/privateEndpointConnections.ts +243 -0
  238. package/src/operations/privateLinkResources.ts +242 -0
  239. package/src/operations/quotaUsages.ts +170 -0
  240. package/src/operations/serverThreatProtectionSettings.ts +393 -0
  241. package/src/operations/virtualEndpoints.ts +667 -0
  242. package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
  243. package/src/operationsInterfaces/index.ts +8 -2
  244. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +86 -0
  245. package/src/operationsInterfaces/privateEndpointConnections.ts +44 -0
  246. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  247. package/src/operationsInterfaces/quotaUsages.ts +24 -0
  248. package/src/operationsInterfaces/serverThreatProtectionSettings.ts +83 -0
  249. package/src/operationsInterfaces/virtualEndpoints.ts +155 -0
  250. package/src/postgreSQLManagementFlexibleServerClient.ts +42 -14
  251. package/types/arm-postgresql-flexible.d.ts +1027 -25
  252. package/types/tsdoc-metadata.json +1 -1
@@ -787,6 +787,54 @@ export declare interface DataEncryption {
787
787
  geoBackupEncryptionKeyStatus?: KeyStatusEnum;
788
788
  }
789
789
 
790
+ /** Validation status summary for an individual database */
791
+ export declare interface DbLevelValidationStatus {
792
+ /** Name of the database */
793
+ databaseName?: string;
794
+ /** Start date-time of a database level validation */
795
+ startedOn?: Date;
796
+ /** End date-time of a database level validation */
797
+ endedOn?: Date;
798
+ /** Summary of database level validations */
799
+ summary?: ValidationSummaryItem[];
800
+ }
801
+
802
+ /** Migration status of an individual database */
803
+ export declare interface DbMigrationStatus {
804
+ /** Name of the database */
805
+ databaseName?: string;
806
+ /** Migration db state of an individual database */
807
+ migrationState?: MigrationDbState;
808
+ /** Migration operation of an individual database */
809
+ migrationOperation?: string;
810
+ /** Start date-time of a migration state */
811
+ startedOn?: Date;
812
+ /** End date-time of a migration state */
813
+ endedOn?: Date;
814
+ /** Number of tables queued for the migration of a DB */
815
+ fullLoadQueuedTables?: number;
816
+ /** Number of tables errored out during the migration of a DB */
817
+ fullLoadErroredTables?: number;
818
+ /** Number of tables loading during the migration of a DB */
819
+ fullLoadLoadingTables?: number;
820
+ /** Number of tables loaded during the migration of a DB */
821
+ fullLoadCompletedTables?: number;
822
+ /** CDC update counter */
823
+ cdcUpdateCounter?: number;
824
+ /** CDC delete counter */
825
+ cdcDeleteCounter?: number;
826
+ /** CDC insert counter */
827
+ cdcInsertCounter?: number;
828
+ /** CDC applied changes counter */
829
+ appliedChanges?: number;
830
+ /** CDC incoming changes counter */
831
+ incomingChanges?: number;
832
+ /** Lag in seconds between source and target during online phase */
833
+ latency?: number;
834
+ /** Error message, if any, for the migration state */
835
+ message?: string;
836
+ }
837
+
790
838
  /** Database server metadata. */
791
839
  export declare interface DbServerMetadata {
792
840
  /**
@@ -798,7 +846,7 @@ export declare interface DbServerMetadata {
798
846
  version?: string;
799
847
  /** Storage size in MB for database server */
800
848
  storageMb?: number;
801
- /** SKU for the database server */
849
+ /** SKU for the database server. This object is empty for PG single server */
802
850
  sku?: ServerSku;
803
851
  }
804
852
 
@@ -1508,6 +1556,22 @@ export declare enum KnownLogicalReplicationOnSourceDbEnum {
1508
1556
  False = "False"
1509
1557
  }
1510
1558
 
1559
+ /** Known values of {@link MigrationDbState} that the service accepts. */
1560
+ export declare enum KnownMigrationDbState {
1561
+ /** InProgress */
1562
+ InProgress = "InProgress",
1563
+ /** WaitingForCutoverTrigger */
1564
+ WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
1565
+ /** Failed */
1566
+ Failed = "Failed",
1567
+ /** Canceled */
1568
+ Canceled = "Canceled",
1569
+ /** Succeeded */
1570
+ Succeeded = "Succeeded",
1571
+ /** Canceling */
1572
+ Canceling = "Canceling"
1573
+ }
1574
+
1511
1575
  /** Known values of {@link MigrationDetailsLevel} that the service accepts. */
1512
1576
  export declare enum KnownMigrationDetailsLevel {
1513
1577
  /** Default */
@@ -1542,6 +1606,16 @@ export declare enum KnownMigrationNameAvailabilityReason {
1542
1606
  AlreadyExists = "AlreadyExists"
1543
1607
  }
1544
1608
 
1609
+ /** Known values of {@link MigrationOption} that the service accepts. */
1610
+ export declare enum KnownMigrationOption {
1611
+ /** Validate */
1612
+ Validate = "Validate",
1613
+ /** Migrate */
1614
+ Migrate = "Migrate",
1615
+ /** ValidateAndMigrate */
1616
+ ValidateAndMigrate = "ValidateAndMigrate"
1617
+ }
1618
+
1545
1619
  /** Known values of {@link MigrationState} that the service accepts. */
1546
1620
  export declare enum KnownMigrationState {
1547
1621
  /** InProgress */
@@ -1553,7 +1627,11 @@ export declare enum KnownMigrationState {
1553
1627
  /** Failed */
1554
1628
  Failed = "Failed",
1555
1629
  /** Succeeded */
1556
- Succeeded = "Succeeded"
1630
+ Succeeded = "Succeeded",
1631
+ /** ValidationFailed */
1632
+ ValidationFailed = "ValidationFailed",
1633
+ /** CleaningUp */
1634
+ CleaningUp = "CleaningUp"
1557
1635
  }
1558
1636
 
1559
1637
  /** Known values of {@link MigrationSubState} that the service accepts. */
@@ -1577,7 +1655,11 @@ export declare enum KnownMigrationSubState {
1577
1655
  /** CompletingMigration */
1578
1656
  CompletingMigration = "CompletingMigration",
1579
1657
  /** Completed */
1580
- Completed = "Completed"
1658
+ Completed = "Completed",
1659
+ /** CancelingRequestedDBMigrations */
1660
+ CancelingRequestedDBMigrations = "CancelingRequestedDBMigrations",
1661
+ /** ValidationInProgress */
1662
+ ValidationInProgress = "ValidationInProgress"
1581
1663
  }
1582
1664
 
1583
1665
  /** Known values of {@link OnlineResizeSupportedEnum} that the service accepts. */
@@ -1632,6 +1714,44 @@ export declare enum KnownPrincipalType {
1632
1714
  ServicePrincipal = "ServicePrincipal"
1633
1715
  }
1634
1716
 
1717
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1718
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1719
+ /** Succeeded */
1720
+ Succeeded = "Succeeded",
1721
+ /** Creating */
1722
+ Creating = "Creating",
1723
+ /** Deleting */
1724
+ Deleting = "Deleting",
1725
+ /** Failed */
1726
+ Failed = "Failed"
1727
+ }
1728
+
1729
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1730
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
1731
+ /** Pending */
1732
+ Pending = "Pending",
1733
+ /** Approved */
1734
+ Approved = "Approved",
1735
+ /** Rejected */
1736
+ Rejected = "Rejected"
1737
+ }
1738
+
1739
+ /** Known values of {@link ReadReplicaPromoteMode} that the service accepts. */
1740
+ export declare enum KnownReadReplicaPromoteMode {
1741
+ /** Standalone */
1742
+ Standalone = "standalone",
1743
+ /** Switchover */
1744
+ Switchover = "switchover"
1745
+ }
1746
+
1747
+ /** Known values of {@link ReplicationPromoteOption} that the service accepts. */
1748
+ export declare enum KnownReplicationPromoteOption {
1749
+ /** Planned */
1750
+ Planned = "planned",
1751
+ /** Forced */
1752
+ Forced = "forced"
1753
+ }
1754
+
1635
1755
  /** Known values of {@link ReplicationRole} that the service accepts. */
1636
1756
  export declare enum KnownReplicationRole {
1637
1757
  /** None */
@@ -1644,6 +1764,22 @@ export declare enum KnownReplicationRole {
1644
1764
  GeoAsyncReplica = "GeoAsyncReplica"
1645
1765
  }
1646
1766
 
1767
+ /** Known values of {@link ReplicationState} that the service accepts. */
1768
+ export declare enum KnownReplicationState {
1769
+ /** Active */
1770
+ Active = "Active",
1771
+ /** Catchup */
1772
+ Catchup = "Catchup",
1773
+ /** Provisioning */
1774
+ Provisioning = "Provisioning",
1775
+ /** Updating */
1776
+ Updating = "Updating",
1777
+ /** Broken */
1778
+ Broken = "Broken",
1779
+ /** Reconfiguring */
1780
+ Reconfiguring = "Reconfiguring"
1781
+ }
1782
+
1647
1783
  /** Known values of {@link RestrictedEnum} that the service accepts. */
1648
1784
  export declare enum KnownRestrictedEnum {
1649
1785
  /** Enabled */
@@ -1705,7 +1841,9 @@ export declare enum KnownServerVersion {
1705
1841
  /** Twelve */
1706
1842
  Twelve = "12",
1707
1843
  /** Eleven */
1708
- Eleven = "11"
1844
+ Eleven = "11",
1845
+ /** Sixteen */
1846
+ Sixteen = "16"
1709
1847
  }
1710
1848
 
1711
1849
  /** Known values of {@link SkuTier} that the service accepts. */
@@ -1718,6 +1856,32 @@ export declare enum KnownSkuTier {
1718
1856
  MemoryOptimized = "MemoryOptimized"
1719
1857
  }
1720
1858
 
1859
+ /** Known values of {@link SourceType} that the service accepts. */
1860
+ export declare enum KnownSourceType {
1861
+ /** OnPremises */
1862
+ OnPremises = "OnPremises",
1863
+ /** AWS */
1864
+ AWS = "AWS",
1865
+ /** GCP */
1866
+ GCP = "GCP",
1867
+ /** AzureVM */
1868
+ AzureVM = "AzureVM",
1869
+ /** PostgreSQLSingleServer */
1870
+ PostgreSQLSingleServer = "PostgreSQLSingleServer"
1871
+ }
1872
+
1873
+ /** Known values of {@link SslMode} that the service accepts. */
1874
+ export declare enum KnownSslMode {
1875
+ /** Prefer */
1876
+ Prefer = "Prefer",
1877
+ /** Require */
1878
+ Require = "Require",
1879
+ /** VerifyCA */
1880
+ VerifyCA = "VerifyCA",
1881
+ /** VerifyFull */
1882
+ VerifyFull = "VerifyFull"
1883
+ }
1884
+
1721
1885
  /** Known values of {@link StartDataMigrationEnum} that the service accepts. */
1722
1886
  export declare enum KnownStartDataMigrationEnum {
1723
1887
  /** True */
@@ -1742,6 +1906,20 @@ export declare enum KnownStorageAutoGrowthSupportedEnum {
1742
1906
  Disabled = "Disabled"
1743
1907
  }
1744
1908
 
1909
+ /** Known values of {@link StorageType} that the service accepts. */
1910
+ export declare enum KnownStorageType {
1911
+ /** PremiumLRS */
1912
+ PremiumLRS = "Premium_LRS",
1913
+ /** PremiumV2LRS */
1914
+ PremiumV2LRS = "PremiumV2_LRS"
1915
+ }
1916
+
1917
+ /** Known values of {@link ThreatProtectionName} that the service accepts. */
1918
+ export declare enum KnownThreatProtectionName {
1919
+ /** Default */
1920
+ Default = "Default"
1921
+ }
1922
+
1745
1923
  /** Known values of {@link TriggerCutoverEnum} that the service accepts. */
1746
1924
  export declare enum KnownTriggerCutoverEnum {
1747
1925
  /** True */
@@ -1750,6 +1928,22 @@ export declare enum KnownTriggerCutoverEnum {
1750
1928
  False = "False"
1751
1929
  }
1752
1930
 
1931
+ /** Known values of {@link ValidationState} that the service accepts. */
1932
+ export declare enum KnownValidationState {
1933
+ /** Failed */
1934
+ Failed = "Failed",
1935
+ /** Succeeded */
1936
+ Succeeded = "Succeeded",
1937
+ /** Warning */
1938
+ Warning = "Warning"
1939
+ }
1940
+
1941
+ /** Known values of {@link VirtualEndpointType} that the service accepts. */
1942
+ export declare enum KnownVirtualEndpointType {
1943
+ /** ReadWrite */
1944
+ ReadWrite = "ReadWrite"
1945
+ }
1946
+
1753
1947
  /** Known values of {@link ZoneRedundantHaAndGeoBackupSupportedEnum} that the service accepts. */
1754
1948
  export declare enum KnownZoneRedundantHaAndGeoBackupSupportedEnum {
1755
1949
  /** Enabled */
@@ -1983,6 +2177,20 @@ export declare interface MaintenanceWindow {
1983
2177
  dayOfWeek?: number;
1984
2178
  }
1985
2179
 
2180
+ /**
2181
+ * Defines values for MigrationDbState. \
2182
+ * {@link KnownMigrationDbState} can be used interchangeably with MigrationDbState,
2183
+ * this enum contains the known values that the service supports.
2184
+ * ### Known values supported by the service
2185
+ * **InProgress** \
2186
+ * **WaitingForCutoverTrigger** \
2187
+ * **Failed** \
2188
+ * **Canceled** \
2189
+ * **Succeeded** \
2190
+ * **Canceling**
2191
+ */
2192
+ export declare type MigrationDbState = string;
2193
+
1986
2194
  /**
1987
2195
  * Defines values for MigrationDetailsLevel. \
1988
2196
  * {@link KnownMigrationDetailsLevel} can be used interchangeably with MigrationDetailsLevel,
@@ -2047,6 +2255,17 @@ export declare interface MigrationNameAvailabilityResource {
2047
2255
  readonly message?: string;
2048
2256
  }
2049
2257
 
2258
+ /**
2259
+ * Defines values for MigrationOption. \
2260
+ * {@link KnownMigrationOption} can be used interchangeably with MigrationOption,
2261
+ * this enum contains the known values that the service supports.
2262
+ * ### Known values supported by the service
2263
+ * **Validate** \
2264
+ * **Migrate** \
2265
+ * **ValidateAndMigrate**
2266
+ */
2267
+ export declare type MigrationOption = string;
2268
+
2050
2269
  /** Represents a migration resource. */
2051
2270
  export declare interface MigrationResource extends TrackedResource {
2052
2271
  /**
@@ -2061,6 +2280,12 @@ export declare interface MigrationResource extends TrackedResource {
2061
2280
  readonly currentStatus?: MigrationStatus;
2062
2281
  /** There are two types of migration modes Online and Offline */
2063
2282
  migrationMode?: MigrationMode;
2283
+ /** This indicates the supported Migration option for the migration */
2284
+ migrationOption?: MigrationOption;
2285
+ /** migration source server type : OnPremises, AWS, GCP, AzureVM or PostgreSQLSingleServer */
2286
+ sourceType?: SourceType;
2287
+ /** SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types */
2288
+ sslMode?: SslMode;
2064
2289
  /**
2065
2290
  * Metadata of the source database server
2066
2291
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2071,7 +2296,7 @@ export declare interface MigrationResource extends TrackedResource {
2071
2296
  * NOTE: This property will not be serialized. It can only be populated by the server.
2072
2297
  */
2073
2298
  readonly targetDbServerMetadata?: DbServerMetadata;
2074
- /** ResourceId of the source database server */
2299
+ /** 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 */
2075
2300
  sourceDbServerResourceId?: string;
2076
2301
  /** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
2077
2302
  sourceDbServerFullyQualifiedDomainName?: string;
@@ -2260,7 +2485,9 @@ export declare type MigrationsListByTargetServerResponse = MigrationResourceList
2260
2485
  * **WaitingForUserAction** \
2261
2486
  * **Canceled** \
2262
2487
  * **Failed** \
2263
- * **Succeeded**
2488
+ * **Succeeded** \
2489
+ * **ValidationFailed** \
2490
+ * **CleaningUp**
2264
2491
  */
2265
2492
  export declare type MigrationState = string;
2266
2493
 
@@ -2297,7 +2524,9 @@ export declare interface MigrationStatus {
2297
2524
  * **MigratingData** \
2298
2525
  * **WaitingForCutoverTrigger** \
2299
2526
  * **CompletingMigration** \
2300
- * **Completed**
2527
+ * **Completed** \
2528
+ * **CancelingRequestedDBMigrations** \
2529
+ * **ValidationInProgress**
2301
2530
  */
2302
2531
  export declare type MigrationSubState = string;
2303
2532
 
@@ -2308,6 +2537,12 @@ export declare interface MigrationSubStateDetails {
2308
2537
  * NOTE: This property will not be serialized. It can only be populated by the server.
2309
2538
  */
2310
2539
  readonly currentSubState?: MigrationSubState;
2540
+ /** Dictionary of <DbMigrationStatus> */
2541
+ dbDetails?: {
2542
+ [propertyName: string]: DbMigrationStatus;
2543
+ };
2544
+ /** Details for the validation for migration */
2545
+ validationDetails?: ValidationDetails;
2311
2546
  }
2312
2547
 
2313
2548
  /** Optional parameters. */
@@ -2331,13 +2566,18 @@ export declare interface NameAvailability extends CheckNameAvailabilityResponse
2331
2566
  readonly type?: string;
2332
2567
  }
2333
2568
 
2569
+ /** Name property for quota usage */
2570
+ export declare interface NameProperty {
2571
+ /** Name value */
2572
+ value?: string;
2573
+ /** Localized name */
2574
+ localizedValue?: string;
2575
+ }
2576
+
2334
2577
  /** Network properties of a server. */
2335
2578
  export declare interface Network {
2336
- /**
2337
- * public network access is enabled or not
2338
- * NOTE: This property will not be serialized. It can only be populated by the server.
2339
- */
2340
- readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
2579
+ /** public network access is enabled or not */
2580
+ publicNetworkAccess?: ServerPublicNetworkAccessState;
2341
2581
  /** 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. */
2342
2582
  delegatedSubnetResourceId?: string;
2343
2583
  /** 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. */
@@ -2480,7 +2720,7 @@ export declare class PostgreSQLManagementFlexibleServerClient extends coreClient
2480
2720
  /**
2481
2721
  * Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
2482
2722
  * @param credentials Subscription credentials which uniquely identify client subscription.
2483
- * @param subscriptionId The ID of the target subscription.
2723
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
2484
2724
  * @param options The parameter options
2485
2725
  */
2486
2726
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementFlexibleServerClientOptionalParams);
@@ -2506,14 +2746,20 @@ export declare class PostgreSQLManagementFlexibleServerClient extends coreClient
2506
2746
  databases: Databases;
2507
2747
  firewallRules: FirewallRules;
2508
2748
  servers: Servers;
2749
+ flexibleServer: FlexibleServer;
2750
+ ltrBackupOperations: LtrBackupOperations;
2509
2751
  migrations: Migrations;
2510
2752
  operations: Operations;
2511
2753
  getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
2754
+ privateEndpointConnections: PrivateEndpointConnections;
2755
+ privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
2756
+ privateLinkResources: PrivateLinkResources;
2757
+ quotaUsages: QuotaUsages;
2512
2758
  replicas: Replicas;
2513
2759
  logFiles: LogFiles;
2760
+ serverThreatProtectionSettings: ServerThreatProtectionSettings;
2761
+ virtualEndpoints: VirtualEndpoints;
2514
2762
  virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
2515
- flexibleServer: FlexibleServer;
2516
- ltrBackupOperations: LtrBackupOperations;
2517
2763
  }
2518
2764
 
2519
2765
  /** Optional parameters. */
@@ -2538,10 +2784,346 @@ export declare interface PostgreSQLManagementFlexibleServerClientOptionalParams
2538
2784
  */
2539
2785
  export declare type PrincipalType = string;
2540
2786
 
2787
+ /** The private endpoint resource. */
2788
+ export declare interface PrivateEndpoint {
2789
+ /**
2790
+ * The ARM identifier for private endpoint.
2791
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2792
+ */
2793
+ readonly id?: string;
2794
+ }
2795
+
2796
+ /** The private endpoint connection resource. */
2797
+ export declare interface PrivateEndpointConnection extends Resource {
2798
+ /**
2799
+ * The group ids for the private endpoint resource.
2800
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2801
+ */
2802
+ readonly groupIds?: string[];
2803
+ /** The private endpoint resource. */
2804
+ privateEndpoint?: PrivateEndpoint;
2805
+ /** A collection of information about the state of the connection between service consumer and provider. */
2806
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
2807
+ /**
2808
+ * The provisioning state of the private endpoint connection resource.
2809
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2810
+ */
2811
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
2812
+ }
2813
+
2814
+ /** Defines headers for PrivateEndpointConnection_delete operation. */
2815
+ export declare interface PrivateEndpointConnectionDeleteHeaders {
2816
+ location?: string;
2817
+ }
2818
+
2819
+ /** Optional parameters. */
2820
+ export declare interface PrivateEndpointConnectionDeleteOptionalParams extends coreClient.OperationOptions {
2821
+ /** Delay to wait until next poll, in milliseconds. */
2822
+ updateIntervalInMs?: number;
2823
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2824
+ resumeFrom?: string;
2825
+ }
2826
+
2827
+ /** Contains response data for the delete operation. */
2828
+ export declare type PrivateEndpointConnectionDeleteResponse = PrivateEndpointConnectionDeleteHeaders;
2829
+
2830
+ /** A list of private endpoint connections. */
2831
+ export declare interface PrivateEndpointConnectionListResult {
2832
+ /**
2833
+ * Array of results.
2834
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2835
+ */
2836
+ readonly value?: PrivateEndpointConnection[];
2837
+ /**
2838
+ * The URL to get the next set of results.
2839
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2840
+ */
2841
+ readonly nextLink?: string;
2842
+ }
2843
+
2844
+ /** Interface representing a PrivateEndpointConnectionOperations. */
2845
+ export declare interface PrivateEndpointConnectionOperations {
2846
+ /**
2847
+ * Approve or reject a private endpoint connection with a given name.
2848
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2849
+ * @param serverName The name of the server.
2850
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
2851
+ * @param parameters The required parameters for updating private endpoint connection.
2852
+ * @param options The options parameters.
2853
+ */
2854
+ beginUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionUpdateResponse>, PrivateEndpointConnectionUpdateResponse>>;
2855
+ /**
2856
+ * Approve or reject a private endpoint connection with a given name.
2857
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2858
+ * @param serverName The name of the server.
2859
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
2860
+ * @param parameters The required parameters for updating private endpoint connection.
2861
+ * @param options The options parameters.
2862
+ */
2863
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionUpdateOptionalParams): Promise<PrivateEndpointConnectionUpdateResponse>;
2864
+ /**
2865
+ * Deletes a private endpoint connection with a given name.
2866
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2867
+ * @param serverName The name of the server.
2868
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
2869
+ * @param options The options parameters.
2870
+ */
2871
+ beginDelete(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionDeleteResponse>, PrivateEndpointConnectionDeleteResponse>>;
2872
+ /**
2873
+ * Deletes a private endpoint connection with a given name.
2874
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2875
+ * @param serverName The name of the server.
2876
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
2877
+ * @param options The options parameters.
2878
+ */
2879
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise<PrivateEndpointConnectionDeleteResponse>;
2880
+ }
2881
+
2882
+ /**
2883
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2884
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2885
+ * this enum contains the known values that the service supports.
2886
+ * ### Known values supported by the service
2887
+ * **Succeeded** \
2888
+ * **Creating** \
2889
+ * **Deleting** \
2890
+ * **Failed**
2891
+ */
2892
+ export declare type PrivateEndpointConnectionProvisioningState = string;
2893
+
2894
+ /** Interface representing a PrivateEndpointConnections. */
2895
+ export declare interface PrivateEndpointConnections {
2896
+ /**
2897
+ * Gets all private endpoint connections on a server.
2898
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2899
+ * @param serverName The name of the server.
2900
+ * @param options The options parameters.
2901
+ */
2902
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateEndpointConnectionsListByServerOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
2903
+ /**
2904
+ * Gets a private endpoint connection.
2905
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2906
+ * @param serverName The name of the server.
2907
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
2908
+ * @param options The options parameters.
2909
+ */
2910
+ get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
2911
+ }
2912
+
2913
+ /** Optional parameters. */
2914
+ export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
2915
+ }
2916
+
2917
+ /** Contains response data for the get operation. */
2918
+ export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
2919
+
2920
+ /** Optional parameters. */
2921
+ export declare interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
2922
+ }
2923
+
2924
+ /** Contains response data for the listByServerNext operation. */
2925
+ export declare type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
2926
+
2927
+ /** Optional parameters. */
2928
+ export declare interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
2929
+ }
2930
+
2931
+ /** Contains response data for the listByServer operation. */
2932
+ export declare type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
2933
+
2934
+ /** Defines headers for PrivateEndpointConnection_update operation. */
2935
+ export declare interface PrivateEndpointConnectionUpdateHeaders {
2936
+ location?: string;
2937
+ }
2938
+
2939
+ /** Optional parameters. */
2940
+ export declare interface PrivateEndpointConnectionUpdateOptionalParams extends coreClient.OperationOptions {
2941
+ /** Delay to wait until next poll, in milliseconds. */
2942
+ updateIntervalInMs?: number;
2943
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2944
+ resumeFrom?: string;
2945
+ }
2946
+
2947
+ /** Contains response data for the update operation. */
2948
+ export declare type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
2949
+
2950
+ /**
2951
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2952
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2953
+ * this enum contains the known values that the service supports.
2954
+ * ### Known values supported by the service
2955
+ * **Pending** \
2956
+ * **Approved** \
2957
+ * **Rejected**
2958
+ */
2959
+ export declare type PrivateEndpointServiceConnectionStatus = string;
2960
+
2961
+ /** A private link resource. */
2962
+ export declare interface PrivateLinkResource extends Resource {
2963
+ /**
2964
+ * The private link resource group id.
2965
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2966
+ */
2967
+ readonly groupId?: string;
2968
+ /**
2969
+ * The private link resource required member names.
2970
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2971
+ */
2972
+ readonly requiredMembers?: string[];
2973
+ /** The private link resource private link DNS zone name. */
2974
+ requiredZoneNames?: string[];
2975
+ }
2976
+
2977
+ /** A list of private link resources */
2978
+ export declare interface PrivateLinkResourceListResult {
2979
+ /**
2980
+ * Array of results.
2981
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2982
+ */
2983
+ readonly value?: PrivateLinkResource[];
2984
+ /**
2985
+ * Link to retrieve next page of results.
2986
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2987
+ */
2988
+ readonly nextLink?: string;
2989
+ }
2990
+
2991
+ /** Interface representing a PrivateLinkResources. */
2992
+ export declare interface PrivateLinkResources {
2993
+ /**
2994
+ * Gets the private link resources for PostgreSQL server.
2995
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2996
+ * @param serverName The name of the server.
2997
+ * @param options The options parameters.
2998
+ */
2999
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateLinkResourcesListByServerOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
3000
+ /**
3001
+ * Gets a private link resource for PostgreSQL server.
3002
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3003
+ * @param serverName The name of the server.
3004
+ * @param groupName The name of the private link resource.
3005
+ * @param options The options parameters.
3006
+ */
3007
+ get(resourceGroupName: string, serverName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
3008
+ }
3009
+
3010
+ /** Optional parameters. */
3011
+ export declare interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
3012
+ }
3013
+
3014
+ /** Contains response data for the get operation. */
3015
+ export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3016
+
3017
+ /** Optional parameters. */
3018
+ export declare interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
3019
+ }
3020
+
3021
+ /** Contains response data for the listByServerNext operation. */
3022
+ export declare type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
3023
+
3024
+ /** Optional parameters. */
3025
+ export declare interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
3026
+ }
3027
+
3028
+ /** Contains response data for the listByServer operation. */
3029
+ export declare type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
3030
+
3031
+ /** A collection of information about the state of the connection between service consumer and provider. */
3032
+ export declare interface PrivateLinkServiceConnectionState {
3033
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
3034
+ status?: PrivateEndpointServiceConnectionStatus;
3035
+ /** The reason for approval/rejection of the connection. */
3036
+ description?: string;
3037
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
3038
+ actionsRequired?: string;
3039
+ }
3040
+
2541
3041
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
2542
3042
  export declare interface ProxyResource extends Resource {
2543
3043
  }
2544
3044
 
3045
+ /** Quota usage for flexible servers */
3046
+ export declare interface QuotaUsage {
3047
+ /** Name of quota usage for flexible servers */
3048
+ name?: NameProperty;
3049
+ /** Quota limit */
3050
+ limit?: number;
3051
+ /** Quota unit */
3052
+ unit?: string;
3053
+ /** Current Quota usage value */
3054
+ currentValue?: number;
3055
+ /** Fully qualified ARM resource Id */
3056
+ id?: string;
3057
+ }
3058
+
3059
+ /** Interface representing a QuotaUsages. */
3060
+ export declare interface QuotaUsages {
3061
+ /**
3062
+ * Get quota usages at specified location in a given subscription.
3063
+ * @param locationName The name of the location.
3064
+ * @param options The options parameters.
3065
+ */
3066
+ list(locationName: string, options?: QuotaUsagesListOptionalParams): PagedAsyncIterableIterator<QuotaUsage>;
3067
+ }
3068
+
3069
+ /** Optional parameters. */
3070
+ export declare interface QuotaUsagesListNextOptionalParams extends coreClient.OperationOptions {
3071
+ }
3072
+
3073
+ /** Contains response data for the listNext operation. */
3074
+ export declare type QuotaUsagesListNextResponse = QuotaUsagesListResult;
3075
+
3076
+ /** Optional parameters. */
3077
+ export declare interface QuotaUsagesListOptionalParams extends coreClient.OperationOptions {
3078
+ }
3079
+
3080
+ /** Contains response data for the list operation. */
3081
+ export declare type QuotaUsagesListResponse = QuotaUsagesListResult;
3082
+
3083
+ /** Capability for the PostgreSQL server */
3084
+ export declare interface QuotaUsagesListResult {
3085
+ /**
3086
+ * A list of quota usages.
3087
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3088
+ */
3089
+ readonly value?: QuotaUsage[];
3090
+ /**
3091
+ * Link to retrieve next page of results.
3092
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3093
+ */
3094
+ readonly nextLink?: string;
3095
+ }
3096
+
3097
+ /**
3098
+ * Defines values for ReadReplicaPromoteMode. \
3099
+ * {@link KnownReadReplicaPromoteMode} can be used interchangeably with ReadReplicaPromoteMode,
3100
+ * this enum contains the known values that the service supports.
3101
+ * ### Known values supported by the service
3102
+ * **standalone** \
3103
+ * **switchover**
3104
+ */
3105
+ export declare type ReadReplicaPromoteMode = string;
3106
+
3107
+ /** Replica properties of a server */
3108
+ export declare interface Replica {
3109
+ /** Used to indicate role of the server in replication set. */
3110
+ role?: ReplicationRole;
3111
+ /**
3112
+ * Replicas allowed for a server.
3113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3114
+ */
3115
+ readonly capacity?: number;
3116
+ /**
3117
+ * 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
3118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3119
+ */
3120
+ readonly replicationState?: ReplicationState;
3121
+ /** Sets the promote mode for a replica server. This is a write only property. */
3122
+ promoteMode?: ReadReplicaPromoteMode;
3123
+ /** Sets the promote options for a replica server. This is a write only property. */
3124
+ promoteOption?: ReplicationPromoteOption;
3125
+ }
3126
+
2545
3127
  /** Interface representing a Replicas. */
2546
3128
  export declare interface Replicas {
2547
3129
  /**
@@ -2560,6 +3142,16 @@ export declare interface ReplicasListByServerOptionalParams extends coreClient.O
2560
3142
  /** Contains response data for the listByServer operation. */
2561
3143
  export declare type ReplicasListByServerResponse = ServerListResult;
2562
3144
 
3145
+ /**
3146
+ * Defines values for ReplicationPromoteOption. \
3147
+ * {@link KnownReplicationPromoteOption} can be used interchangeably with ReplicationPromoteOption,
3148
+ * this enum contains the known values that the service supports.
3149
+ * ### Known values supported by the service
3150
+ * **planned** \
3151
+ * **forced**
3152
+ */
3153
+ export declare type ReplicationPromoteOption = string;
3154
+
2563
3155
  /**
2564
3156
  * Defines values for ReplicationRole. \
2565
3157
  * {@link KnownReplicationRole} can be used interchangeably with ReplicationRole,
@@ -2572,10 +3164,24 @@ export declare type ReplicasListByServerResponse = ServerListResult;
2572
3164
  */
2573
3165
  export declare type ReplicationRole = string;
2574
3166
 
3167
+ /**
3168
+ * Defines values for ReplicationState. \
3169
+ * {@link KnownReplicationState} can be used interchangeably with ReplicationState,
3170
+ * this enum contains the known values that the service supports.
3171
+ * ### Known values supported by the service
3172
+ * **Active** \
3173
+ * **Catchup** \
3174
+ * **Provisioning** \
3175
+ * **Updating** \
3176
+ * **Broken** \
3177
+ * **Reconfiguring**
3178
+ */
3179
+ export declare type ReplicationState = string;
3180
+
2575
3181
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
2576
3182
  export declare interface Resource {
2577
3183
  /**
2578
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
3184
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
2579
3185
  * NOTE: This property will not be serialized. It can only be populated by the server.
2580
3186
  */
2581
3187
  readonly id?: string;
@@ -2671,8 +3277,15 @@ export declare interface Server extends TrackedResource {
2671
3277
  * NOTE: This property will not be serialized. It can only be populated by the server.
2672
3278
  */
2673
3279
  readonly replicaCapacity?: number;
3280
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
3281
+ replica?: Replica;
2674
3282
  /** The mode to create a new PostgreSQL server. */
2675
3283
  createMode?: CreateMode;
3284
+ /**
3285
+ * List of private endpoint connections associated with the specified resource.
3286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3287
+ */
3288
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
2676
3289
  }
2677
3290
 
2678
3291
  /** Server backup properties */
@@ -2733,7 +3346,7 @@ export declare interface ServerForUpdate {
2733
3346
  * This value contains a credential. Consider obscuring before showing to users
2734
3347
  */
2735
3348
  administratorLoginPassword?: string;
2736
- /** PostgreSQL Server version. */
3349
+ /** PostgreSQL Server version. Version 16 is currently not supported for MVU. */
2737
3350
  version?: ServerVersion;
2738
3351
  /** Storage properties of a server. */
2739
3352
  storage?: Storage_2;
@@ -2751,6 +3364,8 @@ export declare interface ServerForUpdate {
2751
3364
  createMode?: CreateModeForUpdate;
2752
3365
  /** Replication role of the server */
2753
3366
  replicationRole?: ReplicationRole;
3367
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
3368
+ replica?: Replica;
2754
3369
  /** Network properties of a server. These are required to be passed only in case if server is a private access server. */
2755
3370
  network?: Network;
2756
3371
  }
@@ -2938,9 +3553,9 @@ export declare type ServersGetResponse = Server;
2938
3553
  /** Sku information related properties of a server. */
2939
3554
  export declare interface ServerSku {
2940
3555
  /** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
2941
- name: string;
3556
+ name?: string;
2942
3557
  /** The tier of the particular SKU, e.g. Burstable. */
2943
- tier: SkuTier;
3558
+ tier?: SkuTier;
2944
3559
  }
2945
3560
 
2946
3561
  /** Sku capability */
@@ -3077,6 +3692,105 @@ export declare interface ServersUpdateOptionalParams extends coreClient.Operatio
3077
3692
  /** Contains response data for the update operation. */
3078
3693
  export declare type ServersUpdateResponse = Server;
3079
3694
 
3695
+ /** A list of the server's Advanced Threat Protection settings. */
3696
+ export declare interface ServerThreatProtectionListResult {
3697
+ /**
3698
+ * Array of results.
3699
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3700
+ */
3701
+ readonly value?: ServerThreatProtectionSettingsModel[];
3702
+ /**
3703
+ * Link to retrieve next page of results.
3704
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3705
+ */
3706
+ readonly nextLink?: string;
3707
+ }
3708
+
3709
+ /** Interface representing a ServerThreatProtectionSettings. */
3710
+ export declare interface ServerThreatProtectionSettings {
3711
+ /**
3712
+ * Get a list of server's Threat Protection state.
3713
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3714
+ * @param serverName The name of the server.
3715
+ * @param options The options parameters.
3716
+ */
3717
+ listByServer(resourceGroupName: string, serverName: string, options?: ServerThreatProtectionSettingsListByServerOptionalParams): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel>;
3718
+ /**
3719
+ * Get a server's Advanced Threat Protection settings.
3720
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3721
+ * @param serverName The name of the server.
3722
+ * @param threatProtectionName The name of the Threat Protection state.
3723
+ * @param options The options parameters.
3724
+ */
3725
+ get(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, options?: ServerThreatProtectionSettingsGetOptionalParams): Promise<ServerThreatProtectionSettingsGetResponse>;
3726
+ /**
3727
+ * Creates or updates a server's Advanced Threat Protection settings.
3728
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3729
+ * @param serverName The name of the server.
3730
+ * @param threatProtectionName The name of the Threat Protection state.
3731
+ * @param parameters The Advanced Threat Protection state for the flexible server.
3732
+ * @param options The options parameters.
3733
+ */
3734
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>, ServerThreatProtectionSettingsCreateOrUpdateResponse>>;
3735
+ /**
3736
+ * Creates or updates a server's Advanced Threat Protection settings.
3737
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3738
+ * @param serverName The name of the server.
3739
+ * @param threatProtectionName The name of the Threat Protection state.
3740
+ * @param parameters The Advanced Threat Protection state for the flexible server.
3741
+ * @param options The options parameters.
3742
+ */
3743
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse>;
3744
+ }
3745
+
3746
+ /** Defines headers for ServerThreatProtectionSettings_createOrUpdate operation. */
3747
+ export declare interface ServerThreatProtectionSettingsCreateOrUpdateHeaders {
3748
+ location?: string;
3749
+ }
3750
+
3751
+ /** Optional parameters. */
3752
+ export declare interface ServerThreatProtectionSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
3753
+ /** Delay to wait until next poll, in milliseconds. */
3754
+ updateIntervalInMs?: number;
3755
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3756
+ resumeFrom?: string;
3757
+ }
3758
+
3759
+ /** Contains response data for the createOrUpdate operation. */
3760
+ export declare type ServerThreatProtectionSettingsCreateOrUpdateResponse = ServerThreatProtectionSettingsModel;
3761
+
3762
+ /** Optional parameters. */
3763
+ export declare interface ServerThreatProtectionSettingsGetOptionalParams extends coreClient.OperationOptions {
3764
+ }
3765
+
3766
+ /** Contains response data for the get operation. */
3767
+ export declare type ServerThreatProtectionSettingsGetResponse = ServerThreatProtectionSettingsModel;
3768
+
3769
+ /** Optional parameters. */
3770
+ export declare interface ServerThreatProtectionSettingsListByServerNextOptionalParams extends coreClient.OperationOptions {
3771
+ }
3772
+
3773
+ /** Contains response data for the listByServerNext operation. */
3774
+ export declare type ServerThreatProtectionSettingsListByServerNextResponse = ServerThreatProtectionListResult;
3775
+
3776
+ /** Optional parameters. */
3777
+ export declare interface ServerThreatProtectionSettingsListByServerOptionalParams extends coreClient.OperationOptions {
3778
+ }
3779
+
3780
+ /** Contains response data for the listByServer operation. */
3781
+ export declare type ServerThreatProtectionSettingsListByServerResponse = ServerThreatProtectionListResult;
3782
+
3783
+ /** Server's Advanced Threat Protection settings. */
3784
+ export declare interface ServerThreatProtectionSettingsModel extends ProxyResource {
3785
+ /** 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. */
3786
+ state?: ThreatProtectionState;
3787
+ /**
3788
+ * Specifies the UTC creation time of the policy.
3789
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3790
+ */
3791
+ readonly creationTime?: Date;
3792
+ }
3793
+
3080
3794
  /**
3081
3795
  * Defines values for ServerVersion. \
3082
3796
  * {@link KnownServerVersion} can be used interchangeably with ServerVersion,
@@ -3086,7 +3800,8 @@ export declare type ServersUpdateResponse = Server;
3086
3800
  * **14** \
3087
3801
  * **13** \
3088
3802
  * **12** \
3089
- * **11**
3803
+ * **11** \
3804
+ * **16**
3090
3805
  */
3091
3806
  export declare type ServerVersion = string;
3092
3807
 
@@ -3123,6 +3838,31 @@ export declare interface Sku {
3123
3838
  */
3124
3839
  export declare type SkuTier = string;
3125
3840
 
3841
+ /**
3842
+ * Defines values for SourceType. \
3843
+ * {@link KnownSourceType} can be used interchangeably with SourceType,
3844
+ * this enum contains the known values that the service supports.
3845
+ * ### Known values supported by the service
3846
+ * **OnPremises** \
3847
+ * **AWS** \
3848
+ * **GCP** \
3849
+ * **AzureVM** \
3850
+ * **PostgreSQLSingleServer**
3851
+ */
3852
+ export declare type SourceType = string;
3853
+
3854
+ /**
3855
+ * Defines values for SslMode. \
3856
+ * {@link KnownSslMode} can be used interchangeably with SslMode,
3857
+ * this enum contains the known values that the service supports.
3858
+ * ### Known values supported by the service
3859
+ * **Prefer** \
3860
+ * **Require** \
3861
+ * **VerifyCA** \
3862
+ * **VerifyFull**
3863
+ */
3864
+ export declare type SslMode = string;
3865
+
3126
3866
  /**
3127
3867
  * Defines values for StartDataMigrationEnum. \
3128
3868
  * {@link KnownStartDataMigrationEnum} can be used interchangeably with StartDataMigrationEnum,
@@ -3141,11 +3881,12 @@ declare interface Storage_2 {
3141
3881
  autoGrow?: StorageAutoGrow;
3142
3882
  /** Name of storage tier for IOPS. */
3143
3883
  tier?: AzureManagedDiskPerformanceTiers;
3144
- /**
3145
- * Storage tier IOPS quantity.
3146
- * NOTE: This property will not be serialized. It can only be populated by the server.
3147
- */
3148
- readonly iops?: number;
3884
+ /** Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS */
3885
+ iops?: number;
3886
+ /** Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS */
3887
+ throughput?: number;
3888
+ /** Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified */
3889
+ type?: StorageType;
3149
3890
  }
3150
3891
  export { Storage_2 as Storage }
3151
3892
 
@@ -3195,11 +3936,31 @@ export declare interface StorageMbCapability extends CapabilityBase {
3195
3936
  * NOTE: This property will not be serialized. It can only be populated by the server.
3196
3937
  */
3197
3938
  readonly supportedIops?: number;
3939
+ /**
3940
+ * Maximum IOPS supported by this #Vcores or PremiumV2_LRS Storage Size
3941
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3942
+ */
3943
+ readonly supportedMaximumIops?: number;
3198
3944
  /**
3199
3945
  * Storage size in MB
3200
3946
  * NOTE: This property will not be serialized. It can only be populated by the server.
3201
3947
  */
3202
3948
  readonly storageSizeMb?: number;
3949
+ /**
3950
+ * Maximum value of Storage size in MB
3951
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3952
+ */
3953
+ readonly maximumStorageSizeMb?: number;
3954
+ /**
3955
+ * Values of throughput in MB/s
3956
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3957
+ */
3958
+ readonly supportedThroughput?: number;
3959
+ /**
3960
+ * Maximum values of throughput in MB/s
3961
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3962
+ */
3963
+ readonly supportedMaximumThroughput?: number;
3203
3964
  /**
3204
3965
  * Default tier for IOPS
3205
3966
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3226,6 +3987,16 @@ export declare interface StorageTierCapability extends CapabilityBase {
3226
3987
  readonly iops?: number;
3227
3988
  }
3228
3989
 
3990
+ /**
3991
+ * Defines values for StorageType. \
3992
+ * {@link KnownStorageType} can be used interchangeably with StorageType,
3993
+ * this enum contains the known values that the service supports.
3994
+ * ### Known values supported by the service
3995
+ * **Premium_LRS** \
3996
+ * **PremiumV2_LRS**
3997
+ */
3998
+ export declare type StorageType = string;
3999
+
3229
4000
  /** Metadata pertaining to creation and last modification of the resource. */
3230
4001
  export declare interface SystemData {
3231
4002
  /** The identity that created the resource. */
@@ -3242,6 +4013,18 @@ export declare interface SystemData {
3242
4013
  lastModifiedAt?: Date;
3243
4014
  }
3244
4015
 
4016
+ /**
4017
+ * Defines values for ThreatProtectionName. \
4018
+ * {@link KnownThreatProtectionName} can be used interchangeably with ThreatProtectionName,
4019
+ * this enum contains the known values that the service supports.
4020
+ * ### Known values supported by the service
4021
+ * **Default**
4022
+ */
4023
+ export declare type ThreatProtectionName = string;
4024
+
4025
+ /** Defines values for ThreatProtectionState. */
4026
+ export declare type ThreatProtectionState = "Enabled" | "Disabled";
4027
+
3245
4028
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
3246
4029
  export declare interface TrackedResource extends Resource {
3247
4030
  /** Resource tags. */
@@ -3285,6 +4068,225 @@ export declare interface UserIdentity {
3285
4068
  clientId?: string;
3286
4069
  }
3287
4070
 
4071
+ /** Details for the validation for migration */
4072
+ export declare interface ValidationDetails {
4073
+ /** Validation status for migration */
4074
+ status?: ValidationState;
4075
+ /** Validation Start date-time in UTC */
4076
+ validationStartTimeInUtc?: Date;
4077
+ /** Validation End date-time in UTC */
4078
+ validationEndTimeInUtc?: Date;
4079
+ /** Details of server level validations */
4080
+ serverLevelValidationDetails?: ValidationSummaryItem[];
4081
+ /** Details of server level validations */
4082
+ dbLevelValidationDetails?: DbLevelValidationStatus[];
4083
+ }
4084
+
4085
+ /** Validation message object */
4086
+ export declare interface ValidationMessage {
4087
+ /** Severity of validation message */
4088
+ state?: ValidationState;
4089
+ /** Validation message string */
4090
+ message?: string;
4091
+ }
4092
+
4093
+ /**
4094
+ * Defines values for ValidationState. \
4095
+ * {@link KnownValidationState} can be used interchangeably with ValidationState,
4096
+ * this enum contains the known values that the service supports.
4097
+ * ### Known values supported by the service
4098
+ * **Failed** \
4099
+ * **Succeeded** \
4100
+ * **Warning**
4101
+ */
4102
+ export declare type ValidationState = string;
4103
+
4104
+ /** Validation summary object */
4105
+ export declare interface ValidationSummaryItem {
4106
+ /** Validation type */
4107
+ type?: string;
4108
+ /** Validation status for migration */
4109
+ state?: ValidationState;
4110
+ /** Validation messages */
4111
+ messages?: ValidationMessage[];
4112
+ }
4113
+
4114
+ /** Represents a virtual endpoint for a server. */
4115
+ export declare interface VirtualEndpointResource extends VirtualEndpointResourceForPatch, Resource {
4116
+ }
4117
+
4118
+ /** Represents a virtual endpoint for a server. */
4119
+ export declare interface VirtualEndpointResourceForPatch {
4120
+ /** The endpoint type for the virtual endpoint. */
4121
+ endpointType?: VirtualEndpointType;
4122
+ /** List of members for a virtual endpoint */
4123
+ members?: string[];
4124
+ /**
4125
+ * List of virtual endpoints for a server
4126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4127
+ */
4128
+ readonly virtualEndpoints?: string[];
4129
+ }
4130
+
4131
+ /** Interface representing a VirtualEndpoints. */
4132
+ export declare interface VirtualEndpoints {
4133
+ /**
4134
+ * List all the servers in a given resource group.
4135
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4136
+ * @param serverName The name of the server.
4137
+ * @param options The options parameters.
4138
+ */
4139
+ listByServer(resourceGroupName: string, serverName: string, options?: VirtualEndpointsListByServerOptionalParams): PagedAsyncIterableIterator<VirtualEndpointResource>;
4140
+ /**
4141
+ * Creates a new virtual endpoint for PostgreSQL flexible server.
4142
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4143
+ * @param serverName The name of the server.
4144
+ * @param virtualEndpointName The name of the virtual endpoint.
4145
+ * @param parameters The required parameters for creating or updating virtual endpoints.
4146
+ * @param options The options parameters.
4147
+ */
4148
+ beginCreate(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResource, options?: VirtualEndpointsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsCreateResponse>, VirtualEndpointsCreateResponse>>;
4149
+ /**
4150
+ * Creates a new virtual endpoint for PostgreSQL flexible server.
4151
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4152
+ * @param serverName The name of the server.
4153
+ * @param virtualEndpointName The name of the virtual endpoint.
4154
+ * @param parameters The required parameters for creating or updating virtual endpoints.
4155
+ * @param options The options parameters.
4156
+ */
4157
+ beginCreateAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResource, options?: VirtualEndpointsCreateOptionalParams): Promise<VirtualEndpointsCreateResponse>;
4158
+ /**
4159
+ * Updates an existing virtual endpoint. The request body can contain one to many of the properties
4160
+ * present in the normal virtual endpoint definition.
4161
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4162
+ * @param serverName The name of the server.
4163
+ * @param virtualEndpointName The name of the virtual endpoint.
4164
+ * @param parameters The required parameters for updating a server.
4165
+ * @param options The options parameters.
4166
+ */
4167
+ beginUpdate(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResourceForPatch, options?: VirtualEndpointsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsUpdateResponse>, VirtualEndpointsUpdateResponse>>;
4168
+ /**
4169
+ * Updates an existing virtual endpoint. The request body can contain one to many of the properties
4170
+ * present in the normal virtual endpoint definition.
4171
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4172
+ * @param serverName The name of the server.
4173
+ * @param virtualEndpointName The name of the virtual endpoint.
4174
+ * @param parameters The required parameters for updating a server.
4175
+ * @param options The options parameters.
4176
+ */
4177
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResourceForPatch, options?: VirtualEndpointsUpdateOptionalParams): Promise<VirtualEndpointsUpdateResponse>;
4178
+ /**
4179
+ * Deletes a virtual endpoint.
4180
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4181
+ * @param serverName The name of the server.
4182
+ * @param virtualEndpointName The name of the virtual endpoint.
4183
+ * @param options The options parameters.
4184
+ */
4185
+ beginDelete(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsDeleteResponse>, VirtualEndpointsDeleteResponse>>;
4186
+ /**
4187
+ * Deletes a virtual endpoint.
4188
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4189
+ * @param serverName The name of the server.
4190
+ * @param virtualEndpointName The name of the virtual endpoint.
4191
+ * @param options The options parameters.
4192
+ */
4193
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsDeleteOptionalParams): Promise<VirtualEndpointsDeleteResponse>;
4194
+ /**
4195
+ * Gets information about a virtual endpoint.
4196
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4197
+ * @param serverName The name of the server.
4198
+ * @param virtualEndpointName The name of the virtual endpoint.
4199
+ * @param options The options parameters.
4200
+ */
4201
+ get(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsGetOptionalParams): Promise<VirtualEndpointsGetResponse>;
4202
+ }
4203
+
4204
+ /** Defines headers for VirtualEndpoints_create operation. */
4205
+ export declare interface VirtualEndpointsCreateHeaders {
4206
+ location?: string;
4207
+ }
4208
+
4209
+ /** Optional parameters. */
4210
+ export declare interface VirtualEndpointsCreateOptionalParams extends coreClient.OperationOptions {
4211
+ /** Delay to wait until next poll, in milliseconds. */
4212
+ updateIntervalInMs?: number;
4213
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4214
+ resumeFrom?: string;
4215
+ }
4216
+
4217
+ /** Contains response data for the create operation. */
4218
+ export declare type VirtualEndpointsCreateResponse = VirtualEndpointResource;
4219
+
4220
+ /** Defines headers for VirtualEndpoints_delete operation. */
4221
+ export declare interface VirtualEndpointsDeleteHeaders {
4222
+ location?: string;
4223
+ }
4224
+
4225
+ /** Optional parameters. */
4226
+ export declare interface VirtualEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
4227
+ /** Delay to wait until next poll, in milliseconds. */
4228
+ updateIntervalInMs?: number;
4229
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4230
+ resumeFrom?: string;
4231
+ }
4232
+
4233
+ /** Contains response data for the delete operation. */
4234
+ export declare type VirtualEndpointsDeleteResponse = VirtualEndpointsDeleteHeaders;
4235
+
4236
+ /** Optional parameters. */
4237
+ export declare interface VirtualEndpointsGetOptionalParams extends coreClient.OperationOptions {
4238
+ }
4239
+
4240
+ /** Contains response data for the get operation. */
4241
+ export declare type VirtualEndpointsGetResponse = VirtualEndpointResource;
4242
+
4243
+ /** Optional parameters. */
4244
+ export declare interface VirtualEndpointsListByServerNextOptionalParams extends coreClient.OperationOptions {
4245
+ }
4246
+
4247
+ /** Contains response data for the listByServerNext operation. */
4248
+ export declare type VirtualEndpointsListByServerNextResponse = VirtualEndpointsListResult;
4249
+
4250
+ /** Optional parameters. */
4251
+ export declare interface VirtualEndpointsListByServerOptionalParams extends coreClient.OperationOptions {
4252
+ }
4253
+
4254
+ /** Contains response data for the listByServer operation. */
4255
+ export declare type VirtualEndpointsListByServerResponse = VirtualEndpointsListResult;
4256
+
4257
+ /** A list of virtual endpoints. */
4258
+ export declare interface VirtualEndpointsListResult {
4259
+ /** The list of virtual endpoints */
4260
+ value?: VirtualEndpointResource[];
4261
+ /** The link used to get the next page of operations. */
4262
+ nextLink?: string;
4263
+ }
4264
+
4265
+ /** Defines headers for VirtualEndpoints_update operation. */
4266
+ export declare interface VirtualEndpointsUpdateHeaders {
4267
+ location?: string;
4268
+ }
4269
+
4270
+ /** Optional parameters. */
4271
+ export declare interface VirtualEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
4272
+ /** Delay to wait until next poll, in milliseconds. */
4273
+ updateIntervalInMs?: number;
4274
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4275
+ resumeFrom?: string;
4276
+ }
4277
+
4278
+ /** Contains response data for the update operation. */
4279
+ export declare type VirtualEndpointsUpdateResponse = VirtualEndpointResource;
4280
+
4281
+ /**
4282
+ * Defines values for VirtualEndpointType. \
4283
+ * {@link KnownVirtualEndpointType} can be used interchangeably with VirtualEndpointType,
4284
+ * this enum contains the known values that the service supports.
4285
+ * ### Known values supported by the service
4286
+ * **ReadWrite**
4287
+ */
4288
+ export declare type VirtualEndpointType = string;
4289
+
3288
4290
  /** Interface representing a VirtualNetworkSubnetUsage. */
3289
4291
  export declare interface VirtualNetworkSubnetUsage {
3290
4292
  /**