DescribeAdvisorChecksFoPages
Queries the settings of inspection items by page.
Operation description
This operation is incompatible with the Go SDK. To use the Go SDK, call the DescribeAdvicesFlatPage operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
advisor:DescribeAdvisorChecksFoPages |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Starting value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| Name |
string |
No |
The name of the inspection item. |
**** |
| Category |
string |
No |
This parameter is invalid. Cost optimization is not supported. |
* |
| Product |
string |
No |
The code of the cloud service. |
ecs |
| Status |
string |
No |
The status of the diagnostic item. Valid values:
|
enabled |
| Token |
string |
No |
The credential token. |
*** |
| BizCategory |
string |
No |
The inspection type. |
2 |
| AssumeAliyunId |
integer |
No |
The primary account for inspection. |
11*********35 |
| CheckTypes |
array |
No |
This parameter is invalid. Cost optimization is not supported. |
|
|
integer |
No |
The inspection category. |
* |
|
| Source |
string |
No |
This parameter is invalid. Cost optimization is not supported. |
* |
| Language |
string |
No |
The language. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
566331F9-5AB3-550F-B745-A730331F97A9 |
| Code |
string |
The error code. |
200 |
| Data |
array<object> |
The query result object. |
|
|
array<object> |
The query results. |
||
| PageNo |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| Total |
integer |
The total number of entries. |
100 |
| Result |
array<object> |
The query result object. |
|
|
object |
The query result object. |
||
| Name |
string |
The name of the inspection item. |
ECS low utilization check |
| Code |
string |
The code of the inspection item. |
EcsCostLowUtilizationCheck |
| Tips |
string |
The brief description of the inspection suggestion. |
For ECS low utilization, downgrade the instance configuration based on your actual business needs. For more information, see the documentation |
| Category |
string |
The category of the inspection item. Valid values:
|
21 |
| SubCategory |
array |
This field is not supported. |
|
|
integer |
Not supported. |
* |
|
| Status |
string |
The status of the diagnostic item. Valid values:
|
enabled |
| ConfigSupport |
string |
Specifies whether custom configuration is supported. |
false |
| ViewColumn |
string |
The display columns, which specify the configurations for displaying inspection item details in the console. |
[{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_resourceId\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_resourceName\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_regionId\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_instanceChargeType\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_instanceType\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_severity\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_costBefore\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_costAfter\"},{\"type\":\"DEFAULT\",\"key\":\"EcsCostIdleCheck_costSavings\"},{\"type\":\"DEFAULT\",\"key\":\"First_time\"},{\"type\":\"DEFAULT\",\"key\":\"Duration_time\"}] |
| OperateColumn |
string |
The operation fields, which use JSON fields defined in frontend templates or diagnostic suggestion actions. |
[{\"type\":\"template\",\"value\":\"cloudmonitor.console.aliyun.com/index.htm?custom_trace=ecs_console#/hostDetail/chart/instanceId=${Resource.resourceId}&system=Linux®ion=${Resource.regionId}&aliyunhost=true\",\"key\":\"Detail\"},{\"type\":\"template\",\"value\":\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\",\"key\":\"Refresh\"}] |
| InspectionScope |
string |
The inspection scope. |
false |
| Product |
string |
The code of the cloud service. |
ECS |
| Description |
string |
The description of the inspection item, including recommended operations and operation instructions. |
Intelligent Advisor checks all ECS instances in the account. For ECS instances of the r5 or g5 instance family, upgrade them to r6 or g6 |
| Source |
string |
The source of the inspection item. Valid values:
|
Advisor |
| RiskLevel |
integer |
The risk level. Valid values:
|
1 |
| Success |
boolean |
Indicates whether the request is successful. |
True |
| Message |
string |
The message details. |
OK |
Examples
Success response
JSON format
{
"RequestId": "566331F9-5AB3-550F-B745-A730331F97A9",
"Code": "200",
"Data": [
{
"PageNo": 1,
"PageSize": 10,
"Total": 100,
"Result": [
{
"Name": "ECS low utilization check",
"Code": "EcsCostLowUtilizationCheck",
"Tips": "For ECS instances with low utilization, consider downgrading the instance configurations based on your actual business requirements. For more information, see the documentation",
"Category": "21",
"SubCategory": [
0
],
"Status": "enabled",
"ConfigSupport": "false",
"ViewColumn": "[{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_resourceId\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_resourceName\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_regionId\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_instanceChargeType\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_instanceType\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_severity\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_costBefore\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_costAfter\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"EcsCostIdleCheck_costSavings\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"First_time\\\"},{\\\"type\\\":\\\"DEFAULT\\\",\\\"key\\\":\\\"Duration_time\\\"}]",
"OperateColumn": "[{\\\"type\\\":\\\"template\\\",\\\"value\\\":\\\"cloudmonitor.console.aliyun.com/index.htm?custom_trace=ecs_console#/hostDetail/chart/instanceId=${Resource.resourceId}&system=Linux®ion=${Resource.regionId}&aliyunhost=true\\\",\\\"key\\\":\\\"Detail\\\"},{\\\"type\\\":\\\"template\\\",\\\"value\\\":\\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\\",\\\"key\\\":\\\"Refresh\\\"}]\n",
"InspectionScope": "false",
"Product": "ECS",
"Description": "Intelligent Advisor checks all ECS instances within the account. For ECS instances of the r5 or g5 instance families, we recommend upgrading them to the r6 or g6 instance families",
"Source": "Advisor",
"RiskLevel": 1
}
]
}
],
"Success": true,
"Message": "OK"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | A server error occurred. |
| 403 | Rd.NoManagePermission | The RD management account does not have the specified member account management permission. | The RD management account does not have the specified member account management permission. |
| 403 | Rd.NoMasterRole | Login account is not RD management or co-management role. | Logon account is not RD management or co-management role |
| 403 | Forbidden.NotActivated | User has not activated Advisor Service. | The user has not opened the Advisor product. |
| 403 | Forbidden.NotAuthorized | User has not authorized Advisor to provide services. | |
| 403 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API doesn't support RAM. | Authentication failed. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.