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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET