检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ModelArts provides workspaces to isolate resource operation permissions of different IAM users. Workspace migration includes resource pool migration and network migration. For details, see the following sections.
How Do I View an Account ID and IAM User ID? Can AI-assisted Identification of ModelArts Identify a Specific Label? How Does ModelArts Use Tags to Manage Resources by Group? Why Is the Job Still Queued When Resources Are Sufficient?
Model Management Permissions Table 1 Fine-grained permissions for model management Permission API Action Related Action IAM Project Enterprise Project Importing a Model POST /v1/{project_id}/models modelarts:model:create obs:bucket:ListAllMybuckets obs:object:PutObjectAcl obs:bucket
If this parameter is set to all, the authorization of all IAM users will be deleted. Request Parameters None Response Parameters None Example Requests Delete the authorization of a specified user. DELETE https://{endpoint}/v2/{project_id}/authorizations?
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Response Parameters None Example Requests The following shows how to delete the model service with ID xxxxxx.
The options are: Enums: NONE: no authentication APP: App authentication IAM: IAM authentication predict_url String Prediction URL service_id String Service ID service_name String Service name support_app_code Boolean Whether to support the App code Status code: 401 Table 6 Response
Figure 1 Authorization content Go to the IAM console. In the navigation pane on the left, choose Agencies. Locate the obtained agency and click Modify in the Operation column. Figure 2 IAM agency Click the Permissions tab.
agency IAM createAgency Logging in to the labeling console as a labeling team member labelConsoleWorker workerLoginLabelConsole Logging out of the labeling console as a labeling team member labelConsoleWorker workerLogOutLabelConsole Changing the password of the labeling console
The options are: Enums: NONE: no authentication APP: App authentication IAM: IAM authentication predict_url String Prediction URL service_id String Service ID service_name String Service name support_app_code Boolean Whether to support the App code Table 8 AppAuthResultInfo Parameter
Ensure that the file is correct. 403 ModelArts.4500 The number of iam agencies has reached the maximum The number of IAM agencies exceeded the upper limit. Delete unused IAM agencies. 403 ModelArts.4501 The iam agency create action is forbidden Failed to create the IAM agency.
Figure 1 Searching for an Instance Enable View all to check all notebook instances created by all sub-users in the IAM project. Select search criteria, such as name, ID, status, image, flavor, description, and creation time.
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
The IAM user does not have the obs:object:PutObjectAcl permission on OBS. Add the agency permission for the IAM user. FAQs Abnormal Creating the image timed out. The timeout duration is xxx minutes. There is a timeout limit for image building using ImagePacker.
member Workforce deleteWorker Deleting labeling team members in batches Workforce batchDeleteWorker Creating a labeling team Workforce createWorkforce Updating a labeling team Workforce updateWorkforce Deleting a labeling team Workforce deleteWorkforce Automatically creating an IAM
The IAM user does not have the obs:object:PutObjectAcl permission on OBS. Add the agency permission for the IAM user. FAQ Abnormal Creating the image timed out. The timeout duration is xxx minutes. There is a timeout limit for image building using ImagePacker.
member Workforce deleteWorker Deleting labeling team members in a batch Workforce batchDeleteWorker Creating a labeling team Workforce createWorkforce Updating a labeling team Workforce updateWorkforce Deleting a labeling team Workforce deleteWorkforce Automatically creating an IAM
Request Parameters Table 3 Request header parameters Parameter Mandatory Type Description X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token.
member workforce deleteWorker Deleting labeling team members in batches workforce batchDeleteWorker Creating a labeling team workforce createWorkforce Updating a labeling team workforce updateWorkforce Deleting a labeling team workforce deleteWorkforce Automatically creating an IAM
If the token is invalid, API Gateway intercepts the request and reports error message "APIG.0301:Incorrect IAM authentication information: decrypt token fail". Obtain the correct token and enter it in X-Auth-Token for prediction.
X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token. The value of X-Subject-Token in the response header is the user token.