Class: Azure::ARM::Monitor::Models::ActivityLogAlertAllOfCondition

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_monitor/models/activity_log_alert_all_of_condition.rb

Overview

An Activity Log alert condition that is met when all its member conditions are met.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#all_ofArray<ActivityLogAlertLeafCondition>

alert conditions.

Returns:



19
20
21
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_all_of_condition.rb', line 19

def all_of
  @all_of
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_all_of_condition.rb', line 26

def self.mapper()
  {
    required: false,
    serialized_name: 'ActivityLogAlertAllOfCondition',
    type: {
      name: 'Composite',
      class_name: 'ActivityLogAlertAllOfCondition',
      model_properties: {
        all_of: {
          required: true,
          serialized_name: 'allOf',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'ActivityLogAlertLeafConditionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ActivityLogAlertLeafCondition'
                }
            }
          }
        }
      }
    }
  }
end