class Azure::Monitor::Mgmt::V2020_10_01::Models::AlertRulePatchObject
An Activity Log Alert rule object for the body of patch operations.
Attributes
enabled[RW]
@return [Boolean] Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. Default value: true .
Private Class Methods
mapper()
click to toggle source
Mapper for AlertRulePatchObject
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-10-01/generated/azure_mgmt_monitor/models/alert_rule_patch_object.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AlertRulePatchObject', type: { name: 'Composite', class_name: 'AlertRulePatchObject', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, enabled: { client_side_validation: true, required: false, serialized_name: 'properties.enabled', default_value: true, type: { name: 'Boolean' } } } } } end