DatasetClient.StartCreateOrUpdateDataset Method

Definition

Creates or updates a dataset.

public virtual Azure.Analytics.Synapse.Artifacts.DatasetCreateOrUpdateDatasetOperation StartCreateOrUpdateDataset (string datasetName, Azure.Analytics.Synapse.Artifacts.Models.DatasetResource dataset, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateDataset : string * Azure.Analytics.Synapse.Artifacts.Models.DatasetResource * string * System.Threading.CancellationToken -> Azure.Analytics.Synapse.Artifacts.DatasetCreateOrUpdateDatasetOperation
override this.StartCreateOrUpdateDataset : string * Azure.Analytics.Synapse.Artifacts.Models.DatasetResource * string * System.Threading.CancellationToken -> Azure.Analytics.Synapse.Artifacts.DatasetCreateOrUpdateDatasetOperation
Public Overridable Function StartCreateOrUpdateDataset (datasetName As String, dataset As DatasetResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As DatasetCreateOrUpdateDatasetOperation

Parameters

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

Returns

Exceptions

datasetName or dataset is null.

Applies to