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

DevEnviron Permissions (New Version)

Table 1 Fine-grained permissions for DevEnviron

Permission

API

Action

Related Action

IAM Project

Enterprise Project

Creating a development environment instance

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

Obtaining development environment instances

GET /v1/{project_id}/notebooks

modelarts:notebook:list

-

Obtaining details about a development environment instance

GET

/v1/{project_id}/notebooks/{id}

modelarts:notebook:get

-

Modifying a development environment instance

PUT /v1/{project_id}/notebooks/{id}

modelarts:notebook:update

-

Deleting a development environment instance

DELETE /v1/{project_id}/notebooks/{id}

modelarts:notebook:delete

-

Starting a development environment instance of the new version

POST /v1/{project_id}/notebooks/{id}/start

modelarts:notebook:start

-

Stopping a development environment instance of the new version

POST /v1/{project_id}/notebooks/{id}/stop

modelarts:notebook:stop

-

Obtaining supported images

GET /v1/{project_id}/images

modelarts:image:list

-

Obtaining details of an image

GET /v1/{project_id}/images/{id}

modelarts:image:get

-

Obtaining image groups

GET /v1/{project_id}/images/group

modelarts:image:listGroup

-

Registering a custom image

POST /v1/{project_id}/images

modelarts:image:register

-

Deleting a custom image

DELETE /v1/{project_id}/images/{id}

modelarts:image:delete

-

Saving as a custom image

POST /v1/{project_id}/notebooks/{id}/create-image

modelarts:image:create

-

Obtaining the storage mounted to a development environment instance

POST /v1/{project_id}/notebooks/{id}/create-image

modelarts:notebook:listMountedStorages

-

Mounting storage to a development environment instance

POST /v1/{project_id}/notebooks/{instance_id}/storage

modelarts:notebook:mountStorage

-

Obtaining details about the storage mounted to a development environment instance

GET /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id}

modelarts:notebook:getMountedStorage

-

Unmounting storage from a development environment instance

DELETE /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id}

modelarts:notebook:umountStorage

-

Updating the rules for stopping a development environment instance

PATCH /v1/{project_id}/notebooks/{id}/lease

modelarts:notebook:updateStopPolicy

-