Sha256: 66af8033fb6c089653939109e5f275723ffe09e8c21b87b5194d3b43781cfbbb

Contents?: true

Size: 1.81 KB

Versions: 12

Compression:

Stored size: 1.81 KB

Contents

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

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

      include MsRestAzure

      # @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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'WebhookNotification',
          type: {
            name: 'Composite',
            class_name: 'WebhookNotification',
            model_properties: {
              service_uri: {
                client_side_validation: true,
                required: false,
                serialized_name: 'serviceUri',
                type: {
                  name: 'String'
                }
              },
              properties: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.18.0 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.6 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.5 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.4 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.3 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.2 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.1 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.17.0 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.16.1 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.16.0 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb
azure_mgmt_monitor-0.15.2 lib/2015-04-01/generated/azure_mgmt_monitor/models/webhook_notification.rb