ArmStorageSyncModelFactory.ServerEndpointSyncSessionStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- lastSyncTimestamp
- Nullable<DateTimeOffset>
Last sync timestamp.
- lastSyncSuccessTimestamp
- Nullable<DateTimeOffset>
Last sync success timestamp.
- 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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET