Partilhar via


ArmStorageSyncModelFactory.ServerEndpointSyncActivityStatus Method

Definition

Initializes a new instance of ServerEndpointSyncActivityStatus.

public static Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityStatus ServerEndpointSyncActivityStatus (DateTimeOffset? timestamp = default, long? perItemErrorCount = default, long? appliedItemCount = default, long? totalItemCount = default, long? appliedBytes = default, long? totalBytes = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncMode? syncMode = default, int? sessionMinutesRemaining = default);
static member ServerEndpointSyncActivityStatus : Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncMode> * Nullable<int> -> Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityStatus
Public Shared Function ServerEndpointSyncActivityStatus (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional perItemErrorCount As Nullable(Of Long) = Nothing, Optional appliedItemCount As Nullable(Of Long) = Nothing, Optional totalItemCount As Nullable(Of Long) = Nothing, Optional appliedBytes As Nullable(Of Long) = Nothing, Optional totalBytes As Nullable(Of Long) = Nothing, Optional syncMode As Nullable(Of ServerEndpointSyncMode) = Nothing, Optional sessionMinutesRemaining As Nullable(Of Integer) = Nothing) As ServerEndpointSyncActivityStatus

Parameters

timestamp
Nullable<DateTimeOffset>

Timestamp when properties were updated.

perItemErrorCount
Nullable<Int64>

Per item error count.

appliedItemCount
Nullable<Int64>

Applied item count.

totalItemCount
Nullable<Int64>

Total item count (if available).

appliedBytes
Nullable<Int64>

Applied bytes.

totalBytes
Nullable<Int64>

Total bytes (if available).

syncMode
Nullable<ServerEndpointSyncMode>

Sync mode.

sessionMinutesRemaining
Nullable<Int32>

Session minutes remaining (if available).

Returns

A new ServerEndpointSyncActivityStatus instance for mocking.

Applies to