Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.8 KB

identity_groups.html.markdown

File metadata and controls

61 lines (38 loc) · 1.8 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_identity_groups
Use this data source to access information about existing Groups within Azure DevOps

Data Source: azuredevops_identity_groups

Use this data source to access information about existing Groups within Azure DevOps On-Premise(Azure DevOps Server).

Example Usage

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
}

Argument Reference

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

Attributes Reference

The following attributes are exported:

  • groups - A groups 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.

Relevant Links

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minute) Used when retrieving the Identity Groups.