Udostępnij za pośrednictwem


ArmDataShareModelFactory.ShareSynchronization Method

Definition

Initializes a new instance of ShareSynchronization.

public static Azure.ResourceManager.DataShare.Models.ShareSynchronization ShareSynchronization (string consumerEmail = default, string consumerName = default, string consumerTenantName = default, int? durationInMilliSeconds = default, DateTimeOffset? endOn = default, string message = default, DateTimeOffset? startOn = default, string status = default, Guid? synchronizationId = default, Azure.ResourceManager.DataShare.Models.SynchronizationMode? synchronizationMode = default);
static member ShareSynchronization : string * string * string * Nullable<int> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string * Nullable<Guid> * Nullable<Azure.ResourceManager.DataShare.Models.SynchronizationMode> -> Azure.ResourceManager.DataShare.Models.ShareSynchronization
Public Shared Function ShareSynchronization (Optional consumerEmail As String = Nothing, Optional consumerName As String = Nothing, Optional consumerTenantName As String = Nothing, Optional durationInMilliSeconds As Nullable(Of Integer) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional message As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As String = Nothing, Optional synchronizationId As Nullable(Of Guid) = Nothing, Optional synchronizationMode As Nullable(Of SynchronizationMode) = Nothing) As ShareSynchronization

Parameters

consumerEmail
String

Email of the user who created the synchronization.

consumerName
String

Name of the user who created the synchronization.

consumerTenantName
String

Tenant name of the consumer who created the synchronization.

durationInMilliSeconds
Nullable<Int32>

synchronization duration.

endOn
Nullable<DateTimeOffset>

End time of synchronization.

message
String

message of synchronization.

startOn
Nullable<DateTimeOffset>

start time of synchronization.

status
String

Raw Status.

synchronizationId
Nullable<Guid>

Synchronization id.

synchronizationMode
Nullable<SynchronizationMode>

Synchronization mode.

Returns

A new ShareSynchronization instance for mocking.

Applies to