你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Constructor

Eventhub(*, message_retention_in_days: int | None = None, partition_count: int | None = None, status: str | _models.EntityStatus | None = None, capture_description: _models.CaptureDescription | None = None, retention_description: _models.RetentionDescription | None = None, message_timestamp_description: _models.MessageTimestampDescription | None = None, user_metadata: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
message_retention_in_days
int

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

partition_count
int

Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.

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".

capture_description

Properties of capture description.

retention_description

Event Hub retention settings.

message_timestamp_description

Properties of MessageTimestamp Description.

user_metadata
str

Gets and Sets Metadata of User.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

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

The system meta data relating to this resource.

partition_ids

Current number of shards on the Event Hub.

created_at

Exact time the Event Hub was created.

updated_at

The exact time the message was updated.

message_retention_in_days
int

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

partition_count
int

Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.

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".

capture_description

Properties of capture description.

retention_description

Event Hub retention settings.

message_timestamp_description

Properties of MessageTimestamp Description.

identifier
str

Denotes the unique identifier for event hub and is generated by service while creating topic. This identifier can be used in kafka runtime apis wherever a UUID is required e.g Fetch & Delete Topic. This identifier is not supported in AMQP runtime operations yet.

user_metadata
str

Gets and Sets Metadata of User.