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