layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_identity_groups |
Use this data source to access information about existing Groups within Azure DevOps |
Use this data source to access information about existing Groups within Azure DevOps On-Premise(Azure DevOps Server).
data "azuredevops_project" "example" {
name = "Example Project"
}
# load all existing groups inside an organization
data "azuredevops_identity_groups" "example-all-groups" {
}
# load all existing groups inside a specific project
data "azuredevops_identity_groups" "example-project-groups" {
project_id = data.azuredevops_project.example.id
}
The following arguments are supported:
project_id
- (Optional) The Project ID. If no project ID is specified all groups of an organization will be returned
The following attributes are exported:
groups
- Agroups
blocks as documented below. A set of existing groups in your Azure DevOps Organization or project with details about every single group.
A groups
block supports the following:
-
id
- The ID of the Identity Group. -
descriptor
- The descriptor of the Identity Group. -
subject_descriptor
- The subject descriptor of the identity group. -
name
- This is the non-unique display name of the identity subject.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minute) Used when retrieving the Identity Groups.