共用方式為


CloudEndpointResource.TriggerChangeDetectionAsync Method

Definition

Triggers detection of changes performed on Azure File share connected to the specified Azure File Sync Cloud Endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/triggerChangeDetection
  • Operation Id: CloudEndpoints_TriggerChangeDetection
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> TriggerChangeDetectionAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageSync.Models.TriggerChangeDetectionContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member TriggerChangeDetectionAsync : Azure.WaitUntil * Azure.ResourceManager.StorageSync.Models.TriggerChangeDetectionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.TriggerChangeDetectionAsync : Azure.WaitUntil * Azure.ResourceManager.StorageSync.Models.TriggerChangeDetectionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function TriggerChangeDetectionAsync (waitUntil As WaitUntil, content As TriggerChangeDetectionContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

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
TriggerChangeDetectionContent

Trigger Change Detection Action parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to