@azure/arm-postgresql-flexible 8.0.0-beta.3 → 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 (252) hide show
  1. package/CHANGELOG.md +250 -0
  2. package/dist/index.js +6127 -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 +821 -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 +32 -7
  134. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  135. package/dist-esm/src/models/mappers.js +970 -158
  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 +548 -4
  230. package/src/models/index.ts +933 -134
  231. package/src/models/mappers.ts +1188 -324
  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 +1022 -25
  252. package/types/tsdoc-metadata.json +1 -1
@@ -415,6 +415,34 @@ export interface DataEncryption {
415
415
  type?: ArmServerKeyType;
416
416
  }
417
417
 
418
+ // @public
419
+ export interface DbLevelValidationStatus {
420
+ databaseName?: string;
421
+ endedOn?: Date;
422
+ startedOn?: Date;
423
+ summary?: ValidationSummaryItem[];
424
+ }
425
+
426
+ // @public
427
+ export interface DbMigrationStatus {
428
+ appliedChanges?: number;
429
+ cdcDeleteCounter?: number;
430
+ cdcInsertCounter?: number;
431
+ cdcUpdateCounter?: number;
432
+ databaseName?: string;
433
+ endedOn?: Date;
434
+ fullLoadCompletedTables?: number;
435
+ fullLoadErroredTables?: number;
436
+ fullLoadLoadingTables?: number;
437
+ fullLoadQueuedTables?: number;
438
+ incomingChanges?: number;
439
+ latency?: number;
440
+ message?: string;
441
+ migrationOperation?: string;
442
+ migrationState?: MigrationDbState;
443
+ startedOn?: Date;
444
+ }
445
+
418
446
  // @public
419
447
  export interface DbServerMetadata {
420
448
  readonly location?: string;
@@ -787,6 +815,16 @@ export enum KnownLogicalReplicationOnSourceDbEnum {
787
815
  True = "True"
788
816
  }
789
817
 
818
+ // @public
819
+ export enum KnownMigrationDbState {
820
+ Canceled = "Canceled",
821
+ Canceling = "Canceling",
822
+ Failed = "Failed",
823
+ InProgress = "InProgress",
824
+ Succeeded = "Succeeded",
825
+ WaitingForCutoverTrigger = "WaitingForCutoverTrigger"
826
+ }
827
+
790
828
  // @public
791
829
  export enum KnownMigrationDetailsLevel {
792
830
  Default = "Default",
@@ -812,21 +850,32 @@ export enum KnownMigrationNameAvailabilityReason {
812
850
  Invalid = "Invalid"
813
851
  }
814
852
 
853
+ // @public
854
+ export enum KnownMigrationOption {
855
+ Migrate = "Migrate",
856
+ Validate = "Validate",
857
+ ValidateAndMigrate = "ValidateAndMigrate"
858
+ }
859
+
815
860
  // @public
816
861
  export enum KnownMigrationState {
817
862
  Canceled = "Canceled",
863
+ CleaningUp = "CleaningUp",
818
864
  Failed = "Failed",
819
865
  InProgress = "InProgress",
820
866
  Succeeded = "Succeeded",
867
+ ValidationFailed = "ValidationFailed",
821
868
  WaitingForUserAction = "WaitingForUserAction"
822
869
  }
823
870
 
824
871
  // @public
825
872
  export enum KnownMigrationSubState {
873
+ CancelingRequestedDBMigrations = "CancelingRequestedDBMigrations",
826
874
  Completed = "Completed",
827
875
  CompletingMigration = "CompletingMigration",
828
876
  MigratingData = "MigratingData",
829
877
  PerformingPreRequisiteSteps = "PerformingPreRequisiteSteps",
878
+ ValidationInProgress = "ValidationInProgress",
830
879
  WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
831
880
  WaitingForDataMigrationScheduling = "WaitingForDataMigrationScheduling",
832
881
  WaitingForDataMigrationWindow = "WaitingForDataMigrationWindow",
@@ -873,6 +922,33 @@ export enum KnownPrincipalType {
873
922
  User = "User"
874
923
  }
875
924
 
925
+ // @public
926
+ export enum KnownPrivateEndpointConnectionProvisioningState {
927
+ Creating = "Creating",
928
+ Deleting = "Deleting",
929
+ Failed = "Failed",
930
+ Succeeded = "Succeeded"
931
+ }
932
+
933
+ // @public
934
+ export enum KnownPrivateEndpointServiceConnectionStatus {
935
+ Approved = "Approved",
936
+ Pending = "Pending",
937
+ Rejected = "Rejected"
938
+ }
939
+
940
+ // @public
941
+ export enum KnownReadReplicaPromoteMode {
942
+ Standalone = "standalone",
943
+ Switchover = "switchover"
944
+ }
945
+
946
+ // @public
947
+ export enum KnownReplicationPromoteOption {
948
+ Forced = "forced",
949
+ Planned = "planned"
950
+ }
951
+
876
952
  // @public
877
953
  export enum KnownReplicationRole {
878
954
  AsyncReplica = "AsyncReplica",
@@ -881,6 +957,16 @@ export enum KnownReplicationRole {
881
957
  Primary = "Primary"
882
958
  }
883
959
 
960
+ // @public
961
+ export enum KnownReplicationState {
962
+ Active = "Active",
963
+ Broken = "Broken",
964
+ Catchup = "Catchup",
965
+ Provisioning = "Provisioning",
966
+ Reconfiguring = "Reconfiguring",
967
+ Updating = "Updating"
968
+ }
969
+
884
970
  // @public
885
971
  export enum KnownRestrictedEnum {
886
972
  Disabled = "Disabled",
@@ -919,6 +1005,7 @@ export enum KnownServerVersion {
919
1005
  Eleven = "11",
920
1006
  Fifteen = "15",
921
1007
  Fourteen = "14",
1008
+ Sixteen = "16",
922
1009
  Thirteen = "13",
923
1010
  Twelve = "12"
924
1011
  }
@@ -930,6 +1017,23 @@ export enum KnownSkuTier {
930
1017
  MemoryOptimized = "MemoryOptimized"
931
1018
  }
932
1019
 
1020
+ // @public
1021
+ export enum KnownSourceType {
1022
+ AWS = "AWS",
1023
+ AzureVM = "AzureVM",
1024
+ GCP = "GCP",
1025
+ OnPremises = "OnPremises",
1026
+ PostgreSQLSingleServer = "PostgreSQLSingleServer"
1027
+ }
1028
+
1029
+ // @public
1030
+ export enum KnownSslMode {
1031
+ Prefer = "Prefer",
1032
+ Require = "Require",
1033
+ VerifyCA = "VerifyCA",
1034
+ VerifyFull = "VerifyFull"
1035
+ }
1036
+
933
1037
  // @public
934
1038
  export enum KnownStartDataMigrationEnum {
935
1039
  False = "False",
@@ -948,12 +1052,35 @@ export enum KnownStorageAutoGrowthSupportedEnum {
948
1052
  Enabled = "Enabled"
949
1053
  }
950
1054
 
1055
+ // @public
1056
+ export enum KnownStorageType {
1057
+ PremiumLRS = "Premium_LRS",
1058
+ PremiumV2LRS = "PremiumV2_LRS"
1059
+ }
1060
+
1061
+ // @public
1062
+ export enum KnownThreatProtectionName {
1063
+ Default = "Default"
1064
+ }
1065
+
951
1066
  // @public
952
1067
  export enum KnownTriggerCutoverEnum {
953
1068
  False = "False",
954
1069
  True = "True"
955
1070
  }
956
1071
 
1072
+ // @public
1073
+ export enum KnownValidationState {
1074
+ Failed = "Failed",
1075
+ Succeeded = "Succeeded",
1076
+ Warning = "Warning"
1077
+ }
1078
+
1079
+ // @public
1080
+ export enum KnownVirtualEndpointType {
1081
+ ReadWrite = "ReadWrite"
1082
+ }
1083
+
957
1084
  // @public
958
1085
  export enum KnownZoneRedundantHaAndGeoBackupSupportedEnum {
959
1086
  Disabled = "Disabled",
@@ -1105,6 +1232,9 @@ export interface MaintenanceWindow {
1105
1232
  startMinute?: number;
1106
1233
  }
1107
1234
 
1235
+ // @public
1236
+ export type MigrationDbState = string;
1237
+
1108
1238
  // @public
1109
1239
  export type MigrationDetailsLevel = string;
1110
1240
 
@@ -1126,6 +1256,9 @@ export interface MigrationNameAvailabilityResource {
1126
1256
  type: string;
1127
1257
  }
1128
1258
 
1259
+ // @public
1260
+ export type MigrationOption = string;
1261
+
1129
1262
  // @public
1130
1263
  export interface MigrationResource extends TrackedResource {
1131
1264
  cancel?: CancelEnum;
@@ -1135,6 +1268,7 @@ export interface MigrationResource extends TrackedResource {
1135
1268
  dbsToTriggerCutoverOn?: string[];
1136
1269
  readonly migrationId?: string;
1137
1270
  migrationMode?: MigrationMode;
1271
+ migrationOption?: MigrationOption;
1138
1272
  migrationWindowEndTimeInUtc?: Date;
1139
1273
  migrationWindowStartTimeInUtc?: Date;
1140
1274
  overwriteDbsInTarget?: OverwriteDbsInTargetEnum;
@@ -1143,6 +1277,8 @@ export interface MigrationResource extends TrackedResource {
1143
1277
  sourceDbServerFullyQualifiedDomainName?: string;
1144
1278
  readonly sourceDbServerMetadata?: DbServerMetadata;
1145
1279
  sourceDbServerResourceId?: string;
1280
+ sourceType?: SourceType;
1281
+ sslMode?: SslMode;
1146
1282
  startDataMigration?: StartDataMigrationEnum;
1147
1283
  targetDbServerFullyQualifiedDomainName?: string;
1148
1284
  readonly targetDbServerMetadata?: DbServerMetadata;
@@ -1242,6 +1378,10 @@ export type MigrationSubState = string;
1242
1378
  // @public
1243
1379
  export interface MigrationSubStateDetails {
1244
1380
  readonly currentSubState?: MigrationSubState;
1381
+ dbDetails?: {
1382
+ [propertyName: string]: DbMigrationStatus;
1383
+ };
1384
+ validationDetails?: ValidationDetails;
1245
1385
  }
1246
1386
 
1247
1387
  // @public
@@ -1257,11 +1397,17 @@ export interface NameAvailability extends CheckNameAvailabilityResponse {
1257
1397
  readonly type?: string;
1258
1398
  }
1259
1399
 
1400
+ // @public
1401
+ export interface NameProperty {
1402
+ localizedValue?: string;
1403
+ value?: string;
1404
+ }
1405
+
1260
1406
  // @public
1261
1407
  export interface Network {
1262
1408
  delegatedSubnetResourceId?: string;
1263
1409
  privateDnsZoneArmResourceId?: string;
1264
- readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
1410
+ publicNetworkAccess?: ServerPublicNetworkAccessState;
1265
1411
  }
1266
1412
 
1267
1413
  // @public
@@ -1354,14 +1500,26 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
1354
1500
  // (undocumented)
1355
1501
  operations: Operations;
1356
1502
  // (undocumented)
1503
+ privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
1504
+ // (undocumented)
1505
+ privateEndpointConnections: PrivateEndpointConnections;
1506
+ // (undocumented)
1507
+ privateLinkResources: PrivateLinkResources;
1508
+ // (undocumented)
1509
+ quotaUsages: QuotaUsages;
1510
+ // (undocumented)
1357
1511
  replicas: Replicas;
1358
1512
  // (undocumented)
1359
1513
  serverCapabilities: ServerCapabilities;
1360
1514
  // (undocumented)
1361
1515
  servers: Servers;
1362
1516
  // (undocumented)
1517
+ serverThreatProtectionSettings: ServerThreatProtectionSettings;
1518
+ // (undocumented)
1363
1519
  subscriptionId?: string;
1364
1520
  // (undocumented)
1521
+ virtualEndpoints: VirtualEndpoints;
1522
+ // (undocumented)
1365
1523
  virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
1366
1524
  }
1367
1525
 
@@ -1375,10 +1533,193 @@ export interface PostgreSQLManagementFlexibleServerClientOptionalParams extends
1375
1533
  // @public
1376
1534
  export type PrincipalType = string;
1377
1535
 
1536
+ // @public
1537
+ export interface PrivateEndpoint {
1538
+ readonly id?: string;
1539
+ }
1540
+
1541
+ // @public
1542
+ export interface PrivateEndpointConnection extends Resource {
1543
+ readonly groupIds?: string[];
1544
+ privateEndpoint?: PrivateEndpoint;
1545
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1546
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1547
+ }
1548
+
1549
+ // @public
1550
+ export interface PrivateEndpointConnectionDeleteHeaders {
1551
+ // (undocumented)
1552
+ location?: string;
1553
+ }
1554
+
1555
+ // @public
1556
+ export interface PrivateEndpointConnectionDeleteOptionalParams extends coreClient.OperationOptions {
1557
+ resumeFrom?: string;
1558
+ updateIntervalInMs?: number;
1559
+ }
1560
+
1561
+ // @public
1562
+ export type PrivateEndpointConnectionDeleteResponse = PrivateEndpointConnectionDeleteHeaders;
1563
+
1564
+ // @public
1565
+ export interface PrivateEndpointConnectionListResult {
1566
+ readonly nextLink?: string;
1567
+ readonly value?: PrivateEndpointConnection[];
1568
+ }
1569
+
1570
+ // @public
1571
+ export interface PrivateEndpointConnectionOperations {
1572
+ beginDelete(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionDeleteResponse>, PrivateEndpointConnectionDeleteResponse>>;
1573
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise<PrivateEndpointConnectionDeleteResponse>;
1574
+ beginUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionUpdateResponse>, PrivateEndpointConnectionUpdateResponse>>;
1575
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionUpdateOptionalParams): Promise<PrivateEndpointConnectionUpdateResponse>;
1576
+ }
1577
+
1578
+ // @public
1579
+ export type PrivateEndpointConnectionProvisioningState = string;
1580
+
1581
+ // @public
1582
+ export interface PrivateEndpointConnections {
1583
+ get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
1584
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateEndpointConnectionsListByServerOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1585
+ }
1586
+
1587
+ // @public
1588
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1589
+ }
1590
+
1591
+ // @public
1592
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1593
+
1594
+ // @public
1595
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
1596
+ }
1597
+
1598
+ // @public
1599
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
1600
+
1601
+ // @public
1602
+ export interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
1603
+ }
1604
+
1605
+ // @public
1606
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
1607
+
1608
+ // @public
1609
+ export interface PrivateEndpointConnectionUpdateHeaders {
1610
+ // (undocumented)
1611
+ location?: string;
1612
+ }
1613
+
1614
+ // @public
1615
+ export interface PrivateEndpointConnectionUpdateOptionalParams extends coreClient.OperationOptions {
1616
+ resumeFrom?: string;
1617
+ updateIntervalInMs?: number;
1618
+ }
1619
+
1620
+ // @public
1621
+ export type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
1622
+
1623
+ // @public
1624
+ export type PrivateEndpointServiceConnectionStatus = string;
1625
+
1626
+ // @public
1627
+ export interface PrivateLinkResource extends Resource {
1628
+ readonly groupId?: string;
1629
+ readonly requiredMembers?: string[];
1630
+ requiredZoneNames?: string[];
1631
+ }
1632
+
1633
+ // @public
1634
+ export interface PrivateLinkResourceListResult {
1635
+ readonly nextLink?: string;
1636
+ readonly value?: PrivateLinkResource[];
1637
+ }
1638
+
1639
+ // @public
1640
+ export interface PrivateLinkResources {
1641
+ get(resourceGroupName: string, serverName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
1642
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateLinkResourcesListByServerOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1643
+ }
1644
+
1645
+ // @public
1646
+ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
1647
+ }
1648
+
1649
+ // @public
1650
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
1651
+
1652
+ // @public
1653
+ export interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
1654
+ }
1655
+
1656
+ // @public
1657
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
1658
+
1659
+ // @public
1660
+ export interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
1661
+ }
1662
+
1663
+ // @public
1664
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
1665
+
1666
+ // @public
1667
+ export interface PrivateLinkServiceConnectionState {
1668
+ actionsRequired?: string;
1669
+ description?: string;
1670
+ status?: PrivateEndpointServiceConnectionStatus;
1671
+ }
1672
+
1378
1673
  // @public
1379
1674
  export interface ProxyResource extends Resource {
1380
1675
  }
1381
1676
 
1677
+ // @public
1678
+ export interface QuotaUsage {
1679
+ currentValue?: number;
1680
+ id?: string;
1681
+ limit?: number;
1682
+ name?: NameProperty;
1683
+ unit?: string;
1684
+ }
1685
+
1686
+ // @public
1687
+ export interface QuotaUsages {
1688
+ list(locationName: string, options?: QuotaUsagesListOptionalParams): PagedAsyncIterableIterator<QuotaUsage>;
1689
+ }
1690
+
1691
+ // @public
1692
+ export interface QuotaUsagesListNextOptionalParams extends coreClient.OperationOptions {
1693
+ }
1694
+
1695
+ // @public
1696
+ export type QuotaUsagesListNextResponse = QuotaUsagesListResult;
1697
+
1698
+ // @public
1699
+ export interface QuotaUsagesListOptionalParams extends coreClient.OperationOptions {
1700
+ }
1701
+
1702
+ // @public
1703
+ export type QuotaUsagesListResponse = QuotaUsagesListResult;
1704
+
1705
+ // @public
1706
+ export interface QuotaUsagesListResult {
1707
+ readonly nextLink?: string;
1708
+ readonly value?: QuotaUsage[];
1709
+ }
1710
+
1711
+ // @public
1712
+ export type ReadReplicaPromoteMode = string;
1713
+
1714
+ // @public
1715
+ export interface Replica {
1716
+ readonly capacity?: number;
1717
+ promoteMode?: ReadReplicaPromoteMode;
1718
+ promoteOption?: ReplicationPromoteOption;
1719
+ readonly replicationState?: ReplicationState;
1720
+ role?: ReplicationRole;
1721
+ }
1722
+
1382
1723
  // @public
1383
1724
  export interface Replicas {
1384
1725
  listByServer(resourceGroupName: string, serverName: string, options?: ReplicasListByServerOptionalParams): PagedAsyncIterableIterator<Server>;
@@ -1391,9 +1732,15 @@ export interface ReplicasListByServerOptionalParams extends coreClient.Operation
1391
1732
  // @public
1392
1733
  export type ReplicasListByServerResponse = ServerListResult;
1393
1734
 
1735
+ // @public
1736
+ export type ReplicationPromoteOption = string;
1737
+
1394
1738
  // @public
1395
1739
  export type ReplicationRole = string;
1396
1740
 
1741
+ // @public
1742
+ export type ReplicationState = string;
1743
+
1397
1744
  // @public
1398
1745
  export interface Resource {
1399
1746
  readonly id?: string;
@@ -1427,6 +1774,8 @@ export interface Server extends TrackedResource {
1427
1774
  readonly minorVersion?: string;
1428
1775
  network?: Network;
1429
1776
  pointInTimeUTC?: Date;
1777
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1778
+ replica?: Replica;
1430
1779
  readonly replicaCapacity?: number;
1431
1780
  replicationRole?: ReplicationRole;
1432
1781
  sku?: Sku;
@@ -1479,6 +1828,7 @@ export interface ServerForUpdate {
1479
1828
  identity?: UserAssignedIdentity;
1480
1829
  maintenanceWindow?: MaintenanceWindow;
1481
1830
  network?: Network;
1831
+ replica?: Replica;
1482
1832
  replicationRole?: ReplicationRole;
1483
1833
  sku?: Sku;
1484
1834
  storage?: Storage_2;
@@ -1555,8 +1905,8 @@ export type ServersGetResponse = Server;
1555
1905
 
1556
1906
  // @public
1557
1907
  export interface ServerSku {
1558
- name: string;
1559
- tier: SkuTier;
1908
+ name?: string;
1909
+ tier?: SkuTier;
1560
1910
  }
1561
1911
 
1562
1912
  // @public
@@ -1652,6 +2002,56 @@ export interface ServersUpdateOptionalParams extends coreClient.OperationOptions
1652
2002
  // @public
1653
2003
  export type ServersUpdateResponse = Server;
1654
2004
 
2005
+ // @public
2006
+ export interface ServerThreatProtectionListResult {
2007
+ readonly nextLink?: string;
2008
+ readonly value?: ServerThreatProtectionSettingsModel[];
2009
+ }
2010
+
2011
+ // @public
2012
+ export interface ServerThreatProtectionSettings {
2013
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>, ServerThreatProtectionSettingsCreateOrUpdateResponse>>;
2014
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse>;
2015
+ get(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, options?: ServerThreatProtectionSettingsGetOptionalParams): Promise<ServerThreatProtectionSettingsGetResponse>;
2016
+ listByServer(resourceGroupName: string, serverName: string, options?: ServerThreatProtectionSettingsListByServerOptionalParams): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel>;
2017
+ }
2018
+
2019
+ // @public
2020
+ export interface ServerThreatProtectionSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2021
+ resumeFrom?: string;
2022
+ updateIntervalInMs?: number;
2023
+ }
2024
+
2025
+ // @public
2026
+ export type ServerThreatProtectionSettingsCreateOrUpdateResponse = ServerThreatProtectionSettingsModel;
2027
+
2028
+ // @public
2029
+ export interface ServerThreatProtectionSettingsGetOptionalParams extends coreClient.OperationOptions {
2030
+ }
2031
+
2032
+ // @public
2033
+ export type ServerThreatProtectionSettingsGetResponse = ServerThreatProtectionSettingsModel;
2034
+
2035
+ // @public
2036
+ export interface ServerThreatProtectionSettingsListByServerNextOptionalParams extends coreClient.OperationOptions {
2037
+ }
2038
+
2039
+ // @public
2040
+ export type ServerThreatProtectionSettingsListByServerNextResponse = ServerThreatProtectionListResult;
2041
+
2042
+ // @public
2043
+ export interface ServerThreatProtectionSettingsListByServerOptionalParams extends coreClient.OperationOptions {
2044
+ }
2045
+
2046
+ // @public
2047
+ export type ServerThreatProtectionSettingsListByServerResponse = ServerThreatProtectionListResult;
2048
+
2049
+ // @public
2050
+ export interface ServerThreatProtectionSettingsModel extends ProxyResource {
2051
+ readonly creationTime?: Date;
2052
+ state?: ThreatProtectionState;
2053
+ }
2054
+
1655
2055
  // @public
1656
2056
  export type ServerVersion = string;
1657
2057
 
@@ -1670,15 +2070,23 @@ export interface Sku {
1670
2070
  // @public
1671
2071
  export type SkuTier = string;
1672
2072
 
2073
+ // @public
2074
+ export type SourceType = string;
2075
+
2076
+ // @public
2077
+ export type SslMode = string;
2078
+
1673
2079
  // @public
1674
2080
  export type StartDataMigrationEnum = string;
1675
2081
 
1676
2082
  // @public
1677
2083
  interface Storage_2 {
1678
2084
  autoGrow?: StorageAutoGrow;
1679
- readonly iops?: number;
2085
+ iops?: number;
1680
2086
  storageSizeGB?: number;
2087
+ throughput?: number;
1681
2088
  tier?: AzureManagedDiskPerformanceTiers;
2089
+ type?: StorageType;
1682
2090
  }
1683
2091
  export { Storage_2 as Storage }
1684
2092
 
@@ -1698,9 +2106,13 @@ export interface StorageEditionCapability extends CapabilityBase {
1698
2106
  // @public
1699
2107
  export interface StorageMbCapability extends CapabilityBase {
1700
2108
  readonly defaultIopsTier?: string;
2109
+ readonly maximumStorageSizeMb?: number;
1701
2110
  readonly storageSizeMb?: number;
1702
2111
  readonly supportedIops?: number;
1703
2112
  readonly supportedIopsTiers?: StorageTierCapability[];
2113
+ readonly supportedMaximumIops?: number;
2114
+ readonly supportedMaximumThroughput?: number;
2115
+ readonly supportedThroughput?: number;
1704
2116
  }
1705
2117
 
1706
2118
  // @public
@@ -1709,6 +2121,9 @@ export interface StorageTierCapability extends CapabilityBase {
1709
2121
  readonly name?: string;
1710
2122
  }
1711
2123
 
2124
+ // @public
2125
+ export type StorageType = string;
2126
+
1712
2127
  // @public
1713
2128
  export interface SystemData {
1714
2129
  createdAt?: Date;
@@ -1719,6 +2134,12 @@ export interface SystemData {
1719
2134
  lastModifiedByType?: CreatedByType;
1720
2135
  }
1721
2136
 
2137
+ // @public
2138
+ export type ThreatProtectionName = string;
2139
+
2140
+ // @public
2141
+ export type ThreatProtectionState = "Enabled" | "Disabled";
2142
+
1722
2143
  // @public
1723
2144
  export interface TrackedResource extends Resource {
1724
2145
  location: string;
@@ -1745,6 +2166,129 @@ export interface UserIdentity {
1745
2166
  principalId?: string;
1746
2167
  }
1747
2168
 
2169
+ // @public
2170
+ export interface ValidationDetails {
2171
+ dbLevelValidationDetails?: DbLevelValidationStatus[];
2172
+ serverLevelValidationDetails?: ValidationSummaryItem[];
2173
+ status?: ValidationState;
2174
+ validationEndTimeInUtc?: Date;
2175
+ validationStartTimeInUtc?: Date;
2176
+ }
2177
+
2178
+ // @public
2179
+ export interface ValidationMessage {
2180
+ message?: string;
2181
+ state?: ValidationState;
2182
+ }
2183
+
2184
+ // @public
2185
+ export type ValidationState = string;
2186
+
2187
+ // @public
2188
+ export interface ValidationSummaryItem {
2189
+ messages?: ValidationMessage[];
2190
+ state?: ValidationState;
2191
+ type?: string;
2192
+ }
2193
+
2194
+ // @public
2195
+ export interface VirtualEndpointResource extends VirtualEndpointResourceForPatch, Resource {
2196
+ }
2197
+
2198
+ // @public
2199
+ export interface VirtualEndpointResourceForPatch {
2200
+ endpointType?: VirtualEndpointType;
2201
+ members?: string[];
2202
+ readonly virtualEndpoints?: string[];
2203
+ }
2204
+
2205
+ // @public
2206
+ export interface VirtualEndpoints {
2207
+ beginCreate(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResource, options?: VirtualEndpointsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsCreateResponse>, VirtualEndpointsCreateResponse>>;
2208
+ beginCreateAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResource, options?: VirtualEndpointsCreateOptionalParams): Promise<VirtualEndpointsCreateResponse>;
2209
+ beginDelete(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsDeleteResponse>, VirtualEndpointsDeleteResponse>>;
2210
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsDeleteOptionalParams): Promise<VirtualEndpointsDeleteResponse>;
2211
+ beginUpdate(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResourceForPatch, options?: VirtualEndpointsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsUpdateResponse>, VirtualEndpointsUpdateResponse>>;
2212
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResourceForPatch, options?: VirtualEndpointsUpdateOptionalParams): Promise<VirtualEndpointsUpdateResponse>;
2213
+ get(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsGetOptionalParams): Promise<VirtualEndpointsGetResponse>;
2214
+ listByServer(resourceGroupName: string, serverName: string, options?: VirtualEndpointsListByServerOptionalParams): PagedAsyncIterableIterator<VirtualEndpointResource>;
2215
+ }
2216
+
2217
+ // @public
2218
+ export interface VirtualEndpointsCreateHeaders {
2219
+ // (undocumented)
2220
+ location?: string;
2221
+ }
2222
+
2223
+ // @public
2224
+ export interface VirtualEndpointsCreateOptionalParams extends coreClient.OperationOptions {
2225
+ resumeFrom?: string;
2226
+ updateIntervalInMs?: number;
2227
+ }
2228
+
2229
+ // @public
2230
+ export type VirtualEndpointsCreateResponse = VirtualEndpointResource;
2231
+
2232
+ // @public
2233
+ export interface VirtualEndpointsDeleteHeaders {
2234
+ // (undocumented)
2235
+ location?: string;
2236
+ }
2237
+
2238
+ // @public
2239
+ export interface VirtualEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
2240
+ resumeFrom?: string;
2241
+ updateIntervalInMs?: number;
2242
+ }
2243
+
2244
+ // @public
2245
+ export type VirtualEndpointsDeleteResponse = VirtualEndpointsDeleteHeaders;
2246
+
2247
+ // @public
2248
+ export interface VirtualEndpointsGetOptionalParams extends coreClient.OperationOptions {
2249
+ }
2250
+
2251
+ // @public
2252
+ export type VirtualEndpointsGetResponse = VirtualEndpointResource;
2253
+
2254
+ // @public
2255
+ export interface VirtualEndpointsListByServerNextOptionalParams extends coreClient.OperationOptions {
2256
+ }
2257
+
2258
+ // @public
2259
+ export type VirtualEndpointsListByServerNextResponse = VirtualEndpointsListResult;
2260
+
2261
+ // @public
2262
+ export interface VirtualEndpointsListByServerOptionalParams extends coreClient.OperationOptions {
2263
+ }
2264
+
2265
+ // @public
2266
+ export type VirtualEndpointsListByServerResponse = VirtualEndpointsListResult;
2267
+
2268
+ // @public
2269
+ export interface VirtualEndpointsListResult {
2270
+ nextLink?: string;
2271
+ value?: VirtualEndpointResource[];
2272
+ }
2273
+
2274
+ // @public
2275
+ export interface VirtualEndpointsUpdateHeaders {
2276
+ // (undocumented)
2277
+ location?: string;
2278
+ }
2279
+
2280
+ // @public
2281
+ export interface VirtualEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
2282
+ resumeFrom?: string;
2283
+ updateIntervalInMs?: number;
2284
+ }
2285
+
2286
+ // @public
2287
+ export type VirtualEndpointsUpdateResponse = VirtualEndpointResource;
2288
+
2289
+ // @public
2290
+ export type VirtualEndpointType = string;
2291
+
1748
2292
  // @public
1749
2293
  export interface VirtualNetworkSubnetUsage {
1750
2294
  execute(locationName: string, parameters: VirtualNetworkSubnetUsageParameter, options?: VirtualNetworkSubnetUsageExecuteOptionalParams): Promise<VirtualNetworkSubnetUsageExecuteResponse>;