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.Resource
EventHubResource

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
str

Resource location.

message_retention_in_days
int

Number of days to retain the events for this Event Hub.

partition_count
int

Number of partitions created for the Event Hub.

status

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
str

Resource Id.

name
str

Resource name.

location
str

Resource location.

type
str

Resource type.

created_at

Exact time the Event Hub was created.

message_retention_in_days
int

Number of days to retain the events for this Event Hub.

partition_count
int

Number of partitions created for the Event Hub.

partition_ids

Current number of shards on the Event Hub.

status

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.