Uses of Class
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.MigrationResourceProperties
Packages that use MigrationResourceProperties
Package
Description
Package containing the inner data models for PostgreSqlManagementClient.
-
Uses of MigrationResourceProperties in com.azure.resourcemanager.postgresqlflexibleserver.fluent.models
Methods in com.azure.resourcemanager.postgresqlflexibleserver.fluent.models that return MigrationResourcePropertiesModifier and TypeMethodDescriptionMigrationResourceProperties.withCancel(CancelEnum cancel) Set the cancel property: To trigger cancel for entire migration we need to send this flag as True.MigrationResourceProperties.withDbsToCancelMigrationOn(List<String> dbsToCancelMigrationOn) Set the dbsToCancelMigrationOn property: When you want to trigger cancel for specific databases send cancel flag as True and database names in this array.MigrationResourceProperties.withDbsToMigrate(List<String> dbsToMigrate) Set the dbsToMigrate property: Number of databases to migrate.MigrationResourceProperties.withDbsToTriggerCutoverOn(List<String> dbsToTriggerCutoverOn) Set the dbsToTriggerCutoverOn property: When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array.MigrationResourceProperties.withMigrationMode(MigrationMode migrationMode) Set the migrationMode property: There are two types of migration modes Online and Offline.MigrationResourceProperties.withMigrationWindowEndTimeInUtc(OffsetDateTime migrationWindowEndTimeInUtc) Set the migrationWindowEndTimeInUtc property: End time in UTC for migration window.MigrationResourceProperties.withMigrationWindowStartTimeInUtc(OffsetDateTime migrationWindowStartTimeInUtc) Set the migrationWindowStartTimeInUtc property: Start time in UTC for migration window.MigrationResourceProperties.withOverwriteDbsInTarget(OverwriteDbsInTargetEnum overwriteDbsInTarget) Set the overwriteDbsInTarget property: Indicates whether the databases on the target server can be overwritten, if already present.MigrationResourceProperties.withSecretParameters(MigrationSecretParameters secretParameters) Set the secretParameters property: Migration secret parameters.MigrationResourceProperties.withSetupLogicalReplicationOnSourceDbIfNeeded(LogicalReplicationOnSourceDbEnum setupLogicalReplicationOnSourceDbIfNeeded) Set the setupLogicalReplicationOnSourceDbIfNeeded property: Indicates whether to setup LogicalReplicationOnSourceDb, if needed.MigrationResourceProperties.withSourceDbServerFullyQualifiedDomainName(String sourceDbServerFullyQualifiedDomainName) Set the sourceDbServerFullyQualifiedDomainName property: Source server fully qualified domain name or ip.MigrationResourceProperties.withSourceDbServerResourceId(String sourceDbServerResourceId) Set the sourceDbServerResourceId property: ResourceId of the source database server.MigrationResourceProperties.withStartDataMigration(StartDataMigrationEnum startDataMigration) Set the startDataMigration property: Indicates whether the data migration should start right away.MigrationResourceProperties.withTargetDbServerFullyQualifiedDomainName(String targetDbServerFullyQualifiedDomainName) Set the targetDbServerFullyQualifiedDomainName property: Target server fully qualified domain name or ip.MigrationResourceProperties.withTriggerCutover(TriggerCutoverEnum triggerCutover) Set the triggerCutover property: To trigger cutover for entire migration we need to send this flag as True.