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
. This property is deprecated and will be removed in the feature
The following attributes are exported:
-
id
- The ID of the Team. -
descriptor
- The descriptor of the Team. -
description
- The description of the team. -
administrators
- List of subject descriptors foradministrators
of the team. -
members
- List of subject descriptors formembers
of the team.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minute) Used when retrieving the Team.
- vso.project: Grants the ability to read projects and teams.