Partilhar via


ArmStorageSyncModelFactory.ServerEndpointSyncSessionStatus Method

Definition

Initializes a new instance of ServerEndpointSyncSessionStatus.

public static Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncSessionStatus ServerEndpointSyncSessionStatus (int? lastSyncResult = default, DateTimeOffset? lastSyncTimestamp = default, DateTimeOffset? lastSyncSuccessTimestamp = default, long? lastSyncPerItemErrorCount = default, long? persistentFilesNotSyncingCount = default, long? transientFilesNotSyncingCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageSync.Models.ServerEndpointFilesNotSyncingError> filesNotSyncingErrors = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncMode? lastSyncMode = default);
static member ServerEndpointSyncSessionStatus : Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Nullable<int64> * seq<Azure.ResourceManager.StorageSync.Models.ServerEndpointFilesNotSyncingError> * Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncMode> -> Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncSessionStatus
Public Shared Function ServerEndpointSyncSessionStatus (Optional lastSyncResult As Nullable(Of Integer) = Nothing, Optional lastSyncTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional lastSyncSuccessTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional lastSyncPerItemErrorCount As Nullable(Of Long) = Nothing, Optional persistentFilesNotSyncingCount As Nullable(Of Long) = Nothing, Optional transientFilesNotSyncingCount As Nullable(Of Long) = Nothing, Optional filesNotSyncingErrors As IEnumerable(Of ServerEndpointFilesNotSyncingError) = Nothing, Optional lastSyncMode As Nullable(Of ServerEndpointSyncMode) = Nothing) As ServerEndpointSyncSessionStatus

Parameters

lastSyncResult
Nullable<Int32>

Last sync result (HResult).

lastSyncTimestamp
Nullable<DateTimeOffset>

Last sync timestamp.

lastSyncSuccessTimestamp
Nullable<DateTimeOffset>

Last sync success timestamp.

lastSyncPerItemErrorCount
Nullable<Int64>

Last sync per item error count.

persistentFilesNotSyncingCount
Nullable<Int64>

Count of persistent files not syncing.

transientFilesNotSyncingCount
Nullable<Int64>

Count of transient files not syncing.

filesNotSyncingErrors
IEnumerable<ServerEndpointFilesNotSyncingError>

Array of per-item errors coming from the last sync session.

lastSyncMode
Nullable<ServerEndpointSyncMode>

Sync mode.

Returns

A new ServerEndpointSyncSessionStatus instance for mocking.

Applies to