azurerm_cosmosdb_mongo_role_definition

Nivis Nix constructor for the azurerm_cosmosdb_mongo_role_definition resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  cosmos_mongo_database_id,
  role_name,
  id ? null,
  inherited_role_names ? null,
  privilege ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cosmos_mongo_database_id
  • role_name
Optional arguments
  • id (defaults to null)
  • inherited_role_names (defaults to null)
  • privilege (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_cosmosdb_mongo_role_definition {
  name = "cosmosdb_mongo_role_definition";
  cosmos_mongo_database_id = …;  # required
  role_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.