PostgreSqlMigrationPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Migration.
public class PostgreSqlMigrationPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationPatch>
type PostgreSqlMigrationPatch = class
interface IJsonModel<PostgreSqlMigrationPatch>
interface IPersistableModel<PostgreSqlMigrationPatch>
Public Class PostgreSqlMigrationPatch
Implements IJsonModel(Of PostgreSqlMigrationPatch), IPersistableModel(Of PostgreSqlMigrationPatch)
- Inheritance
-
PostgreSqlMigrationPatch
- Implements
Constructors
| Name | Description |
|---|---|
| PostgreSqlMigrationPatch() |
Initializes a new instance of PostgreSqlMigrationPatch. |
Properties
| Name | Description |
|---|---|
| Cancel |
Indicates if cancel must be triggered for the entire migration. |
| DbsToCancelMigrationOn |
When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. |
| DbsToMigrate |
Names of databases to migrate. |
| DbsToTriggerCutoverOn |
When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. |
| MigrateRoles |
Indicates if roles and permissions must be migrated. |
| MigrationMode |
Mode used to perform the migration: Online or Offline. |
| MigrationWindowStartTimeInUtc |
Start time (UTC) for migration window. |
| OverwriteDbsInTarget |
Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. |
| SecretParameters |
Migration secret parameters. |
| SetupLogicalReplicationOnSourceDbIfNeeded |
Indicates whether to setup logical replication on source server, if needed. |
| SourceDbServerFullyQualifiedDomainName |
Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server. |
| SourceDbServerResourceId |
Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username. |
| StartDataMigration |
Indicates if data migration must start right away. |
| Tags |
Application-specific metadata in the form of key-value pairs. |
| TargetDbServerFullyQualifiedDomainName |
Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server. |
| TriggerCutover |
Indicates if cutover must be triggered for the entire migration. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<PostgreSqlMigrationPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<PostgreSqlMigrationPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<PostgreSqlMigrationPatch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<PostgreSqlMigrationPatch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<PostgreSqlMigrationPatch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |