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

SBAuthorizationRule 构造函数

定义

重载

SBAuthorizationRule()

初始化 SBAuthorizationRule 类的新实例。

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

初始化 SBAuthorizationRule 类的新实例。

SBAuthorizationRule()

初始化 SBAuthorizationRule 类的新实例。

public SBAuthorizationRule ();
Public Sub New ()

适用于

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

初始化 SBAuthorizationRule 类的新实例。

public SBAuthorizationRule (System.Collections.Generic.IList<string> rights, string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule : System.Collections.Generic.IList<string> * string * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.Models.SBAuthorizationRule
Public Sub New (rights As IList(Of String), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional systemData As SystemData = Nothing)

参数

rights
IList<String>

与规则关联的权限。

id
String

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

name
String

资源的名称

type
String

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

location
String

资源所在的地理位置

systemData
SystemData

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

适用于