EventHubResource 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.eventhub.v2015_08_01.models._models_py3.ResourceEventHubResource
Constructor
EventHubResource(*, location: str | None = None, message_retention_in_days: int | None = None, partition_count: int | None = None, status: str | _models.EntityStatus | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
Resource location. |
message_retention_in_days
|
Number of days to retain the events for this Event Hub. |
partition_count
|
Number of partitions created for the Event Hub. |
status
|
str or
EntityStatus
Enumerates the possible values for the status of the Event Hub. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
location
|
Resource location. |
type
|
Resource type. |
created_at
|
Exact time the Event Hub was created. |
message_retention_in_days
|
Number of days to retain the events for this Event Hub. |
partition_count
|
Number of partitions created for the Event Hub. |
partition_ids
|
Current number of shards on the Event Hub. |
status
|
str or
EntityStatus
Enumerates the possible values for the status of the Event Hub. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown". |
updated_at
|
The exact time the message was updated. |
Azure SDK for Python