Dela via


JobRouterAdministrationClient.UpdateQueue Method

Definition

Overloads

UpdateQueue(RouterQueue, RequestConditions, CancellationToken)

Updates a queue.

UpdateQueue(String, RequestContent, RequestConditions, RequestContext)

[Protocol Method] Updates a queue.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

UpdateQueue(RouterQueue, RequestConditions, CancellationToken)

Source:
JobRouterAdministrationClient.cs
Source:
JobRouterAdministrationClient.cs

Updates a queue.

public virtual Azure.Response<Azure.Communication.JobRouter.RouterQueue> UpdateQueue (Azure.Communication.JobRouter.RouterQueue queue, Azure.RequestConditions requestConditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateQueue : Azure.Communication.JobRouter.RouterQueue * Azure.RequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.RouterQueue>
override this.UpdateQueue : Azure.Communication.JobRouter.RouterQueue * Azure.RequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.RouterQueue>
Public Overridable Function UpdateQueue (queue As RouterQueue, Optional requestConditions As RequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RouterQueue)

Parameters

queue
RouterQueue

Queue to update. Uses merge-patch semantics: https://datatracker.ietf.org/doc/html/rfc7396.

requestConditions
RequestConditions

The content to send as the request conditions of the request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

queue is null.

The server returned an error. See Message for details returned from the server.

Applies to

UpdateQueue(String, RequestContent, RequestConditions, RequestContext)

Source:
JobRouterAdministrationClient.cs
Source:
JobRouterAdministrationClient.cs

[Protocol Method] Updates a queue.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response UpdateQueue (string queueId, Azure.Core.RequestContent content, Azure.RequestConditions requestConditions = default, Azure.RequestContext context = default);
abstract member UpdateQueue : string * Azure.Core.RequestContent * Azure.RequestConditions * Azure.RequestContext -> Azure.Response
override this.UpdateQueue : string * Azure.Core.RequestContent * Azure.RequestConditions * Azure.RequestContext -> Azure.Response
Public Overridable Function UpdateQueue (queueId As String, content As RequestContent, Optional requestConditions As RequestConditions = Nothing, Optional context As RequestContext = Nothing) As Response

Parameters

queueId
String

Id of a queue.

content
RequestContent

The content to send as the body of the request.

requestConditions
RequestConditions

The content to send as the request conditions of the request.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

queueId or content is null.

queueId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to