CmdID

CmdID / az / az batchai / az batchai cluster / az batchai cluster file

az batchai cluster file list

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

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.

4 examples 2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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 tableIdentify
-gName of resource group.
-wName of workspace.
-cName of cluster.
-oOutput format

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 MyClusterIdentify
-gName of resource group.
-wName of workspace.
-cName of cluster.

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/subfolderIdentify
-gName of resource group.
-wName of workspace.
-cName of cluster.
-pRelative path of a subfolder inside of the node setup task output directory.

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 60Identify
-gName of resource group.
-wName of workspace.
-cName of cluster.
--expiryTime in minutes for how long generated download URLs should remain valid.

Options

2 in the Azure CLI reference
--expiryTime in minutes for how long generated download URLs should remain valid.
--path, -pRelative path of a subfolder inside of the node setup task output directory.