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: Optional[str] = None, message_retention_in_days: Optional[int] = None, partition_count: Optional[int] = None, status: Optional[Union[str, azure.mgmt.eventhub.v2015_08_01.models._event_hub_management_client_enums.EntityStatus]] = None, **kwargs)

Variables

id
str

Resource Id.

name
str

Resource name.

location
str

Resource location.

type
str

Resource type.

created_at
datetime

Exact time the Event Hub was created.

message_retention_in_days
<xref:long>

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

partition_count
<xref:long>

Number of partitions created for the Event Hub.

partition_ids
list[str]

Current number of shards on the Event Hub.

status
str or EntityStatus

Enumerates the possible values for the status of the Event Hub. Possible values include: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", "Unknown".

updated_at
datetime

The exact time the message was updated.