Skip to content

Commit 3d85aaa

Browse files
Merge pull request #223396 from eshashah-msft/master
Update deploy-update.md
2 parents bb3c908 + 9a2318a commit 3d85aaa

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

articles/iot-hub-device-update/deploy-update.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,25 @@ An Azure CLI environment:
9292

9393
# [Azure CLI](#tab/cli)
9494

95+
96+
97+
The [`az iot du device group list`](/cli/azure/iot/du/device/group#az-iot-du-device-group-list) to verify the best available update for your group. The command takes the following arguments:
98+
99+
* `--account`: The Device Update account name.
100+
* `--instance`: The Device Update instance name.
101+
* `--group-id`: The device group ID that you're targeting with this deployment. This ID is the value of the **ADUGroup** tag, or `$default` for devices with no tag.
102+
* `--best-updates`: This flag indicates the command should fetch the best available updates for the device group including a count of how many devices need each update.
103+
* `--resource-group -g': Device Update account resource group name.
104+
* '--update-compliance': This flag indicates the command should fetch device group update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update.
105+
106+
```azurecli
107+
az iot du device group list \
108+
--account <Device Update account name> \
109+
--instance <Device Update instance name>\
110+
--gid <device group id>\
111+
--best-updates {false, true}
112+
```
113+
95114
Use [az iot du device deployment create](/cli/azure/iot/du/device/deployment#az-iot-du-device-deployment-create) to create a deployment for a device group.
96115

97116
The `device deployment create` command takes the following arguments:

0 commit comments

Comments
 (0)