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

ArmServiceBusModelFactory.ServiceBusAuthorizationRuleData 方法

定义

初始化 ServiceBusAuthorizationRuleData 的新实例。

public static Azure.ResourceManager.ServiceBus.ServiceBusAuthorizationRuleData ServiceBusAuthorizationRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessRight> rights = default, Azure.Core.AzureLocation? location = default);
static member ServiceBusAuthorizationRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessRight> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.ServiceBus.ServiceBusAuthorizationRuleData
Public Shared Function ServiceBusAuthorizationRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional rights As IEnumerable(Of ServiceBusAccessRight) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As ServiceBusAuthorizationRuleData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

rights
IEnumerable<ServiceBusAccessRight>

与规则关联的权限。

location
Nullable<AzureLocation>

资源所在的地理位置。

返回

用于模拟的新 ServiceBusAuthorizationRuleData 实例。

适用于