class Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::DeliveryWithResourceIdentity

Information about the delivery for an event subscription with resource identity.

Attributes

destination[RW]

@return [EventSubscriptionDestination] Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.

identity[RW]

@return [EventSubscriptionIdentity] The identity to use when delivering events.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeliveryWithResourceIdentity',
    type: {
      name: 'Composite',
      class_name: 'DeliveryWithResourceIdentity',
      model_properties: {
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'EventSubscriptionIdentity'
          }
        },
        destination: {
          client_side_validation: true,
          required: false,
          serialized_name: 'destination',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'endpointType',
            uber_parent: 'EventSubscriptionDestination',
            class_name: 'EventSubscriptionDestination'
          }
        }
      }
    }
  }
end