az iot adr ns device capability
Note
This reference is part of the azure-iot extension for the Azure CLI (version 2.73.0 or higher). The extension will automatically install the first time you run an az iot adr ns device capability command. Learn more about extensions.
Command group 'iot adr ns device' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Inspect service-materialized Registry Device capabilities.
Capabilities are read-only. Provisioning services create them; the CLI does not synthesize them.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az iot adr ns device capability list |
List Registry Device capabilities. |
Extension | Preview |
| az iot adr ns device capability show |
Get a discovered capability. |
Extension | Preview |
az iot adr ns device capability list
Command group 'iot adr ns device capability' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List Registry Device capabilities.
az iot adr ns device capability list --device-name --dn --rdn --registry-device-name
--namespace --ns
--resource-group
Examples
Discover capabilities.
az iot adr ns device capability list --rdn my-device --ns my-ns -g MyRG
Required Parameters
Name of the parent Registry Device.
Name of the Device Registry namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az iot adr ns device capability show
Command group 'iot adr ns device capability' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get a discovered capability.
az iot adr ns device capability show --capability-name --cn --name
--device-name --dn --rdn --registry-device-name
--namespace --ns
--resource-group
Examples
Inspect an IoT Hub capability whose name is the namespace messaging endpoint.
az iot adr ns device capability show -n my-hub-endpoint --rdn my-device --ns my-ns -g MyRG
Required Parameters
Name of the Registry Device capability.
Name of the parent Registry Device.
Name of the Device Registry namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |