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

IAuthorizationRule<RuleT> 接口

定义

表示事件中心命名空间和事件中心的授权规则的基类型。

public interface IAuthorizationRule<RuleT> : 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.AuthorizationRuleInner>, 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<RuleT>
type IAuthorizationRule<'RuleT> = interface
    interface IBeta
    interface INestedResource
    interface IIndexable
    interface IHasId
    interface IHasInner<AuthorizationRuleInner>
    interface IHasManager<IEventHubManager>
    interface IRefreshable<'RuleT>
Public Interface IAuthorizationRule(Of RuleT)
Implements IBeta, IHasId, IHasInner(Of AuthorizationRuleInner), IHasManager(Of IEventHubManager), IIndexable, INestedResource, IRefreshable(Of RuleT)

类型参数

RuleT

特定的授权规则类型。

派生
实现
INestedResource IBeta IHasId IHasInner<AuthorizationRuleInner> IHasManager<Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager> IIndexable IRefreshable<RuleT>

属性

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

表示事件中心命名空间和事件中心的授权规则的基类型。

(继承自 IHasInner<T>)
Key

表示事件中心命名空间和事件中心的授权规则的基类型。

(继承自 IIndexable)
Manager

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

(继承自 IHasManager<ManagerT>)
Name

获取资源名称。

(继承自 INestedResource)
Rights

获取与授权规则关联的权限。

Type

获取资源类型。

(继承自 INestedResource)

方法

GetKeys()

表示事件中心命名空间和事件中心的授权规则的基类型。

GetKeysAsync(CancellationToken)

表示事件中心命名空间和事件中心的授权规则的基类型。

Refresh()

刷新资源以与 Azure 同步。

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

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RegenerateKey(KeyType)

重新生成主密钥或辅助密钥。

RegenerateKeyAsync(KeyType, CancellationToken)

重新生成主访问密钥或辅助访问密钥。

适用于