Rule Class

Description of Rule Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.servicebus.v2021_11_01.models._models_py3.ProxyResource
Rule

Constructor

Rule(*, action: _models.Action | None = None, filter_type: str | _models.FilterType | None = None, sql_filter: _models.SqlFilter | None = None, correlation_filter: _models.CorrelationFilter | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
action

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

filter_type

Filter type that is evaluated against a BrokeredMessage. Known values are: "SqlFilter" and "CorrelationFilter".

sql_filter

Properties of sqlFilter.

correlation_filter

Properties of correlationFilter.

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

location
str

The geo-location where the resource lives.

system_data

The system meta data relating to this resource.

action

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

filter_type

Filter type that is evaluated against a BrokeredMessage. Known values are: "SqlFilter" and "CorrelationFilter".

sql_filter

Properties of sqlFilter.

correlation_filter

Properties of correlationFilter.