ArmDataMigrationModelFactory.ConnectToSourceSqlServerTaskOutputDatabaseLevel Method

Definition

Initializes a new instance of ConnectToSourceSqlServerTaskOutputDatabaseLevel.

public static Azure.ResourceManager.DataMigration.Models.ConnectToSourceSqlServerTaskOutputDatabaseLevel ConnectToSourceSqlServerTaskOutputDatabaseLevel (string id = default, string name = default, double? sizeMB = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.DatabaseFileInfo> databaseFiles = default, Azure.ResourceManager.DataMigration.Models.DatabaseCompatLevel? compatibilityLevel = default, Azure.ResourceManager.DataMigration.Models.DatabaseState? databaseState = default);
static member ConnectToSourceSqlServerTaskOutputDatabaseLevel : string * string * Nullable<double> * seq<Azure.ResourceManager.DataMigration.Models.DatabaseFileInfo> * Nullable<Azure.ResourceManager.DataMigration.Models.DatabaseCompatLevel> * Nullable<Azure.ResourceManager.DataMigration.Models.DatabaseState> -> Azure.ResourceManager.DataMigration.Models.ConnectToSourceSqlServerTaskOutputDatabaseLevel
Public Shared Function ConnectToSourceSqlServerTaskOutputDatabaseLevel (Optional id As String = Nothing, Optional name As String = Nothing, Optional sizeMB As Nullable(Of Double) = Nothing, Optional databaseFiles As IEnumerable(Of DatabaseFileInfo) = Nothing, Optional compatibilityLevel As Nullable(Of DatabaseCompatLevel) = Nothing, Optional databaseState As Nullable(Of DatabaseState) = Nothing) As ConnectToSourceSqlServerTaskOutputDatabaseLevel

Parameters

id
String

Result identifier.

name
String

Database name.

sizeMB
Nullable<Double>

Size of the file in megabytes.

databaseFiles
IEnumerable<DatabaseFileInfo>

The list of database files.

compatibilityLevel
Nullable<DatabaseCompatLevel>

SQL Server compatibility level of database.

databaseState
Nullable<DatabaseState>

State of the database.

Returns

A new ConnectToSourceSqlServerTaskOutputDatabaseLevel instance for mocking.

Applies to