Skip to main content

agent_pools_queue_status

Creates, updates, deletes, gets or lists an agent_pools_queue_status resource.

Overview

Nameagent_pools_queue_status
TypeResource
Idazure.container_registry.agent_pools_queue_status

Fields

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
countinteger (int32)The number of pending runs in the queue

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, registryName, agentPoolNameGets the count of queued runs for a given agent pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agentPoolNamestringThe name of the agent pool.
registryNamestringThe name of the container registry.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the count of queued runs for a given agent pool.

SELECT
count
FROM azure.container_registry.agent_pools_queue_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND registryName = '{{ registryName }}' -- required
AND agentPoolName = '{{ agentPoolName }}' -- required
;