Service Management Permissions

Table 1 Fine-grained permissions for service management

Permission

API

Action

IAM Project

Enterprise Project

Deploying a model

POST /v1/{project_id}/services

modelarts:service:create

Y

Y

Obtaining model services

GET /v1/{project_id}/services

modelarts:service:list

Y

Y

Obtaining details about a model service

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

modelarts:service:get

Y

Y

Updating a model service

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

modelarts:service:update

Y

Y

Deleting a model service

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

modelarts:service:delete

Y

Y

Starting or stopping a model service

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

modelarts:service:action

Y

Y

Obtaining service monitoring

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

modelarts:service:getMonitor

Y

Y

Obtaining service update logs

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

modelarts:service:getLogs

Y

Y

Obtaining service event logs

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

modelarts:service:getEvents

Y

Y