Freigeben über


JobDefinitionResource.StopJob(CancellationToken) Methode

Definition

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

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

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: