class Azure::EventGrid::Mgmt::V2019_01_01::Models::StorageBlobDeadLetterDestination

Information about the storage blob based dead letter destination.

Attributes

blob_container_name[RW]

@return [String] The name of the Storage blob container that is the destination of the deadletter events

endpointType[RW]
resource_id[RW]

@return [String] The Azure Resource ID of the storage account that is the destination of the deadletter events. For example: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/microsoft.Storage/storageAccounts/{StorageAccountName}

Public Class Methods

mapper() click to toggle source

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

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