Share via


DataFlowsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a data flow.

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

Parameters

operations
IDataFlowsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

dataFlowName
String

The data flow name.

dataFlow
DataFlowResource

Data flow resource definition.

ifMatch
String

ETag of the data flow 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