EventHubProperties Class

The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
EventHubProperties

Constructor

EventHubProperties(*, retention_time_in_days: Optional[int] = None, partition_count: Optional[int] = None, **kwargs)

Variables

retention_time_in_days
<xref:long>

The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

partition_count
int

The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

partition_ids
list[str]

The partition ids in the Event Hub-compatible endpoint.

path
str

The Event Hub-compatible name.

endpoint
str

The Event Hub-compatible endpoint.