class Azure::EventGrid::Mgmt::V2019_06_01::Models::StorageQueueEventSubscriptionDestination

Information about the storage queue destination for an event subscription.

Attributes

endpointType[RW]
queue_name[RW]

@return [String] The name of the Storage queue under a storage account that is the destination of an event subscription.

resource_id[RW]

@return [String] The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageQueue',
    type: {
      name: 'Composite',
      class_name: 'StorageQueueEventSubscriptionDestination',
      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'
          }
        },
        queue_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.queueName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb, line 17
def initialize
  @endpointType = "StorageQueue"
end