检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Authorized User: Select IAM user, Federated user, Agency, or All users as required. Authorized To: Choose an authorized object. Agency: Select Add agency.
Preparation: Assigning the Cloud Shell Permission to an IAM User Log in to the Huawei Cloud console as a tenant user, hover over your username in the upper right corner, and choose Identity and Access Management from the drop-down list to switch to the IAM management console.
The operation is performed by an IAM user, who has not been granted with model permissions from the tenant account. For details, see Permissions Policies and Supported Actions.
Constraints IAM users can only migrate resource pools and networks in their own workspaces. The resource pool must be running with no running jobs or tasks. Stop or migrate the running jobs if there are any.
__PASSWORD = os.environ["HUAWEICLOUD_SDK_PASSWORD"] # Decrypt the password if it is encrypted. session = Session(username='***', password=__PASSWORD, region_name='***', project_id='***') Authentication using an IAM user Set account to your account name and username to your IAM username
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
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 Status code: 200 The service is deleted.
If you are an IAM user or in other scenarios, see section "Configuration Cases in Typical Permission Control Scenarios" in Object Storage Service Permissions Configuration Guide for instructions about how to grant OBS bucket permissions.
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
By default, if an account has multiple IAM users, only the jobs of the current IAM user is displayed. You can search for jobs by name, ID, algorithm, status, creation time, job type, or resource pool. You can refresh the job list.
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.
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 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
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.
If this parameter is set to all, the authorization of all IAM users will be deleted. Constraints: N/A Range: N/A Default Value: N/A Request Parameters None Response Parameters Status code: 200 OK None Example Requests Delete the authorization of a specified user.
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.
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.
Range: N/A Default Value: N/A 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.
When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain a user token. A token specifies certain permissions in a computer system.