az iot adr ns su software-update file

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 su software-update file command. Learn more about extensions.

Command group 'iot adr ns su software-update' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Inspect files belonging to an imported update.

Commands

Name Description Type Status
az iot adr ns su software-update file list

List file identifiers for an imported update.

Extension Preview
az iot adr ns su software-update file show

Show an imported update file.

Extension Preview

az iot adr ns su software-update file list

Preview

Command group 'iot adr ns su software-update file' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List file identifiers for an imported update.

az iot adr ns su software-update file list --name --namespace --ns
                                           --resource-group
                                           --un --update-name
                                           --up --update-provider
                                           --update-version --uv

Examples

List files

az iot adr ns su software-update file list --ns myNamespace -g myResourceGroup \
  --update-provider Contoso --update-name Thermostat --update-version 1.0

Required Parameters

--name --namespace --ns -n

Name of the Device Registry namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--un --update-name

Update name.

--up --update-provider

Update provider.

--update-version --uv

Update version.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az iot adr ns su software-update file show

Preview

Command group 'iot adr ns su software-update file' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show an imported update file.

az iot adr ns su software-update file show --name --namespace --ns
                                           --resource-group
                                           --ufid --update-file-id
                                           --un --update-name
                                           --up --update-provider
                                           --update-version --uv

Examples

Show a file

az iot adr ns su software-update file show --ns myNamespace -g myResourceGroup \
  --update-provider Contoso --update-name Thermostat --update-version 1.0 \
  --update-file-id payload

Required Parameters

--name --namespace --ns -n

Name of the Device Registry namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--ufid --update-file-id

Update file identifier.

--un --update-name

Update name.

--up --update-provider

Update provider.

--update-version --uv

Update version.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False