| layout | page_title | description |
|---|---|---|
azuredevops |
AzureDevops: azuredevops_agent_pool |
Use this data source to access information about an existing Agent Pool within Azure DevOps. |
Use this data source to access information about an existing Agent Pool within Azure DevOps.
data "azuredevops_agent_pool" "pool" {
name = "Sample Agent Pool"
}
output "name" {
value = data.azuredevops_agent_pool.pool.name
}
output "pool_type" {
value = data.azuredevops_agent_pool.pool.pool_type
}
output "auto_provision" {
value = data.azuredevops_agent_pool.pool.auto_provision
}The following arguments are supported:
name- (Required) Name of the Agent Pool.
The following attributes are exported:
name - The name of the agent pool
pool_type - Specifies whether the agent pool type is Automation or Deployment.
auto_provision - Specifies whether or not a queue should be automatically provisioned for each project collection.