다음을 통해 공유


DataSetsOperationsExtensions.CreateAsync Method

Definition

Adds a new data set to an existing share.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.DataSet> CreateAsync (this Microsoft.Azure.Management.DataShare.IDataSetsOperations operations, string resourceGroupName, string accountName, string shareName, string dataSetName, Microsoft.Azure.Management.DataShare.Models.DataSet dataSet, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DataShare.IDataSetsOperations * string * string * string * string * Microsoft.Azure.Management.DataShare.Models.DataSet * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.DataSet>
<Extension()>
Public Function CreateAsync (operations As IDataSetsOperations, resourceGroupName As String, accountName As String, shareName As String, dataSetName As String, dataSet As DataSet, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataSet)

Parameters

operations
IDataSetsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

shareName
String

The name of the share to add the data set to.

dataSetName
String

The name of the dataSet.

dataSet
DataSet

The new data set information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create a DataSet

Applies to