Share via


Rule Constructors

Definition

Overloads

Rule()

Initializes a new instance of the Rule class.

Rule(String, String, String, String, Action, String, SqlFilter, CorrelationFilter, SystemData)

Initializes a new instance of the Rule class.

Rule()

Initializes a new instance of the Rule class.

public Rule ();
Public Sub New ()

Applies to

Rule(String, String, String, String, Action, String, SqlFilter, CorrelationFilter, SystemData)

Initializes a new instance of the Rule class.

public Rule (string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.ServiceBus.Models.Action action = default, string filterType = default, Microsoft.Azure.Management.ServiceBus.Models.SqlFilter sqlFilter = default, Microsoft.Azure.Management.ServiceBus.Models.CorrelationFilter correlationFilter = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.Rule : string * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.Action * string * Microsoft.Azure.Management.ServiceBus.Models.SqlFilter * Microsoft.Azure.Management.ServiceBus.Models.CorrelationFilter * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.Models.Rule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional action As Action = Nothing, Optional filterType As String = Nothing, Optional sqlFilter As SqlFilter = Nothing, Optional correlationFilter As CorrelationFilter = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

location
String

The geo-location where the resource lives

action
Action

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

filterType
String

Filter type that is evaluated against a BrokeredMessage. Possible values include: 'SqlFilter', 'CorrelationFilter'

sqlFilter
SqlFilter

Properties of sqlFilter

correlationFilter
CorrelationFilter

Properties of correlationFilter

systemData
SystemData

The system meta data relating to this resource.

Applies to