Optional
options: IRequestOptionsStatic
Readonly
RESOURCE_Create an agent pool.
Details about the new agent pool
Create a new agent queue to connect a project to an agent pool.
Details about the queue to create
Optional
project: stringProject ID or project name
Optional
authorizePipelines: booleanAutomatically authorize this queue when using YAML
Create a deployment group.
Deployment group to create.
Project ID or project name
Project ID or project name
Project ID or project name
Register a deployment target to a deployment group. Generally this is called by agent configuration tool.
Deployment target to register.
Project ID or project name
ID of the deployment group to which the deployment target is registered.
Create an environment.
Environment to create.
Project ID or project name
Project ID or project name
Create a task group.
Task group object to create.
Project ID or project name
Add a variable group.
Project ID or project name
Optional
promptOption: AadLoginPromptOptionOptional
completeCallbackPayload: stringOptional
completeCallbackByAuthCode: booleanOptional
apiVersion: stringOptional
apiVersion: stringCreate a new team project.
Optional
project: stringProject ID or project name
Delete an agent. You probably don't want to call this endpoint directly. Instead, use the agent configuration script to remove an agent from your organization.
The pool ID to remove the agent from
The agent ID to remove
Delete an agent pool.
ID of the agent pool to delete
Removes an agent queue from a project.
The agent queue to remove
Optional
project: stringProject ID or project name
Optional
result: TaskResultOptional
agentShuttingDown: booleanDelete a deployment group.
Project ID or project name
ID of the deployment group to be deleted.
Project ID or project name
Delete a deployment target in a deployment group. This deletes the agent from associated deployment pool too.
Project ID or project name
ID of the deployment group in which deployment target is deleted.
ID of the deployment target to delete.
Delete the specified environment.
Project ID or project name
ID of the environment.
Delete a secure file
Project ID or project name
The unique secure file Id
Delete a task group.
Project ID or project name
Id of the task group to be deleted.
Optional
comment: stringComments to delete.
Delete a variable group
Id of the variable group.
Download a secure file by Id
Project ID or project name
The unique secure file Id
A valid download ticket
Optional
download: booleanIf download is true, the file is sent as attachement in the response body. If download is false, the response body contains the file stream.
GET a PAT token for managing (configuring, removing, tagging) deployment targets in a deployment group.
Project ID or project name
ID of the deployment group in which deployment targets are managed.
GET a PAT token for managing (configuring, removing, tagging) deployment agents in a deployment pool.
ID of the deployment pool in which deployment agents are managed.
Get information about an agent.
The agent pool containing the agent
The agent ID to get information about
Optional
includeCapabilities: booleanWhether to include the agent's capabilities in the response
Optional
includeAssignedRequest: booleanWhether to include details about the agent's current work
Optional
includeLastCompletedRequest: booleanWhether to include details about the agents' most recent completed work
Optional
propertyFilters: string[]Filter which custom properties will be returned
Get agent cloud types.
Get information about an agent pool.
An agent pool ID
Optional
properties: string[]Agent pool properties (comma-separated)
Optional
actionFilter: TaskAgentPoolActionFilterFilter by whether the calling user has use or manage permissions
Optional
definitionId: numberGet a list of agent pools.
Optional
poolName: stringFilter by name
Optional
properties: string[]Filter by agent pool properties (comma-separated)
Optional
poolType: TaskAgentPoolTypeFilter by pool type
Optional
actionFilter: TaskAgentPoolActionFilterFilter by whether the calling user has use or manage permissions
Get a list of agent pools.
pool Ids to fetch
Optional
actionFilter: TaskAgentPoolActionFilterFilter by whether the calling user has use or manage permissions
Get information about an agent queue.
The agent queue to get information about
Optional
project: stringProject ID or project name
Optional
actionFilter: TaskAgentQueueActionFilterFilter by whether the calling user has use or manage permissions
Get a list of agent queues.
Optional
project: stringProject ID or project name
Optional
queueName: stringFilter on the agent queue name
Optional
actionFilter: TaskAgentQueueActionFilterFilter by whether the calling user has use or manage permissions
Get a list of agent queues by their IDs
A comma-separated list of agent queue IDs to retrieve
Optional
project: stringProject ID or project name
Optional
actionFilter: TaskAgentQueueActionFilterFilter by whether the calling user has use or manage permissions
Get a list of agent queues by their names
A comma-separated list of agent names to retrieve
Optional
project: stringProject ID or project name
Optional
actionFilter: TaskAgentQueueActionFilterFilter by whether the calling user has use or manage permissions
Get a list of agent queues by pool ids
A comma-separated list of pool ids to get the corresponding queues for
Optional
project: stringProject ID or project name
Optional
actionFilter: TaskAgentQueueActionFilterFilter by whether the calling user has use or manage permissions
Optional
includeStatus: booleanOptional
continuationToken: stringOptional
completedRequestCount: numberOptional
agentIds: number[]Optional
completedRequestCount: numberProject ID or project name
Optional
completedRequestCount: numberProject ID or project name
Optional
machineIds: number[]Optional
completedRequestCount: numberGet agent requests for a deployment target.
Project ID or project name
ID of the deployment group to which the target belongs.
ID of the deployment target.
Optional
completedRequestCount: numberMaximum number of completed requests to return. Default is 50
Get agent requests for a list deployment targets.
Project ID or project name
ID of the deployment group to which the targets belong.
Optional
targetIds: number[]Comma separated list of IDs of the deployment targets.
Optional
ownerId: numberId of owner of agent job request.
Optional
completedOn: DateDatetime to return request after this time.
Optional
completedRequestCount: numberMaximum number of completed requests to return for each target. Default is 50
Optional
jobId: stringProject ID or project name
Optional
continuationToken: stringGet a list of agents.
The agent pool containing the agents
Optional
agentName: stringFilter on agent name
Optional
includeCapabilities: booleanWhether to include the agents' capabilities in the response
Optional
includeAssignedRequest: booleanWhether to include details about the agents' current work
Optional
includeLastCompletedRequest: booleanWhether to include details about the agents' most recent completed work
Optional
propertyFilters: string[]Filter which custom properties will be returned
Optional
demands: string[]Filter by demands the agents can satisfy
Returns list of azure subscriptions
Returns list of azure subscriptions
Get a deployment group by its ID.
Project ID or project name
ID of the deployment group.
Optional
actionFilter: DeploymentGroupActionFilterGet the deployment group only if this action can be performed on it.
Optional
expand: DeploymentGroupExpandsInclude these additional details in the returned object.
Get a list of deployment groups by name or IDs.
Project ID or project name
Optional
name: stringName of the deployment group.
Optional
actionFilter: DeploymentGroupActionFilterGet only deployment groups on which this action can be performed.
Optional
expand: DeploymentGroupExpandsInclude these additional details in the returned objects.
Optional
continuationToken: stringGet deployment groups with names greater than this continuationToken lexicographically.
Optional
top: numberMaximum number of deployment groups to return. Default is 1000.
Optional
ids: number[]Comma separated list of IDs of the deployment groups.
Get a list of deployment group metrics.
Project ID or project name
Optional
deploymentGroupName: stringName of the deployment group.
Optional
continuationToken: stringGet metrics for deployment groups with names greater than this continuationToken lexicographically.
Optional
top: numberMaximum number of deployment group metrics to return. Default is 50.
Project ID or project name
Optional
expand: DeploymentMachineExpandsProject ID or project name
Optional
actionFilter: MachineGroupActionFilterProject ID or project name
Optional
tagFilters: string[]Project ID or project name
Optional
machineGroupName: stringOptional
actionFilter: MachineGroupActionFilterProject ID or project name
Optional
tags: string[]Optional
name: stringOptional
expand: DeploymentMachineExpandsGet a list of deployment pool summaries.
Optional
poolName: stringName of the deployment pool.
Optional
expands: DeploymentPoolSummaryExpandsInclude these additional details in the returned objects.
Optional
poolIds: number[]List of deployment pool ids.
Get a deployment target by its ID in a deployment group
Project ID or project name
ID of the deployment group to which deployment target belongs.
ID of the deployment target to return.
Optional
expand: DeploymentTargetExpandsInclude these additional details in the returned objects.
Get a list of deployment targets in a deployment group.
Project ID or project name
ID of the deployment group.
Optional
tags: string[]Get only the deployment targets that contain all these comma separted list of tags.
Optional
name: stringName pattern of the deployment targets to return.
Optional
partialNameMatch: booleanWhen set to true, treats name as pattern. Else treats it as absolute match. Default is false.
Optional
expand: DeploymentTargetExpandsInclude these additional details in the returned objects.
Optional
agentStatus: TaskAgentStatusFilterGet only deployment targets that have this status.
Optional
agentJobResult: TaskAgentJobResultFilterGet only deployment targets that have this last job result.
Optional
continuationToken: stringGet deployment targets with names greater than this continuationToken lexicographically.
Optional
top: numberMaximum number of deployment targets to return. Default is 1000.
Optional
enabled: booleanGet only deployment targets that are enabled or disabled. Default is 'null' which returns all the targets.
Optional
propertyFilters: string[]Get an environment by its ID.
Project ID or project name
ID of the environment.
Optional
expands: EnvironmentExpandsInclude these additional details in the returned objects.
Get environment deployment execution history
Project ID or project name
Optional
continuationToken: stringOptional
top: numberGet all environments.
Project ID or project name
Optional
name: stringOptional
continuationToken: stringOptional
top: numberProject ID or project name
Optional
lastMessageId: numberOptional
platform: stringOptional
top: numberOptional
parallelismTag: stringOptional
poolIsHosted: booleanOptional
includeRunningRequests: booleanGet a secure file
Project ID or project name
The unique secure file Id
Optional
includeDownloadTicket: booleanIf includeDownloadTicket is true and the caller has permissions, a download ticket is included in the response.
Optional
actionFilter: SecureFileActionFilterGet secure files
Project ID or project name
Optional
namePattern: stringName of the secure file to match. Can include wildcards to match multiple files.
Optional
includeDownloadTickets: booleanIf includeDownloadTickets is true and the caller has permissions, a download ticket for each secure file is included in the response.
Optional
actionFilter: SecureFileActionFilterFilter by secure file permissions for View, Manage or Use action. Defaults to View.
Get secure files
Project ID or project name
A list of secure file Ids
Optional
includeDownloadTickets: booleanIf includeDownloadTickets is true and the caller has permissions, a download ticket for each secure file is included in the response.
Optional
actionFilter: SecureFileActionFilterGet secure files
Project ID or project name
A list of secure file Ids
Optional
includeDownloadTickets: booleanIf includeDownloadTickets is true and the caller has permissions, a download ticket for each secure file is included in the response.
Optional
actionFilter: SecureFileActionFilterGet task group.
Project ID or project name
Id of the task group.
version specification of the task group. examples: 1, 1.0.
Optional
expand: TaskGroupExpandsThe properties that should be expanded. example $expand=Tasks will expand nested task groups.
Project ID or project name
List task groups.
Project ID or project name
Optional
taskGroupId: stringId of the task group.
Optional
expanded: boolean'true' to recursively expand task groups. Default is 'false'.
Optional
taskIdFilter: stringGuid of the taskId to filter.
Optional
deleted: boolean'true'to include deleted task groups. Default is 'false'.
Optional
top: numberNumber of task groups to get.
Optional
continuationToken: DateGets the task groups after the continuation token provided.
Optional
queryOrder: TaskGroupQueryOrderGets the results in the defined order. Default is 'CreatedOnDescending'.
Optional
includeEnterpriseUsersCount: booleanOptional
includeHostedAgentMinutesCount: booleanGet a variable group.
Project ID or project name
Id of the variable group.
Get variable groups.
Project ID or project name
Optional
groupName: stringName of variable group.
Optional
actionFilter: VariableGroupActionFilterAction filter for the variable group. It specifies the action which can be performed on the variable groups.
Optional
top: numberNumber of variable groups to get.
Optional
continuationToken: numberGets the variable groups after the continuation token provided.
Optional
queryOrder: VariableGroupQueryOrderGets the results in the defined order. Default is 'IdDescending'.
Get variable groups by ids.
Project ID or project name
Comma separated list of Ids of variable groups.
Optional
loadSecrets: booleanProject ID or project name
Project ID or project name
Optional
continuationToken: stringOptional
name: stringOptional
partialNameMatch: booleanOptional
tags: string[]Optional
top: numberGET the Yaml schema used for Yaml file validation.
Optional
validateTaskNames: booleanWhether the schema should validate that tasks are actually installed (useful for offline tools where you don't want validation).
Checks if current identity has passed permissions on a pool.
Id of the pool to check
Permissions to check. Multiple permissions might be merged into single value using bitwise OR operator (e.g. AgentPoolPermissions.Manage | AgentPoolPermissions.View)
Project ID or project name
Proxy for a GET request defined by an 'endpoint'. The request is authorized using a service connection. The response is filtered using an XPath/Json based selector.
Describes the URL to fetch.
Query secure files using a name pattern and a condition on file properties.
The main condition syntax is described here. Use the property('property-name') function to access the value of the specified property of a secure file. It returns null if the property is not set. E.g. and( eq( property('devices'), '2' ), in( property('provisioning profile type'), 'ad hoc', 'development' ) )
Project ID or project name
Optional
namePattern: stringName of the secure file to match. Can include wildcards to match multiple files.
Project ID or project name
Project ID or project name
Upgrade the deployment targets in a deployment group.
Project ID or project name
ID of the deployment group.
Replace an agent. You probably don't want to call this endpoint directly. Instead, use the agent configuration script to remove and reconfigure an agent from your organization.
Updated details about the replacing agent
The agent pool to use
The agent to replace
Project ID or project name
Replace a deployment target in a deployment group. Generally this is called by agent configuration tool.
New deployment target.
Project ID or project name
ID of the deployment group in which deployment target is replaced.
ID of the deployment target to replace.
Add a variable group.
Update properties on an agent pool
Updated agent pool details
The agent pool to update
Optional
updateOptions: TaskAgentRequestUpdateOptionsUpdate a deployment group.
Deployment group to update.
Project ID or project name
ID of the deployment group.
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
Update a deployment target and its agent properties in a deployment group. Generally this is called by agent configuration tool.
Deployment target to update.
Project ID or project name
ID of the deployment group in which deployment target is updated.
ID of the deployment target to update.
Update tags of a list of deployment targets in a deployment group.
Deployment targets with tags to udpdate.
Project ID or project name
ID of the deployment group in which deployment targets are updated.
Update the specified environment.
Environment data to update.
Project ID or project name
ID of the environment.
Update the name or properties of an existing secure file
The secure file with updated name and/or properties
Project ID or project name
The unique secure file Id
Update properties and/or names of a set of secure files. Files are identified by their IDs. Properties provided override the existing one entirely, i.e. do not merge.
A list of secure file objects. Only three field must be populated Id, Name, and Properties. The rest of fields in the object are ignored.
Project ID or project name
Update a task group.
Task group to update.
Project ID or project name
Optional
taskGroupId: stringId of the task group to update.
Project ID or project name
Optional
disablePriorVersions: booleanUpdate a variable group.
Id of the variable group to update.
Project ID or project name
Project ID or project name
Upload a secure file, include the file stream in the request body
Content to upload
Project ID or project name
Name of the file to upload
Optional
authorizePipelines: booleanIf authorizePipelines is true, then the secure file is authorized for use by all pipelines in the project.
Adds an agent to a pool. You probably don't want to call this endpoint directly. Instead, configure an agent using the agent download package.