EventHubProperties 類別
IoT 中樞所使用的已布建事件中樞相容端點屬性。
變數只會由伺服器填入,而且會在傳送要求時予以忽略。
- 繼承
-
azure.mgmt.iothub._serialization.ModelEventHubProperties
建構函式
EventHubProperties(*, retention_time_in_days: int | None = None, partition_count: int | None = None, **kwargs)
變數
- retention_time_in_days
- int
裝置到雲端訊息的保留時間,以天為單位。 請參閱:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages。
- partition_count
- int
在事件中樞相容端點中接收裝置到雲端訊息的分割區數目。 請參閱:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages。
- path
- str
事件中樞相容名稱。
- endpoint
- str
事件中樞相容端點。