DatasetsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a dataset.

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

Parameters

operations
IDatasetsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

datasetName
String

The dataset name.

dataset
DatasetResource

Dataset resource definition.

ifMatch
String

ETag of the dataset 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