更新时间:2024-02-06 GMT+08:00
分享

镜像版本

表1 镜像版本权限

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

获取镜像仓库版本列表

GET /v1.0/{project_id}/common/image-registry/image-repos/{id}/versions

octopus:imageRepo:list

创建镜像仓库版本

POST /v1.0/{project_id}/common/image-registry/image-repos/{id}/versions

octopus:imageRepo:create

获取镜像仓库版本详情

GET /v1.0/{project_id}/common/image-registry/image-repos/{id}/versions/{version}

octopus:imageRepo:get

删除镜像仓库版本

DELETE /v1.0/{project_id}/common/image-registry/image-repos/{id}/versions/{version}

octopus:imageRepo:delete

更新镜像仓库版本状态

POST /v1.0/{project_id}/common/image-registry/image-repos/{id}/versions/{version}/status

octopus:imageRepo:update

创建镜像仓库版本操作账号

POST /v1.0/{project_id}/common/image-registry/image-repos/{id}/versions/{version}/accounts

octopus:imageRepo:createAccount

相关文档