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

Eventhub 类

列表或获取事件中心操作中的单个项。

变量仅由服务器填充,在发送请求时将被忽略。

继承
azure.mgmt.eventhub.v2022_10_01_preview.models._models_py3.ProxyResource
Eventhub

构造函数

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, **kwargs: Any)

仅限关键字的参数

名称 说明
message_retention_in_days
int

要保留此事件中心的事件的天数,值应为 1 到 7 天。

partition_count
int

为事件中心创建的分区数,允许的值为 1 到 32 个分区。

status

枚举事件中心状态的可能值。 已知值为:“Active”、“Disabled”、“Restoring”、“SendDisabled”、“ReceiveDisabled”、“Create”、“删除”、“Renaming”和“Unknown”。

capture_description

捕获说明的属性。

retention_description

事件中心保留设置。

变量

名称 说明
id
str

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。

name
str

资源的名称。

type
str

资源类型。 例如“Microsoft.EventHub/Namespaces”或“Microsoft.EventHub/Namespaces/EventHubs”。

location
str

资源所在的地理位置。

system_data

与此资源相关的系统元数据。

partition_ids

事件中心上的当前分片数。

created_at

创建事件中心的确切时间。

updated_at

消息的确切更新时间。

message_retention_in_days
int

要保留此事件中心的事件的天数,值应为 1 到 7 天。

partition_count
int

为事件中心创建的分区数,允许的值为 1 到 32 个分区。

status

枚举事件中心状态的可能值。 已知值为:“Active”、“Disabled”、“Restoring”、“SendDisabled”、“ReceiveDisabled”、“Create”、“删除”、“Renaming”和“Unknown”。

capture_description

捕获说明的属性。

retention_description

事件中心保留设置。