class Azure::Consumption::Mgmt::V2019_05_01::Models::Notification
The notification associated with a budget.
Attributes
@return [Array<String>] Email addresses to send the budget notification to when the threshold is exceeded.
@return [Array<String>] Action groups to send the budget notification to when the threshold is exceeded.
@return [Array<String>] Contact roles to send the budget notification to when the threshold is exceeded.
@return [Boolean] The notification is enabled or not.
@return [OperatorType] The comparison operator. Possible values include: 'EqualTo', 'GreaterThan', 'GreaterThanOrEqualTo'
@return Threshold value associated with a notification. Notification
is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
Public Class Methods
Mapper for Notification
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-05-01/generated/azure_mgmt_consumption/models/notification.rb, line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Notification', type: { name: 'Composite', class_name: 'Notification', model_properties: { enabled: { client_side_validation: true, required: true, serialized_name: 'enabled', type: { name: 'Boolean' } }, operator: { client_side_validation: true, required: true, serialized_name: 'operator', type: { name: 'String' } }, threshold: { client_side_validation: true, required: true, serialized_name: 'threshold', type: { name: 'Number' } }, contact_emails: { client_side_validation: true, required: true, serialized_name: 'contactEmails', constraints: { MaxItems: 50, MinItems: 1 }, type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, contact_roles: { client_side_validation: true, required: false, serialized_name: 'contactRoles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, contact_groups: { client_side_validation: true, required: false, serialized_name: 'contactGroups', constraints: { MaxItems: 50, MinItems: 0 }, type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end