class Azure::Monitor::Mgmt::V2019_06_01::Models::WebhookReceiver

A webhook receiver.

Attributes

identifier_uri[RW]

@return [String] Indicates the identifier uri for aad auth.

name[RW]

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

object_id[RW]

@return [String] Indicates the webhook app object Id for aad auth.

service_uri[RW]

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

tenant_id[RW]

@return [String] Indicates the tenant id for aad auth.

use_aad_auth[RW]

@return [Boolean] Indicates whether or not use AAD authentication. Default value: false .

use_common_alert_schema[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb, line 43
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'
          }
        },
        use_aad_auth: {
          client_side_validation: true,
          required: false,
          serialized_name: 'useAadAuth',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        identifier_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identifierUri',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end