Share via


PipelinesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a pipeline.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.PipelineResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, Microsoft.Azure.Management.DataFactory.Models.PipelineResource pipeline, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.IPipelinesOperations * string * string * string * Microsoft.Azure.Management.DataFactory.Models.PipelineResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.PipelineResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPipelinesOperations, resourceGroupName As String, factoryName As String, pipelineName As String, pipeline As PipelineResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PipelineResource)

Parameters

operations
IPipelinesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

pipelineName
String

The pipeline name.

pipeline
PipelineResource

Pipeline resource definition.

ifMatch
String

ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to