你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleDefinition Class
Role definition properties.
- Inheritance
-
azure.mgmt.resource.resources._serialization.ModelRoleDefinition
Constructor
RoleDefinition(*, id: str | None = None, name: str | None = None, is_service_role: bool | None = None, permissions: List[_models.Permission] | None = None, scopes: List[str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
The role definition ID. |
name
|
The role definition name. |
is_service_role
|
If this is a service role. |
permissions
|
Role definition permissions. |
scopes
|
Role definition assignable scopes. |
Variables
Name | Description |
---|---|
id
|
The role definition ID. |
name
|
The role definition name. |
is_service_role
|
If this is a service role. |
permissions
|
Role definition permissions. |
scopes
|
Role definition assignable scopes. |