ArmDataMigrationModelFactory.DatabaseMigrationSqlDBProperties Method
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.
Initializes a new instance of DatabaseMigrationSqlDBProperties.
public static Azure.ResourceManager.DataMigration.Models.DatabaseMigrationSqlDBProperties DatabaseMigrationSqlDBProperties (string scope = default, string provisioningState = default, string migrationStatus = default, DateTimeOffset? startedOn = default, DateTimeOffset? endedOn = default, Azure.ResourceManager.DataMigration.Models.SqlConnectionInformation sourceSqlConnection = default, string sourceDatabaseName = default, string sourceServerName = default, string migrationService = default, string migrationOperationId = default, Azure.ResourceManager.DataMigration.Models.ErrorInfo migrationFailureError = default, string targetDatabaseCollation = default, string provisioningError = default, Azure.ResourceManager.DataMigration.Models.SqlDBMigrationStatusDetails migrationStatusDetails = default, Azure.ResourceManager.DataMigration.Models.SqlConnectionInformation targetSqlConnection = default, bool? offline = default, System.Collections.Generic.IEnumerable<string> tableList = default);
static member DatabaseMigrationSqlDBProperties : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.DataMigration.Models.SqlConnectionInformation * string * string * string * string * Azure.ResourceManager.DataMigration.Models.ErrorInfo * string * string * Azure.ResourceManager.DataMigration.Models.SqlDBMigrationStatusDetails * Azure.ResourceManager.DataMigration.Models.SqlConnectionInformation * Nullable<bool> * seq<string> -> Azure.ResourceManager.DataMigration.Models.DatabaseMigrationSqlDBProperties
Public Shared Function DatabaseMigrationSqlDBProperties (Optional scope As String = Nothing, Optional provisioningState As String = Nothing, Optional migrationStatus As String = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional endedOn As Nullable(Of DateTimeOffset) = Nothing, Optional sourceSqlConnection As SqlConnectionInformation = Nothing, Optional sourceDatabaseName As String = Nothing, Optional sourceServerName As String = Nothing, Optional migrationService As String = Nothing, Optional migrationOperationId As String = Nothing, Optional migrationFailureError As ErrorInfo = Nothing, Optional targetDatabaseCollation As String = Nothing, Optional provisioningError As String = Nothing, Optional migrationStatusDetails As SqlDBMigrationStatusDetails = Nothing, Optional targetSqlConnection As SqlConnectionInformation = Nothing, Optional offline As Nullable(Of Boolean) = Nothing, Optional tableList As IEnumerable(Of String) = Nothing) As DatabaseMigrationSqlDBProperties
Parameters
- scope
- String
Resource Id of the target resource (SQL VM or SQL Managed Instance).
- provisioningState
- String
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- migrationStatus
- String
Migration status.
- startedOn
- Nullable<DateTimeOffset>
Database migration start time.
- endedOn
- Nullable<DateTimeOffset>
Database migration end time.
- sourceSqlConnection
- SqlConnectionInformation
Source SQL Server connection details.
- sourceDatabaseName
- String
Name of the source database.
- sourceServerName
- String
Name of the source sql server.
- migrationService
- String
Resource Id of the Migration Service.
- migrationOperationId
- String
ID tracking current migration operation.
- migrationFailureError
- ErrorInfo
Error details in case of migration failure.
- targetDatabaseCollation
- String
Database collation to be used for the target database.
- provisioningError
- String
Error message for migration provisioning failure, if any.
- migrationStatusDetails
- SqlDBMigrationStatusDetails
Detailed migration status. Not included by default.
- targetSqlConnection
- SqlConnectionInformation
Target SQL DB connection details.
- tableList
- IEnumerable<String>
List of tables to copy.
Returns
A new DatabaseMigrationSqlDBProperties instance for mocking.
Applies to
Azure SDK for .NET