class Azure::CDN::Mgmt::V2020_09_01::Models::RemoteAddressMatchConditionParameters

Defines the parameters for RemoteAddress match conditions

Attributes

match_values[RW]

@return [Array<String>] Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.

negate_condition[RW]

@return [Boolean] Describes if this is negate condition or not

odatatype[RW]

@return [String] . Default value: '#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters' .

operator[RW]

@return [RemoteAddressOperator] Describes operator to be matched. Possible values include: 'Any', 'IPMatch', 'GeoMatch'

transforms[RW]

@return [Array<Transform>] List of transforms

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-01/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RemoteAddressMatchConditionParameters',
    type: {
      name: 'Composite',
      class_name: 'RemoteAddressMatchConditionParameters',
      model_properties: {
        odatatype: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: '@odata\\.type',
          default_value: '#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters',
          type: {
            name: 'String'
          }
        },
        operator: {
          client_side_validation: true,
          required: true,
          serialized_name: 'operator',
          type: {
            name: 'String'
          }
        },
        negate_condition: {
          client_side_validation: true,
          required: false,
          serialized_name: 'negateCondition',
          type: {
            name: 'Boolean'
          }
        },
        match_values: {
          client_side_validation: true,
          required: false,
          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: 'TransformElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end