다음을 통해 공유


ShareSubscriptionResource.SynchronizeAsync Method

Definition

Initiate a copy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/synchronize
  • Operation Id: ShareSubscriptions_Synchronize
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataShare.Models.ShareSubscriptionSynchronization>> SynchronizeAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.DataShare.Models.DataShareSynchronizeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SynchronizeAsync : Azure.WaitUntil * Azure.ResourceManager.DataShare.Models.DataShareSynchronizeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataShare.Models.ShareSubscriptionSynchronization>>
override this.SynchronizeAsync : Azure.WaitUntil * Azure.ResourceManager.DataShare.Models.DataShareSynchronizeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataShare.Models.ShareSubscriptionSynchronization>>
Public Overridable Function SynchronizeAsync (waitUntil As WaitUntil, content As DataShareSynchronizeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ShareSubscriptionSynchronization))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
DataShareSynchronizeContent

Synchronize payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to