RoleDefinition Class
Role definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.authorization._serialization.ModelRoleDefinition
Constructor
RoleDefinition(*, role_name: str | None = None, description: str | None = None, role_type: str | None = None, permissions: List[_models.Permission] | None = None, assignable_scopes: List[str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
role_name
|
The role name. |
description
|
The role definition description. |
role_type
|
The role type. |
permissions
|
Role definition permissions. |
assignable_scopes
|
Role definition assignable scopes. |
Variables
Name | Description |
---|---|
id
|
The role definition ID. |
name
|
The role definition name. |
type
|
The role definition type. |
role_name
|
The role name. |
description
|
The role definition description. |
role_type
|
The role type. |
permissions
|
Role definition permissions. |
assignable_scopes
|
Role definition assignable scopes. |
created_on
|
Time it was created. |
updated_on
|
Time it was updated. |
created_by
|
Id of the user who created the assignment. |
updated_by
|
Id of the user who updated the assignment. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python