Creates an instance of QueueClient.
Account connection string or a SAS connection string of an Azure storage account.
[ Note - Account connection string can only be used in NODE.JS runtime. ]
Account connection string example -
DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net
SAS connection string example -
BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString
Queue name.
Creates an instance of QueueClient.
A URL string pointing to Azure Storage queue, such as "https://myaccount.queue.core.windows.net/myqueue". You can append a SAS if using AnonymousCredential, such as "https://myaccount.queue.core.windows.net/myqueue?sasString".
Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the @azure/identity package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.
Creates an instance of QueueClient.
A URL string pointing to Azure Storage queue, such as "https://myaccount.queue.core.windows.net/myqueue". You can append a SAS if using AnonymousCredential, such as "https://myaccount.queue.core.windows.net/myqueue?sasString".
Call newPipeline() to create a default pipeline, or provide a customized pipeline.
StorageClientContext is a reference to protocol layer operations entry, which is generated by AutoRest generator.
URL string value.
The name of the queue.
Clear deletes all messages from a queue.
Response data for the clear messages operation.
Creates a new queue under the specified account.
Response data for the Queue create operation.
Deletes the specified queue permanently.
Response data for the Queue delete operation.
deleteMessage permanently removes the specified message from its queue.
Id of the message.
A valid pop receipt value returned from an earlier call to the receive messages or update message operation.
Response data for the delete message operation.
Gets details about any stored access policies specified on the queue that may be used with Shared Access Signatures.
WARNING: JavaScript Date will potential lost precision when parsing start and expiry string. For example, new Date("2018-12-31T03:44:23.8827891Z").toISOString() will get "2018-12-31T03:44:23.882Z".
Response data for the Queue get access policy operation.
Gets all user-defined metadata and system properties for the specified queue. Metadata is associated with the queue as name-values pairs.
Response data for the Queue get properties operation.
peekMessages retrieves one or more messages from the front of the queue but does not alter the visibility of the message.
Response data for the peek messages operation.
receiveMessages retrieves one or more messages from the front of the queue.
Response data for the receive messages operation.
sendMessage adds a new message to the back of a queue. The visibility timeout specifies how long the message should be invisible to Dequeue and Peek operations. The message content is up to 64KB in size, and must be in a format that can be included in an XML request with UTF-8 encoding. To include markup in the message, the contents of the message must either be XML-escaped or Base64-encode.
Text of the message to send
Response data for the send messages operation.
Sets stored access policies for the queue that may be used with Shared Access Signatures.
Response data for the Queue set access policy operation.
Sets one or more user-defined name-value pairs for the specified queue.
If no option provided, or no metadata defined in the option parameter, the queue metadata will be removed.
Response data for the Queue set metadata operation.
Update changes a message's visibility timeout and contents. The message content is up to 64KB in size, and must be in a format that can be included in an XML request with UTF-8 encoding. To include markup in the message, the contents of the message must either be XML-escaped or Base64-encode.
Id of the message
A valid pop receipt value returned from an earlier call to the receive messages or update message operation.
Message to update.
Specifies the new visibility timeout value, in seconds, relative to server time. The new value must be larger than or equal to 0, and cannot be larger than 7 days. The visibility timeout of a message cannot be set to a value later than the expiry time. A message can be updated until it has been deleted or has expired.
Response data for the update message operation.
Generated using TypeDoc
A QueueClient represents a URL to an Azure Storage Queue's messages allowing you to manipulate its messages.
QueueClient