az iot du device compliance
Note
This reference is part of the azure-iot extension for the Azure CLI (version 2.46.0 or higher). The extension will automatically install the first time you run an az iot du device compliance command. Learn more about extensions.
Instance-view device compliance utilities.
Commands
Name | Description | Type | Status |
---|---|---|---|
az iot du device compliance show |
Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates. |
Extension | GA |
az iot du device compliance show
Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates.
az iot du device compliance show --account
--instance
[--resource-group]
Examples
Show device update compliance for an instance.
az iot du device compliance show -n {account_name} -i {instance_name}
Required Parameters
Device Update account name. You can configure the default account name using az config set defaults.adu_account={name}
.
Device Update instance name. You can configure the default instance name using az config set defaults.adu_instance={name}
.
Optional Parameters
Device Update account resource group name. You can configure the default group using az config set defaults.adu_group={name}
.
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.