共用方式為


DataTransferJobGetResultResource.PauseAsync(CancellationToken) Method

Definition

Pause a Data Transfer Job.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to