Share via


PipelineJobsOperationsExtensions.CancelAsync Method

Definition

Cancels a pipeline job.

public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.VideoAnalyzer.IPipelineJobsOperations operations, string resourceGroupName, string accountName, string pipelineJobName, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.VideoAnalyzer.IPipelineJobsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelAsync (operations As IPipelineJobsOperations, resourceGroupName As String, accountName As String, pipelineJobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IPipelineJobsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The Azure Video Analyzer account name.

pipelineJobName
String

The pipeline job name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Cancels a pipeline job with the given name.

Applies to