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

EventhubProperties interface

提供给“创建或更新事件中心”操作的属性。

属性

captureDescription

捕获说明的属性

createdAt

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

identifier

表示事件中心的唯一标识符,并在创建主题时由服务生成。 无论需要 UUID,都可以在 kafka 运行时 API 中使用此标识符,例如提取 & 删除主题。 AMQP 运行时作尚不支持此标识符。

messageRetentionInDays

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

messageTimestampDescription

MessageTimestamp 说明的属性

partitionCount

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

partitionIds

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

retentionDescription

事件中心保留设置

status

枚举事件中心状态的可能值。

updatedAt

消息的确切更新时间。

userMetadata

获取和设置用户的元数据。

属性详细信息

captureDescription

捕获说明的属性

captureDescription?: CaptureDescription

属性值

createdAt

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

createdAt?: Date

属性值

Date

identifier

表示事件中心的唯一标识符,并在创建主题时由服务生成。 无论需要 UUID,都可以在 kafka 运行时 API 中使用此标识符,例如提取 & 删除主题。 AMQP 运行时作尚不支持此标识符。

identifier?: string

属性值

string

messageRetentionInDays

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

messageRetentionInDays?: number

属性值

number

messageTimestampDescription

MessageTimestamp 说明的属性

messageTimestampDescription?: MessageTimestampDescription

属性值

partitionCount

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

partitionCount?: number

属性值

number

partitionIds

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

partitionIds?: string[]

属性值

string[]

retentionDescription

事件中心保留设置

retentionDescription?: RetentionDescription

属性值

status

枚举事件中心状态的可能值。

status?: EntityStatus

属性值

updatedAt

消息的确切更新时间。

updatedAt?: Date

属性值

Date

userMetadata

获取和设置用户的元数据。

userMetadata?: string

属性值

string