Share via


PipelineJobsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a pipeline job.

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

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.

parameters
PipelineJob

The request parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Creates a new pipeline job or updates an existing one, with the given name.

Applies to