@azure/arm-postgresql-flexible 8.0.0-beta.2 → 8.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +540 -1
- package/dist/index.js +6111 -3678
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/administratorsCreateSample.js +1 -1
- package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
- package/dist-esm/samples-dev/administratorsListByServerSample.js +4 -9
- package/dist-esm/samples-dev/administratorsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/backupsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupsListByServerSample.js +4 -9
- package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +3 -4
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByServerSample.js +4 -9
- package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
- package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/databasesGetSample.js +1 -1
- package/dist-esm/samples-dev/databasesListByServerSample.js +4 -9
- package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js +4 -9
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +1 -1
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +1 -1
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +2 -4
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +4 -9
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/logFilesListByServerSample.js +4 -9
- package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +1 -1
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +4 -9
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsCreateSample.js +74 -8
- package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsDeleteSample.js +3 -4
- package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsGetSample.js +79 -4
- package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +6 -12
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsUpdateSample.js +6 -8
- package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +40 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +46 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +55 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +40 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +55 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.js +54 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -0
- package/dist-esm/samples-dev/replicasListByServerSample.js +4 -9
- package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js +4 -9
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +40 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +55 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/serversCreateSample.js +9 -9
- package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
- package/dist-esm/samples-dev/serversGetSample.js +21 -2
- package/dist-esm/samples-dev/serversGetSample.js.map +1 -1
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serversListSample.js +4 -9
- package/dist-esm/samples-dev/serversListSample.js.map +1 -1
- package/dist-esm/samples-dev/serversRestartSample.js +2 -2
- package/dist-esm/samples-dev/serversStartSample.js +1 -1
- package/dist-esm/samples-dev/serversStopSample.js +1 -1
- package/dist-esm/samples-dev/serversUpdateSample.js +95 -7
- package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +44 -0
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.js +40 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +55 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +44 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +822 -119
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +158 -12
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +32 -7
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +972 -160
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +12 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +82 -18
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/administrators.js +3 -8
- package/dist-esm/src/operations/administrators.js.map +1 -1
- package/dist-esm/src/operations/backups.js +3 -8
- package/dist-esm/src/operations/backups.js.map +1 -1
- package/dist-esm/src/operations/configurations.js +3 -8
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/databases.js +3 -8
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +3 -8
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/flexibleServer.js +2 -2
- package/dist-esm/src/operations/flexibleServer.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +8 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +8 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/locationBasedCapabilities.js +3 -8
- package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
- package/dist-esm/src/operations/logFiles.js +3 -8
- package/dist-esm/src/operations/logFiles.js.map +1 -1
- package/dist-esm/src/operations/ltrBackupOperations.js +3 -8
- package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
- package/dist-esm/src/operations/migrations.js +5 -10
- package/dist-esm/src/operations/migrations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +48 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +218 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +46 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +182 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +182 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/quotaUsages.d.ts +35 -0
- package/dist-esm/src/operations/quotaUsages.d.ts.map +1 -0
- package/dist-esm/src/operations/quotaUsages.js +145 -0
- package/dist-esm/src/operations/quotaUsages.js.map +1 -0
- package/dist-esm/src/operations/replicas.js +3 -8
- package/dist-esm/src/operations/replicas.js.map +1 -1
- package/dist-esm/src/operations/serverCapabilities.js +3 -8
- package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
- package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts +65 -0
- package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/serverThreatProtectionSettings.js +283 -0
- package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -0
- package/dist-esm/src/operations/servers.js +6 -16
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/src/operations/virtualEndpoints.d.ts +101 -0
- package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualEndpoints.js +473 -0
- package/dist-esm/src/operations/virtualEndpoints.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +8 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.js +9 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts +76 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.js.map +1 -0
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +12 -5
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +19 -15
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/postgresql_flexible_operations_test.spec.js +55 -0
- package/dist-esm/test/postgresql_flexible_operations_test.spec.js.map +1 -0
- package/package.json +15 -19
- package/review/arm-postgresql-flexible.api.md +551 -6
- package/src/models/index.ts +934 -135
- package/src/models/mappers.ts +1189 -325
- package/src/models/parameters.ts +96 -20
- package/src/operations/flexibleServer.ts +2 -2
- package/src/operations/index.ts +8 -2
- package/src/operations/migrations.ts +2 -2
- package/src/operations/privateEndpointConnectionOperations.ts +316 -0
- package/src/operations/privateEndpointConnections.ts +243 -0
- package/src/operations/privateLinkResources.ts +242 -0
- package/src/operations/quotaUsages.ts +170 -0
- package/src/operations/serverThreatProtectionSettings.ts +393 -0
- package/src/operations/virtualEndpoints.ts +667 -0
- package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
- package/src/operationsInterfaces/index.ts +8 -2
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +86 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +44 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/quotaUsages.ts +24 -0
- package/src/operationsInterfaces/serverThreatProtectionSettings.ts +83 -0
- package/src/operationsInterfaces/virtualEndpoints.ts +155 -0
- package/src/postgreSQLManagementFlexibleServerClient.ts +61 -17
- package/types/arm-postgresql-flexible.d.ts +1025 -27
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
|
@@ -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
|
-
|
|
1410
|
+
publicNetworkAccess?: ServerPublicNetworkAccessState;
|
|
1265
1411
|
}
|
|
1266
1412
|
|
|
1267
1413
|
// @public
|
|
@@ -1321,6 +1467,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
1321
1467
|
// (undocumented)
|
|
1322
1468
|
$host: string;
|
|
1323
1469
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementFlexibleServerClientOptionalParams);
|
|
1470
|
+
constructor(credentials: coreAuth.TokenCredential, options?: PostgreSQLManagementFlexibleServerClientOptionalParams);
|
|
1324
1471
|
// (undocumented)
|
|
1325
1472
|
administrators: Administrators;
|
|
1326
1473
|
// (undocumented)
|
|
@@ -1353,13 +1500,25 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
1353
1500
|
// (undocumented)
|
|
1354
1501
|
operations: Operations;
|
|
1355
1502
|
// (undocumented)
|
|
1503
|
+
privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
|
|
1504
|
+
// (undocumented)
|
|
1505
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
1506
|
+
// (undocumented)
|
|
1507
|
+
privateLinkResources: PrivateLinkResources;
|
|
1508
|
+
// (undocumented)
|
|
1509
|
+
quotaUsages: QuotaUsages;
|
|
1510
|
+
// (undocumented)
|
|
1356
1511
|
replicas: Replicas;
|
|
1357
1512
|
// (undocumented)
|
|
1358
1513
|
serverCapabilities: ServerCapabilities;
|
|
1359
1514
|
// (undocumented)
|
|
1360
1515
|
servers: Servers;
|
|
1361
1516
|
// (undocumented)
|
|
1362
|
-
|
|
1517
|
+
serverThreatProtectionSettings: ServerThreatProtectionSettings;
|
|
1518
|
+
// (undocumented)
|
|
1519
|
+
subscriptionId?: string;
|
|
1520
|
+
// (undocumented)
|
|
1521
|
+
virtualEndpoints: VirtualEndpoints;
|
|
1363
1522
|
// (undocumented)
|
|
1364
1523
|
virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
|
|
1365
1524
|
}
|
|
@@ -1374,10 +1533,193 @@ export interface PostgreSQLManagementFlexibleServerClientOptionalParams extends
|
|
|
1374
1533
|
// @public
|
|
1375
1534
|
export type PrincipalType = string;
|
|
1376
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
|
+
|
|
1377
1673
|
// @public
|
|
1378
1674
|
export interface ProxyResource extends Resource {
|
|
1379
1675
|
}
|
|
1380
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
|
+
|
|
1381
1723
|
// @public
|
|
1382
1724
|
export interface Replicas {
|
|
1383
1725
|
listByServer(resourceGroupName: string, serverName: string, options?: ReplicasListByServerOptionalParams): PagedAsyncIterableIterator<Server>;
|
|
@@ -1390,9 +1732,15 @@ export interface ReplicasListByServerOptionalParams extends coreClient.Operation
|
|
|
1390
1732
|
// @public
|
|
1391
1733
|
export type ReplicasListByServerResponse = ServerListResult;
|
|
1392
1734
|
|
|
1735
|
+
// @public
|
|
1736
|
+
export type ReplicationPromoteOption = string;
|
|
1737
|
+
|
|
1393
1738
|
// @public
|
|
1394
1739
|
export type ReplicationRole = string;
|
|
1395
1740
|
|
|
1741
|
+
// @public
|
|
1742
|
+
export type ReplicationState = string;
|
|
1743
|
+
|
|
1396
1744
|
// @public
|
|
1397
1745
|
export interface Resource {
|
|
1398
1746
|
readonly id?: string;
|
|
@@ -1426,6 +1774,8 @@ export interface Server extends TrackedResource {
|
|
|
1426
1774
|
readonly minorVersion?: string;
|
|
1427
1775
|
network?: Network;
|
|
1428
1776
|
pointInTimeUTC?: Date;
|
|
1777
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
1778
|
+
replica?: Replica;
|
|
1429
1779
|
readonly replicaCapacity?: number;
|
|
1430
1780
|
replicationRole?: ReplicationRole;
|
|
1431
1781
|
sku?: Sku;
|
|
@@ -1478,6 +1828,7 @@ export interface ServerForUpdate {
|
|
|
1478
1828
|
identity?: UserAssignedIdentity;
|
|
1479
1829
|
maintenanceWindow?: MaintenanceWindow;
|
|
1480
1830
|
network?: Network;
|
|
1831
|
+
replica?: Replica;
|
|
1481
1832
|
replicationRole?: ReplicationRole;
|
|
1482
1833
|
sku?: Sku;
|
|
1483
1834
|
storage?: Storage_2;
|
|
@@ -1554,8 +1905,8 @@ export type ServersGetResponse = Server;
|
|
|
1554
1905
|
|
|
1555
1906
|
// @public
|
|
1556
1907
|
export interface ServerSku {
|
|
1557
|
-
name
|
|
1558
|
-
tier
|
|
1908
|
+
name?: string;
|
|
1909
|
+
tier?: SkuTier;
|
|
1559
1910
|
}
|
|
1560
1911
|
|
|
1561
1912
|
// @public
|
|
@@ -1651,6 +2002,56 @@ export interface ServersUpdateOptionalParams extends coreClient.OperationOptions
|
|
|
1651
2002
|
// @public
|
|
1652
2003
|
export type ServersUpdateResponse = Server;
|
|
1653
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
|
+
|
|
1654
2055
|
// @public
|
|
1655
2056
|
export type ServerVersion = string;
|
|
1656
2057
|
|
|
@@ -1669,15 +2070,23 @@ export interface Sku {
|
|
|
1669
2070
|
// @public
|
|
1670
2071
|
export type SkuTier = string;
|
|
1671
2072
|
|
|
2073
|
+
// @public
|
|
2074
|
+
export type SourceType = string;
|
|
2075
|
+
|
|
2076
|
+
// @public
|
|
2077
|
+
export type SslMode = string;
|
|
2078
|
+
|
|
1672
2079
|
// @public
|
|
1673
2080
|
export type StartDataMigrationEnum = string;
|
|
1674
2081
|
|
|
1675
2082
|
// @public
|
|
1676
2083
|
interface Storage_2 {
|
|
1677
2084
|
autoGrow?: StorageAutoGrow;
|
|
1678
|
-
|
|
1679
|
-
iopsTier?: AzureManagedDiskPerformanceTiers;
|
|
2085
|
+
iops?: number;
|
|
1680
2086
|
storageSizeGB?: number;
|
|
2087
|
+
throughput?: number;
|
|
2088
|
+
tier?: AzureManagedDiskPerformanceTiers;
|
|
2089
|
+
type?: StorageType;
|
|
1681
2090
|
}
|
|
1682
2091
|
export { Storage_2 as Storage }
|
|
1683
2092
|
|
|
@@ -1697,9 +2106,13 @@ export interface StorageEditionCapability extends CapabilityBase {
|
|
|
1697
2106
|
// @public
|
|
1698
2107
|
export interface StorageMbCapability extends CapabilityBase {
|
|
1699
2108
|
readonly defaultIopsTier?: string;
|
|
2109
|
+
readonly maximumStorageSizeMb?: number;
|
|
1700
2110
|
readonly storageSizeMb?: number;
|
|
1701
2111
|
readonly supportedIops?: number;
|
|
1702
2112
|
readonly supportedIopsTiers?: StorageTierCapability[];
|
|
2113
|
+
readonly supportedMaximumIops?: number;
|
|
2114
|
+
readonly supportedMaximumThroughput?: number;
|
|
2115
|
+
readonly supportedThroughput?: number;
|
|
1703
2116
|
}
|
|
1704
2117
|
|
|
1705
2118
|
// @public
|
|
@@ -1708,6 +2121,9 @@ export interface StorageTierCapability extends CapabilityBase {
|
|
|
1708
2121
|
readonly name?: string;
|
|
1709
2122
|
}
|
|
1710
2123
|
|
|
2124
|
+
// @public
|
|
2125
|
+
export type StorageType = string;
|
|
2126
|
+
|
|
1711
2127
|
// @public
|
|
1712
2128
|
export interface SystemData {
|
|
1713
2129
|
createdAt?: Date;
|
|
@@ -1718,6 +2134,12 @@ export interface SystemData {
|
|
|
1718
2134
|
lastModifiedByType?: CreatedByType;
|
|
1719
2135
|
}
|
|
1720
2136
|
|
|
2137
|
+
// @public
|
|
2138
|
+
export type ThreatProtectionName = string;
|
|
2139
|
+
|
|
2140
|
+
// @public
|
|
2141
|
+
export type ThreatProtectionState = "Enabled" | "Disabled";
|
|
2142
|
+
|
|
1721
2143
|
// @public
|
|
1722
2144
|
export interface TrackedResource extends Resource {
|
|
1723
2145
|
location: string;
|
|
@@ -1744,6 +2166,129 @@ export interface UserIdentity {
|
|
|
1744
2166
|
principalId?: string;
|
|
1745
2167
|
}
|
|
1746
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
|
+
|
|
1747
2292
|
// @public
|
|
1748
2293
|
export interface VirtualNetworkSubnetUsage {
|
|
1749
2294
|
execute(locationName: string, parameters: VirtualNetworkSubnetUsageParameter, options?: VirtualNetworkSubnetUsageExecuteOptionalParams): Promise<VirtualNetworkSubnetUsageExecuteResponse>;
|