Freigeben über


JobDefinitionResource.StopJobAsync(CancellationToken) Methode

Definition

Fordert den Agent aller aktiven instance dieser Auftragsdefinition auf, anzuhalten.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob
  • Vorgangs-IdJobDefinitions_StopJob
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.Models.JobRunResourceId>> StopJobAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member StopJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.Models.JobRunResourceId>>
override this.StopJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.Models.JobRunResourceId>>
Public Overridable Function StopJobAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of JobRunResourceId))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: