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

Training Job Permissions (New Version)

Table 1 Fine-grained permissions for training jobs (new version)

Permission

API

Action

Related Action

IAM Project

Enterprise Project

Creating a training job

POST /v2/{project_id}/training-jobs

modelarts:trainJob:create

swr:repository:listTags

swr:repository:getRepository

swr:repository:listRepositories

smn:topic:publish

smn:topic:list

obs:object:GetObjectAcl

obs:object:PutObjectAcl

obs:object:PutObject

obs:object:GetObject

obs:object:DeleteObject

obs:object:ModifyObjectMetaData

Modifying a training job

PUT /v2/{project_id}/training-jobs/{training_job_id}

modelarts:trainJob:update

-

Deleting a training job

DELETE /v2/{project_id}/training-jobs/{training_job_id}

modelarts:trainJob:delete

-

Obtaining details about a training job

GET /v2/{project_id}/training-jobs/{training_job_id}

modelarts:trainJob:get

-

Obtaining training jobs

POST /v2/{project_id}/training-job-searches

modelarts:trainJob:list

-

Previewing training job logs

GET /v2/{project_id}/training-jobs/{training_job_id}/tasks/{task_id}/logs/preview

modelarts:trainJob:previewLog

-

Downloading training job logs

GET /v2/{project_id}/training-jobs/{training_job_id}/tasks/{task_id}/logs/url

modelarts:trainJob:logExport

-

Creating an algorithm

POST /v2/{project_id}/algorithms

modelarts:aiAlgorithm:create

-

Modifying an algorithm

PUT /v2/{project_id}/algorithms/{algorithm_id}

modelarts:aiAlgorithm:update

-

Deleting an algorithm

DELETE /v2/{project_id}/algorithms/{algorithm_id}

modelarts:aiAlgorithm:delete

-

Obtaining algorithms

GET /v2/{project_id}/algorithms

modelarts:aiAlgorithm:get

-

Obtaining details about an algorithm

GET /v2/{project_id}/algorithms/{algorithm_id}

modelarts:aiAlgorithm:get

-