deviceAndAppManagementRoleAssignment 资源类型
命名空间:microsoft.graph
重要: /beta 版本下的 Microsoft Graph API 可能会更改;不支持生产使用。
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
角色分配资源。 角色分配将角色定义与成员和作用域绑定在一起。 每个角色可以具有一个或多个角色分配。 这适用于自定义和内置角色。
继承自 roleAssignment
方法
属性
属性 | 类型 | 说明 |
---|---|---|
id | String | 实体的键。 此为只读,且自动生成。 继承自 roleAssignment |
displayName | String | 角色分配的显示或友好名称。 继承自 roleAssignment |
description | String | 角色分配的说明。 继承自 roleAssignment |
scopeMembers | 字符串集合 | 角色作用域成员安全组的 ID 列表。 这些是 Azure Active Directory 中的 ID。 继承自 roleAssignment |
scopeType | roleAssignmentScopeType | 指定角色分配的范围类型。 默认类型“ResourceScope”允许分配 ResourceScope。 对于“AllDevices”、“AllLicensedUsers”和“AllDevicesAndLicensedUsers”,ResourceScopes 属性应留空。 继承自 roleAssignment。 可能的值是:resourceScope 、allDevices 、allLicensedUsers 、allDevicesAndLicensedUsers 。 |
resourceScopes | String collection | 角色作用域成员安全组的 ID 列表。 这些是 Azure Active Directory 中的 ID。 继承自 roleAssignment |
members | String collection | 角色成员安全组的 ID 列表。 这些是 Azure Active Directory 中的 ID。 |
关系
关系 | 类型 | 说明 |
---|---|---|
roleDefinition | roleDefinition | 此分配所属的角色定义。 继承自 roleAssignment |
roleScopeTags | roleScopeTag 集合 | 在角色分配上定义的角色范围标记集。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.deviceAndAppManagementRoleAssignment",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"scopeMembers": [
"String"
],
"scopeType": "String",
"resourceScopes": [
"String"
],
"members": [
"String"
]
}
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈