QueueOperations interface

Interface representing a Queue operations.

Properties

create

Creates a new queue with the specified queue name, under the specified account.

delete

Deletes the queue with the specified queue name, under the specified account if it exists.

get

Gets the queue with the specified queue name, under the specified account if it exists.

list

Gets a list of all the queues under the specified storage account

update

Creates a new queue with the specified queue name, under the specified account.

Property Details

create

Creates a new queue with the specified queue name, under the specified account.

create: (resourceGroupName: string, accountName: string, queueName: string, queue: StorageQueue, options?: QueueCreateOptionalParams) => Promise<StorageQueue>

Property Value

(resourceGroupName: string, accountName: string, queueName: string, queue: StorageQueue, options?: QueueCreateOptionalParams) => Promise<StorageQueue>

delete

Deletes the queue with the specified queue name, under the specified account if it exists.

delete: (resourceGroupName: string, accountName: string, queueName: string, options?: QueueDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, queueName: string, options?: QueueDeleteOptionalParams) => Promise<void>

get

Gets the queue with the specified queue name, under the specified account if it exists.

get: (resourceGroupName: string, accountName: string, queueName: string, options?: QueueGetOptionalParams) => Promise<StorageQueue>

Property Value

(resourceGroupName: string, accountName: string, queueName: string, options?: QueueGetOptionalParams) => Promise<StorageQueue>

list

Gets a list of all the queues under the specified storage account

list: (resourceGroupName: string, accountName: string, options?: QueueListOptionalParams) => PagedAsyncIterableIterator<ListQueue, ListQueue[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: QueueListOptionalParams) => PagedAsyncIterableIterator<ListQueue, ListQueue[], PageSettings>

update

Creates a new queue with the specified queue name, under the specified account.

update: (resourceGroupName: string, accountName: string, queueName: string, queue: StorageQueue, options?: QueueUpdateOptionalParams) => Promise<StorageQueue>

Property Value

(resourceGroupName: string, accountName: string, queueName: string, queue: StorageQueue, options?: QueueUpdateOptionalParams) => Promise<StorageQueue>