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.v2017_04_01.models._models_py3.Resource
Rule

Constructor

Rule(*, action: Optional[azure.mgmt.servicebus.v2017_04_01.models._models_py3.Action] = None, filter_type: Optional[Union[str, azure.mgmt.servicebus.v2017_04_01.models._service_bus_management_client_enums.FilterType]] = None, sql_filter: Optional[azure.mgmt.servicebus.v2017_04_01.models._models_py3.SqlFilter] = None, correlation_filter: Optional[azure.mgmt.servicebus.v2017_04_01.models._models_py3.CorrelationFilter] = None, **kwargs)

Parameters

action
Action
Required

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

filter_type
str or FilterType
Required

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

sql_filter
SqlFilter
Required

Properties of sqlFilter.

correlation_filter
CorrelationFilter
Required

Properties of correlationFilter.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.