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

AuthorizationRule 类

定义

List 或获取 AuthorizationRule 操作中的单个项

[Microsoft.Rest.Serialization.JsonTransformation]
public class AuthorizationRule : Microsoft.Azure.Management.EventHub.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AuthorizationRule = class
    inherit ProxyResource
Public Class AuthorizationRule
Inherits ProxyResource
继承
AuthorizationRule
属性

构造函数

AuthorizationRule()

初始化 AuthorizationRule 类的新实例。

AuthorizationRule(IList<String>, String, String, String, String, SystemData)

初始化 AuthorizationRule 类的新实例。

属性

Id

获取资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(继承自 ProxyResource)
Location

获取资源所在的地理位置

(继承自 ProxyResource)
Name

获取资源的名称

(继承自 ProxyResource)
Rights

获取或设置与规则关联的权限。

SystemData

获取与此资源相关的系统元数据。

Type

获取资源的类型。 例如“Microsoft.EventHub/Namespaces”或“Microsoft.EventHub/Namespaces/EventHubs”

(继承自 ProxyResource)

方法

Validate()

验证 对象。

适用于