• Public
  • Public/Protected
  • All

Interface MongoRoleDefinitionCreateUpdateParameters

Package version

Parameters to create and update an Azure Cosmos DB Mongo Role Definition.


  • MongoRoleDefinitionCreateUpdateParameters



Optional databaseName

databaseName: undefined | string

The database name for which access is being granted for this Role Definition.

Optional privileges

privileges: Privilege[]

A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege.

Optional roleName

roleName: undefined | string

A user-friendly name for the Role Definition. Must be unique for the database account.

Optional roles

roles: Role[]

The set of roles inherited by this Role Definition.

Optional type

Indicates whether the Role Definition was built-in or user created.

Generated using TypeDoc