Class: Azure::Network::Mgmt::V2019_06_01::Models::MatchVariable
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2019_06_01::Models::MatchVariable
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-01/generated/azure_mgmt_network/models/match_variable.rb
Overview
Define match variables.
Instance Attribute Summary collapse
-
#selector ⇒ String
Describes field of the matchVariable collection.
-
#variable_name ⇒ WebApplicationFirewallMatchVariable
values include: ‘RemoteAddr’, ‘RequestMethod’, ‘QueryString’, ‘PostArgs’, ‘RequestUri’, ‘RequestHeaders’, ‘RequestBody’, ‘RequestCookies’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MatchVariable class as Ruby Hash.
Instance Attribute Details
#selector ⇒ String
22 23 24 |
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/match_variable.rb', line 22 def selector @selector end |
#variable_name ⇒ WebApplicationFirewallMatchVariable
values include: ‘RemoteAddr’, ‘RequestMethod’, ‘QueryString’, ‘PostArgs’, ‘RequestUri’, ‘RequestHeaders’, ‘RequestBody’, ‘RequestCookies’
19 20 21 |
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/match_variable.rb', line 19 def variable_name @variable_name end |
Class Method Details
.mapper ⇒ Object
Mapper for MatchVariable class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/match_variable.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MatchVariable', type: { name: 'Composite', class_name: 'MatchVariable', model_properties: { variable_name: { client_side_validation: true, required: true, serialized_name: 'variableName', type: { name: 'String' } }, selector: { client_side_validation: true, required: false, serialized_name: 'selector', type: { name: 'String' } } } } } end |