class Azure::ARM::Insights::Models::WebhookNotification

Webhook notification of an autoscale event.

Attributes

properties[RW]

@return [Hash{String => String}] a property bag of settings. This value can be empty.

service_uri[RW]

@return [String] the service address to receive the notification.

Public Class Methods

mapper() click to toggle source

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

# 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