az quantum workspace
Note
This reference is part of the quantum extension for the Azure CLI (version 2.41.0 or higher). The extension will automatically install the first time you run an az quantum workspace command. Learn more about extensions.
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage Azure Quantum workspaces.
Commands
Name | Description | Type | Status |
---|---|---|---|
az quantum workspace clear |
Clear the default Azure Quantum workspace. |
Extension | Preview |
az quantum workspace create |
Create a new Azure Quantum workspace. |
Extension | Preview |
az quantum workspace delete |
Delete the given (or current) Azure Quantum workspace. |
Extension | Preview |
az quantum workspace keys |
Manage Azure Quantum Workspace api keys. |
Extension | Preview |
az quantum workspace keys list |
List api keys for the given (or current) Azure Quantum workspace. |
Extension | Preview |
az quantum workspace keys regenerate |
Regenerate api key for the given (or current) Azure Quantum workspace. |
Extension | Preview |
az quantum workspace list |
Get the list of Azure Quantum workspaces available. |
Extension | Preview |
az quantum workspace quotas |
List the quotas for the given (or current) Azure Quantum workspace. |
Extension | Preview |
az quantum workspace set |
Select a default Azure Quantum workspace for future commands. |
Extension | Preview |
az quantum workspace show |
Get the details of the given (or current) Azure Quantum workspace. |
Extension | Preview |
az quantum workspace update |
Update the given (or current) Azure Quantum workspace. |
Extension | Preview |
az quantum workspace clear
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Clear the default Azure Quantum workspace.
az quantum workspace clear
Examples
Clear the default Azure Quantum workspace if previously set.
az quantum workspace clear
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 quantum workspace create
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a new Azure Quantum workspace.
az quantum workspace create --location
--resource-group
--storage-account
--workspace-name
[--auto-accept]
[--provider-sku-list]
[--skip-autoadd]
[--skip-role-assignment]
Examples
Create a new Azure Quantum workspace with the providers that offer free credit.
az quantum workspace create -g MyResourceGroup -w MyWorkspace -l MyLocation \
-a MyStorageAccountName
Create a new Azure Quantum workspace with a specific list of providers.
az quantum workspace create -g MyResourceGroup -w MyWorkspace -l MyLocation \
-r "MyProvider1 / MySKU1, MyProvider2 / MySKU2" --skip-autoadd -a MyStorageAccountName
To display a list of available providers and their SKUs, use the following command:
az quantum offerings list -l MyLocation -o table
Required Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the storage account to be used by a quantum workspace.
Name of the Quantum Workspace. You can configure the default workspace using az quantum workspace set
.
Optional Parameters
If specified, provider terms are accepted without an interactive Y/N prompt.
Comma separated list of Provider/SKU pairs. Separate the Provider and SKU with a slash. Enclose the entire list in quotes. Values from az quantum offerings list -l <location> -o table
.
If specified, the plans that offer free credits will not automatically be added.
Skip the role assignment step for the quantum workspace in the storage account.
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 quantum workspace delete
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete the given (or current) Azure Quantum workspace.
az quantum workspace delete --resource-group
--workspace-name
Examples
Delete an Azure Quantum workspace by resource group and workspace name. If a default workspace has been set, the -g and -w parameters are not required.
az quantum workspace delete -g MyResourceGroup -w MyWorkspace
Required Parameters
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.
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 quantum workspace list
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the list of Azure Quantum workspaces available.
az quantum workspace list [--location]
[--resource-group]
[--tag]
Examples
Get the list of all Azure Quantum workspaces available.
az quantum workspace list
Get the list Azure Quantum workspaces available in a location.
az quantum workspace list -l MyLocation
Optional Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Show only quantum workspaces that have associated the specified tag.
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 quantum workspace quotas
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the quotas for the given (or current) Azure Quantum workspace.
az quantum workspace quotas --location
--resource-group
--workspace-name
Examples
List the quota information of a specified Azure Quantum workspace. If a default workspace has been set, the -g, -w, and -l parameters are not required.
az quantum workspace quotas -g MyResourceGroup -w MyWorkspace -l MyLocation
Required Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
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.
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 quantum workspace set
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Select a default Azure Quantum workspace for future commands.
az quantum workspace set --location
--resource-group
--workspace-name
Examples
Set the default Azure Quantum workspace.
az quantum workspace set -g MyResourceGroup -w MyWorkspace -l MyLocation
Required Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
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.
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 quantum workspace show
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the details of the given (or current) Azure Quantum workspace.
az quantum workspace show [--resource-group]
[--workspace-name]
Examples
Show the currently selected default Azure Quantum workspace.
az quantum workspace show
Show the details of a provided Azure Quantum workspace.
az quantum workspace show -g MyResourceGroup -w MyWorkspace
Optional Parameters
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.
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 quantum workspace update
Command group 'quantum' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the given (or current) Azure Quantum workspace.
az quantum workspace update [--enable-api-key]
[--resource-group]
[--workspace-name]
Examples
Enable a provided Azure Quantum workspace api keys.
az quantum workspace update --enable-api-key True
Disable a provided Azure Quantum workspace api keys.
az quantum workspace update --enable-api-key False
Optional Parameters
Enable or disable api key authentication.
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.
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.