שתף באמצעות


az iot du update file

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 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
                           --up
                           --update-version
                           [--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

--account -n

Device Update account name. You can configure the default account name using az config set defaults.adu_account={name}.

--instance -i

Device Update instance name. You can configure the default instance name using az config set defaults.adu_instance={name}.

--un --update-name

The update name.

--up --update-provider

The update provider.

--update-version --uv

The update version.

Optional Parameters

--resource-group -g

Device Update account resource group name. You can configure the default group using az config set defaults.adu_group={name}.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

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
                           --un
                           --up
                           --update-version
                           [--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

--account -n

Device Update account name. You can configure the default account name using az config set defaults.adu_account={name}.

--instance -i

Device Update instance name. You can configure the default instance name using az config set defaults.adu_instance={name}.

--ufid --update-file-id

The update file Id.

--un --update-name

The update name.

--up --update-provider

The update provider.

--update-version --uv

The update version.

Optional Parameters

--resource-group -g

Device Update account resource group name. You can configure the default group using az config set defaults.adu_group={name}.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.