azuread_directory_role_assignment

Nivis 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_id
  • role_id
Optional arguments
  • app_scope_id (defaults to null)
  • directory_scope_id (defaults to null)
  • id (defaults to null)
  • timeouts (defaults to null)
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.