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

IEventHubNamespaceAuthorizationRule 接口

定义

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

public interface IEventHubNamespaceAuthorizationRule : Microsoft.Azure.Management.Eventhub.Fluent.IAuthorizationRule<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespaceAuthorizationRule>, 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<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespaceAuthorizationRule>
type IEventHubNamespaceAuthorizationRule = interface
    interface IBeta
    interface IAuthorizationRule<IEventHubNamespaceAuthorizationRule>
    interface INestedResource
    interface IIndexable
    interface IHasId
    interface IHasInner<AuthorizationRuleInner>
    interface IHasManager<IEventHubManager>
    interface IRefreshable<IEventHubNamespaceAuthorizationRule>
Public Interface IEventHubNamespaceAuthorizationRule
Implements IAuthorizationRule(Of IEventHubNamespaceAuthorizationRule), IBeta, IHasId, IHasInner(Of AuthorizationRuleInner), IHasManager(Of IEventHubManager), IIndexable, IRefreshable(Of IEventHubNamespaceAuthorizationRule)
实现

属性

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

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

(继承自 IHasInner<T>)
Key

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

(继承自 IIndexable)
Manager

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

(继承自 IHasManager<ManagerT>)
Name

获取资源名称。

(继承自 INestedResource)
NamespaceName

获取事件中心命名空间的名称。

NamespaceResourceGroupName

获取父事件中心所在的命名空间的资源组。

Rights

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

(继承自 IAuthorizationRule<RuleT>)
Type

获取资源类型。

(继承自 INestedResource)

方法

GetKeys()

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

(继承自 IAuthorizationRule<RuleT>)
GetKeysAsync(CancellationToken)

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

(继承自 IAuthorizationRule<RuleT>)
Refresh()

刷新资源以与 Azure 同步。

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

刷新资源以与 Azure 同步。

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

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

(继承自 IAuthorizationRule<RuleT>)
RegenerateKeyAsync(KeyType, CancellationToken)

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

(继承自 IAuthorizationRule<RuleT>)

适用于