共用方式為


EventHubProperties interface

IoT 中樞所使用之已布建事件中樞相容端點的屬性。

屬性

endpoint

事件中樞相容端點。 注意:這個屬性不會串行化。 它只能由伺服器填入。

partitionCount

在事件中樞相容端點中接收裝置到雲端訊息的數據分割數目。 請參閱:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

partitionIds

事件中樞相容端點中的分割區標識符。 注意:這個屬性不會串行化。 它只能由伺服器填入。

path

事件中樞相容名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

retentionTimeInDays

裝置到雲端訊息的保留時間,以天為單位。 請參閱:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

屬性詳細資料

endpoint

事件中樞相容端點。 注意:這個屬性不會串行化。 它只能由伺服器填入。

endpoint?: string

屬性值

string

partitionCount

在事件中樞相容端點中接收裝置到雲端訊息的數據分割數目。 請參閱:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

partitionCount?: number

屬性值

number

partitionIds

事件中樞相容端點中的分割區標識符。 注意:這個屬性不會串行化。 它只能由伺服器填入。

partitionIds?: string[]

屬性值

string[]

path

事件中樞相容名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

path?: string

屬性值

string

retentionTimeInDays

裝置到雲端訊息的保留時間,以天為單位。 請參閱:https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

retentionTimeInDays?: number

屬性值

number