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: Optional[int] = None, partition_count: Optional[int] = None, status: Optional[Union[str, azure.mgmt.servicebus.v2017_04_01.models._service_bus_management_client_enums.EntityStatus]] = None, capture_description: Optional[azure.mgmt.servicebus.v2017_04_01.models._models_py3.CaptureDescription] = None, **kwargs)
Parameters
- 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 a Event Hub. Possible values include: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", "Unknown".
Variables
- id
- str
Resource Id.
- name
- str
Resource name.
- type
- str
Resource type.
- created_at
- datetime
Exact time the Event Hub was created.
- updated_at
- datetime
The exact time the message was updated.
Feedback
Submit and view feedback for