共用方式為


ArmDataBoxEdgeModelFactory.UpdateDownloadProgress Method

Definition

Initializes a new instance of UpdateDownloadProgress.

public static Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress UpdateDownloadProgress (Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDownloadPhase? downloadPhase = default, int? percentComplete = default, double? totalBytesToDownload = default, double? totalBytesDownloaded = default, int? numberOfUpdatesToDownload = default, int? numberOfUpdatesDownloaded = default);
static member UpdateDownloadProgress : Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDownloadPhase> * Nullable<int> * Nullable<double> * Nullable<double> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress
Public Shared Function UpdateDownloadProgress (Optional downloadPhase As Nullable(Of DataBoxEdgeDownloadPhase) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional totalBytesToDownload As Nullable(Of Double) = Nothing, Optional totalBytesDownloaded As Nullable(Of Double) = Nothing, Optional numberOfUpdatesToDownload As Nullable(Of Integer) = Nothing, Optional numberOfUpdatesDownloaded As Nullable(Of Integer) = Nothing) As UpdateDownloadProgress

Parameters

downloadPhase
Nullable<DataBoxEdgeDownloadPhase>

The download phase.

percentComplete
Nullable<Int32>

Percentage of completion.

totalBytesToDownload
Nullable<Double>

Total bytes to download.

totalBytesDownloaded
Nullable<Double>

Total bytes downloaded.

numberOfUpdatesToDownload
Nullable<Int32>

Number of updates to download.

numberOfUpdatesDownloaded
Nullable<Int32>

Number of updates downloaded.

Returns

A new UpdateDownloadProgress instance for mocking.

Applies to