Retrieves existing workers.

Changed on

Retrieves existing workers.

get/routing/workers

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

Query parameters

api-versionstring required

The API version to use for this operation.

maxpagesizeinteger

Number of objects to return per page.

state'active' | 'draining' | 'inactive' | 'all'

If specified, select workers by worker state.

channelIdstring

If specified, select workers who have a channel configuration with this channel.

queueIdstring

If specified, select workers who are assigned to this queue.

hasCapacityboolean

If set to true, select only workers who have capacity for the channel specified by channelId or for any channel if channelId not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false.

Response

The request has succeeded.

nextLinkstring uri

The link to the next page of items

Changes

    • info

      api operation id JobRouter_ListWorkers removed and replaced with JobRouterOperations_ListWorkers

    • info

      api tag Workers removed

    • warning

      deleted the query request parameter status

    1 more change in this revision