你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DatabaseMigrationProperties 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.
Database Migration Resource properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.DatabaseMigrationPropertiesTypeConverter))]
public class DatabaseMigrationProperties : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.DatabaseMigrationPropertiesTypeConverter))>]
type DatabaseMigrationProperties = class
interface IDatabaseMigrationProperties
interface IJsonSerializable
Public Class DatabaseMigrationProperties
Implements IDatabaseMigrationProperties
- Inheritance
-
DatabaseMigrationProperties
- Attributes
- Implements
Constructors
DatabaseMigrationProperties() |
Creates an new DatabaseMigrationProperties instance. |
Properties
EndedOn |
Database migration end time. |
Kind | |
MigrationFailureErrorCode |
Error code. |
MigrationFailureErrorMessage |
Error message. |
MigrationOperationId |
ID tracking current migration operation. |
MigrationService |
Resource Id of the Migration Service. |
MigrationStatus |
Migration status. |
ProvisioningError |
Error message for migration provisioning failure, if any. |
ProvisioningState |
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started. |
Scope |
Resource Id of the target resource (SQL VM or SQL Managed Instance) |
SourceDatabaseName |
Name of the source database. |
SourceServerName |
Name of the source sql server. |
SourceSqlConnectionAuthentication |
Authentication type. |
SourceSqlConnectionDataSource |
Data source. |
SourceSqlConnectionEncryptConnection |
Whether to encrypt connection or not. |
SourceSqlConnectionPassword |
Password to connect to source SQL. |
SourceSqlConnectionTrustServerCertificate |
Whether to trust server certificate or not. |
SourceSqlConnectionUserName |
User name to connect to source SQL. |
StartedOn |
Database migration start time. |
TargetDatabaseCollation |
Database collation to be used for the target database. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DatabaseMigrationProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DatabaseMigrationProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IDatabaseMigrationProperties interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. |
FromJsonString(String) |
Creates a new instance of DatabaseMigrationProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of DatabaseMigrationProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |