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

IDefinition 接口

定义

事件中心命名空间授权规则定义的全部内容。

public interface IDefinition : Microsoft.Azure.Management.Eventhub.Fluent.AuthorizationRule.Definition.IWithListen<Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithCreate>, Microsoft.Azure.Management.Eventhub.Fluent.AuthorizationRule.Definition.IWithListenOrSendOrManage<Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithCreate>, Microsoft.Azure.Management.Eventhub.Fluent.AuthorizationRule.Definition.IWithManage<Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithCreate>, Microsoft.Azure.Management.Eventhub.Fluent.AuthorizationRule.Definition.IWithSend<Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithCreate>, Microsoft.Azure.Management.Eventhub.Fluent.AuthorizationRule.Definition.IWithSendOrManage<Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithCreate>, Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IBlank, Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy, Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithCreate, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubAuthorizationRule>
type IDefinition = interface
    interface IBeta
    interface IBlank
    interface IWithEventHub
    interface IWithAccessPolicy
    interface IWithListenOrSendOrManage<IWithCreate>
    interface IWithListen<IWithCreate>
    interface IWithSendOrManage<IWithCreate>
    interface IWithSend<IWithCreate>
    interface IWithManage<IWithCreate>
    interface IWithCreate
    interface ICreatable<IEventHubAuthorizationRule>
    interface IIndexable
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IEventHubAuthorizationRule), IWithAccessPolicy, IWithCreate, IWithListen(Of IWithCreate), IWithListenOrSendOrManage(Of IWithCreate), IWithManage(Of IWithCreate), IWithSend(Of IWithCreate), IWithSendOrManage(Of IWithCreate)
实现

属性

Key

事件中心命名空间授权规则定义的全部内容。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。

(继承自 ICreatable<T>)
WithExistingEventHub(IEventHub)

指定需要为给定事件中心创建授权规则。

(继承自 IWithEventHub)
WithExistingEventHub(String, String, String)

指定需要为给定事件中心创建授权规则。

(继承自 IWithEventHub)
WithExistingEventHubId(String)

指定需要为给定事件中心创建授权规则。

(继承自 IWithEventHub)
WithListenAccess()

指定规则应启用侦听访问。

(继承自 IWithListen<T>)
WithManageAccess()

指定规则应启用管理访问权限。

(继承自 IWithManage<T>)
WithSendAccess()

指定规则应启用发送访问权限。

(继承自 IWithSend<T>)

适用于