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

Experimental Preview 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
Experimental Preview Deprecated

Name of cluster.

--resource-group -g
Experimental Preview Deprecated

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

--workspace -w
Experimental Preview Deprecated

Name of workspace.

Optional Parameters

--expiry
Experimental Preview Deprecated

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

Default value: 60
--path -p
Experimental Preview Deprecated

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

Default value: .
Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

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

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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