Eventhub Class
Single item in List or Get Event Hub operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.servicebus.v2017_04_01.models._models_py3.ResourceEventhub
Constructor
Eventhub(*, message_retention_in_days: int | None = None, partition_count: int | None = None, status: str | _models.EntityStatus | None = None, capture_description: _models.CaptureDescription | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
message_retention_in_days
|
Number of days to retain the events for this Event Hub, value should be 1 to 7 days. |
partition_count
|
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. |
status
|
str or
EntityStatus
Enumerates the possible values for the status of a Event Hub. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown". |
capture_description
|
Properties of capture description. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
partition_ids
|
Current number of shards on the Event Hub. |
created_at
|
Exact time the Event Hub was created. |
updated_at
|
The exact time the message was updated. |
message_retention_in_days
|
Number of days to retain the events for this Event Hub, value should be 1 to 7 days. |
partition_count
|
Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. |
status
|
str or
EntityStatus
Enumerates the possible values for the status of a Event Hub. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown". |
capture_description
|
Properties of capture description. |
Azure SDK for Python