gcpRole 资源类型

命名空间:microsoft.graph

重要

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

注意

自 2025 年 4 月 1 日起,Microsoft Entra 权限管理将不再可供购买,并且将于 2025 年 10 月 1 日停用并停止支持此产品。 有关详细信息,可 在此处找到。

表示 GCP 授权系统中的 GCP 角色。

继承自 entity

Methods

方法 返回类型 Description
List gcpRole 集合 获取 gcpRole 对象及其属性的列表。
Get gcpRole 读取 gcpRole 对象的属性和关系。

属性

属性 类型 说明
displayName String GCP 角色的名称。 支持 $filter 和 (eqcontains) 。
externalId String GCP 定义的 GCP 角色的 ID。 备用键。
gcpRoleType gcpRoleType GCP 角色的类型。 可能的值包括 systemcustomunknownFutureValue。 支持 $filter 和 (eq) 。
id String 权限管理中 GCP 角色的 ID。 只读。 继承自 entity
scopes gcpScope 集合 分配此 GCP 角色的标识可以对其执行作的资源。 支持 $filter 和 (eq) 。

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.gcpRole",
  "id": "String (identifier)",
  "externalId": "String",
  "displayName": "String",
  "gcpRoleType": "String",
  "scopes": [
    {
      "@odata.type": "microsoft.graph.gcpScope"
    }
  ]
}