开发环境权限
权限 |
对应API接口 |
授权项 |
依赖的授权项 |
IAM项目 |
企业项目 |
---|---|---|---|---|---|
创建开发环境实例 |
POST /v1/{project_id}/notebooks |
modelarts:notebook:create |
ecs:serverKeypairs:create swr:repository:getNamespace swr:repository:listNamespace swr:repository:deleteTag swr:repository:getRepository swr:repository:listTags swr:instance:createTempCredential iam:users:getUser iam:users:listUsers iam:projects:listProjects mrs:cluster:get smn:topic:publish obs:object:PutObject obs:object:GetObject obs:object:GetObjectVersion obs:bucket:HeadBucket obs:object:DeleteObject obs:object:GetObject obs:bucket:CreateBucket obs:bucket:ListBucket modelarts:trainJob:list modelarts:trainJob:update modelarts:trainJobVersion:delete modelarts:pool:list |
√ |
√ |
查询开发环境实例列表 |
GET /v1/{project_id}/notebooks |
modelarts:notebook:list |
- |
√ |
√ |
查询开发环境实例详情 |
GET /v1/{project_id}/notebooks/{id} |
modelarts:notebook:get |
- |
√ |
√ |
更新开发环境实例信息 |
PUT /v1/{project_id}/notebooks/{id} |
modelarts:notebook:update |
- |
√ |
√ |
删除开发环境实例 |
DELETE /v1/{project_id}/notebooks/{id} |
modelarts:notebook:delete |
- |
√ |
√ |
启动新版开发环境实例 |
POST /v1/{project_id}/notebooks/{id}/start |
modelarts:notebook:start |
- |
√ |
√ |
停止新版开发环境实例 |
POST /v1/{project_id}/notebooks/{id}/stop |
modelarts:notebook:stop |
- |
√ |
√ |
查询支持的镜像列表 |
GET /v1/{project_id}/images |
modelarts:image:list |
- |
√ |
√ |
查询镜像详情 |
GET /v1/{project_id}/images/{id} |
modelarts:image:get |
- |
√ |
√ |
查询镜像组列表 |
GET /v1/{project_id}/images/group |
modelarts:image:listGroup |
- |
√ |
√ |
注册自定义镜像 |
POST /v1/{project_id}/images |
modelarts:image:register |
- |
√ |
√ |
删除自定义镜像 |
DELETE /v1/{project_id}/images/{id} |
modelarts:image:delete |
- |
√ |
√ |
保存成自定义镜像 |
POST /v1/{project_id}/notebooks/{id}/create-image |
modelarts:image:create |
- |
√ |
√ |
获取开发环境挂载的存储列表 |
GET /v1/{project_id}/notebooks/{id}/storage |
modelarts:notebook:listMountedStorages |
- |
√ |
√ |
挂载开发环境存储 |
POST /v1/{project_id}/notebooks/{instance_id}/storage |
modelarts:notebook:mountStorage |
- |
√ |
√ |
获取开发环境挂载的存储详情 |
GET /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id} |
modelarts:notebook:getMountedStorage |
- |
√ |
√ |
卸载开发环境存储 |
DELETE /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id} |
modelarts:notebook:umountStorage |
- |
√ |
√ |
打开serverless 开发环境实例(codelab) |
Post /v1/{project_id}/notebooks/open |
modelarts:notebook:open |
- |
√ |
√ |
获取所有的开发环境实例列表 |
GET /v1/{project_id}/notebooks/all |
modelarts:notebook:listAllNotebooks |
- |
√ |
× |
更新开发环境实例停止规则 |
PATCH /v1/{project_id}/notebooks/{id}/lease |
modelarts:notebook:updateStopPolicy |
- |
√ |
√ |