MigrationResourceForPatch 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationResourceForPatchTypeConverter))]
public class MigrationResourceForPatch : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IMigrationResourceForPatch
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationResourceForPatchTypeConverter))>]
type MigrationResourceForPatch = class
interface IMigrationResourceForPatch
interface IJsonSerializable
Public Class MigrationResourceForPatch
Implements IMigrationResourceForPatch
- Inheritance
-
MigrationResourceForPatch
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MigrationResourceForPatch() |
Creates an new MigrationResourceForPatch instance. |
Properties
| Name | Description |
|---|---|
| AdminCredentialsSourceServerPassword |
Password for the user of the source server. |
| AdminCredentialsTargetServerPassword |
Password for the user of the target server. |
| 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. |
| MigrateRole |
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. |
| SecretParameterSourceServerUsername |
Gets or sets the name of the user for the source server. This user doesn't need to be an administrator. |
| SecretParameterTargetServerUsername |
Gets or sets the name of the user for the target server. This user doesn't need to be an administrator. |
| 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. |
| Tag |
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 |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MigrationResourceForPatch. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MigrationResourceForPatch. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IMigrationResourceForPatch. |
| FromJsonString(String) |
Creates a new instance of MigrationResourceForPatch, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of MigrationResourceForPatch into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |