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
azure.mgmt.iothub._serialization.Model
EventHubProperties

Constructor

EventHubProperties(*, retention_time_in_days: int | None = None, partition_count: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
retention_time_in_days
int

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.

Variables

Name Description
retention_time_in_days
int

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

The partition ids in the Event Hub-compatible endpoint.

path
str

The Event Hub-compatible name.

endpoint
str

The Event Hub-compatible endpoint.