customAppScope 资源类型

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示来自每个提供程序的自定义 RBAC 范围对象。 此资源是 appScope 的子类型,它是由特定应用程序定义和理解的范围。 对于跨各种 RBAC 提供程序的角色分配对象,自定义应用范围有自己的生命周期。 自定义应用范围还可以存储源自不同 RBAC 提供程序的自定义属性。

例如,在 Exchange Online 提供程序中,customAppScope 映射到可由 Exchange 管理员单独管理的管理角色范围。 支持 customAppScope 实体的 CRUD 操作。 可以将 customAppScope 的 ID 用作 unifiedRoleAssignmentappScopeId

目前仅支持Exchange Online RBAC 提供程序。

继承自 appScope

方法

方法 返回类型 说明
列出 customAppScope customAppScope 集合 获取 RBAC 提供程序的 customAppScope 对象列表。
创建 customAppScope customAppScope 为 RBAC 提供程序创建新的 customAppScope 对象。
获取 customAppScope customAppScope 获取 RBAC 提供程序的 customAppScope 对象的属性。
更新 customAppScope 更新 RBAC 提供程序的现有 customAppScope 对象。
删除 customAppScope 删除 RBAC 提供程序的 customAppScope 对象。

属性

属性 类型 说明
customAttributes customAppScopeAttributesDictionary 一种开放字典类型,用于保存范围对象的特定于工作负荷的属性。
displayName String 应用范围表示的应用特定资源的显示名称。 提供用于显示目的,因为 appScopeId 通常是一个不可变的、不可读的 ID。 此为只读属性。 继承自 appScope
id String 特定于应用的容器或资源的唯一标识符,该容器或资源表示分配的范围。 通常为资源的不可变 ID。 分配的范围确定已向其授予主体访问权限的资源集。 必填。 继承自 appScope
type String 应用范围表示的特定于应用的资源的类型。 为显示目的而提供,因此用户界面可以向用户传达由应用范围表示的应用特定资源类型。 此为只读属性。 继承自 appScope

关系

无。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "customAttributes": {
    "@odata.type": "microsoft.graph.customAppScopeAttributesDictionary"
  },
  "displayName": "String",
  "id": "String (identifier)",
  "type": "String"
}