You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-devguide-messages-c2d.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,23 +133,47 @@ Each IoT hub exposes the following configuration options for cloud-to-device mes
133
133
| maxDeliveryCount | Maximum delivery count for cloud-to-device per-device queues | 1 to 100; default: 10 |
134
134
| feedback.ttlAsIso8601 | Retention for service-bound feedback messages | ISO_8601 interval up to 2 days (minimum 1 minute); default: 1 hour |
135
135
| feedback.maxDeliveryCount | Maximum delivery count for the feedback queue | 1 to 100; default: 100 |
136
+
| feedback.lockDurationAsIso8601 | Maximum delivery count for the feedback queue | 5 to 300 seconds (minimum 5 seconds); default: 60 seconds. |
136
137
137
138
You can set the configuration options in one of the following ways:
138
139
139
140
***Azure portal**: Under **Settings** on your IoT hub, select **Built-in endpoints** and expand **Cloud to device messaging**. (Setting the **feedback.maxDeliveryCount** property is not currently supported in Azure portal.)
140
141
141
-
***Azure CLI**: Use the `c2d-ttl`, `c2d-max-delivery-count`, `feedback-ttl`, and `feedback-max-delivery-count` parameters in the [az iot hub update](https://docs.microsoft.com/cli/azure/iot/hub?view=azure-cli-latest#az-iot-hub-update) command. For example, the following command sets the **feedback.maxDeliveryCount** property:
142
+
***Azure CLI**: Use the [az iot hub update](https://docs.microsoft.com/cli/azure/iot/hub?view=azure-cli-latest#az-iot-hub-update) command:
* **PowerShell**: Use the `-CloudToDevice` parameter in the [Set-AzIoTHub](https://docs.microsoft.com/powershell/module/az.iothub/set-aziothub) command. For example, the following command sets the **feedback.maxDeliveryCount** property:
156
+
You can also use the generic `set` parameter to set configuration options:
0 commit comments