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.eventhub.v2021_11_01.models._models_py3.ProxyResource
Eventhub

Constructor

Eventhub(*, message_retention_in_days: Optional[int] = None, partition_count: Optional[int] = None, status: Optional[Union[str, azure.mgmt.eventhub.v2021_11_01.models._event_hub_management_client_enums.EntityStatus]] = None, capture_description: Optional[azure.mgmt.eventhub.v2021_11_01.models._models_py3.CaptureDescription] = None, **kwargs)

Variables

id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs".

location
str

The geo-location where the resource lives.

system_data
SystemData

The system meta data relating to this resource.

partition_ids
list[str]

Current number of shards on the Event Hub.

created_at
datetime

Exact time the Event Hub was created.

updated_at
datetime

The exact time the message was updated.

message_retention_in_days
<xref:long>

Number of days to retain the events for this Event Hub, value should be 1 to 7 days.

partition_count
<xref:long>

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 the Event Hub. Possible values include: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", "Unknown".

capture_description
CaptureDescription

Properties of capture description.