Share via


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

IUpdate 接口

定义

事件中心更新操作的模板,包含可修改的所有设置。

public interface IUpdate : Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Update.IWithAuthorizationRule, Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Update.IWithCapture, Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Update.IWithConsumerGroup, Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Update.IWithPartitionCount, Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Update.IWithRetentionPeriod, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHub>
type IUpdate = interface
    interface IBeta
    interface IAppliable<IEventHub>
    interface IIndexable
    interface IWithConsumerGroup
    interface IWithAuthorizationRule
    interface IWithCapture
    interface IWithPartitionCount
    interface IWithRetentionPeriod
Public Interface IUpdate
Implements IAppliable(Of IEventHub), IBeta, IWithAuthorizationRule, IWithCapture, IWithConsumerGroup, IWithPartitionCount, IWithRetentionPeriod
实现

属性

Key

事件中心更新操作的模板,包含可修改的所有设置。

(继承自 IIndexable)

方法

Apply()

执行更新请求。

(继承自 IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

异步执行更新请求。

(继承自 IAppliable<T>)
WithDataCaptureDisabled()

指定应为事件中心禁用数据捕获。

(继承自 IWithCapture)
WithDataCaptureEnabled()

指定应为事件中心启用数据捕获。

(继承自 IWithCapture)
WithDataCaptureFileNameFormat(String)

指定包含捕获数据的文件格式。

(继承自 IWithCapture)
WithDataCaptureSkipEmptyArchives(Boolean)

指定捕获是否跳过空存档。

(继承自 IWithCapture)
WithDataCaptureWindowSizeInMB(Int32)

指定捕获窗口大小(以 MB 为单位)。

(继承自 IWithCapture)
WithDataCaptureWindowSizeInSeconds(Int32)

指定捕获窗口大小(以秒为单位)。

(继承自 IWithCapture)
WithExistingStorageAccountForCapturedData(IStorageAccount, String)

指定在启用数据捕获时存储捕获的数据的现有存储帐户。

(继承自 IWithCapture)
WithExistingStorageAccountForCapturedData(String, String)

指定在启用数据捕获时存储捕获的数据的现有存储帐户。

(继承自 IWithCapture)
WithNewConsumerGroup(String)

指定应为事件中心创建新的使用者组。

(继承自 IWithConsumerGroup)
WithNewConsumerGroup(String, String)

指定应为事件中心创建新的使用者组。

(继承自 IWithConsumerGroup)
WithNewListenRule(String)

指定应创建对事件中心具有侦听访问权限的新授权规则。

(继承自 IWithAuthorizationRule)
WithNewManageRule(String)

指定应创建一个有权管理对事件中心的访问权限的新授权规则。

(继承自 IWithAuthorizationRule)
WithNewSendRule(String)

指定应创建具有向事件中心发送访问权限的新授权规则。

(继承自 IWithAuthorizationRule)
WithNewStorageAccountForCapturedData(ICreatable<IStorageAccount>, String)

指定一个新的存储帐户,用于在启用数据捕获时存储捕获的数据。

(继承自 IWithCapture)
WithoutAuthorizationRule(String)

指定应删除与事件中心关联的授权规则。

(继承自 IWithAuthorizationRule)
WithoutConsumerGroup(String)

指定应删除与事件中心关联的使用者组。

(继承自 IWithConsumerGroup)
WithPartitionCount(Int64)

指定事件中心内的分区数。

(继承自 IWithPartitionCount)
WithRetentionPeriodInDays(Int64)

指定事件的保留期(以天为单位)。

(继承自 IWithRetentionPeriod)

适用于