Share via


az batchai cluster file

This command group is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.

Commands to work with files generated by node setup task.

Commands

Name Description Type Status
az batchai cluster file list

List files generated by the cluster's node setup task.

Core Deprecated

az batchai cluster file list

Deprecated

This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.

List files generated by the cluster's node setup task.

List files generated by the cluster's node setup task under $AZ_BATCHAI_STDOUTERR_DIR path. This functionality is available only if the node setup task output directory is located on mounted Azure File Share or Azure Blob Container.

az batchai cluster file list --cluster
                             --resource-group
                             --workspace
                             [--expiry]
                             [--path]

Examples

List names and sizes of files and directories inside of $AZ_BATCHAI_STDOUTERR_DIR.

az batchai cluster file list -g MyResourceGroup -w MyWorkspace -c MyCluster -o table

List names, sizes and download URLs for files and directories inside of $AZ_BATCHAI_STDOUTERR_DIR.

az batchai cluster file list -g MyResourceGroup -w MyWorkspace -c MyCluster

List names, sizes and download URLs for files and directories inside of $AZ_BATCHAI_STDOUTERR_DIR/folder/subfolder.

az batchai cluster file list -g MyResourceGroup -w MyWorkspace -c MyCluster \
    -p folder/subfolder

List names, sizes and download URLs for files and directories inside of $AZ_BATCHAI_STDOUTERR_DIR making download URLs to remain valid for one hour.

az batchai cluster file list -g MyResourceGroup -w MyWorkspace -c MyCluster \
    --expiry 60

Required Parameters

--cluster -c

Name of cluster.

--resource-group -g

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

--workspace -w

Name of workspace.

Optional Parameters

--expiry

Time in minutes for how long generated download URLs should remain valid.

Default value: 60
--path -p

Relative path of a subfolder inside of the node setup task output directory.

Default value: .
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.