检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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 (value of X-Subject-Token in the response header).
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 (value of X-Subject-Token in the response header).
It can be obtained by calling an Identity and Access Management (IAM) API. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling an Identity and Access Management (IAM) API. The value of X-Subject-Token in the response header is the user token. Table 3 Request body parameters Parameter Mandatory Type Description action Yes String Specifies the operation to be performed.
Figure 1 Creating an access key You have obtained the IAM user name, account name, and the project ID of your target region on the My Credentials > API Credentials page. The information will be used during service calling. Save it in advance.
Call IAM to obtain the user token (value of X-Subject-Token in the response header).
You can obtain the token by calling the IAM API used to obtain a user token.
Step 3: Create an Organization An organization is used to isolate images and grant access permissions (read, edit, and manage) to different IAM users under an account. Log in to the SWR console. In the navigation pane, choose Organizations.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Content-Type Yes String Message body type (format).
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Content-Type Yes String Message body type (format).
It can be obtained through the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
0 page_size Yes integer Default value: 500 Page size: greater than or equal to 0 host_id No string None Host ID Request Request header parameters Parameter Mandatory Type Value Range Description X-APIG-Appcode Yes string None AppCode allocated by SRE x-auth-token Yes string None IAM
Method GET URI /rest/dataapi/homs/open-api/v1/host-physical/capacity Path parameters None Query parameters None Request Request header parameters Parameter Mandatory Type Value Range Description X-APIG-Appcode Yes string None AppCode allocated by SRE x-auth-token Yes string None IAM
It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.
It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.
DAS Actions Function API Action IAM Project Enterprise Project Querying API Versions GET /das No authorization required √ √ Querying a Specified API Version GET /das/{version} No authorization required √ √ Registering a Database User POST /v3/{project_id}/instances/{instance_id}/db-users
The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. Response Status code: 200 Table 2 Response body parameters Parameter Type Description - String Request succeeded.
For IAM endpoints, see Regions and Endpoints. Debugging You can debug this API in API Explorer.
The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.