class Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition

An Activity Log alert condition that is met by comparing an activity log field and value.

Attributes

equals[RW]

@return [String] The field value will be compared to this value (case-insensitive) to determine if the condition is met.

field[RW]

@return [String] The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-04-01/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ActivityLogAlertLeafCondition',
    type: {
      name: 'Composite',
      class_name: 'ActivityLogAlertLeafCondition',
      model_properties: {
        field: {
          client_side_validation: true,
          required: true,
          serialized_name: 'field',
          type: {
            name: 'String'
          }
        },
        equals: {
          client_side_validation: true,
          required: true,
          serialized_name: 'equals',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end