Querying the Tenant Whitelist
Function
Query the tenant whitelist. Only the gray features supported by the current user are returned. Basic functions such as the cluster list are not controlled by the whitelist and can be used by all users.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
GET /v1/{project_id}/actions
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition: Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. Constraints: None Range: None Default Value: None |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| limit | No | Integer | Definition: Size of each page to be queried Constraints: None Range: None Default Value: 100 |
| offset | No | Integer | Definition: Page offset. The value starts from 0 and decreases by 1. Constraints: None Range: ≥ 0 Default Value: 0 |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Definition Total number of records. Range Greater than 0 |
| action_info | Array of ActionDomainInfoDetail objects | Definition Whitelist details. Range Greater than 0 |
| Parameter | Type | Description |
|---|---|---|
| action | String | Definition Feature ID. Range N/A |
| description | String | Definition Feature description. If the x-language request header is en-us, the description is in English. If it is zh-cn or is not specified, the description is in Chinese. Range N/A |
Example Requests
Query the feature whitelist.
GET https://{Endpoint}/v1/169439ece752470aa5171633e9d3e47f/clusters/50aee999-9215-4dd0-a142-254ac6bf80e7/actions?offset=0&limit=100 Example Responses
Status code: 200
{
"count" : 1,
"action_info" : [ {
"action" : "TopologyFeature",
"description" : "Cluster topology"
} ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Queried. |
| 400 | Request error. |
| 401 | Authentication failed. |
| 403 | No operation permissions. |
| 404 | No resources found. |
| 500 | Internal service error. |
| 503 | Service unavailable. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot