az ml dataset
Note
此参考是 Azure CLI(版本 2.0.28 或更高版本)的 azure-cli-ml 扩展的一部分。 该扩展将在首次运行 az ml dataset 命令时自动安装。 了解更多关于扩展的信息。
用于在 Azure 机器学习工作区中管理数据集的命令。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az ml dataset archive |
存档活动或已弃用的数据集。 |
Extension | GA |
| az ml dataset deprecate |
由另一个数据集弃用工作区中的活动数据集。 |
Extension | GA |
| az ml dataset list |
列出工作区中的所有数据集。 |
Extension | GA |
| az ml dataset reactivate |
重新激活已存档或已弃用的数据集。 |
Extension | GA |
| az ml dataset register |
从指定文件注册新数据集。 |
Extension | GA |
| az ml dataset show |
按数据集 ID 或注册名称获取数据集的详细信息。 |
Extension | GA |
| az ml dataset unregister |
取消注册指定注册名称下的所有版本。 |
Extension | GA |
az ml dataset archive
存档活动或已弃用的数据集。
az ml dataset archive [--id]
[--name]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
数据集 ID (guid)。
数据集的注册名称。
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
指定订阅 ID。
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az ml dataset deprecate
由另一个数据集弃用工作区中的活动数据集。
az ml dataset deprecate --deprecate-by-id
[--id]
[--name]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]
必需参数
数据集 ID (guid),这是此数据集的预期替代项。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
数据集 ID (guid)。
数据集的注册名称。
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
指定订阅 ID。
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az ml dataset list
列出工作区中的所有数据集。
az ml dataset list [--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
指定订阅 ID。
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az ml dataset reactivate
重新激活已存档或已弃用的数据集。
az ml dataset reactivate [--id]
[--name]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
数据集 ID (guid)。
数据集的注册名称。
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
指定订阅 ID。
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az ml dataset register
从指定文件注册新数据集。
az ml dataset register [--file]
[--output-metadata-file]
[--path]
[--resource-group]
[--show-template]
[--skip-validation]
[--subscription-id]
[--workspace-name]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
数据集的规范文件。
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
显示数据集规范文件的模板。
| 属性 | 值 |
|---|---|
| 默认值: | False |
跳过验证,确保可以在注册之前从数据集加载数据。
| 属性 | 值 |
|---|---|
| 默认值: | False |
指定订阅 ID。
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az ml dataset show
按数据集 ID 或注册名称获取数据集的详细信息。
az ml dataset show [--id]
[--name]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--version]
[--workspace-name]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
保存到工作区的数据集的 ID。
数据集的注册名称。
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
指定订阅 ID。
数据集的注册版本。
| 属性 | 值 |
|---|---|
| 默认值: | latest |
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az ml dataset unregister
取消注册指定注册名称下的所有版本。
az ml dataset unregister [--name]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
数据集的注册名称。
为结构化对象输出提供可选的输出文件位置。
用于运行配置文件的根目录的路径。
| 属性 | 值 |
|---|---|
| 默认值: | . |
资源组名称。
指定订阅 ID。
工作区名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |