ArmStorageSyncModelFactory.ServerEndpointBackgroundDataDownloadActivity Method

Definition

Initializes a new instance of ServerEndpointBackgroundDataDownloadActivity.

public static Azure.ResourceManager.StorageSync.Models.ServerEndpointBackgroundDataDownloadActivity ServerEndpointBackgroundDataDownloadActivity (DateTimeOffset? timestamp = default, DateTimeOffset? startedOn = default, int? percentProgress = default, long? downloadedBytes = default);
static member ServerEndpointBackgroundDataDownloadActivity : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int64> -> Azure.ResourceManager.StorageSync.Models.ServerEndpointBackgroundDataDownloadActivity
Public Shared Function ServerEndpointBackgroundDataDownloadActivity (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentProgress As Nullable(Of Integer) = Nothing, Optional downloadedBytes As Nullable(Of Long) = Nothing) As ServerEndpointBackgroundDataDownloadActivity

Parameters

timestamp
Nullable<DateTimeOffset>

Timestamp when properties were updated.

startedOn
Nullable<DateTimeOffset>

Timestamp when the operation started.

percentProgress
Nullable<Int32>

Progress percentage.

downloadedBytes
Nullable<Int64>

Running count of bytes downloaded.

Returns

A new ServerEndpointBackgroundDataDownloadActivity instance for mocking.

Applies to