服务管理权限
权限 |
对应API接口 |
授权项 |
依赖的授权项 |
IAM项目 |
企业项目 |
---|---|---|---|---|---|
部署模型服务 |
POST /v1/{project_id}/services |
modelarts:service:create |
- |
√ |
√ |
查询模型服务列表 |
GET /v1/{project_id}/services |
modelarts:service:list |
- |
√ |
√ |
查询模型服务详情 |
GET /v1/{project_id}/services/{service_id} |
modelarts:service:get |
- |
√ |
√ |
更新模型服务 |
PUT /v1/{project_id}/services/{service_id} |
modelarts:service:update |
- |
√ |
√ |
删除模型服务 |
DELETE /v1/{project_id}/services/{service_id} |
modelarts:service:delete |
- |
√ |
√ |
启动停止服务 |
PUT /v1/{project_id}/services/{service_id} (request body携带status信息) |
modelarts:service:action |
- |
√ |
√ |
查询服务监控信息 |
GET /v1/{project_id}/services/{service_id}/monitor |
modelarts:service:getMonitor |
- |
√ |
√ |
查询服务更新日志 |
GET /v1/{project_id}/services/{service_id}/logs |
modelarts:service:getLogs |
- |
√ |
√ |
查询服务事件日志 |
GET /v1/{project_id}/services/{service_id}/events |
modelarts:service:getEvents |
- |
√ |
√ |