Class: Azure::ARM::Monitor::Models::ActivityLogAlertLeafCondition
- Inherits:
-
Object
- Object
- Azure::ARM::Monitor::Models::ActivityLogAlertLeafCondition
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb
Overview
An Activity Log alert condition that is met by comparing an activity log field and value.
Instance Attribute Summary collapse
-
#equals ⇒ String
(case-insensitive) to determine if the condition is met.
-
#field ⇒ String
examine.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ActivityLogAlertLeafCondition class as Ruby Hash.
Instance Attribute Details
#equals ⇒ String
(case-insensitive) to determine if the condition is met.
26 27 28 |
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb', line 26 def equals @equals end |
#field ⇒ String
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.’.
22 23 24 |
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb', line 22 def field @field end |
Class Method Details
.mapper ⇒ Object
Mapper for ActivityLogAlertLeafCondition class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_leaf_condition.rb', line 33 def self.mapper() { required: false, serialized_name: 'ActivityLogAlertLeafCondition', type: { name: 'Composite', class_name: 'ActivityLogAlertLeafCondition', model_properties: { field: { required: true, serialized_name: 'field', type: { name: 'String' } }, equals: { required: true, serialized_name: 'equals', type: { name: 'String' } } } } } end |