az ml dataset

Commands for managing datasets in Azure Machine Learning Workspace.

Commands

az ml dataset archive

Archive an active or deprecated dataset.

az ml dataset deprecate

Deprecate an active dataset in a workspace by another dataset.

az ml dataset list

List all datasets in the workspace.

az ml dataset reactivate

Reactivate an archived or deprecated dataset.

az ml dataset register

Register a new dataset from the specified file.

az ml dataset show

Get details of a dataset by its id or registration name.

az ml dataset unregister

Unregister all versions under the specified registration name.

az ml dataset archive

Archive an active or deprecated dataset.

az ml dataset archive [--id]
                      [--name]
                      [--output-metadata-file]
                      [--path]
                      [--resource-group]
                      [--subscription-id]
                      [--workspace-name]

Optional Parameters

--id -i

Dataset ID (guid).

--name -n

Registration name of the dataset.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml dataset deprecate

Deprecate an active dataset in a workspace by another dataset.

az ml dataset deprecate --deprecate-by-id
                        [--id]
                        [--name]
                        [--output-metadata-file]
                        [--path]
                        [--resource-group]
                        [--subscription-id]
                        [--workspace-name]

Required Parameters

--deprecate-by-id -d

Dataset ID (guid) which is the intended replacement for this Dataset.

Optional Parameters

--id -i

Dataset ID (guid).

--name -n

Registration name of the dataset.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml dataset list

List all datasets in the workspace.

az ml dataset list [--output-metadata-file]
                   [--path]
                   [--resource-group]
                   [--subscription-id]
                   [--workspace-name]

Optional Parameters

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml dataset reactivate

Reactivate an archived or deprecated dataset.

az ml dataset reactivate [--id]
                         [--name]
                         [--output-metadata-file]
                         [--path]
                         [--resource-group]
                         [--subscription-id]
                         [--workspace-name]

Optional Parameters

--id -i

Dataset ID (guid).

--name -n

Registration name of the dataset.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml dataset register

Register a new dataset from the specified file.

az ml dataset register [--file]
                       [--output-metadata-file]
                       [--path]
                       [--resource-group]
                       [--show-template]
                       [--skip-validation]
                       [--subscription-id]
                       [--workspace-name]

Optional Parameters

--file -f

Specification file for dataset.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--show-template

Show template of dataset specification file.

--skip-validation

Skip validation that ensures data can be loaded from the dataset before registration.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml dataset show

Get details of a dataset by its id or registration name.

az ml dataset show [--id]
                   [--name]
                   [--output-metadata-file]
                   [--path]
                   [--resource-group]
                   [--subscription-id]
                   [--version]
                   [--workspace-name]

Optional Parameters

--id -i

ID of the dataset saved to workspace.

--name -n

Registration name of the dataset.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--version -v

Registration version of the dataset.

default value: latest
--workspace-name -w

Workspace name.

az ml dataset unregister

Unregister all versions under the specified registration name.

az ml dataset unregister [--name]
                         [--output-metadata-file]
                         [--path]
                         [--resource-group]
                         [--subscription-id]
                         [--workspace-name]

Optional Parameters

--name -n

Registration name of the dataset.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.