Microsoft.QueueStorage (stable:2026-02-06)

2025/09/08 • 17 new methods

Service_SetProperties (new)
Description Sets properties for a storage account's Queue service endpoint, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules
Reference Link ¶

⚼ Request

PUT:  /?restype=service&comp=properties
{
StorageServiceProperties:
{
Logging:
{
Version: string ,
Delete: boolean ,
Read: boolean ,
Write: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
HourMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
MinuteMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
Cors:
[
{
AllowedOrigins: string ,
AllowedMethods: string ,
AllowedHeaders: string ,
ExposedHeaders: string ,
MaxAgeInSeconds: integer ,
}
,
]
,
}
,
timeout: integer ,
x-ms-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (202)

{
x-ms-request-id: string ,
x-ms-version: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Service_GetProperties (new)
Description gets the properties of a storage account's Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶


⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
Logging:
{
Version: string ,
Delete: boolean ,
Read: boolean ,
Write: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
HourMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
MinuteMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
Cors:
[
{
AllowedOrigins: string ,
AllowedMethods: string ,
AllowedHeaders: string ,
ExposedHeaders: string ,
MaxAgeInSeconds: integer ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Service_GetStatistics (new)
Description Retrieves statistics related to replication for the Queue service. It is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the storage account.
Reference Link ¶


⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
GeoReplication:
{
Status: enum ,
LastSyncTime: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Service_GetUserDelegationKey (new)
Description Retrieves a user delegation key for the Queue service. This is only a valid operation when using bearer token authentication.
Reference Link ¶


⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
SignedOid: string ,
SignedTid: string ,
SignedStart: string ,
SignedExpiry: string ,
SignedService: string ,
SignedVersion: string ,
Value: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Service_ListQueuesSegment (new)
Description The List Queues Segment operation returns a list of the queues under the specified account
Reference Link ¶

⚼ Request

GET:  /?comp=list
{
prefix: string ,
marker: string ,
maxresults: integer ,
include: array ,
x-ms-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
ServiceEndpoint: string ,
Prefix: string ,
Marker: string ,
MaxResults: integer ,
QueueItems:
[
{
Name: string ,
Metadata: object ,
}
,
]
,
NextMarker: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Queue_Create (new)
Description creates a new queue under the given account.
Reference Link ¶


⚐ Response (201)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (204)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Queue_Delete (new)
Queue_GetProperties (new)
Description Retrieves user-defined metadata and queue properties on the specified queue. Metadata is associated with the queue as name-values pairs.
Reference Link ¶


⚐ Response (200)

{
x-ms-meta: string ,
x-ms-approximate-messages-count: integer ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Queue_SetMetadata (new)
Description sets user-defined metadata on the specified queue. Metadata is associated with the queue as name-value pairs.
Reference Link ¶


⚐ Response (204)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Queue_GetAccessPolicy (new)
Description returns details about any stored access policies specified on the queue that may be used with Shared Access Signatures.
Reference Link ¶


⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
Id: string ,
AccessPolicy:
{
Start: string ,
Expiry: string ,
Permission: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Queue_SetAccessPolicy (new)
Description sets stored access policies for the queue that may be used with Shared Access Signatures
Reference Link ¶


⚐ Response (204)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Messages_Dequeue (new)
Description The Dequeue operation retrieves one or more messages from the front of the queue.
Reference Link ¶


⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
MessageId: string ,
InsertionTime: string ,
ExpirationTime: string ,
PopReceipt: string ,
TimeNextVisible: string ,
DequeueCount: integer ,
MessageText: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Messages_Clear (new)
Messages_Enqueue (new)
Description The Enqueue operation adds a new message to the back of the message queue. A visibility timeout can also be specified to make the message invisible until the visibility timeout expires. A message must be in a format that can be included in an XML request with UTF-8 encoding. The encoded message can be up to 64 KB in size for versions 2011-08-18 and newer, or 8 KB in size for previous versions.
Reference Link ¶

⚼ Request

POST:  /{queueName}/messages
{
QueueMessage:
{
MessageText: string ,
}
,
visibilitytimeout: integer ,
messagettl: integer ,
x-ms-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (201)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
MessageId: string ,
InsertionTime: string ,
ExpirationTime: string ,
PopReceipt: string ,
TimeNextVisible: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
Messages_Peek (new)
Description The Peek operation retrieves one or more messages from the front of the queue, but does not alter the visibility of the message.
Reference Link ¶


⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
MessageId: string ,
InsertionTime: string ,
ExpirationTime: string ,
DequeueCount: integer ,
MessageText: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
MessageId_Update (new)
Description The Update operation was introduced with version 2011-08-18 of the Queue service API. The Update Message operation updates the visibility timeout of a message. You can also use this operation to update the contents of a message. A message must be in a format that can be included in an XML request with UTF-8 encoding, and the encoded message can be up to 64KB in size.
Reference Link ¶


⚐ Response (204)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-popreceipt: string ,
x-ms-time-next-visible: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
}
,
}
MessageId_Delete (new)