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

Preview

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

--file-name -n

The name of the file (blob) in the job's output storage container.

--job-id -j

Job unique identifier in GUID format.

--resource-group -g

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

--workspace-name -w

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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--dest

Destination directory. The file is saved using its blob name in this directory (the current directory if omitted).

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az quantum job file list

Preview

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-id -j

Job unique identifier in GUID format.

--resource-group -g

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

--workspace-name -w

Name of the Quantum Workspace. You can configure the default workspace using az quantum workspace set.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False