Delen via


ArmDataMigrationModelFactory.BackupSetInfo Method

Definition

Initializes a new instance of BackupSetInfo.

public static Azure.ResourceManager.DataMigration.Models.BackupSetInfo BackupSetInfo (string backupSetId = default, string firstLsn = default, string lastLsn = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.DataMigration.Models.BackupType? backupType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.BackupFileInfo> listOfBackupFiles = default, string databaseName = default, DateTimeOffset? backupStartOn = default, DateTimeOffset? backupFinishedOn = default, bool? isBackupRestored = default);
static member BackupSetInfo : string * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DataMigration.Models.BackupType> * seq<Azure.ResourceManager.DataMigration.Models.BackupFileInfo> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.DataMigration.Models.BackupSetInfo
Public Shared Function BackupSetInfo (Optional backupSetId As String = Nothing, Optional firstLsn As String = Nothing, Optional lastLsn As String = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupType As Nullable(Of BackupType) = Nothing, Optional listOfBackupFiles As IEnumerable(Of BackupFileInfo) = Nothing, Optional databaseName As String = Nothing, Optional backupStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupFinishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isBackupRestored As Nullable(Of Boolean) = Nothing) As BackupSetInfo

Parameters

backupSetId
String

Id for the set of backup files.

firstLsn
String

First log sequence number of the backup file.

lastLsn
String

Last log sequence number of the backup file.

lastModifiedOn
Nullable<DateTimeOffset>

Last modified time of the backup file in share location.

backupType
Nullable<BackupType>

Enum of the different backup types.

listOfBackupFiles
IEnumerable<BackupFileInfo>

List of files in the backup set.

databaseName
String

Name of the database to which the backup set belongs.

backupStartOn
Nullable<DateTimeOffset>

Date and time that the backup operation began.

backupFinishedOn
Nullable<DateTimeOffset>

Date and time that the backup operation finished.

isBackupRestored
Nullable<Boolean>

Whether the backup set is restored or not.

Returns

A new BackupSetInfo instance for mocking.

Applies to