layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_team |
Use this data source to access information about an existing Team in a Project within Azure DevOps. |
Use this data source to access information about an existing Team in a Project within Azure DevOps.
resource "azuredevops_project" "example" {
name = "Example Project"
work_item_template = "Agile"
version_control = "Git"
visibility = "private"
description = "Managed by Terraform"
}
data "azuredevops_team" "example" {
project_id = azuredevops_project.example.id
name = "Example Project Team"
}
The following arguments are supported:
project_id
- (Required) The Project ID.name
- (Required) The name of the Team.top
- (Optional) The maximum number of teams to return. Defaults to100
.
The following attributes are exported:
id
- Team identifierdescriptor
- The descriptor of the Team.description
- Team description.administrators
- List of subject descriptors foradministrators
of the team.members
- List of subject descriptors formembers
of the team.
- vso.project: Grants the ability to read projects and teams.