Udostępnij za pośrednictwem


ArmSqlModelFactory.ManagedDatabaseRestoreDetailData Method

Definition

Initializes a new instance of ManagedDatabaseRestoreDetailData.

public static Azure.ResourceManager.Sql.ManagedDatabaseRestoreDetailData ManagedDatabaseRestoreDetailData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string restoreType = default, string status = default, string blockReason = default, string lastUploadedFileName = default, DateTimeOffset? lastUploadedFileOn = default, string lastRestoredFileName = default, DateTimeOffset? lastRestoredFileOn = default, int? completedPercent = default, int? currentRestoredSizeInMB = default, int? currentRestorePlanSizeInMB = default, string currentBackupType = default, string currentRestoringFileName = default, int? numberOfFilesFound = default, int? numberOfFilesQueued = default, int? numberOfFilesSkipped = default, int? numberOfFilesRestoring = default, int? numberOfFilesRestored = default, int? numberOfFilesUnrestorable = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailBackupSetProperties> fullBackupSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailBackupSetProperties> diffBackupSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailBackupSetProperties> logBackupSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailUnrestorableFileProperties> unrestorableFileList = default);
static member ManagedDatabaseRestoreDetailData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int> * Nullable<int> * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailBackupSetProperties> * seq<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailBackupSetProperties> * seq<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailBackupSetProperties> * seq<Azure.ResourceManager.Sql.Models.ManagedDatabaseRestoreDetailUnrestorableFileProperties> -> Azure.ResourceManager.Sql.ManagedDatabaseRestoreDetailData
Public Shared Function ManagedDatabaseRestoreDetailData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional restoreType As String = Nothing, Optional status As String = Nothing, Optional blockReason As String = Nothing, Optional lastUploadedFileName As String = Nothing, Optional lastUploadedFileOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastRestoredFileName As String = Nothing, Optional lastRestoredFileOn As Nullable(Of DateTimeOffset) = Nothing, Optional completedPercent As Nullable(Of Integer) = Nothing, Optional currentRestoredSizeInMB As Nullable(Of Integer) = Nothing, Optional currentRestorePlanSizeInMB As Nullable(Of Integer) = Nothing, Optional currentBackupType As String = Nothing, Optional currentRestoringFileName As String = Nothing, Optional numberOfFilesFound As Nullable(Of Integer) = Nothing, Optional numberOfFilesQueued As Nullable(Of Integer) = Nothing, Optional numberOfFilesSkipped As Nullable(Of Integer) = Nothing, Optional numberOfFilesRestoring As Nullable(Of Integer) = Nothing, Optional numberOfFilesRestored As Nullable(Of Integer) = Nothing, Optional numberOfFilesUnrestorable As Nullable(Of Integer) = Nothing, Optional fullBackupSets As IEnumerable(Of ManagedDatabaseRestoreDetailBackupSetProperties) = Nothing, Optional diffBackupSets As IEnumerable(Of ManagedDatabaseRestoreDetailBackupSetProperties) = Nothing, Optional logBackupSets As IEnumerable(Of ManagedDatabaseRestoreDetailBackupSetProperties) = Nothing, Optional unrestorableFileList As IEnumerable(Of ManagedDatabaseRestoreDetailUnrestorableFileProperties) = Nothing) As ManagedDatabaseRestoreDetailData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

restoreType
String

Restore type.

status
String

Restore status.

blockReason
String

The reason why restore is in Blocked state.

lastUploadedFileName
String

Last uploaded file name.

lastUploadedFileOn
Nullable<DateTimeOffset>

Last uploaded file time.

lastRestoredFileName
String

Last restored file name.

lastRestoredFileOn
Nullable<DateTimeOffset>

Last restored file time.

completedPercent
Nullable<Int32>

Percent completed.

currentRestoredSizeInMB
Nullable<Int32>

Current restored size MB.

currentRestorePlanSizeInMB
Nullable<Int32>

Current restore plan size MB.

currentBackupType
String

Current backup type.

currentRestoringFileName
String

Current restoring file name.

numberOfFilesFound
Nullable<Int32>

Number of files detected.

numberOfFilesQueued
Nullable<Int32>

Number of files queued.

numberOfFilesSkipped
Nullable<Int32>

Number of files skipped.

numberOfFilesRestoring
Nullable<Int32>

Number of files restoring.

numberOfFilesRestored
Nullable<Int32>

Number of files restored.

numberOfFilesUnrestorable
Nullable<Int32>

Number of files unrestorable.

unrestorableFileList
IEnumerable<ManagedDatabaseRestoreDetailUnrestorableFileProperties>

Unrestorable files.

Returns

A new ManagedDatabaseRestoreDetailData instance for mocking.

Applies to