Share via


ArmDataMigrationModelFactory.MigrationStatusDetails Method

Definition

Initializes a new instance of MigrationStatusDetails.

public static Azure.ResourceManager.DataMigration.Models.MigrationStatusDetails MigrationStatusDetails (string migrationState = default, Azure.ResourceManager.DataMigration.Models.SqlBackupSetInfo fullBackupSetInfo = default, Azure.ResourceManager.DataMigration.Models.SqlBackupSetInfo lastRestoredBackupSetInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.SqlBackupSetInfo> activeBackupSets = default, System.Collections.Generic.IEnumerable<string> invalidFiles = default, string blobContainerName = default, bool? isFullBackupRestored = default, string restoreBlockingReason = default, string completeRestoreErrorMessage = default, System.Collections.Generic.IEnumerable<string> fileUploadBlockingErrors = default, string currentRestoringFilename = default, string lastRestoredFilename = default, int? pendingLogBackupsCount = default);
static member MigrationStatusDetails : string * Azure.ResourceManager.DataMigration.Models.SqlBackupSetInfo * Azure.ResourceManager.DataMigration.Models.SqlBackupSetInfo * seq<Azure.ResourceManager.DataMigration.Models.SqlBackupSetInfo> * seq<string> * string * Nullable<bool> * string * string * seq<string> * string * string * Nullable<int> -> Azure.ResourceManager.DataMigration.Models.MigrationStatusDetails
Public Shared Function MigrationStatusDetails (Optional migrationState As String = Nothing, Optional fullBackupSetInfo As SqlBackupSetInfo = Nothing, Optional lastRestoredBackupSetInfo As SqlBackupSetInfo = Nothing, Optional activeBackupSets As IEnumerable(Of SqlBackupSetInfo) = Nothing, Optional invalidFiles As IEnumerable(Of String) = Nothing, Optional blobContainerName As String = Nothing, Optional isFullBackupRestored As Nullable(Of Boolean) = Nothing, Optional restoreBlockingReason As String = Nothing, Optional completeRestoreErrorMessage As String = Nothing, Optional fileUploadBlockingErrors As IEnumerable(Of String) = Nothing, Optional currentRestoringFilename As String = Nothing, Optional lastRestoredFilename As String = Nothing, Optional pendingLogBackupsCount As Nullable(Of Integer) = Nothing) As MigrationStatusDetails

Parameters

migrationState
String

Current State of Migration.

fullBackupSetInfo
SqlBackupSetInfo

Details of full backup set.

lastRestoredBackupSetInfo
SqlBackupSetInfo

Last applied backup set information.

activeBackupSets
IEnumerable<SqlBackupSetInfo>

Backup sets that are currently active.

invalidFiles
IEnumerable<String>

Files that are not valid backup files.

blobContainerName
String

Name of blob container.

isFullBackupRestored
Nullable<Boolean>

Whether full backup has been applied to the target database or not.

restoreBlockingReason
String

Restore blocking reason, if any.

completeRestoreErrorMessage
String

Complete restore error message, if any.

fileUploadBlockingErrors
IEnumerable<String>

File upload blocking errors, if any.

currentRestoringFilename
String

File name that is currently being restored.

lastRestoredFilename
String

Last restored file name.

pendingLogBackupsCount
Nullable<Int32>

Total pending log backups.

Returns

A new MigrationStatusDetails instance for mocking.

Applies to