Class: Azure::ARM::Monitor::Models::ActivityLogAlertPatchBody
- Inherits:
-
Object
- Object
- Azure::ARM::Monitor::Models::ActivityLogAlertPatchBody
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb
Overview
An activity log alert object for the body of patch operations.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
If an activity log alert is not enabled, then none of its actions will be activated.
-
#tags ⇒ Hash{String => String}
Resource tags.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ActivityLogAlertPatchBody class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
If an activity log alert is not enabled, then none of its actions will be activated. Default value: true .
22 23 24 |
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb', line 22 def enabled @enabled end |
#tags ⇒ Hash{String => String}
Returns Resource tags.
17 18 19 |
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb', line 17 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for ActivityLogAlertPatchBody class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 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 59 60 61 62 |
# File 'lib/generated/azure_mgmt_monitor/models/activity_log_alert_patch_body.rb', line 29 def self.mapper() { required: false, serialized_name: 'ActivityLogAlertPatchBody', type: { name: 'Composite', class_name: 'ActivityLogAlertPatchBody', model_properties: { tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, enabled: { required: false, serialized_name: 'properties.enabled', default_value: true, type: { name: 'Boolean' } } } } } end |