az iot du update file
Note
This reference is part of the azure-iot extension for the Azure CLI (version 2.59.0 or higher). The extension will automatically install the first time you run an az iot du update file command. Learn more about extensions.
Update file operations.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az iot du update file list |
List update file Ids with respect to update provider, name and version. |
Extension | GA |
| az iot du update file show |
Show the details of a specific update file with respect to update provider, name and version. |
Extension | GA |
az iot du update file list
List update file Ids with respect to update provider, name and version.
az iot du update file list --account
--instance
--un --update-name
--up --update-provider
--update-version --uv
[--resource-group]
Examples
List update files with respect to update provider, name and version.
az iot du update file list -n {account_name} -i {instance_name} --update-provider {provider_name} --update-name {update_name} --update-version {update_version}
Required Parameters
Device Update account name. You can configure the default account name using az config set defaults.adu_account={name}.
| Property | Value |
|---|---|
| Parameter group: | Account Identifier Arguments |
Device Update instance name. You can configure the default instance name using az config set defaults.adu_instance={name}.
| Property | Value |
|---|---|
| Parameter group: | Account Identifier Arguments |
The update name.
The update provider.
The update version.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Device Update account resource group name. You can configure the default group using az config set defaults.adu_group={name}.
| Property | Value |
|---|---|
| Parameter group: | Account Identifier Arguments |
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 du update file show
Show the details of a specific update file with respect to update provider, name and version.
az iot du update file show --account
--instance
--ufid --update-file-id
--un --update-name
--up --update-provider
--update-version --uv
[--resource-group]
Examples
Show a specific update file with respect to update provider, name and version.
az iot du update file show -n {account_name} -i {instance_name} --update-provider {provider_name} --update-name {update_name} --update-version {update_version} --update-file-id {update_file_id}
Required Parameters
Device Update account name. You can configure the default account name using az config set defaults.adu_account={name}.
| Property | Value |
|---|---|
| Parameter group: | Account Identifier Arguments |
Device Update instance name. You can configure the default instance name using az config set defaults.adu_instance={name}.
| Property | Value |
|---|---|
| Parameter group: | Account Identifier Arguments |
The update file Id.
The update name.
The update provider.
The update version.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Device Update account resource group name. You can configure the default group using az config set defaults.adu_group={name}.
| Property | Value |
|---|---|
| Parameter group: | Account Identifier Arguments |
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 |