Class: Azure::Network::Mgmt::V2019_07_01::Models::MatchCondition
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2019_07_01::Models::MatchCondition
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb
Overview
Define match conditions.
Instance Attribute Summary collapse
-
#match_values ⇒ Array<String>
Match value.
-
#match_variables ⇒ Array<MatchVariable>
List of match variables.
-
#negation_conditon ⇒ Boolean
Describes if this is negate condition or not.
-
#operator ⇒ WebApplicationFirewallOperator
matched.
-
#transforms ⇒ Array<WebApplicationFirewallTransform>
List of transforms.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MatchCondition class as Ruby Hash.
Instance Attribute Details
#match_values ⇒ Array<String>
Returns Match value.
28 29 30 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb', line 28 def match_values @match_values end |
#match_variables ⇒ Array<MatchVariable>
Returns List of match variables.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb', line 16 def match_variables @match_variables end |
#negation_conditon ⇒ Boolean
Returns Describes if this is negate condition or not.
25 26 27 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb', line 25 def negation_conditon @negation_conditon end |
#operator ⇒ WebApplicationFirewallOperator
matched. Possible values include: ‘IPMatch’, ‘Equal’, ‘Contains’, ‘LessThan’, ‘GreaterThan’, ‘LessThanOrEqual’, ‘GreaterThanOrEqual’, ‘BeginsWith’, ‘EndsWith’, ‘Regex’
22 23 24 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb', line 22 def operator @operator end |
#transforms ⇒ Array<WebApplicationFirewallTransform>
Returns List of transforms.
31 32 33 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb', line 31 def transforms @transforms end |
Class Method Details
.mapper ⇒ Object
Mapper for MatchCondition class as Ruby Hash. This will be used for serialization/deserialization.
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 112 113 114 115 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/match_condition.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MatchCondition', type: { name: 'Composite', class_name: 'MatchCondition', model_properties: { match_variables: { client_side_validation: true, required: true, serialized_name: 'matchVariables', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MatchVariableElementType', type: { name: 'Composite', class_name: 'MatchVariable' } } } }, operator: { client_side_validation: true, required: true, serialized_name: 'operator', type: { name: 'String' } }, negation_conditon: { client_side_validation: true, required: false, serialized_name: 'negationConditon', type: { name: 'Boolean' } }, match_values: { client_side_validation: true, required: true, serialized_name: 'matchValues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, transforms: { client_side_validation: true, required: false, serialized_name: 'transforms', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'WebApplicationFirewallTransformElementType', type: { name: 'String' } } } } } } } end |