Share via


AgentPoolsOperations interface

Interface representing a AgentPools operations.

Properties

create

Creates an agent pool for a container registry with the specified parameters.

delete
get

Gets the detailed information for a given agent pool.

getQueueStatus

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

list

Lists all the agent pools for a specified container registry.

update

Updates an agent pool with the specified parameters.

Property Details

create

Creates an agent pool for a container registry with the specified parameters.

create: (resourceGroupName: string, registryName: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolsCreateOptionalParams) => PollerLike<OperationState<AgentPool>, AgentPool>

Property Value

(resourceGroupName: string, registryName: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolsCreateOptionalParams) => PollerLike<OperationState<AgentPool>, AgentPool>

delete

delete: (resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the detailed information for a given agent pool.

get: (resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsGetOptionalParams) => Promise<AgentPool>

Property Value

(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsGetOptionalParams) => Promise<AgentPool>

getQueueStatus

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

getQueueStatus: (resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsGetQueueStatusOptionalParams) => Promise<AgentPoolQueueStatus>

Property Value

(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsGetQueueStatusOptionalParams) => Promise<AgentPoolQueueStatus>

list

Lists all the agent pools for a specified container registry.

list: (resourceGroupName: string, registryName: string, options?: AgentPoolsListOptionalParams) => PagedAsyncIterableIterator<AgentPool, AgentPool[], PageSettings>

Property Value

(resourceGroupName: string, registryName: string, options?: AgentPoolsListOptionalParams) => PagedAsyncIterableIterator<AgentPool, AgentPool[], PageSettings>

update

Updates an agent pool with the specified parameters.

update: (resourceGroupName: string, registryName: string, agentPoolName: string, updateParameters: AgentPoolUpdateParameters, options?: AgentPoolsUpdateOptionalParams) => PollerLike<OperationState<AgentPool>, AgentPool>

Property Value

(resourceGroupName: string, registryName: string, agentPoolName: string, updateParameters: AgentPoolUpdateParameters, options?: AgentPoolsUpdateOptionalParams) => PollerLike<OperationState<AgentPool>, AgentPool>