ModelArts
IAM provides system-defined identity policies to define typical cloud service permissions. You can also create custom identity policies using the actions supported by cloud services for more refined access control.
In addition to IAM, the Organizations service also provides Service Control Policies (SCPs) to set access control policies.
SCPs do not actually grant any permissions to an entity. They only set the permissions boundary for the entity. When SCPs are attached to an organizational unit (OU) or a member account, the SCPs do not directly grant permissions to that OU or member account. Instead, the SCPs only determine what permissions are available for that member account or those member accounts under that OU. The granted permissions can be applied only if they are allowed by the SCPs.
To learn more about how IAM is different from Organizations for access control, see How IAM Is Different from Organizations for Access Control?.
This section describes the elements used by IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.
- For details about how to use these elements to edit an IAM custom identity policy, see Creating a Custom Identity Policy.
- For details about how to use these elements to edit a custom SCP, see Creating an SCP.
Actions
Actions are specific operations that are allowed or denied in an identity policy.
- The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an identity policy.
- The Resource Type column indicates whether the action supports resource-level permissions.
- You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your identity policy statements.
- If this column includes a resource type, you must specify the URN in the Resource element of your identity policy statements.
- Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.
For details about the resource types defined by modelarts, see Resources.
- The Condition Key column contains keys that you can specify in the Condition element of an identity policy statement.
- If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
- If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
- If the Condition Key column is empty (-) for an action, the action does not support any condition keys.
For details about the condition keys defined by modelarts, see Conditions.
- The Alias column lists the policy actions that are configured in identity policies. With these actions, you can use APIs for policy-based authorization. For details, see Policies and Identity Policies.
The following table lists the actions that you can define in identity policy statements for modelarts.
|
Action |
Description |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
|---|---|---|---|---|---|
|
modelarts:notebook:list |
Grants permission to list the development environment instances. |
List |
notebook * |
- |
- |
|
- |
|||||
|
modelarts:notebook:create |
Grants permission to create a development environment instance. |
Write |
notebook * |
- |
- |
|
- |
|||||
|
modelarts:notebook:get |
Grants permission to get development environment instance detail. |
Read |
notebook * |
- |
|
|
- |
|||||
|
modelarts:notebook:update |
Grants permission to update a development environment instance. |
Write |
notebook * |
- |
|
|
- |
|||||
|
modelarts:notebook:delete |
Grants permission to delete a development environment instance. |
Write |
notebook * |
- |
|
|
- |
|||||
|
modelarts:image:create |
Grants permission to save a image for the development environment instance. |
Write |
image * |
- |
- |
|
- |
|||||
|
modelarts:notebook:start |
Grants permission to start a development environment instance. |
Write |
notebook * |
- |
|
|
- |
|||||
|
modelarts:notebook:stop |
Grants permission to stop a development environment instance. |
Write |
notebook * |
- |
|
|
- |
|||||
|
modelarts:image:list |
Grants permission to list the images. |
List |
image * |
- |
- |
|
- |
|||||
|
modelarts:image:register |
Grants permission to register a image. |
Write |
image * |
- |
- |
|
- |
|||||
|
modelarts:image:get |
Grants permission to get a image detail. |
Read |
image * |
- |
- |
|
- |
|||||
|
modelarts:image:delete |
Grants permission to delete a image. |
Write |
image * |
- |
- |
|
- |
|||||
|
modelarts:notebook:listMountedStorages |
Grants permission to list mounted storages of a development environment instance. |
List |
notebook * |
- |
- |
|
- |
|||||
|
modelarts:notebook:mountStorage |
Grants permission to mount a storage for the development environment instance. |
Write |
notebook * |
- |
- |
|
- |
|||||
|
modelarts:notebook:getMountedStorage |
Grants permission to get a storage detail for the development environment instance. |
Read |
notebook * |
- |
- |
|
- |
|||||
|
modelarts:notebook:umountStorage |
Grants permission to umount a storage for the development environment instance. |
Write |
notebook * |
- |
- |
|
- |
|||||
|
modelarts:notebook:updateStopPolicy |
Grants permission to update a stop rule for the development environment instance. |
Write |
notebook * |
- |
|
|
- |
|||||
|
modelarts:model:create |
Grants permission to import a model. |
Write |
model * |
- |
- |
|
- |
|||||
|
modelarts:model:list |
Grants permission to query the model list. |
List |
model * |
- |
- |
|
- |
|||||
|
modelarts:model:delete |
Grants permission to delete the model. |
Write |
model * |
- |
|
|
modelarts:model:get |
Grants permission to query the details about a model. |
Read |
model * |
- |
|
|
modelarts:service:create |
Grants permission to deploy a model service. |
Write |
- |
- |
|
|
modelarts:service:list |
Grants permission to query the model service list. |
List |
- |
- |
|
|
modelarts:service:get |
Grants permission to query the details about a model service. |
Read |
service * |
- |
|
|
modelarts:service:update |
Grants permission to update a model service. |
Write |
service * |
- |
|
|
modelarts:service:delete |
Grants permission to delete a model service. |
Write |
service * |
- |
|
|
modelarts:service:getMonitor |
Grants permission to query service monitoring information. |
Read |
service * |
- |
|
|
modelarts:service:getLogs |
Grants permission to query service update logs. |
Read |
service * |
- |
|
|
modelarts:service:getEvents |
Grants permission to query service event logs. |
Read |
service * |
- |
|
|
modelarts:trainJob:create |
Grants permission to create a training job. |
Write |
trainJob * |
- |
- |
|
- |
|||||
|
modelarts:aiAlgorithm:create |
Grants permission to create ai algorithm. |
Write |
aiAlgorithm * |
- |
- |
|
modelarts:aiAlgorithm:list |
Grants permission to query the ai algorithm list. |
List |
- |
- |
- |
|
modelarts:aiAlgorithm:get |
Grants permission to query the details about ai algorithm. |
Read |
aiAlgorithm * |
- |
- |
|
modelarts:aiAlgorithm:update |
Grants permission to update ai algorithm. |
Write |
aiAlgorithm * |
- |
- |
|
modelarts:aiAlgorithm:delete |
Grants permission to delete ai algorithm. |
Write |
aiAlgorithm * |
- |
- |
|
modelarts:trainJob:get |
Grants permission to view a training job. |
Read |
trainJob * |
- |
|
|
- |
|||||
|
modelarts:trainJob:update |
Grants permission to modify the description of a training job. |
Write |
trainJob * |
- |
|
|
- |
|||||
|
modelarts:trainJob:delete |
Grants permission to celete a training job. |
Write |
trainJob * |
- |
|
|
- |
|||||
|
modelarts:trainJob:logview |
Grants permission to preview training job log. |
Read |
trainJob * |
- |
- |
|
modelarts:trainJob:logExport |
Grants permission to export training job log. |
Write |
trainJob * |
- |
- |
|
modelarts:trainJob:getmetrics |
Grants permission to show training job metrics. |
Read |
trainJob * |
- |
- |
|
modelarts:trainJob:list |
Grants permission to query the training job list. |
List |
- |
- |
- |
|
modelarts:trainJob:setHighPriority |
Grants permission to set the highest priority for a training job. |
Write |
- |
- |
- |
|
modelarts:trainJob:exec |
Grants permission to access training jobs through CloudShell. |
Write |
- |
- |
- |
|
modelarts:network:create |
Grants permission to create a network. |
Write |
network * |
- |
- |
|
- |
|||||
|
modelarts:network:get |
Grants permission to view a network. |
Read |
network * |
- |
|
|
- |
|||||
|
modelarts:workflow:list |
Grants permission to query the workflow list. |
List |
- |
- |
- |
|
modelarts:workflow:create |
Grants permission to create a workflow. |
Write |
workflow * |
- |
- |
|
modelarts:workflow:delete |
Grants permission to delete a workflow. |
Write |
workflow * |
- |
- |
|
modelarts:workflow:get |
Grants permission to view a workflow. |
Read |
workflow * |
- |
- |
|
modelarts:workflow:update |
Grants permission to update a workflow. |
Write |
workflow * |
- |
- |
|
modelarts:workflow:execute |
Grants permission to execute a workflow. |
Write |
workflow * |
- |
- |
|
modelarts:workspace:get |
Grants permission to query the details about a workspace. |
Read |
workspace * |
- |
- |
|
modelarts:workspace:update |
Grants permission to modify a workspace. |
Write |
workspace * |
- |
- |
|
modelarts:workspace:delete |
Grants permission to delete a workspace. |
Write |
workspace * |
- |
- |
|
modelarts:workspace:getQuotas |
Grants permission to query the workspace quota. |
Read |
workspace * |
- |
- |
|
modelarts:workspace:updateQuotas |
Grants permission to modify the workspace quota. |
Write |
workspace * |
- |
- |
|
modelarts:dataset:list |
Grants permission to query the dataset list. |
List |
dataset * |
- |
- |
|
modelarts:dataset:create |
Grants permission to create a dataset. |
Write |
dataset * |
- |
- |
|
modelarts:workspace:list |
Query the workspace list |
List |
- |
- |
- |
|
modelarts:workspace:create |
Grants permission to create a workspace. |
Write |
workspace * |
- |
- |
|
modelarts:dataset:get |
Grants permission to query the details about a dataset. |
Read |
dataset * |
- |
- |
|
modelarts:dataset:update |
Grants permission to update a dataset. |
Write |
dataset * |
- |
- |
|
modelarts:dataset:delete |
Grants permission to delete a dataset. |
Write |
dataset * |
- |
- |
|
modelarts:dataset:publishVersion |
Grants permission to release a new version of a dataset. |
Write |
dataset * |
- |
- |
|
modelarts:dataset:deleteVersion |
Grants permission to delete a dataset version. |
Write |
dataset * |
- |
- |
|
modelarts:dataAnnotation:list |
Grants permission to query the labels of a dataset. |
List |
dataAnnotation * |
- |
- |
|
modelarts:dataAnnotation:upload |
Grants permission to upload the files to be labeled in batches, such as images, sound files, and text. |
Write |
dataAnnotation * |
- |
- |
|
modelarts:dataAnnotation:delete |
Grants permission to delete the labels of a dataset in batches. |
Write |
dataAnnotation * |
- |
- |
|
modelarts:dataAnnotation:get |
Grants permission to query the labeling information about a dataset. |
Read |
dataAnnotation * |
- |
- |
|
modelarts:dataAnnotation:create |
Grants permission to create labels for a dataset in batches. |
Write |
dataAnnotation * |
- |
- |
|
modelarts:dataAnnotation:update |
Grants permission to modify the labels of a dataset in batches. |
Write |
dataAnnotation * |
- |
- |
|
modelarts:dataset:import |
Grants permission to create import task. |
Write |
dataset * |
- |
- |
|
modelarts:dataset:export |
Grants permission to create export task. |
Write |
dataset * |
- |
- |
|
modelarts:network:list |
Grants permission to query the network list. |
List |
network * |
- |
- |
|
- |
|||||
|
modelarts:network:delete |
Grants permission to delete a network. |
Write |
network * |
- |
|
|
- |
|||||
|
modelarts:network:update |
Grants permission to update a network. |
Write |
network * |
- |
|
|
- |
|||||
|
modelarts:pool:get |
Grants permission to view a dedicated resource pool. |
Read |
pool * |
- |
|
|
- |
|||||
|
modelarts:pool:update |
Grants permission to update a dedicated resource pool. |
Write |
pool * |
- |
|
|
- |
|||||
|
modelarts:pool:create |
Grants permission to create a dedicated resource pool. |
Write |
pool * |
- |
- |
|
- |
|||||
|
modelarts:pool:list |
Grants permission to query the dedicated resource pools. |
List |
pool * |
- |
- |
|
- |
|||||
|
modelarts:pool:delete |
Grants permission to delete a dedicated resource pool. |
Write |
pool * |
- |
|
|
- |
|||||
|
modelarts:devserver:list |
Grants permission to query the details of all DevServer instances by tenant. |
List |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:create |
Grants permission to create a DevServer instance. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:get |
Grants permission to query DevServer instance detail infomation. |
Read |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:delete |
Grants permission to delete a DevServer instance. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:sync |
Grants permission to synchronize the status of all DevServer instances of the user. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:start |
Grants permission to start a DevServer instance. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:stop |
Grants permission to stop a DevServer instance. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:changeOS |
Grants permission to change a DevServer instance OS. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:reinstallOS |
Grants permission to reinstall a DevServer instance OS. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:reboot |
Grants permission to reboot a DevServer instance. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:createTags |
Grants permission to add a DevServer instance tags. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:deleteTags |
Grants permission to delete a DevServer instance tags. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:queryTags |
Grants permission to query DevServer instance tags infomation. |
Read |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:image:listGroup |
Grants permission to list the image groups. |
List |
image * |
- |
- |
|
modelarts:devserver:bindPublicIP |
Grant the permission to bind an EIP to the DevServer. |
Write |
devserver * |
- |
- |
|
- |
|||||
|
modelarts:devserver:listPublicIP |
Grant the permission to query the EIP bound to the DevServer. |
Read |
devserver * |
- |
- |
|
- |
Each API of modelarts usually supports one or more actions. Table 2 lists the supported actions and dependencies.
|
API |
对应的授权项 |
依赖的授权项 |
|---|---|---|
|
GET /v1/{project_id}/notebooks |
modelarts:notebook:list |
- |
|
POST /v1/{project_id}/notebooks |
modelarts:notebook:create |
- |
|
GET /v1/{project_id}/notebooks/{id} |
modelarts:notebook:get |
- |
|
PUT /v1/{project_id}/notebooks/{id} |
modelarts:notebook:update |
- |
|
DELETE /v1/{project_id}/notebooks/{id} |
modelarts:notebook:delete |
- |
|
POST /v1/{project_id}/notebooks/{id}/create-image |
modelarts:image:create |
- |
|
POST /v1/{project_id}/notebooks/{id}/start |
modelarts:notebook:start |
- |
|
POST /v1/{project_id}/notebooks/{id}/stop |
modelarts:notebook:stop |
- |
|
GET /v1/{project_id}/images |
modelarts:image:list |
- |
|
POST /v1/{project_id}/images |
modelarts:image:register |
- |
|
GET /v1/{project_id}/images/{id} |
modelarts:image:get |
- |
|
DELETE /v1/{project_id}/images/{id} |
modelarts:image:delete |
- |
|
GET /v1/{project_id}/notebooks/{instance_id}/storage |
modelarts:notebook:listMountedStorages |
- |
|
POST /v1/{project_id}/notebooks/{instance_id}/storage |
modelarts:notebook:mountStorage |
- |
|
GET /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id} |
modelarts:notebook:getMountedStorage |
- |
|
DELETE /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id} |
modelarts:notebook:umountStorage |
- |
|
PATCH /v1/{project_id}/notebooks/{id}/lease |
modelarts:notebook:updateStopPolicy |
- |
|
GET /v1/{project_id}/models |
modelarts:model:list |
- |
|
POST /v1/{project_id}/models |
modelarts:model:create |
- |
|
GET /v1/{project_id}/models/{model_id} |
modelarts:model:get |
- |
|
DELETE /v1/{project_id}/models/{model_id} |
modelarts:model:delete |
- |
|
GET /v1/{project_id}/services/{service_id}/monitor |
modelarts:service:getMonitor |
- |
|
GET /v1/{project_id}/services |
modelarts:service:list |
- |
|
POST /v2/{project_id}/training-jobs |
modelarts:trainJob:create |
- |
|
POST /v2/{project_id}/algorithms |
modelarts:aiAlgorithm:create |
- |
|
GET /v2/{project_id}/algorithms |
modelarts:aiAlgorithm:list |
- |
|
GET /v2/{project_id}/algorithms/{algorithm_id} |
modelarts:aiAlgorithm:get |
- |
|
PUT /v2/{project_id}/algorithms/{algorithm_id} |
modelarts:aiAlgorithm:update |
- |
|
DELETE /v2/{project_id}/algorithms/{algorithm_id} |
modelarts:aiAlgorithm:delete |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id} |
modelarts:trainJob:get |
- |
|
PUT /v2/{project_id}/training-jobs/{training_job_id} |
modelarts:trainJob:update |
- |
|
DELETE /v2/{project_id}/training-jobs/{training_job_id} |
modelarts:trainJob:delete |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/tasks/{task_id}/logs/url |
modelarts:trainJob:logExport |
- |
|
POST /v2/{project_id}/training-job-searches |
modelarts:trainJob:list |
- |
|
POST /v1/{project_id}/networks |
modelarts:network:create |
- |
|
GET /v1/{project_id}/networks/{network_name} |
modelarts:network:get |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/autosearch-trials |
modelarts:trainJob:get |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/autosearch-trials/{trial_id} |
modelarts:trainJob:get |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/autosearch-parameter-analysis |
modelarts:trainJob:get |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/autosearch-parameter-analysis/{parameter_name} |
modelarts:trainJob:get |
- |
|
GET /v2/{project_id}/workflows |
modelarts:workflow:list |
- |
|
POST /v2/{project_id}/workflows |
modelarts:workflow:create |
- |
|
DELETE /v2/{project_id}/workflows/{workflow_id} |
modelarts:workflow:delete |
- |
|
GET /v2/{project_id}/workflows/{workflow_id} |
modelarts:workflow:get |
- |
|
PUT /v2/{project_id}/workflows/{workflow_id} |
modelarts:workflow:update |
- |
|
GET /v2/{project_id}/workflows/overview |
modelarts:workflow:list |
- |
|
GET /v2/{project_id}/workflows/todolist |
modelarts:workflow:list |
- |
|
GET /v2/{project_id}/workflows/{workflow_id}/executions |
modelarts:workflow:list |
- |
|
POST /v2/{project_id}/workflows/{workflow_id}/executions |
modelarts:workflow:execute |
- |
|
DELETE /v2/{project_id}/workflows/{workflow_id}/executions/{execution_id} |
modelarts:workflow:delete |
- |
|
GET /v2/{project_id}/workflows/{workflow_id}/executions/{execution_id} |
modelarts:workflow:get |
- |
|
PUT /v2/{project_id}/workflows/{workflow_id}/executions/{execution_id} |
modelarts:workflow:update |
- |
|
POST /v2/{project_id}/workflows/{workflow_id}/executions/{execution_id}/actions |
modelarts:workflow:execute |
- |
|
POST /v2/{project_id}/workflows/{workflow_id}/executions/{execution_id}/step-executions/{step_execution_id}/actions |
modelarts:workflow:execute |
- |
|
GET /v2/{project_id}/workflows/{workflow_id}/executions/{execution_id}/step-executions/{step_execution_id}/metrics |
modelarts:workflow:get |
- |
|
DELETE /v2/{project_id}/workflows/{workflow_id}/subscriptions/{subscription_id} |
modelarts:workflow:delete |
- |
|
GET /v2/{project_id}/workflows/{workflow_id}/subscriptions/{subscription_id} |
modelarts:workflow:get |
- |
|
PUT /v2/{project_id}/workflows/{workflow_id}/subscriptions/{subscription_id} |
modelarts:workflow:update |
- |
|
GET /v2/{project_id}/workflows/{workflow_id}/schedules/{schedule_id} |
modelarts:workflow:get |
- |
|
DELETE /v2/{project_id}/workflows/{workflow_id}/schedules/{schedule_id} |
modelarts:workflow:delete |
- |
|
PUT /v2/{project_id}/workflows/{workflow_id}/schedules/{schedule_id} |
modelarts:workflow:update |
- |
|
GET /v1/{project_id}/workspaces/{workspace_id} |
modelarts:workspace:get |
- |
|
PUT /v1/{project_id}/workspaces/{workspace_id} |
modelarts:workspace:update |
- |
|
DELETE /v1/{project_id}/workspaces/{workspace_id} |
modelarts:workspace:delete |
- |
|
GET /v1/{project_id}/workspaces/{workspace_id}/quotas |
modelarts:workspace:getQuotas |
- |
|
PUT /v1/{project_id}/workspaces/{workspace_id}/quotas |
modelarts:workspace:updateQuotas |
- |
|
GET /v2/{project_id}/datasets |
modelarts:dataset:list |
- |
|
POST /v2/{project_id}/datasets |
modelarts:dataset:create |
- |
|
GET /v1/{project_id}/workspaces |
modelarts:workspace:list |
- |
|
POST /v1/{project_id}/workspaces |
modelarts:workspace:create |
- |
|
GET /v2/{project_id}/datasets/{dataset_id} |
modelarts:dataset:get |
- |
|
PUT /v2/{project_id}/datasets/{dataset_id} |
modelarts:dataset:update |
- |
|
DELETE /v2/{project_id}/datasets/{dataset_id} |
modelarts:dataset:delete |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/stats |
modelarts:dataset:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/metrics |
modelarts:dataset:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/versions |
modelarts:dataset:get |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/versions |
modelarts:dataset:publishVersion |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/versions/{version_id} |
modelarts:dataset:get |
- |
|
DELETE /v2/{project_id}/datasets/{dataset_id}/versions/{version_id} |
modelarts:dataset:deleteVersion |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples |
modelarts:dataAnnotation:list |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples |
modelarts:dataAnnotation:upload |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/delete |
modelarts:dataAnnotation:delete |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id} |
modelarts:dataAnnotation:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/search-condition |
modelarts:dataAnnotation:list |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples |
modelarts:dataAnnotation:list |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples/{sample_id} |
modelarts:dataAnnotation:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels |
modelarts:dataAnnotation:list |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels |
modelarts:dataAnnotation:create |
- |
|
PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels |
modelarts:dataAnnotation:update |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/delete |
modelarts:dataAnnotation:delete |
- |
|
PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name} |
modelarts:dataAnnotation:update |
- |
|
DELETE /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name} |
modelarts:dataAnnotation:delete |
- |
|
PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples |
modelarts:dataAnnotation:update |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/import-tasks |
modelarts:dataset:get |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/import-tasks |
modelarts:dataset:import |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/import-tasks/{task_id} |
modelarts:dataset:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/export-tasks |
modelarts:dataset:get |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/export-tasks |
modelarts:dataset:export |
- |
|
GET /v2/{project_id}/datasets/{resource_id}/export-tasks/{task_id} |
modelarts:dataset:get |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/sync-data |
modelarts:dataset:update |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/sync-data/status |
modelarts:dataset:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/auto-annotations/samples |
modelarts:dataAnnotation:list |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/auto-annotations/samples/{sample_id} |
modelarts:dataAnnotation:get |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/tasks |
modelarts:dataset:get |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/tasks |
modelarts:dataset:update |
- |
|
GET /v2/{project_id}/datasets/{dataset_id}/tasks/{task_id} |
modelarts:dataset:get |
- |
|
POST /v2/{project_id}/datasets/{dataset_id}/tasks/{task_id}/stop |
modelarts:dataset:update |
- |
|
PUT /v1/{project_id}/services/{service_id} |
modelarts:service:update |
- |
|
PUT /v1/{project_id}/services/{service_id}/nodes/{node_id}/status |
modelarts:nodeservice:action |
- |
|
GET /v1/{project_id}/services/{service_id}/events |
modelarts:service:getEvents |
- |
|
POST /v1/{project_id}/services/{resource_id}/tags/create |
modelarts:service:update |
- |
|
DELETE /v1/{project_id}/services/{resource_id}/tags/delete |
modelarts:service:update |
- |
|
GET /v1/{project_id}/services/tms/tags |
modelarts:service:get |
- |
|
DELETE /v1/{project_id}/services/{service_id} |
modelarts:service:delete |
- |
|
GET /v1/{project_id}/services/{service_id} |
modelarts:service:get |
- |
|
GET /v1/{project_id}/services/{service_id}/logs |
modelarts:service:getLogs |
- |
|
POST /v1/{project_id}/services |
modelarts:service:create |
- |
|
GET /v1/{project_id}/networks |
modelarts:network:list |
- |
|
DELETE /v1/{project_id}/networks/{network_name} |
modelarts:network:delete |
- |
|
PATCH /v1/{project_id}/networks/{network_name} |
modelarts:network:update |
- |
|
GET /v2/{project_id}/pools/{pool_name}/nodes |
modelarts:pool:get |
- |
|
POST /v2/{project_id}/pools/{pool_name}/nodes/batch-delete |
modelarts:pool:update |
- |
|
GET /v1/{project_id}/events |
modelarts:pool:get |
- |
|
POST /v2/{project_id}/pools |
modelarts:pool:create |
- |
|
GET /v2/{project_id}/pools |
modelarts:pool:list |
- |
|
GET /v2/{project_id}/pools/{pool_name} |
modelarts:pool:get |
- |
|
DELETE /v2/{project_id}/pools/{pool_name} |
modelarts:pool:delete |
- |
|
PATCH /v2/{project_id}/pools/{pool_name} |
modelarts:pool:update |
- |
|
GET /v2/{project_id}/pools/{pool_name}/monitor |
modelarts:pool:get |
- |
|
GET /v2/{project_id}/statistics/pools |
modelarts:pool:list |
- |
|
GET /v2/{project_id}/pools/{pool_name}/workloads |
modelarts:pool:get |
- |
|
GET /v2/{project_id}/statistics/pools/{pool_name}/workloads |
modelarts:pool:get |
- |
|
POST /v1/{project_id}/dev-servers |
modelarts:devserver:create |
- |
|
GET /v1/{project_id}/dev-servers/{id} |
modelarts:devserver:get |
- |
|
DELETE /v1/{project_id}/dev-servers/{id} |
modelarts:devserver:delete |
- |
|
PUT /v1/{project_id}/dev-servers/sync |
modelarts:devserver:sync |
- |
|
PUT /v1/{project_id}/dev-servers/{id}/start |
modelarts:devserver:start |
- |
|
PUT /v1/{project_id}/dev-servers/{id}/stop |
modelarts:devserver:stop |
- |
|
GET /v1/{project_id}/images/group |
modelarts:image:listGroup |
- |
|
POST /v2/{project_id}/training-jobs |
modelarts:trainJob:logExport |
- |
|
POST /v2/{project_id}/training-jobs/{training_job_id}/actions |
modelarts:trainJob:create |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/tasks/{task_id}/logs/preview |
modelarts:trainJob:get |
- |
|
GET /v2/{project_id}/training-jobs/{training_job_id}/metrics/{task_id} |
modelarts:trainJob:get |
- |
|
POST /v2/{project_id}/workflows/{workflow_id}/subscriptions |
modelarts:workflow:update |
- |
|
POST /v2/{project_id}/workflows/{workflow_id}/schedules |
modelarts:workflow:update |
- |
|
GET /v2/{project_id}/metrics/runtime/pools |
modelarts:pool:list |
- |
|
POST /v2/{project_id}/training-jobs/{training_job_id}/autosearch-trial-earlystop/{trial_id} |
modelarts:trainJob:get |
- |
Resources
A resource type indicates the resources that an identity policy applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the identity policy statements using that action, and the identity policy applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the identity policy applies to all resources. You can also set condition keys in an identity policy to define resource types.
The following table lists the resource types that you can define in identity policy statements for modelarts.
|
Resource Type |
URN |
|---|---|
|
workspace |
modelarts:<region>:<account-id>:workspace:<workspace-id> |
|
dataAnnotation |
modelarts:<region>:<account-id>:dataAnnotation:<data-annotation-id> |
|
trainJob |
modelarts:<region>:<account-id>:trainJob:<train-job-id> |
|
devserver |
modelarts:<region>:<account-id>:devserver:<devserver-id> |
|
image |
modelarts:<region>:<account-id>:image:<image-id> |
|
service |
modelarts:<region>:<account-id>:service:<service-id> |
|
network |
modelarts:<region>:<account-id>:network:<network-id> |
|
pool |
modelarts:<region>:<account-id>:pool:<pool-id> |
|
model |
modelarts:<region>:<account-id>:model:<model-id> |
|
workflow |
modelarts:<region>:<account-id>:workflow:<workflow-id> |
|
aiAlgorithm |
modelarts:<region>:<account-id>:aiAlgorithm:<ai-algorithm-id> |
|
dataset |
modelarts:<region>:<account-id>:dataset:<dataset-id> |
|
nodeservice |
modelarts:<region>:<account-id>:nodeservice:<node-service-id> |
|
notebook |
modelarts:<region>:<account-id>:notebook:<notebook-id> |
Conditions
Condition Key Overview
A Condition element lets you specify conditions for when an identity policy is in effect. It contains condition keys and operators.
- The condition key that you specify can be a global condition key or a service-specific condition key.
- Global condition keys (with the g: prefix) apply to all actions. Cloud services do not need to provide user identity information. Instead, the system automatically obtains such information and authenticates users. For details, see Global Condition Keys.
- Service-specific condition keys (with the abbreviation of a service name plus a colon as the prefix, for example, modelarts) apply only to operations of the xx service. For details, see Table 4.
- The number of values associated with a condition key in the request context of an API call makes the condition key single-valued or multivalued. Single-valued condition keys have at most one value in the request context of an API call. Multivalued condition keys can have multiple values in the request context of an API call. For example, a request can originate from at most one VPC endpoint, so g:SourceVpce is a single-valued condition key. You can tag resources and include multiple tag key-value pairs in a request, so g:TagKeys is a multivalued condition key.
- A condition operator, condition key, and a condition value together constitute a complete condition statement. An identity policy can be applied only when its request conditions are met. For supported condition operators, see operators.
Service-specific condition keys supported by modelarts
The following table lists the condition keys that you can define in identity policies for modelarts. You can include these condition keys to specify conditions for when your identity policy is in effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot