az datashare data-set-mapping
Note
This reference is part of the datashare extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az datashare data-set-mapping command. Learn more about extensions.
Manage data set mapping with datashare.
Commands
| az datashare data-set-mapping create |
Create a DataSetMapping. |
| az datashare data-set-mapping delete |
Delete a DataSetMapping in a shareSubscription. |
| az datashare data-set-mapping list |
List DataSetMappings in a share subscription. |
| az datashare data-set-mapping show |
Get a DataSetMapping in a shareSubscription. |
az datashare data-set-mapping create
Create a DataSetMapping.
az datashare data-set-mapping create --account-name
--data-set-mapping-name
--resource-group
--share-subscription-name
[--adls-gen2-file-data-set-mapping]
[--adls-gen2-file-system-data-set-mapping]
[--adls-gen2-folder-data-set-mapping]
[--blob-container-data-set-mapping]
[--blob-data-set-mapping]
[--blob-folder-data-set-mapping]
[--kusto-cluster-data-set-mapping]
[--kusto-database-data-set-mapping]
[--kusto-table-data-set-mapping]
[--sqldb-table-data-set-mapping]
[--sqldw-table-data-set-mapping]
[--synapse-workspace-sql-pool-table-data-set-mapping]
Examples
DataSetMappings_SqlDWDataSetToAdlsGen2File_Create
az datashare data-set-mapping create --account-name "Account1" --adls-gen2-file-data-set-mapping data-set-id="a08f184b-0567-4b11-ba22-a1199336d226" file-path="file21" file-system="fileSystem" output-type="Csv" resource-group="SampleResourceGroup" storage-account-name="storage2" subscription-id="433a8dfd-e5d5-4e77-ad86-90acdc75eb1a" --name "DatasetMapping1" --resource-group "SampleResourceGroup" --share-subscription-name "ShareSubscription1"
Required Parameters
The name of the share account.
The name of the data set mapping to be created.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the share subscription which will hold the data set sink.
Optional Parameters
An ADLS Gen2 file data set mapping.
An ADLS Gen2 file system data set mapping.
An ADLS Gen2 folder data set mapping.
A Blob container data set mapping.
A Blob data set mapping.
A Blob folder data set mapping.
A Kusto cluster data set mapping.
A Kusto database data set mapping.
A Kusto database data set mapping.
A SQL DB Table data set mapping.
A SQL DW Table data set mapping.
A Synapse Workspace Sql Pool Table data set mapping.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az datashare data-set-mapping delete
Delete a DataSetMapping in a shareSubscription.
az datashare data-set-mapping delete --account-name
--data-set-mapping-name
--resource-group
--share-subscription-name
[--yes]
Examples
DataSetMappings_Delete
az datashare data-set-mapping delete --account-name "Account1" --name "DatasetMapping1" --resource-group "SampleResourceGroup" --share-subscription-name "ShareSubscription1"
Required Parameters
The name of the share account.
The name of the dataSetMapping.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the shareSubscription.
Optional Parameters
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az datashare data-set-mapping list
List DataSetMappings in a share subscription.
az datashare data-set-mapping list --account-name
--resource-group
--share-subscription-name
[--filter]
[--orderby]
[--skip-token]
Examples
DataSetMappings_ListByShareSubscription
az datashare data-set-mapping list --account-name "Account1" --resource-group "SampleResourceGroup" --share-subscription-name "ShareSubscription1"
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the share subscription.
Optional Parameters
Filters the results using OData syntax.
Sorts the results using OData syntax.
Continuation token.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az datashare data-set-mapping show
Get a DataSetMapping in a shareSubscription.
az datashare data-set-mapping show --account-name
--data-set-mapping-name
--resource-group
--share-subscription-name
Examples
DataSetMappings_Get
az datashare data-set-mapping show --account-name "Account1" --name "DatasetMapping1" --resource-group "SampleResourceGroup" --share-subscription-name "ShareSubscription1"
Required Parameters
The name of the share account.
The name of the dataSetMapping.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the shareSubscription.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
Submit and view feedback for