MongoRoleDefinitionCreateUpdateParameters interface
Parameters to create and update an Azure Cosmos DB Mongo Role Definition.
Properties
database |
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. |
role |
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
type
Indicates whether the Role Definition was built-in or user created.
type?: MongoRoleDefinitionType
Property Value
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for