DataFactoryPipelineCollection.CreateOrUpdateAsync Method

Definition

Creates or updates a pipeline.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}
  • Operation Id: Pipelines_CreateOrUpdate
  • Default Api Version: 2018-06-01
  • Resource: DataFactoryPipelineResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataFactory.DataFactoryPipelineResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string pipelineName, Azure.ResourceManager.DataFactory.DataFactoryPipelineData data, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.DataFactory.DataFactoryPipelineData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataFactory.DataFactoryPipelineResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.DataFactory.DataFactoryPipelineData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataFactory.DataFactoryPipelineResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, pipelineName As String, data As DataFactoryPipelineData, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of DataFactoryPipelineResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

pipelineName
String

The pipeline name.

data
DataFactoryPipelineData

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 to use.

Returns

Exceptions

pipelineName is an empty string, and was expected to be non-empty.

pipelineName or data is null.

Applies to