检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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.
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
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. FAQs Abnormal Creating the image timed out. The timeout duration is xxx minutes. There is a timeout limit for image building using ImagePacker.
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
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.
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.
Request Parameters Table 2 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.
Only the IAM users of the account can register and use the SWR images when the image type is Private. Other users can register and use SWR images when the image type is Public. Log in to the ModelArts management console and choose Image Management. Then, click Register.
If an IAM user needs to start a notebook instance of another user's, change the key pair. Log in to the ModelArts management console. In the navigation pane on the left, choose Development Workspace > Notebook. Click the target notebook instance.
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.
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
When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain a user token. A token specifies temporary permissions in a computer system.
Figure 2 Tenant and IAM accounts Collect the logs and upload the script. Modify the value of NpuLogCollection in the following script. Replace ak, sk, and obs_dir with the values obtained before.
-*- import requests import json import time import requests.packages.urllib3.exceptions from urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) class ServerOperation(object): ################################ IAM
Grant the required basic permissions to the IAM user. ModelArts needs to access other dependent services. Create an agency for ModelArts. When purchasing resources, you need to select a virtual private cloud (VPC) for network communication.
Administrators can isolate permissions on resources within workspaces for IAM users. You can move resources to the corresponding workspace by referring to Migrating Standard Dedicated Resource Pools and Networks to Other Workspaces.