Creates or updates a queue.

Changed on

Creates or updates a queue.

patch/routing/queues/{queueId}

Request

  • Base URL
    {endpoint}
  • Auth
    OAuth 2
    Authorization codehttps://login.microsoftonline.com/common/oauth2/authorize
    Token URLhttps://login.microsoftonline.com/common/oauth2/token
    Scopeshttps://communication.azure.com/.default

Path parameters

queueIdstring required

Id of a queue.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

If-Matchstring

The request should only proceed if an entity matches this string.

If-Unmodified-Sincestring date-time-rfc7231

The request should only proceed if the entity was not modified after this time.

Request body

namestring

Friendly name of this queue.

distributionPolicyIdstring

Id of a distribution policy that will determine how a job is distributed to workers.

labelsobject

A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean.

exceptionPolicyIdstring

Id of an exception policy that determines various job escalation rules.

Response

The request has succeeded.

etagstring required

The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.

It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34".

idstring required

Id of a queue.

namestring

Friendly name of this queue.

distributionPolicyIdstring

Id of a distribution policy that will determine how a job is distributed to workers.

labelsobject

A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean.

exceptionPolicyIdstring

Id of an exception policy that determines various job escalation rules.

Changes

    • breaking

      removed the success response with the status

    • warning

      the optional response header ETag removed for the status 200

    • warning

      the optional response header Last-Modified removed for the status 200

    5 more changes in this revision