az batchai job file
This command group is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
Commands to list and stream files in job's output directories.
Commands
Name | Description | Type | Status |
---|---|---|---|
az batchai job file list |
List job's output files in a directory with given id. |
Core | Deprecated |
az batchai job file stream |
Stream the content of a file (similar to 'tail -f'). |
Core | Deprecated |
az batchai job file list
This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
List job's output files in a directory with given id.
List job's output files in a directory with given id if the output directory is located on mounted Azure File Share or Blob Container.
az batchai job file list --experiment
--job
--resource-group
--workspace
[--expiry]
[--output-directory-id]
[--path]
Examples
List files in the standard output directory of the job.
az batchai job file list -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob
List files in the standard output directory of the job. Generates output in a table format.
az batchai job file list -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob -o table
List files in a folder 'MyFolder/MySubfolder' of an output directory with id 'MODELS'.
az batchai job file list -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
-d MODELS -p MyFolder/MySubfolder
List files in the standard output directory of the job making download URLs to remain valid for 15 minutes.
az batchai job file list -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
--expiry 15
Required Parameters
Name of experiment.
Name of job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of workspace.
Optional Parameters
Time in minutes for how long generated download URL should remain valid.
The Id of the job's output directory (as specified by "id" element in outputDirectories collection in the job create parameters).
Relative path in the given output directory.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az batchai job file stream
This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
Stream the content of a file (similar to 'tail -f').
Waits for the job to create the given file and starts streaming it similar to 'tail -f' command. The command completes when the job finished execution.
az batchai job file stream --experiment
--file-name
--job
--resource-group
--workspace
[--output-directory-id]
[--path]
Examples
Stream standard output file of the job.
az batchai job file stream -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
-f stdout.txt
Stream a file 'log.txt' from a folder 'logs' of an output directory with id 'OUTPUTS'.
az batchai job file stream -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
-d OUTPUTS -p logs -f log.txt
Required Parameters
Name of experiment.
The name of the file to stream.
Name of job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of workspace.
Optional Parameters
The Id of the job's output directory (as specified by "id" element in outputDirectories collection in the job create parameters).
Relative path in the given output directory.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI