Class: Azure::ARM::Insights::Models::WebhookNotification

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_insights/models/webhook_notification.rb

Overview

Webhook notification of an autoscale event.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#propertiesHash{String => String}

can be empty.

Returns:

  • (Hash{String => String})

    a property bag of settings. This value



20
21
22
# File 'lib/generated/azure_mgmt_insights/models/webhook_notification.rb', line 20

def properties
  @properties
end

#service_uriString

Returns the service address to receive the notification.

Returns:

  • (String)

    the service address to receive the notification.



16
17
18
# File 'lib/generated/azure_mgmt_insights/models/webhook_notification.rb', line 16

def service_uri
  @service_uri
end

Class Method Details

.mapperObject

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



27
28
29
30
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
# File 'lib/generated/azure_mgmt_insights/models/webhook_notification.rb', line 27

def self.mapper()
  {
    required: false,
    serialized_name: 'WebhookNotification',
    type: {
      name: 'Composite',
      class_name: 'WebhookNotification',
      model_properties: {
        service_uri: {
          required: false,
          serialized_name: 'serviceUri',
          type: {
            name: 'String'
          }
        },
        properties: {
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end