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

IEventHub 接口

定义

表示 Azure EventHub 的类型。

public interface IEventHub : Microsoft.Azure.Management.Eventhub.Fluent.INestedResource, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHub>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Update.IUpdate>
type IEventHub = interface
    interface IBeta
    interface INestedResource
    interface IIndexable
    interface IHasId
    interface IHasManager<IEventHubManager>
    interface IRefreshable<IEventHub>
    interface IUpdatable<IUpdate>
    interface IHasInner<EventhubInner>
Public Interface IEventHub
Implements IBeta, IHasId, IHasInner(Of EventhubInner), IHasManager(Of IEventHubManager), IIndexable, INestedResource, IRefreshable(Of IEventHub), IUpdatable(Of IUpdate)
实现
INestedResource IBeta IHasId IHasInner<EventhubInner> IHasManager<Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager> IIndexable IRefreshable<IEventHub> IUpdatable<IUpdate>

属性

CaptureDestination

获取将存储捕获数据的目标的说明。

DataCaptureFileNameFormat

获取启用捕获时存储捕获的数据的格式文件名。

DataCaptureSkipEmptyArchives

获取启用捕获时是否跳过空存档

DataCaptureWindowSizeInMB

获取配置为在启用捕获时用于事件捕获的窗口(以 MB 为单位)。

DataCaptureWindowSizeInSeconds

获取配置为在启用捕获时用于事件捕获的窗口(以秒为单位)。

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

表示 Azure EventHub 的类型。

(继承自 IHasInner<T>)
IsDataCaptureEnabled

如果为事件中心事件启用数据捕获,则获取 true;否则为 false。

Key

表示 Azure EventHub 的类型。

(继承自 IIndexable)
Manager

获取此资源类型的管理器客户端类型。

(继承自 IHasManager<ManagerT>)
MessageRetentionPeriodInDays

获取事件的保留期(以天为单位)。

Name

获取资源名称。

(继承自 INestedResource)
NamespaceName

获取父命名空间的名称。

NamespaceResourceGroupName

获取父命名空间的资源组。

PartitionIds

获取分区标识符。

Type

获取资源类型。

(继承自 INestedResource)

方法

ListAuthorizationRules()

表示 Azure EventHub 的类型。

ListAuthorizationRulesAsync(CancellationToken)

表示 Azure EventHub 的类型。

ListConsumerGroups()

表示 Azure EventHub 的类型。

ListConsumerGroupsAsync(CancellationToken)

表示 Azure EventHub 的类型。

Refresh()

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RefreshAsync(CancellationToken)

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
Update()

表示 Azure EventHub 的类型。

(继承自 IUpdatable<T>)

适用于