MongoRoleDefinitionGetResults Class
An Azure Cosmos DB Mongo Role Definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.cosmosdb.models._models_py3.ARMProxyResourceMongoRoleDefinitionGetResults
Constructor
MongoRoleDefinitionGetResults(*, role_name: str | None = None, type_properties_type: str | _models.MongoRoleDefinitionType | None = None, database_name: str | None = None, privileges: List[_models.Privilege] | None = None, roles: List[_models.Role] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
role_name
|
A user-friendly name for the Role Definition. Must be unique for the database account. |
type_properties_type
|
Indicates whether the Role Definition was built-in or user created. Known values are: "BuiltInRole" and "CustomRole". |
database_name
|
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. |
roles
|
The set of roles inherited by this Role Definition. |
Variables
Name | Description |
---|---|
id
|
The unique resource identifier of the database account. |
name
|
The name of the database account. |
type
|
The type of Azure resource. |
role_name
|
A user-friendly name for the Role Definition. Must be unique for the database account. |
type_properties_type
|
Indicates whether the Role Definition was built-in or user created. Known values are: "BuiltInRole" and "CustomRole". |
database_name
|
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. |
roles
|
The set of roles inherited by this Role Definition. |
Azure SDK for Python