layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_service_principal_entitlement |
Manages a Service Principal Entitlement. |
Manages a Service Principal Entitlement.
resource "azuredevops_service_principal_entitlement" "example" {
origin_id = "00000000-0000-0000-0000-000000000000"
}
The following arguments are supported:
origin_id
- (Required) The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
-
account_license_type
- (Optional) Type of Account License. Possible values are: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.) Possible values are:account
(Default),auto
,msdn
,none
,profile
,trial
-
origin
- (Optional) The type of source provider for the origin identifier.
In addition to the Arguments listed above - the following Attributes are exported:
-
id
- The ID of the Service Principal 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. -
display_name
- The display name of service principal.
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 minutes) Used when creating the Service Principal Entitlement.read
- (Defaults to 2 minutes) Used when retrieving the Service Principal Entitlement.update
- (Defaults to 5 minutes) Used when updating the Service Principal Entitlement.delete
- (Defaults to 5 minutes) Used when deleting the Service Principal Entitlement.
Service Principal Entitlements can be imported using the resource id
.
The resource id
can be found using DEV Tools in the Users
section of the ADO organization.
terraform import azuredevops_service_principal_entitlement.example 8480c6eb-ce60-47e9-88df-eca3c801638b