共用方式為


PipelineClient.StartCreateOrUpdatePipelineAsync Method

Definition

Creates or updates a pipeline.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.PipelineCreateOrUpdatePipelineOperation> StartCreateOrUpdatePipelineAsync (string pipelineName, Azure.Analytics.Synapse.Artifacts.Models.PipelineResource pipeline, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdatePipelineAsync : string * Azure.Analytics.Synapse.Artifacts.Models.PipelineResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.PipelineCreateOrUpdatePipelineOperation>
override this.StartCreateOrUpdatePipelineAsync : string * Azure.Analytics.Synapse.Artifacts.Models.PipelineResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.PipelineCreateOrUpdatePipelineOperation>
Public Overridable Function StartCreateOrUpdatePipelineAsync (pipelineName As String, pipeline As PipelineResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PipelineCreateOrUpdatePipelineOperation)

Parameters

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

Returns

Exceptions

pipelineName or pipeline is null.

Applies to