ArmDataMigrationModelFactory.DatabaseBackupInfo Method

Definition

Initializes a new instance of DatabaseBackupInfo.

public static Azure.ResourceManager.DataMigration.Models.DatabaseBackupInfo DatabaseBackupInfo (string databaseName = default, Azure.ResourceManager.DataMigration.Models.BackupType? backupType = default, System.Collections.Generic.IEnumerable<string> backupFiles = default, int? position = default, bool? isDamaged = default, bool? isCompressed = default, int? familyCount = default, DateTimeOffset? backupFinishOn = default);
static member DatabaseBackupInfo : string * Nullable<Azure.ResourceManager.DataMigration.Models.BackupType> * seq<string> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<DateTimeOffset> -> Azure.ResourceManager.DataMigration.Models.DatabaseBackupInfo
Public Shared Function DatabaseBackupInfo (Optional databaseName As String = Nothing, Optional backupType As Nullable(Of BackupType) = Nothing, Optional backupFiles As IEnumerable(Of String) = Nothing, Optional position As Nullable(Of Integer) = Nothing, Optional isDamaged As Nullable(Of Boolean) = Nothing, Optional isCompressed As Nullable(Of Boolean) = Nothing, Optional familyCount As Nullable(Of Integer) = Nothing, Optional backupFinishOn As Nullable(Of DateTimeOffset) = Nothing) As DatabaseBackupInfo

Parameters

databaseName
String

Database name.

backupType
Nullable<BackupType>

Backup Type.

backupFiles
IEnumerable<String>

The list of backup files for the current database.

position
Nullable<Int32>

Position of current database backup in the file.

isDamaged
Nullable<Boolean>

Database was damaged when backed up, but the backup operation was requested to continue despite errors.

isCompressed
Nullable<Boolean>

Whether the backup set is compressed.

familyCount
Nullable<Int32>

Number of files in the backup set.

backupFinishOn
Nullable<DateTimeOffset>

Date and time when the backup operation finished.

Returns

A new DatabaseBackupInfo instance for mocking.

Applies to