Class: Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb
Overview
Description of Rule Resource.
Instance Attribute Summary collapse
-
#action ⇒ Action
the transformation of a message that have been matched by a filter expression.
-
#correlation_filter ⇒ CorrelationFilter
Properties of correlationFilter.
-
#filter_type ⇒ FilterType
BrokeredMessage.
-
#sql_filter ⇒ SqlFilter
Properties of sqlFilter.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Rule class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#action ⇒ Action
the transformation of a message that have been matched by a filter expression.
18 19 20 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb', line 18 def action @action end |
#correlation_filter ⇒ CorrelationFilter
Returns Properties of correlationFilter.
29 30 31 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb', line 29 def correlation_filter @correlation_filter end |
#filter_type ⇒ FilterType
BrokeredMessage. Possible values include: ‘SqlFilter’, ‘CorrelationFilter’
23 24 25 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb', line 23 def filter_type @filter_type end |
#sql_filter ⇒ SqlFilter
Returns Properties of sqlFilter.
26 27 28 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb', line 26 def sql_filter @sql_filter end |
Class Method Details
.mapper ⇒ Object
Mapper for Rule class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Rule', type: { name: 'Composite', class_name: 'Rule', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, action: { client_side_validation: true, required: false, serialized_name: 'properties.action', type: { name: 'Composite', class_name: 'Action' } }, filter_type: { client_side_validation: true, required: false, serialized_name: 'properties.filterType', type: { name: 'Enum', module: 'FilterType' } }, sql_filter: { client_side_validation: true, required: false, serialized_name: 'properties.sqlFilter', type: { name: 'Composite', class_name: 'SqlFilter' } }, correlation_filter: { client_side_validation: true, required: false, serialized_name: 'properties.correlationFilter', type: { name: 'Composite', class_name: 'CorrelationFilter' } } } } } end |