Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 2.14 KB

securityrole_definitions.html.markdown

File metadata and controls

65 lines (38 loc) · 2.14 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_securityrole_definitions
Use this data source to access information about existing Security Role Definitions within a given scope in Azure DevOps.

Data Source: azuredevops_securityrole_definitions

Use this data source to access information about existing Security Role Definitions within a given scope in Azure DevOps.

Example Usage

data "azuredevops_securityrole_definitions" "example" {
  scope = "distributedtask.environmentreferencerole"
}

output "securityrole_definitions" {
  value = data.aazuredevops_securityrole_definitions.example.definitions
}

Argument Reference

The following arguments are supported:

  • scope - (Required) Name of the Scope for which Security Role Definitions will be returned.

~> NOTE: DataSource without specifying any arguments will return all projects.

Attributes Reference

The following attributes are exported:

  • definitions - A list of existing Security Role Definitions in a Scope in your Azure DevOps Organization with details about every definition which includes. A definitions block as defined below.

A definitions block exports the following:

  • name - The name of the Security Role Definition.

  • display_name - The display name of the Security Role Definition.

  • allow_permissions - The mask of allowed permissions of the Security Role Definition.

  • deny_permissions - The mask of the denied permissions of the Security Role Definition.

  • identifier - The identifier of the Security Role Definition.

  • description - The description of the Security Role Definition.

  • scope - The scope of the Security Role Definition.

Relevant Links

Timeouts

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

  • read - (Defaults to 5 minute) Used when retrieving the Security Role Definitions.