class Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver

A webhook receiver.

Attributes

name[RW]

@return [String] The name of the webhook receiver. Names must be unique across all receivers within an action group.

service_uri[RW]

@return [String] The URI where webhooks should be sent.

use_common_alert_schema[RW]

@return [Boolean] Indicates whether to use common alert schema.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WebhookReceiver',
    type: {
      name: 'Composite',
      class_name: 'WebhookReceiver',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        service_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'serviceUri',
          type: {
            name: 'String'
          }
        },
        use_common_alert_schema: {
          client_side_validation: true,
          required: true,
          serialized_name: 'useCommonAlertSchema',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end