Updated on 2024-05-30 GMT+08:00

Service Management Permissions

Table 1 Fine-grained permissions for service management

Permission

API

Action

Related Action

IAM Project

Enterprise Project

Deploying a model

POST /v1/{project_id}/services

modelarts:service:create

N/A

Obtaining model services

GET /v1/{project_id}/services

modelarts:service:list

N/A

Obtaining details about a model service

GET /v1/{project_id}/services/{service_id}

modelarts:service:get

N/A

Updating a model service

PUT /v1/{project_id}/services/{service_id}

modelarts:service:update

N/A

Deleting a model service

DELETE /v1/{project_id}/services/{service_id}

modelarts:service:delete

N/A

Starting or stopping a model service

PUT /v1/{project_id}/services/{service_id} (with statuses in the request body)

modelarts:service:action

N/A

Obtaining service monitoring

GET /v1/{project_id}/services/{service_id}/monitor

modelarts:service:getMonitor

N/A

Obtaining service update logs

GET /v1/{project_id}/services/{service_id}/logs

modelarts:service:getLogs

N/A

Obtaining service event logs

GET /v1/{project_id}/services/{service_id}/events

modelarts:service:getEvents

N/A