Sha256: 926cf87439c6dac885beb58f0f76818fdf1ff135dc42a8c620b323e40ba5d7b5

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Monitor
  module Models
    #
    # Webhook notification of an autoscale event.
    #
    class WebhookNotification

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] the service address to receive the notification.
      attr_accessor :service_uri

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


      #
      # Mapper for WebhookNotification class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.12.0 lib/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.11.0 lib/generated/azure_mgmt_monitor/models/webhook_notification.rb