Class: Azure::AlertsManagement::Mgmt::V2019_03_01::Models::ActionGroupsInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb

Overview

The Action Groups information, used by the alert rule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#custom_email_subjectString

notifications.

Returns:

  • (String)

    An optional custom email subject to use in email



17
18
19
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb', line 17

def custom_email_subject
  @custom_email_subject
end

#custom_webhook_payloadString

notifications.

Returns:

  • (String)

    An optional custom web-hook payload to use in web-hook



21
22
23
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb', line 21

def custom_webhook_payload
  @custom_webhook_payload
end

#group_idsArray<String>

Returns The Action Group resource IDs.

Returns:

  • (Array<String>)

    The Action Group resource IDs.



24
25
26
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/action_groups_information.rb', line 24

def group_ids
  @group_ids
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# 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