Delen via


ArmDataMigrationModelFactory.DatabaseFileInfo Method

Definition

Initializes a new instance of DatabaseFileInfo.

public static Azure.ResourceManager.DataMigration.Models.DatabaseFileInfo DatabaseFileInfo (string databaseName = default, string id = default, string logicalName = default, string physicalFullName = default, string restoreFullName = default, Azure.ResourceManager.DataMigration.Models.DatabaseFileType? fileType = default, double? sizeMB = default);
static member DatabaseFileInfo : string * string * string * string * string * Nullable<Azure.ResourceManager.DataMigration.Models.DatabaseFileType> * Nullable<double> -> Azure.ResourceManager.DataMigration.Models.DatabaseFileInfo
Public Shared Function DatabaseFileInfo (Optional databaseName As String = Nothing, Optional id As String = Nothing, Optional logicalName As String = Nothing, Optional physicalFullName As String = Nothing, Optional restoreFullName As String = Nothing, Optional fileType As Nullable(Of DatabaseFileType) = Nothing, Optional sizeMB As Nullable(Of Double) = Nothing) As DatabaseFileInfo

Parameters

databaseName
String

Name of the database.

id
String

Unique identifier for database file.

logicalName
String

Logical name of the file.

physicalFullName
String

Operating-system full path of the file.

restoreFullName
String

Suggested full path of the file for restoring.

fileType
Nullable<DatabaseFileType>

Database file type.

sizeMB
Nullable<Double>

Size of the file in megabytes.

Returns

A new DatabaseFileInfo instance for mocking.

Applies to