az sphere catalog
Note
This reference is part of the azure-sphere extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az sphere catalog command. Learn more about extensions.
Manage catalogs.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sphere catalog create |
Create a catalog. |
Extension | GA |
az sphere catalog delete |
Delete a catalog. |
Extension | GA |
az sphere catalog download-error-report |
List or download the available error reports for the selected catalog. |
Extension | GA |
az sphere catalog list |
List available catalogs either in a resource group or a subscription. |
Extension | GA |
az sphere catalog show |
Show details of a catalog. |
Extension | GA |
az sphere catalog create
Create a catalog.
az sphere catalog create --name
--resource-group
Examples
Create a new catalog "MyCatalog" in resource group "MyResourceGroup".
az sphere catalog create --resource-group MyResourceGroup --name MyCatalog
Required Parameters
The name of the catalog. Allows alphanumeric characters, underscores, and hyphens, and must be less than 30 characters.
Name of the Azure resource group. You can configure the default group using az config set defaults.group=<name>
. Values from: az group list.
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 sphere catalog delete
Delete a catalog.
az sphere catalog delete --catalog
--resource-group
Examples
Delete a catalog using resource group and catalog name.
az sphere catalog delete --resource-group MyResourceGroup --catalog MyCatalog
Required Parameters
The catalog name.
Name of the Azure resource group. You can configure the default group using az config set defaults.group=<name>
. Values from: az group list.
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 sphere catalog download-error-report
List or download the available error reports for the selected catalog.
az sphere catalog download-error-report --catalog
--resource-group
[--output-file]
Examples
Download error reports in a csv file using resource group and catalog name.
az sphere catalog download-error-report --resource-group MyResourceGroup --catalog MyCatalog --output-file myErrorReport.csv
Required Parameters
The Azure Sphere Catalog in which to perform this operation. Specify Azure Sphere Catalog name. You can configure the default Azure Sphere Catalog using az config set defaults.sphere.catalog=<name>
. Values from: az sphere catalog list.
Name of the Azure resource group. You can configure the default group using az config set defaults.group=<name>
. Values from: az group list.
Optional Parameters
The path to the new csv file to create, containing the error report data. You can provide a relative or absolute path. If this parameter is not set, the file will be saved in the current folder with a default name. (Path).
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 sphere catalog list
List available catalogs either in a resource group or a subscription.
az sphere catalog list [--all]
[--resource-group]
Examples
List all catalogs in a resource group.
az sphere catalog list --resource-group MyResourceGroup
List all catalogs in all resource groups in a subscription.
az sphere catalog list --all
Optional Parameters
List all catalogs in all resource groups in a subscription.
Name of the Azure resource group. You can configure the default group using az config set defaults.group=<name>
. Values from: az group list.
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 sphere catalog show
Show details of a catalog.
az sphere catalog show --catalog
--resource-group
Examples
Show details of a catalog using resource group and catalog name.
az sphere catalog show --resource-group MyResourceGroup --catalog MyCatalog
Required Parameters
The catalog name.
Name of the Azure resource group. You can configure the default group using az config set defaults.group=<name>
. Values from: az group list.
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.