class Azure::AlertsManagement::Mgmt::V2019_03_01::Models::ActionGroupsInformation

The Action Groups information, used by the alert rule.

Attributes

custom_email_subject[RW]

@return [String] An optional custom email subject to use in email notifications.

custom_webhook_payload[RW]

@return [String] An optional custom web-hook payload to use in web-hook notifications.

group_ids[RW]

@return [Array<String>] The Action Group resource IDs.

Public Class Methods

mapper() click to toggle source

Mapper for ActionGroupsInformation class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ActionGroupsInformation',
    type: {
      name: 'Composite',
      class_name: 'ActionGroupsInformation',
      model_properties: {
        custom_email_subject: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customEmailSubject',
          type: {
            name: 'String'
          }
        },
        custom_webhook_payload: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customWebhookPayload',
          type: {
            name: 'String'
          }
        },
        group_ids: {
          client_side_validation: true,
          required: true,
          serialized_name: 'groupIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end