共用方式為


DataSetMappingsOperationsExtensions.CreateAsync Method

Definition

Maps a source data set in the source share to a sink data set in the share subscription. Enables copying the data set from source to destination.

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

Parameters

operations
IDataSetMappingsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

shareSubscriptionName
String

The name of the share subscription which will hold the data set sink.

dataSetMappingName
String

The name of the data set mapping to be created.

dataSetMapping
DataSetMapping

Destination data set configuration details.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create a DataSetMapping

Applies to