你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmServiceBusModelFactory.ServiceBusRuleData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ServiceBusRuleData 的新实例。
public static Azure.ResourceManager.ServiceBus.ServiceBusRuleData ServiceBusRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterAction action = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterType? filterType = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusSqlFilter sqlFilter = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusCorrelationFilter correlationFilter = default, Azure.Core.AzureLocation? location = default);
static member ServiceBusRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterAction * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusFilterType> * Azure.ResourceManager.ServiceBus.Models.ServiceBusSqlFilter * Azure.ResourceManager.ServiceBus.Models.ServiceBusCorrelationFilter * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.ServiceBus.ServiceBusRuleData
Public Shared Function ServiceBusRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional action As ServiceBusFilterAction = Nothing, Optional filterType As Nullable(Of ServiceBusFilterType) = Nothing, Optional sqlFilter As ServiceBusSqlFilter = Nothing, Optional correlationFilter As ServiceBusCorrelationFilter = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As ServiceBusRuleData
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- action
- ServiceBusFilterAction
表示允许转换已由筛选表达式匹配的消息的筛选操作。
- filterType
- Nullable<ServiceBusFilterType>
针对 BrokeredMessage 计算的筛选器类型。
- sqlFilter
- ServiceBusSqlFilter
sqlFilter 的属性。
- correlationFilter
- ServiceBusCorrelationFilter
correlationFilter 的属性。
- location
- Nullable<AzureLocation>
资源所在的地理位置。
返回
用于模拟的新 ServiceBusRuleData 实例。