Udostępnij za pośrednictwem


ContainerRegistryAgentPoolResource.GetQueueStatusAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus
  • Operation Id: AgentPools_GetQueueStatus
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryAgentPoolQueueStatus>> GetQueueStatusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetQueueStatusAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryAgentPoolQueueStatus>>
override this.GetQueueStatusAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryAgentPoolQueueStatus>>
Public Overridable Function GetQueueStatusAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerRegistryAgentPoolQueueStatus))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to