class Azure::Network::Mgmt::V2019_09_01::Models::MatchVariable

Define match variables.

Attributes

selector[RW]

@return [String] Describes field of the matchVariable collection.

variable_name[RW]

@return [WebApplicationFirewallMatchVariable] Match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies'

Public Class Methods

mapper() click to toggle source

Mapper for MatchVariable class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-09-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