az quantum job file
Note
This reference is part of the quantum extension for the Azure CLI (version 2.73.0 or higher). The extension will automatically install the first time you run an az quantum job file command. Learn more about extensions.
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage a quantum job's associated files.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az quantum job file download |
Download a file from a job's output storage container. |
Extension | Preview |
| az quantum job file list |
List the files stored in a job's output storage container. |
Extension | Preview |
az quantum job file download
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Download a file from a job's output storage container.
az quantum job file download --file-name
--job-id
--resource-group
--workspace-name
[--acquire-policy-token]
[--change-reference]
[--dest]
Examples
Download a file from an Azure Quantum job's output container.
az quantum job file download -g MyResourceGroup -w MyWorkspace \
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy -n rawOutputData
Download a file to a specific directory.
az quantum job file download -g MyResourceGroup -w MyWorkspace \
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy -n rawOutputData --dest ./downloads
Required Parameters
The name of the file (blob) in the job's output storage container.
Job unique identifier in GUID format.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the Quantum Workspace. You can configure the default workspace using az quantum workspace set.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Destination directory. The file is saved using its blob name in this directory (the current directory if omitted).
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az quantum job file list
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the files stored in a job's output storage container.
Returns one entry per file, each reporting the file name, its size in bytes, and the last-modified time as an ISO 8601 timestamp. Use "-o table" for a condensed view.
az quantum job file list --job-id
--resource-group
--workspace-name
Examples
List the files in an Azure Quantum job's output container.
az quantum job file list -g MyResourceGroup -w MyWorkspace \
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy -o table
Required Parameters
Job unique identifier in GUID format.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Name of the Quantum Workspace. You can configure the default workspace using az quantum workspace set.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |