class Azure::Monitor::Mgmt::V2020_10_01::Models::AlertRuleAnyOfOrLeafCondition

An Activity Log Alert rule condition that is met when all its member conditions are met. Each condition can be of one of the following types: __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.

'containsAny'. _Please note, 'anyOf' should __not__ be set in a Leaf Condition._

of Leaf Conditions). _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._

Attributes

any_of[RW]

@return [Array<AlertRuleLeafCondition>] An Activity Log Alert rule 'anyOf' condition. An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-01/generated/azure_mgmt_monitor/models/alert_rule_any_of_or_leaf_condition.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AlertRuleAnyOfOrLeafCondition',
    type: {
      name: 'Composite',
      class_name: 'AlertRuleAnyOfOrLeafCondition',
      model_properties: {
        field: {
          client_side_validation: true,
          required: false,
          serialized_name: 'field',
          type: {
            name: 'String'
          }
        },
        equals: {
          client_side_validation: true,
          required: false,
          serialized_name: 'equals',
          type: {
            name: 'String'
          }
        },
        contains_any: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containsAny',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        any_of: {
          client_side_validation: true,
          required: false,
          serialized_name: 'anyOf',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AlertRuleLeafConditionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AlertRuleLeafCondition'
                }
            }
          }
        }
      }
    }
  }
end