class Azure::Network::Mgmt::V2018_12_01::Models::ApplicationGatewayRewriteRuleCondition

Set of conditions in the Rewrite Rule in Application Gateway.

Attributes

ignore_case[RW]

@return [Boolean] Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.

negate[RW]

@return [Boolean] Setting this value as truth will force to check the negation of the condition given by the user.

pattern[RW]

@return [String] The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition

variable[RW]

@return [String] The condition parameter of the RewriteRuleCondition.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayRewriteRuleCondition',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayRewriteRuleCondition',
      model_properties: {
        variable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'variable',
          type: {
            name: 'String'
          }
        },
        pattern: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pattern',
          type: {
            name: 'String'
          }
        },
        ignore_case: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ignoreCase',
          type: {
            name: 'Boolean'
          }
        },
        negate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'negate',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end