class Azure::EventGrid::Mgmt::V2017_06_15_preview::Models::EventSubscriptionDestination

Information about the destination for an event subscription

Attributes

endpoint_base_url[RW]

@return [String] The base URL that represents the endpoint of the destination of an event subscription.

endpoint_type[RW]

@return [EndpointType] Type of the endpoint for the event subscription destination. Possible values include: 'WebHook'

endpoint_url[RW]

@return [String] The URL that represents the endpoint of the destination of an event subscription.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventSubscriptionDestination',
    type: {
      name: 'Composite',
      class_name: 'EventSubscriptionDestination',
      model_properties: {
        endpoint_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'endpointType',
          type: {
            name: 'String'
          }
        },
        endpoint_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.endpointUrl',
          type: {
            name: 'String'
          }
        },
        endpoint_base_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.endpointBaseUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end