MessagingEndpointProperties interface
此 IoT 中心使用的消息传送终结点的属性。
属性
lock |
锁定持续时间。 请参阅:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。 |
max |
IoT 中心尝试传递消息的次数。 请参阅:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。 |
ttl |
消息在 IoT 中心过期之前可供使用的时间段。 请参阅:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。 |
属性详细信息
lockDurationAsIso8601
锁定持续时间。 请参阅:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。
lockDurationAsIso8601?: string
属性值
string
maxDeliveryCount
IoT 中心尝试传递消息的次数。 请参阅:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。
maxDeliveryCount?: number
属性值
number
ttlAsIso8601
消息在 IoT 中心过期之前可供使用的时间段。 请参阅:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。
ttlAsIso8601?: string
属性值
string