MongoRoleDefinitionCreateUpdateParameters interface

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

Properties

databaseName

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

privileges

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.

roleName

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

roles

The set of roles inherited by this Role Definition.

type

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

Property Details

databaseName

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

databaseName?: string

Property Value

string

privileges

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.

privileges?: Privilege[]

Property Value

roleName

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

roleName?: string

Property Value

string

roles

The set of roles inherited by this Role Definition.

roles?: Role[]

Property Value

Role[]

type

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

type?: MongoRoleDefinitionType

Property Value