An organization-level grouping of agents.

interface TaskAgentPool {
    agentCloudId?: number;
    autoProvision?: boolean;
    autoSize?: boolean;
    autoUpdate?: boolean;
    createdBy?: IdentityRef;
    createdOn?: Date;
    id?: number;
    isHosted?: boolean;
    isLegacy?: boolean;
    name?: string;
    options?: TaskAgentPoolOptions;
    owner?: IdentityRef;
    poolType?: TaskAgentPoolType;
    properties?: any;
    scope?: string;
    size?: number;
    targetSize?: number;
}

Hierarchy (View Summary)

Properties

agentCloudId?: number

The ID of the associated agent cloud.

autoProvision?: boolean

Whether or not a queue should be automatically provisioned for each project collection.

autoSize?: boolean

Whether or not the pool should autosize itself based on the Agent Cloud Provider settings.

autoUpdate?: boolean

Whether or not agents in this pool are allowed to automatically update

createdBy?: IdentityRef

Creator of the pool. The creator of the pool is automatically added into the administrators group for the pool on creation.

createdOn?: Date

The date/time of the pool creation.

id?: number
isHosted?: boolean

Gets or sets a value indicating whether or not this pool is managed by the service.

isLegacy?: boolean

Determines whether the pool is legacy.

name?: string

Additional pool settings and details

owner?: IdentityRef

Owner or administrator of the pool.

Gets or sets the type of the pool

properties?: any
scope?: string
size?: number

Gets the current size of the pool.

targetSize?: number

Target parallelism - Only applies to agent pools that are backed by pool providers. It will be null for regular pools.