Delen via


ArmDataMigrationModelFactory.SqlBackupFileInfo Method

Definition

Initializes a new instance of SqlBackupFileInfo.

public static Azure.ResourceManager.DataMigration.Models.SqlBackupFileInfo SqlBackupFileInfo (string fileName = default, string status = default, long? totalSize = default, long? dataRead = default, long? dataWritten = default, double? copyThroughput = default, int? copyDuration = default, int? familySequenceNumber = default);
static member SqlBackupFileInfo : string * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<double> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.DataMigration.Models.SqlBackupFileInfo
Public Shared Function SqlBackupFileInfo (Optional fileName As String = Nothing, Optional status As String = Nothing, Optional totalSize As Nullable(Of Long) = Nothing, Optional dataRead As Nullable(Of Long) = Nothing, Optional dataWritten As Nullable(Of Long) = Nothing, Optional copyThroughput As Nullable(Of Double) = Nothing, Optional copyDuration As Nullable(Of Integer) = Nothing, Optional familySequenceNumber As Nullable(Of Integer) = Nothing) As SqlBackupFileInfo

Parameters

fileName
String

File name.

status
String

Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped).

totalSize
Nullable<Int64>

File size in bytes.

dataRead
Nullable<Int64>

Bytes read.

dataWritten
Nullable<Int64>

Bytes written.

copyThroughput
Nullable<Double>

Copy throughput in KBps.

copyDuration
Nullable<Int32>

Copy Duration in seconds.

familySequenceNumber
Nullable<Int32>

Media family sequence number.

Returns

A new SqlBackupFileInfo instance for mocking.

Applies to