azuread_directory_role_assignmentNivis Nix constructor for the azuread_directory_role_assignment resource (provider azuread). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
principal_object_id,
role_id,
app_scope_id ? null,
directory_scope_id ? null,
id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
principal_object_idrole_id
Optional arguments
app_scope_id(defaults tonull)directory_scope_id(defaults tonull)id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azuread_directory_role_assignment {
name = "directory_role_assignment";
principal_object_id = …; # required
role_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.