class Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::ServiceBusTopicEventSubscriptionDestination

Information about the service bus topic destination for an event subscription.

Attributes

delivery_attribute_mappings[RW]

@return [Array<DeliveryAttributeMapping>] Delivery attribute details.

endpointType[RW]
resource_id[RW]

@return [String] The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceBusTopic',
    type: {
      name: 'Composite',
      class_name: 'ServiceBusTopicEventSubscriptionDestination',
      model_properties: {
        endpointType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'endpointType',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceId',
          type: {
            name: 'String'
          }
        },
        delivery_attribute_mappings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.deliveryAttributeMappings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DeliveryAttributeMappingElementType',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'type',
                  uber_parent: 'DeliveryAttributeMapping',
                  class_name: 'DeliveryAttributeMapping'
                }
            }
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb, line 17
def initialize
  @endpointType = "ServiceBusTopic"
end