FeedbackProperties Class

The properties of the feedback queue for cloud-to-device messages.

Inheritance
FeedbackProperties

Constructor

FeedbackProperties(*, lock_duration_as_iso8601: typing.Union[datetime.timedelta, NoneType] = None, ttl_as_iso8601: typing.Union[datetime.timedelta, NoneType] = None, max_delivery_count: typing.Union[int, NoneType] = None, **kwargs)

Parameters

lock_duration_as_iso8601
timedelta
Required

The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

ttl_as_iso8601
timedelta
Required

The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

max_delivery_count
int
Required

The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.