共用方式為


ArmStorageSyncModelFactory.ServerEndpointSyncStatus Method

Definition

Initializes a new instance of ServerEndpointSyncStatus.

public static Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncStatus ServerEndpointSyncStatus (Azure.ResourceManager.StorageSync.Models.ServerEndpointHealthState? downloadHealth = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointHealthState? uploadHealth = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointHealthState? combinedHealth = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityState? syncActivity = default, long? totalPersistentFilesNotSyncingCount = default, DateTimeOffset? lastUpdatedOn = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncSessionStatus uploadStatus = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncSessionStatus downloadStatus = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityStatus uploadActivity = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityStatus downloadActivity = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointOfflineDataTransferState? offlineDataTransferStatus = default, Azure.ResourceManager.StorageSync.Models.ServerEndpointBackgroundDataDownloadActivity backgroundDataDownloadActivity = default);
static member ServerEndpointSyncStatus : Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointHealthState> * Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointHealthState> * Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointHealthState> * Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityState> * Nullable<int64> * Nullable<DateTimeOffset> * Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncSessionStatus * Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncSessionStatus * Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityStatus * Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncActivityStatus * Nullable<Azure.ResourceManager.StorageSync.Models.ServerEndpointOfflineDataTransferState> * Azure.ResourceManager.StorageSync.Models.ServerEndpointBackgroundDataDownloadActivity -> Azure.ResourceManager.StorageSync.Models.ServerEndpointSyncStatus
Public Shared Function ServerEndpointSyncStatus (Optional downloadHealth As Nullable(Of ServerEndpointHealthState) = Nothing, Optional uploadHealth As Nullable(Of ServerEndpointHealthState) = Nothing, Optional combinedHealth As Nullable(Of ServerEndpointHealthState) = Nothing, Optional syncActivity As Nullable(Of ServerEndpointSyncActivityState) = Nothing, Optional totalPersistentFilesNotSyncingCount As Nullable(Of Long) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional uploadStatus As ServerEndpointSyncSessionStatus = Nothing, Optional downloadStatus As ServerEndpointSyncSessionStatus = Nothing, Optional uploadActivity As ServerEndpointSyncActivityStatus = Nothing, Optional downloadActivity As ServerEndpointSyncActivityStatus = Nothing, Optional offlineDataTransferStatus As Nullable(Of ServerEndpointOfflineDataTransferState) = Nothing, Optional backgroundDataDownloadActivity As ServerEndpointBackgroundDataDownloadActivity = Nothing) As ServerEndpointSyncStatus

Parameters

downloadHealth
Nullable<ServerEndpointHealthState>

Download Health Status.

uploadHealth
Nullable<ServerEndpointHealthState>

Upload Health Status.

combinedHealth
Nullable<ServerEndpointHealthState>

Combined Health Status.

syncActivity
Nullable<ServerEndpointSyncActivityState>

Sync activity.

totalPersistentFilesNotSyncingCount
Nullable<Int64>

Total count of persistent files not syncing (combined upload + download).

lastUpdatedOn
Nullable<DateTimeOffset>

Last Updated Timestamp.

uploadStatus
ServerEndpointSyncSessionStatus

Upload Status.

downloadStatus
ServerEndpointSyncSessionStatus

Download Status.

uploadActivity
ServerEndpointSyncActivityStatus

Upload sync activity.

downloadActivity
ServerEndpointSyncActivityStatus

Download sync activity.

offlineDataTransferStatus
Nullable<ServerEndpointOfflineDataTransferState>

Offline Data Transfer State.

backgroundDataDownloadActivity
ServerEndpointBackgroundDataDownloadActivity

Background data download activity.

Returns

A new ServerEndpointSyncStatus instance for mocking.

Applies to