agent_pools_queue_status
Creates, updates, deletes, gets or lists an agent_pools_queue_status
resource.
Overview
Name | agent_pools_queue_status |
Type | Resource |
Id | azure.container_registry.agent_pools_queue_status |
Fields
The following fields are returned by SELECT
queries:
- get
The request was successful; the request was well-formed and received properly.
Name | Datatype | Description |
---|---|---|
count | integer (int32) | The number of pending runs in the queue |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , registryName , agentPoolName | Gets 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.
Name | Datatype | Description |
---|---|---|
agentPoolName | string | The name of the agent pool. |
registryName | string | The name of the container registry. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
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
;