Dela via


DataTransferJobGetResultResource.CompleteAsync(CancellationToken) Method

Definition

Completes a Data Transfer Online Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs/{jobName}/complete
  • Operation Id: DataTransferJobs_Complete
  • Default Api Version: 2024-09-01-preview
  • Resource: DataTransferJobGetResultResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.DataTransferJobGetResultResource>> CompleteAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CompleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.DataTransferJobGetResultResource>>
override this.CompleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.DataTransferJobGetResultResource>>
Public Overridable Function CompleteAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataTransferJobGetResultResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to