class Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
An alert action.
Attributes
action_group_id[RW]
@return [String] the id of the action group to use.
web_hook_properties[RW]
@return [Hash{String => String}] The properties of a webhook object.
Private Class Methods
mapper()
click to toggle source
Mapper for MetricAlertAction
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_action.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricAlertAction', type: { name: 'Composite', class_name: 'MetricAlertAction', model_properties: { action_group_id: { client_side_validation: true, required: false, serialized_name: 'actionGroupId', type: { name: 'String' } }, web_hook_properties: { client_side_validation: true, required: false, serialized_name: 'webHookProperties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end