az sphere device-group
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 device-group command. Learn more about extensions.
Manage device groups in your resource group and catalog.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sphere device-group create |
Create a device group. |
Extension | GA |
az sphere device-group create-defaults |
Create default device groups targeting a product. |
Extension | GA |
az sphere device-group delete |
Delete the specified device group. |
Extension | GA |
az sphere device-group list |
List all device groups in a catalog. |
Extension | GA |
az sphere device-group show |
Show a device group's details. |
Extension | GA |
az sphere device-group update |
Update a device group's details. |
Extension | GA |
az sphere device-group create
Create a device group.
az sphere device-group create --catalog
--description
--name
--product
--resource-group
[--allow-crash-dumps-collection {Disabled, Enabled}]
[--application-update {No3rdPartyAppUpdates, UpdateAll}]
[--os-feed {Retail, RetailEval}]
[--regional-data-boundary {EU, None}]
Examples
Create a new device group "MyDeviceGroup" in resource group "MyResourceGroup", catalog "MyCatalog", product "MyProduct", description "MyDescription", and default regional data boundary.
az sphere device-group create --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --name MyDeviceGroup --description MyDescription
Create a new device group "MyDeviceGroup" in resource group "MyResourceGroup", catalog "MyCatalog", product "MyProduct", description "MyDescription", and specify a regional data boundary.
az sphere device-group create --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --name MyDeviceGroup --description MyDescription --regional-data-boundary EU
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.
Description of the device group.
Alphanumeric name of the device group.
The product 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.
Optional Parameters
Provide consent for collection of crash dumps by Microsoft for this device-group. For more information, see https://aka.ms/AzureSphereCrashDumpsCollection.
Application update policy for this device group.
The OS feed type to use for OS updates.
Regional data boundary for this device group.
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 device-group create-defaults
Create default device groups targeting a product.
az sphere device-group create-defaults --catalog
--product
--resource-group
Examples
Create default device groups in resource group "MyResourceGroup", catalog "MyCatalog", and product "MyProduct".
az sphere device-group create-defaults --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct
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.
The product 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 device-group delete
Delete the specified device group.
az sphere device-group delete --catalog
--device-group
--product
--resource-group
Examples
Delete a device group using resource group, catalog name, product name, and device group name.
az sphere device-group delete --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --device-group MyDeviceGroup
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.
The device group name.
The product for which to delete the device groups.
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 device-group list
List all device groups in a catalog.
az sphere device-group list --catalog
--resource-group
[--device-group]
[--product]
Examples
List all device groups in a resource group and catalog.
az sphere device-group list --resource-group MyResourceGroup --catalog MyCatalog
List all device groups with the specified name in a resource group and catalog.
az sphere device-group list --resource-group MyResourceGroup --catalog MyCatalog --device-group Development
List all device groups in a resource group, catalog, and product.
az sphere device-group list --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct
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
List all device groups that have a specified name.
List all device groups in a product.
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 device-group show
Show a device group's details.
az sphere device-group show --catalog
--device-group
--product
--resource-group
Examples
Show details of a device group using resource group, catalog name, product name, and device group name.
az sphere device-group show --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --device-group MyDeviceGroup
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.
The device group to show.
The product name for which to show the device group.
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 device-group update
Update a device group's details.
az sphere device-group update --catalog
--device-group
--product
--resource-group
[--allow-crash-dumps-collection {Disabled, Enabled}]
[--application-update {No3rdPartyAppUpdates, UpdateAll}]
[--description]
[--os-feed {Retail, RetailEval}]
[--regional-data-boundary {EU, None}]
Examples
Update the properties of a device group.
az sphere device-group update --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --device-group MyDeviceGroup --description NewDescription
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.
The device group name.
The product 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.
Optional Parameters
Provide consent for collection of crash dumps by Microsoft for this device-group. For more information, see https://aka.ms/AzureSphereCrashDumpsCollection.
Application update policy for this device group.
A new description of the device group.
The OS feed type to use for OS updates.
Regional data boundary for this device group.
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.