layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_user_entitlement |
Manages a user entitlement within Azure DevOps organization. |
Manages a user entitlement within Azure DevOps.
resource "azuredevops_user_entitlement" "example" {
principal_name = "[email protected]"
}
-
principal_name
- (Optional) The principal name is the PrincipalName of a graph member from the source provider. Usually, e-mail address. -
origin_id
- (Optional) The unique identifier from the system of origin. Typically a sid, object id or Guid. e.g. Used for member of other tenant on Azure Active Directory. -
origin
- (Optional) The type of source provider for the origin identifier. -
account_license_type
- (Optional) Type of Account License. Valid values:advanced
,earlyAdopter
,express
,none
,professional
, orstakeholder
. Defaults toexpress
. In addition the valuebasic
is allowed which is an alias forexpress
and reflects the name of theexpress
license used in the Azure DevOps web interface. -
licensing_source
- (Optional) The source of the licensing (e.g. Account. MSDN etc.) Valid values:account
(Default),auto
,msdn
,none
,profile
,trial
~> NOTE: A user can only be referenced by it's principal_name
or by the combination of origin_id
and origin
.
The following attributes are exported:
id
- The id of the entitlement.descriptor
- The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 10 minutes) Used when creating the User Entitlement.read
- (Defaults to 5 minute) Used when retrieving the User Entitlement.update
- (Defaults to 10 minutes) Used when updating the User Entitlement.delete
- (Defaults to 10 minutes) Used when deleting the User Entitlement.
This resource allows importing by the UUID of a user entitlement or by using the principal name of a user who owns the entitlement.
terraform import azuredevops_user_entitlement.example "00000000-0000-0000-0000-000000000000"
or
terraform import azuredevops_user_entitlement.example "[email protected]"
- Member Entitlement Management: Read & Write