命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
注意
自 2025 年 4 月 1 日起,Microsoft Entra 权限管理将不再可供购买,并且将于 2025 年 10 月 1 日停用并停止支持此产品。 有关详细信息,可 在此处找到。
表示 AWS 角色。 AWS 角色是具有权限策略的 AWS 标识,用于确定标识在 AWS 中可以和不能执行的作。 但是,与 AWS 用户不同,AWS 角色不是与一个人唯一关联的,而是可由任何需要它的标识来接受。
继承自 awsIdentity。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | awsRole | 获取 awsRole 对象及其属性的列表。 |
| Get | awsRole | 读取 awsRole 对象的属性和关系。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| displayName | String | 对象的名称。 支持 $filter (eq、contains) 。 继承自 authorizationSystemIdentity。 |
| externalId | String | AWS 定义的角色的 ID。 继承自 authorizationSystemIdentity。 |
| id | String | 权限管理中角色的 ID。 继承自 entity。 |
| source | authorizationSystemIdentitySource | 授权系统标识的源。 继承自 authorizationSystemIdentity。 |
| trustEntityType | awsRoleTrustEntityType | 角色信任的类型。 可能的值包括 none、service、sso、crossAccount、webIdentity、unknownFutureValue。 |
| roleType | awsRoleType | 指示角色是还是systemcustom角色。 支持 $filter(eq)。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| authorizationSystem | authorizationSystem | 表示授权系统。 继承自 authorizationSystemIdentity |
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.awsRole",
"id": "String (identifier)",
"displayName": "String",
"source": {
"@odata.type": "microsoft.graph.authorizationSystemIdentitySource"
},
"externalId": "String",
"trustEntityType": "String",
"roleType": "String"
}