检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Enumerated values: APP: app IAM: IAM APIG: APIG (discarded) APIGW: APIGW (deprecated) DLM: DataArts DataService (deprecated) ROMA_APIC: ROMA (deprecated) Status code: 400 Table 6 Response body parameters Parameter Type Description error_code String Error code. error_msg String Error
Table 3 Request body parameters Parameter Mandatory Type Description auth_type No String Authentication mode Enumerated values: APP: app secret IAM: IAM token NONE: authentication disabled visibility No String API visibility Enumerated values: WORKSPACE: visibale to a workspace PROJECT
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
X-Auth-Token No String IAM token Minimum length: 0 Maximum length: 4096 Content-Type No String This parameter is mandatory if the body is available. If the body is unavailable, you do not need to set and verify this parameter.
For details, see Creating an IAM User and Assigning DataArts Studio Permissions. Notes and Constraints Only the workspace administrator or users with the DAYU Administrator or Tenant Administrator permission can enable notebooks.
Request Parameters Table 3 Request header parameters Parameter Mandatory Type Description X-Auth-Token Yes String IAM token, which is obtained by calling the IAM API for obtaining a user token (value of X-Subject-Token in the response header).
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication. Table 3 FormData parameters Parameter Mandatory Type Description type Yes String Type of the resource to be uploaded.
Creating an IAM user and assigning DataArts Studio permissions to the user Create an IAM user with the DAYU User permissions for a project member who wants to use DataArts Studio and assign a workspace role to the created user.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
You can obtain it from the value of X-Subject-Token in the response message header returned by the "Obtaining a User Token" API of the IAM service. workspace Yes String Workspace ID. For details about how to obtain it, see Instance ID and Workspace ID.
X-Auth-Token Yes String IAM token. For details about how to obtain it, see Authentication.
X-Auth-Token Yes String IAM token. For details about how to obtain it, see Authentication.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication. Table 3 Request body parameters Parameter Mandatory Type Description detail No String This field is used only when you enter handling comments or close an issue.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Table 3 Request body parameters Parameter Mandatory Type Description stop Yes stop object Cluster stop operation. For details, see the descriptions of stop parameters.
X-Auth-Token Yes String IAM Token Minimum length: 0 Maximum length: 4096 Content-Type No String This parameter is mandatory if the body is available. If the body is unavailable, you do not need to set and verify this parameter.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
Application authentication: Step 3 in "Preparations for Using the SDK" IAM authentication for an API in DataArts DataService Exclusive published to the gateway: An API using the IAM authentication method cannot directly access the cluster through token authentication. 401 Authorization
On the API Credentials page, obtain the account name, account ID, IAM username, and IAM user ID, and obtain the project and its ID from the project list.
Enumerated values: APP: app IAM: IAM APIG: APIG (discarded) APIGW: APIGW (deprecated) DLM: DataArts DataService (deprecated) ROMA_APIC: ROMA (deprecated) Status code: 400 Table 4 Response body parameters Parameter Type Description error_code String Error code. error_msg String Error