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

AuthorizationRule 构造函数

定义

重载

AuthorizationRule()

初始化 AuthorizationRule 类的新实例。

AuthorizationRule(String, String, String, IList<Nullable<AccessRights>>)

初始化 AuthorizationRule 类的新实例。

AuthorizationRule()

初始化 AuthorizationRule 类的新实例。

public AuthorizationRule ();
Public Sub New ()

适用于

AuthorizationRule(String, String, String, IList<Nullable<AccessRights>>)

初始化 AuthorizationRule 类的新实例。

public AuthorizationRule (string id = default, string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Relay.Models.AccessRights?> rights = default);
new Microsoft.Azure.Management.Relay.Models.AuthorizationRule : string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Relay.Models.AccessRights>> -> Microsoft.Azure.Management.Relay.Models.AuthorizationRule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional rights As IList(Of Nullable(Of AccessRights)) = Nothing)

参数

id
String

资源 ID

name
String

资源名称

type
String

资源类型

rights
IList<Nullable<AccessRights>>

与规则关联的权限。

适用于