class Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
Autoscale notification.
Attributes
email[RW]
@return [EmailNotification] the email notification.
operation[RW]
@return [String] the operation associated with the notification and its value must be “scale”. Default value: 'Scale' .
webhooks[RW]
@return [Array<WebhookNotification>] the collection of webhook notifications.
Private Class Methods
mapper()
click to toggle source
Mapper for AutoscaleNotification
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-04-01/generated/azure_mgmt_monitor/models/autoscale_notification.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoscaleNotification', type: { name: 'Composite', class_name: 'AutoscaleNotification', model_properties: { operation: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'operation', default_value: 'Scale', type: { name: 'String' } }, email: { client_side_validation: true, required: false, serialized_name: 'email', type: { name: 'Composite', class_name: 'EmailNotification' } }, webhooks: { client_side_validation: true, required: false, serialized_name: 'webhooks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'WebhookNotificationElementType', type: { name: 'Composite', class_name: 'WebhookNotification' } } } } } } } end