Dela via


ArmServiceBusModelFactory.ServiceBusRuleData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

action
ServiceBusFilterAction

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

filterType
Nullable<ServiceBusFilterType>

Filter type that is evaluated against a BrokeredMessage.

sqlFilter
ServiceBusSqlFilter

Properties of sqlFilter.

correlationFilter
ServiceBusCorrelationFilter

Properties of correlationFilter.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

Returns

A new ServiceBusRuleData instance for mocking.

Applies to