az datafactory dataset

Datafactory dataset.

Commands

az datafactory dataset create

Creates or updates a dataset.

az datafactory dataset delete

Deletes a dataset.

az datafactory dataset list

Lists datasets.

az datafactory dataset show

Gets a dataset.

az datafactory dataset create

Creates or updates a dataset.

az datafactory dataset create --factory-name
                              --name
                              --properties
                              --resource-group
                              [--if-match]

Examples

Datasets_Create

az datafactory dataset create --properties "{\"type\":\"AzureBlob\",\"linkedServiceName\":{\"type\":\"LinkedServiceReference\",\"referenceName\":\"myLinkedService\"},\"parameters\":{\"MyFileName\":{\"type\":\"String\"},\"MyFolderPath\":{\"type\":\"String\"}},\"typeProperties\":{\"format\":{\"type\":\"TextFormat\"},\"fileName\":{\"type\":\"Expression\",\"value\":\"@dataset().MyFileName\"},\"folderPath\":{\"type\":\"Expression\",\"value\":\"@dataset().MyFolderPath\"}}}" --name "myDataset" --factory-name "myFactoryName" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--name -n

The dataset name.

--properties

Dataset properties. Expected value: json-string/@json-file.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--if-match

ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

az datafactory dataset delete

Deletes a dataset.

az datafactory dataset delete --factory-name
                              --name
                              --resource-group

Examples

Datasets_Delete

az datafactory dataset delete --name "myDataset" --factory-name "myFactoryName" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--name -n

The dataset name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az datafactory dataset list

Lists datasets.

az datafactory dataset list --factory-name
                            --resource-group

Examples

Datasets_ListByFactory

az datafactory dataset list --factory-name "myFactoryName" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az datafactory dataset show

Gets a dataset.

az datafactory dataset show --factory-name
                            --name
                            --resource-group
                            [--if-none-match]

Examples

Datasets_Get

az datafactory dataset show --name "myDataset" --factory-name "myFactoryName" --resource-group "myResourceGroup"

Required Parameters

--factory-name

The factory name.

--name -n

The dataset name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--if-none-match

ETag of the dataset entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.