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. |
Use this data source to access information about existing Security Role Definitions within a given scope in Azure DevOps.
data "azuredevops_securityrole_definitions" "example" {
scope = "distributedtask.environmentreferencerole"
}
output "securityrole_definitions" {
value = data.aazuredevops_securityrole_definitions.example.definitions
}
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.
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. Adefinitions
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.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minute) Used when retrieving the Security Role Definitions.