实例相关权限
权限 |
对应API接口 |
授权项(Action) |
依赖的授权项 |
IAM项目 (Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|---|
创建IDE实例 |
POST /v2/{org_id}/instances |
cloudIDE:instance:create |
- |
√ |
× |
删除IDE实例 |
DELETE /v2/instances/{instance_id} |
cloudIDE:instance:delete |
- |
√ |
× |
启动IDE实例 |
PUT /v2/instances/{instance_id}/runtime |
cloudIDE:instance:start |
- |
√ |
× |
停止IDE实例 |
DELETE /v2/instances/{instance_id}/runtime |
cloudIDE:instance:stop |
- |
√ |
× |
访问IDE实例 |
仅支持CodeArts IDE Online内部调用,API方式不支持 |
cloudIDE:instance:access |
- |
√ |
× |
修改IDE实例(仅修改描述和名称) |
PUT /v2/instances/{instance_id} |
cloudIDE:instance:update |
- |
√ |
× |
分发实例给访问者 |
POST /v2/instances/{instance_id}/visitor |
cloudIDE:instance:assign |
- |
√ |
× |
授权实例给用户 |
POST /v2/instance/{instance_id}/user |
cloudIDE:instance:auth |
- |
√ |
× |
重置实例 |
POST /v2/instance/{instance_id}/reset |
cloudIDE:instance:reset |
- |
√ |
× |