Class: Azure::ARM::Monitor::Models::WebhookNotification

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_monitor/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



21
22
23
# File 'lib/generated/azure_mgmt_monitor/models/webhook_notification.rb', line 21

def properties
  @properties
end

#service_uriString

Returns the service address to receive the notification.

Returns:

  • (String)

    the service address to receive the notification.



17
18
19
# File 'lib/generated/azure_mgmt_monitor/models/webhook_notification.rb', line 17

def service_uri
  @service_uri
end

Class Method Details

.mapperObject

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



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
60
# File 'lib/generated/azure_mgmt_monitor/models/webhook_notification.rb', line 28

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