summaryrefslogtreecommitdiff
path: root/data/en_us/advisor
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/advisor')
-rw-r--r--data/en_us/advisor/2018-01-20/api-docs.php6754
1 files changed, 4010 insertions, 2744 deletions
diff --git a/data/en_us/advisor/2018-01-20/api-docs.php b/data/en_us/advisor/2018-01-20/api-docs.php
index 8ed8e3b..9831c5d 100644
--- a/data/en_us/advisor/2018-01-20/api-docs.php
+++ b/data/en_us/advisor/2018-01-20/api-docs.php
@@ -1,213 +1,26 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Advisor',
- 'version' => '2018-01-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Advisor', 'version' => '2018-01-20'],
'directories' => [
[
- 'id' => 204006,
- 'title' => null,
+ 'children' => ['DescribeAdvisorChecks', 'DescribeAdvices', 'DescribeAdvisorResources', 'RefreshAdvisorCheck', 'RefreshAdvisorResource', 'DescribeAdvicesPage', 'GetTaskStatusById', 'GetHistoryAdvices', 'DescribeAdvicesFlatPage'],
'type' => 'directory',
- 'children' => [
- 'DescribeAdvisorChecks',
- 'DescribeAdvices',
- 'DescribeAdvisorResources',
- 'RefreshAdvisorCheck',
- 'RefreshAdvisorResource',
- 'DescribeAdvicesPage',
- 'GetTaskStatusById',
- 'GetHistoryAdvices',
- 'DescribeAdvicesFlatPage',
- ],
+ 'title' => 'Multi-dimensional inspection',
],
[
- 'id' => 204007,
- 'title' => null,
+ 'children' => ['GetProductList', 'DescribeCostCheckResults', 'DescribeCostCheckAdvices', 'GetInspectProgress', 'RefreshAdvisorCostCheck', 'DescribeAdvisorChecksFoPages', 'DescribeCostOptimizationOverview'],
'type' => 'directory',
- 'children' => [
- 'GetProductList',
- 'DescribeCostCheckResults',
- 'DescribeCostCheckAdvices',
- 'GetInspectProgress',
- 'RefreshAdvisorCostCheck',
- 'DescribeAdvisorChecksFoPages',
- 'DescribeCostOptimizationOverview',
- ],
+ 'title' => 'Cost optimization',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'DescribeAdvisorChecks' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [],
- 'parameters' => [
- [
- 'name' => 'Language',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'Product',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9'."\n",
- ],
- 'Data' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AdvisorCheck' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'enabled',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'OperateColumn' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'GmtModified' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'ViewColumn' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '['."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "type":"DEFAULT"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "type":"DEFAULT"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "type":"DEFAULT"'."\n"
- .' },'."\n"
- .']',
- ],
- 'GmtCreated' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Tips' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsHighCpuUtilization',
- ],
- 'Category' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- ],
- 500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"AdvisorCheck\\": [\\n {\\n \\"Status\\": \\"enabled\\",\\n \\"Product\\": \\"ecs\\",\\n \\"OperateColumn\\": \\"[{\\\\\\"key\\\\\\": \\\\\\"Detail\\\\\\", \\\\\\"value\\\\\\": \\\\\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\\\\\", \\\\\\"type\\\\\\": \\\\\\"template\\\\\\"} ]\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"ViewColumn\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"type\\\\\\":\\\\\\"DEFAULT\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"type\\\\\\":\\\\\\"DEFAULT\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"type\\\\\\":\\\\\\"DEFAULT\\\\\\"}, ]\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"Tips\\": \\"请排查实例资源占用情况或升级实例规格\\",\\n \\"Code\\": \\"EcsHighCpuUtilization\\",\\n \\"Category\\": \\"1\\",\\n \\"Name\\": \\"ECS 性能负载巡检\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAdvisorChecksResponse>\\n <Code>200</Code>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n <Data>\\n <Status>enabled</Status>\\n <Product>ecs</Product>\\n <OperateColumn>[{\\"key\\": \\"Detail\\", \\"value\\": \\"/diagnosis?product=${Product}&amp;resourceId=${Resource.resourceId}\\", \\"type\\": \\"template\\"} ]</OperateColumn>\\n <GmtModified>2023-07-01 00:00:00</GmtModified>\\n <ViewColumn>[{\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"type\\":\\"DEFAULT\\"}, {\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"type\\":\\"DEFAULT\\"}, {\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"type\\":\\"DEFAULT\\"}, ]</ViewColumn>\\n <GmtCreated>2023-07-01 00:00:00</GmtCreated>\\n <Description>CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高</Description>\\n <Tips>请排查实例资源占用情况或升级实例规格</Tips>\\n <Code>EcsHighCpuUtilization</Code>\\n <Category>1</Category>\\n <Name>ECS 性能负载巡检</Name>\\n </Data>\\n</DescribeAdvisorChecksResponse>","errorExample":""}]',
- ],
'DescribeAdvices' => [
- 'summary' => '根据多个维度获取用户最新的巡检结果,全量返回-openApi',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Retrieves the latest inspection results for users based on multiple dimensions, returning all results.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -218,80 +31,43 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
'name' => 'AdviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '12345678',
- ],
+ 'schema' => ['description' => 'The inspection result ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '40200899', 'title' => ''],
],
[
'name' => 'CheckId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EcsHighCpuUtilization',
- ],
+ 'schema' => ['description' => 'The inspection item code.', 'type' => 'string', 'required' => false, 'example' => 'EcsHighCpuUtilization', 'title' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp67acfmxazb4p****',
- ],
+ 'schema' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-2zecnwitr2s7aca6****', 'title' => ''],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'The language used for the request.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
'name' => 'ExcludeAdviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '12345678',
- ],
+ 'schema' => ['description' => 'The inspection result ID to exclude.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '40200889', 'title' => ''],
],
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The cloud product code.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
[
'name' => 'CheckPlanId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'The inspection plan ID. If not specified, the default system plan is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '111', 'title' => ''],
],
],
'responses' => [
@@ -299,223 +75,141 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
'Data' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Advice' => [
- 'description' => '',
+ 'description' => 'The query results.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The query result object.',
'type' => 'object',
'properties' => [
- 'Severity' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'GmtModified' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'IsExpired' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'GmtCreated' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'Resource' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "resourceId": xxxx,'."\n"
- .' "resourceName": xxxxxx,'."\n"
- .' "regionId": xxxx,'."\n"
- .' ...'."\n"
- .'}',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CheckId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsHighCpuUtilization',
- ],
- 'AliyunId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1234567891234567',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'i-bp67acfmxazb4p****',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '['."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "value":xxx'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "value":xxx'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "value":xxx'."\n"
- .' },'."\n"
- .']',
- ],
- 'Id' => [
- 'description' => 'ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'CheckName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CheckPlanId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Severity' => ['description' => 'The severity level:'."\n"
+ ."\n"
+ .'- **1**: Warning'."\n"
+ .'- **2**: Critical', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Product' => ['description' => 'The cloud product code.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'GmtModified' => ['description' => 'The time when the inspection result was last updated, in the format yyyy-mm-dd hh:mm:ss.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'IsExpired' => ['description' => 'Indicates whether the result has expired:'."\n"
+ ."\n"
+ .'- **false**: Not expired'."\n"
+ .'- **true**: Expired', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'GmtCreated' => ['description' => 'The time when the inspection result was created, in the format yyyy-mm-dd hh:mm:ss.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'Resource' => ['description' => 'The resource details in JSON format. For more information, see the API documentation for querying instance details of each cloud product.', 'type' => 'string', 'example' => '{"resourceId": "i-2zecnwitr2s7aca6****","resourceName": "ecs-20230701","regionId": "cn-hangzhou",...}', 'title' => ''],
+ 'Description' => ['description' => 'The inspection item description, recommended actions, and action instructions.', 'type' => 'string', 'example' => 'CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高', 'title' => ''],
+ 'CheckId' => ['description' => 'The inspection item code.', 'type' => 'string', 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ 'AliyunId' => ['description' => 'The Alibaba Cloud user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '192895059480****', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'example' => 'i-2zecnwitr2s7aca6****', 'title' => ''],
+ 'Content' => ['description' => 'The result details in JSON format, consistent with the display column format configured in the console.', 'type' => 'string', 'example' => '[{"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}]', 'title' => ''],
+ 'Id' => ['description' => 'The inspection result ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '40200899', 'title' => ''],
+ 'CheckName' => ['description' => 'The inspection item name.', 'type' => 'string', 'example' => 'ECS 性能负载巡检'."\n", 'title' => ''],
+ 'CheckPlanId' => ['description' => 'The inspection plan ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"Advice\\": [\\n {\\n \\"Severity\\": 1,\\n \\"Product\\": \\"ecs\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"IsExpired\\": false,\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"Resource\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"AliyunId\\": 0,\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"Content\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}]\\",\\n \\"Id\\": 40200899,\\n \\"CheckName\\": \\"ECS 性能负载巡检\\\\n\\",\\n \\"CheckPlanId\\": 111\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAdvicesResponse>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n <Data>\\n <Severity>1</Severity>\\n <Product>ecs</Product>\\n <GmtModified>2023-07-01 00:00:00</GmtModified>\\n <IsExpired>false</IsExpired>\\n <GmtCreated>2023-07-01 00:00:00</GmtCreated>\\n <Resource>{\\"resourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\"resourceName\\": \\"ecs-20230701\\",\\"regionId\\": \\"cn-hangzhou\\",...}</Resource>\\n <Description>CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高</Description>\\n <CheckId>EcsHighCpuUtilization</CheckId>\\n <ResourceId>i-2zecnwitr2s7aca6****</ResourceId>\\n <Content>[{\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"value\\":\\"xxx\\"}, {\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"value\\":\\"xxx\\"}, {\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"value\\":\\"xxx\\"}]</Content>\\n <Id>40200899</Id>\\n <CheckName>ECS 性能负载巡检\\n</CheckName>\\n </Data>\\n</DescribeAdvicesResponse>","errorExample":""}]',
- ],
- 'DescribeAdvisorResources' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'Get Latest Inspection Results',
+ 'description' => 'Not compatible with the Go SDK. If you need the Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAdvices'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"Advice\\": [\\n {\\n \\"Severity\\": 1,\\n \\"Product\\": \\"ecs\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"IsExpired\\": false,\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"Resource\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"AliyunId\\": 0,\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"Content\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}]\\",\\n \\"Id\\": 40200899,\\n \\"CheckName\\": \\"ECS 性能负载巡检\\\\n\\",\\n \\"CheckPlanId\\": 111\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvicesFlatPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
+ ],
'parameters' => [
[
- 'name' => 'ResourceId',
+ 'name' => 'AdviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp67acfmxazb4p****'."\n",
- ],
+ 'schema' => ['description' => 'The inspection result ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12345678', 'title' => ''],
],
[
- 'name' => 'Keyword',
+ 'name' => 'CheckId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcd',
- ],
+ 'schema' => ['description' => 'The inspection item code.', 'type' => 'string', 'required' => false, 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-2zecnwitr2s7aca6****'."\n", 'title' => ''],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'The language of the request.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The cloud service code.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
],
'responses' => [
@@ -523,222 +217,144 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The query result.',
'type' => 'object',
'properties' => [
- 'PageNo' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Total' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'Result' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Resource' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Data' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "resourceId": "xxxxx",'."\n"
- .' "deviceAvailable": true,'."\n"
- .' ...'."\n"
- .'}',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'i-bp67acfmxazb4p****',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'ResourceName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs-20230701',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
+ 'description' => 'The array of query result objects.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AliyunId' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '192895059480****', 'title' => ''],
+ 'CheckId' => ['description' => 'The inspection item code.', 'type' => 'string', 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ 'CheckName' => ['description' => 'The name of the inspection item.', 'type' => 'string', 'example' => 'ECS 性能负载巡检', 'title' => ''],
+ 'Content' => ['description' => 'The result details in JSON format, consistent with the display column format configured in the console. The fields are returned in a flattened structure.', 'type' => 'string', 'example' => '[{"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, ]', 'title' => ''],
+ 'Description' => ['description' => 'The description of the inspection item, including recommended actions and instructions.', 'type' => 'string', 'example' => 'CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高', 'title' => ''],
+ 'GmtCreated' => ['description' => 'The time when the inspection result was created, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'GmtModified' => ['description' => 'The time when the inspection result was last updated, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'Id' => ['description' => 'The inspection result ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '40200899', 'title' => ''],
+ 'IsExpired' => ['description' => 'Indicates whether the inspection result has expired. Valid values:'."\n"
+ ."\n"
+ .'- **false**: Not expired.'."\n"
+ .'- **true**: Expired.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Product' => ['description' => 'The cloud service code.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'Resource' => ['description' => 'The resource details in JSON format. For more information, refer to the API documentation for querying instance details of each cloud service. The fields are returned in a flattened structure.', 'type' => 'string', 'example' => '{"resourceId": "i-2zecnwitr2s7aca6****","resourceName": "ecs-20230701","regionId": "cn-hangzhou",...}', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'example' => 'i-bp67acfmxazb4p****', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Warning.'."\n"
+ .'- **2**: Critical.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": {\\n \\"Resource\\": [\\n {\\n \\"Data\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"Product\\": \\"ecs\\",\\n \\"ResourceName\\": \\"ecs-20230701\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAdvisorResourcesResponse>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <Total>100</Total>\\n <Result>\\n <Data>{\\"resourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\"resourceName\\": \\"ecs-20230701\\",\\"regionId\\": \\"cn-hangzhou\\",...}</Data>\\n <ResourceId>i-2zecnwitr2s7aca6****</ResourceId>\\n <Product>ecs</Product>\\n <ResourceName>ecs-20230701</ResourceName>\\n <RegionId>cn-hangzhou</RegionId>\\n </Result>\\n </Data>\\n</DescribeAdvisorResourcesResponse>","errorExample":""}]',
- ],
- 'RefreshAdvisorCheck' => [
- 'summary' => '触发立即巡检',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'List latest inspection results (flattened) with pagination',
+ 'summary' => 'Retrieves the latest inspection results based on multiple dimensions and returns them in a paginated format with certain fields flattened.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvicesFlatPage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"AliyunId\\": 0,\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"CheckName\\": \\"ECS 性能负载巡检\\",\\n \\"Content\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, ]\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"Id\\": 40200899,\\n \\"IsExpired\\": false,\\n \\"Product\\": \\"ecs\\",\\n \\"Resource\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"ResourceId\\": \\"i-bp67acfmxazb4p****\\",\\n \\"Severity\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvicesPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
- 'name' => 'ResourceId',
+ 'name' => 'AdviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp67acfmxazb4p****',
- ],
+ 'schema' => ['description' => 'The inspection result ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12345678', 'title' => ''],
],
[
'name' => 'CheckId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EcsHighCpuUtilization',
- ],
+ 'schema' => ['description' => 'The inspection item code.', 'type' => 'string', 'required' => false, 'example' => 'EcsHighCpuUtilization', 'title' => ''],
],
[
- 'name' => 'Product',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-2zecnwitr2s7aca6****'."\n", 'title' => ''],
],
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'The language of the request.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
- 'name' => 'ResourceDimensionList',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Product' => [
- 'type' => 'string',
- ],
- 'Security' => [
- 'type' => 'boolean',
- ],
- 'Performance' => [
- 'type' => 'boolean',
- ],
- 'Reliablility' => [
- 'type' => 'boolean',
- ],
- 'Cost' => [
- 'type' => 'boolean',
- ],
- 'Service' => [
- 'type' => 'boolean',
- ],
- 'ProductName' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The cloud service code.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
[
- 'name' => 'AssumeAliyunId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'CheckPlanId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'Token',
+ 'name' => 'CheckPlanId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The inspection plan ID. If this parameter is not specified, the system default plan is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '111', 'title' => ''],
],
],
'responses' => [
@@ -746,104 +362,114 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The query result.',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TraceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'manual-1be17af1121b4974822e69daee4f2481',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12345678',
- ],
- 'Message' => [
- 'type' => 'string',
+ 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The array of query result objects.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AliyunId' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '192895059480****', 'title' => ''],
+ 'CheckId' => ['description' => 'The inspection item code.', 'type' => 'string', 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ 'CheckName' => ['description' => 'The name of the inspection item.', 'type' => 'string', 'example' => 'ECS 性能负载巡检', 'title' => ''],
+ 'Content' => ['description' => 'The result details in JSON format, consistent with the display column format configured in the console.', 'type' => 'string', 'example' => '[{"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, ]', 'title' => ''],
+ 'Description' => ['description' => 'The description of the inspection item, including recommended actions and instructions.', 'type' => 'string', 'example' => 'CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高', 'title' => ''],
+ 'GmtCreated' => ['description' => 'The time when the inspection result was created, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'GmtModified' => ['description' => 'The time when the inspection result was last updated, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'Id' => ['description' => 'The inspection result ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '40200899', 'title' => ''],
+ 'IsExpired' => ['description' => 'Indicates whether the result has expired. Valid values:'."\n"
+ ."\n"
+ .'- **false**: Not expired.'."\n"
+ .'- **true**: Expired.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
+ 'Product' => ['description' => 'The cloud service code.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'Resource' => ['description' => 'The resource details in JSON format. For more information, refer to the API documentation for instance details of each cloud service.', 'type' => 'string', 'example' => '{"resourceId": "i-2zecnwitr2s7aca6****","resourceName": "ecs-20230701","regionId": "cn-hangzhou",...}', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'example' => 'i-2zecnwitr2s7aca6****', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Warning.'."\n"
+ .'- **2**: Critical.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"TraceId\\": \\"manual-1be17af1121b4974822e69daee4f2481\\",\\n \\"TaskId\\": 95906135,\\n \\"Message\\": \\"\\"\\n },\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\"\\n}","errorExample":""},{"type":"xml","example":"<RefreshAdvisorCheckResponse>\\n <Data>\\n <Success>true</Success>\\n <TraceId>manual-1be17af1121b4974822e69daee4f2481</TraceId>\\n <TaskId>95906135</TaskId>\\n </Data>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n</RefreshAdvisorCheckResponse>","errorExample":""}]',
- ],
- 'RefreshAdvisorResource' => [
- 'summary' => 'RefreshAdvisorResource',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'Retrieve latest inspection results by page',
+ 'summary' => 'Retrieves the latest inspection results based on multiple dimensions and returns them in a paginated format.',
+ 'description' => 'Not compatible with Go SDK. If you need Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvicesPage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"AliyunId\\": 0,\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"CheckName\\": \\"ECS 性能负载巡检\\",\\n \\"Content\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, ]\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"Id\\": 40200899,\\n \\"IsExpired\\": false,\\n \\"Product\\": \\"ecs\\",\\n \\"Resource\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"Severity\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvisorChecks' => [
+ 'summary' => 'Retrieves the inspection items currently available to the user.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The language to use.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'i-bp67acfmxazb4p****',
- 'title' => '',
- ],
+ 'schema' => ['description' => 'The code of the cloud service.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
],
'responses' => [
@@ -851,63 +477,97 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
'Data' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AdvisorCheck' => [
+ 'description' => 'The query result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'Indicates whether the inspection item is disabled. Valid values:'."\n"
+ ."\n"
+ .'- **enabled**: The inspection item is available.'."\n"
+ ."\n"
+ .'- **disabled**: The inspection item is disabled.', 'type' => 'string', 'example' => 'enabled', 'title' => ''],
+ 'Product' => ['description' => 'The code of the cloud service.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'OperateColumn' => ['description' => 'The operation field. Uses the JSON field defined in the frontend template or the action of the diagnostic suggestion.', 'type' => 'string', 'example' => '[{"key": "Detail", "value": "/diagnosis?product=${Product}&resourceId=${Resource.resourceId}", "type": "template"} ]', 'title' => ''],
+ 'GmtModified' => ['description' => 'The time when the inspection item configuration was last updated, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'ViewColumn' => ['description' => 'The display columns, which specify the detailed configuration for displaying inspection item details in the console.', 'type' => 'string', 'example' => '[{"key":"EcsHighCpuUtilization_xxxx", "type":"DEFAULT"}, {"key":"EcsHighCpuUtilization_xxxx", "type":"DEFAULT"}, {"key":"EcsHighCpuUtilization_xxxx", "type":"DEFAULT"}, ]', 'title' => ''],
+ 'GmtCreated' => ['description' => 'The time when the inspection item configuration was created, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'Description' => ['description' => 'The description of the inspection item, including recommended actions and instructions.', 'type' => 'string', 'example' => 'CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高', 'title' => ''],
+ 'Tips' => ['description' => 'A brief summary of the inspection suggestion.', 'type' => 'string', 'example' => '请排查实例资源占用情况或升级实例规格', 'title' => ''],
+ 'Code' => ['description' => 'The code of the inspection item.', 'type' => 'string', 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ 'Category' => ['description' => 'The category of the inspection item. Valid values:'."\n"
+ ."\n"
+ .'- **1**: security compliance'."\n"
+ ."\n"
+ .'- **2**: performance efficiency'."\n"
+ ."\n"
+ .'- **3**: business stability'."\n"
+ ."\n"
+ .'- **4**: cost optimization'."\n"
+ ."\n"
+ .'- **5**: service quota.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Name' => ['description' => 'The name of the inspection item.', 'type' => 'string', 'example' => 'ECS 性能负载巡检', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12345678',
- ],
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": 95906134,\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\"\\n}","errorExample":""},{"type":"xml","example":"<RefreshAdvisorResourceResponse>\\n <Data>95906134</Data>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n</RefreshAdvisorResourceResponse>","errorExample":""}]',
- ],
- 'DescribeAdvicesPage' => [
- 'summary' => 'DescribeAdvices分页',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'Retrieve inspection items',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAdvisorChecks'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorChecks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"AdvisorCheck\\": [\\n {\\n \\"Status\\": \\"enabled\\",\\n \\"Product\\": \\"ecs\\",\\n \\"OperateColumn\\": \\"[{\\\\\\"key\\\\\\": \\\\\\"Detail\\\\\\", \\\\\\"value\\\\\\": \\\\\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\\\\\", \\\\\\"type\\\\\\": \\\\\\"template\\\\\\"} ]\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"ViewColumn\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"type\\\\\\":\\\\\\"DEFAULT\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"type\\\\\\":\\\\\\"DEFAULT\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"type\\\\\\":\\\\\\"DEFAULT\\\\\\"}, ]\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"Tips\\": \\"请排查实例资源占用情况或升级实例规格\\",\\n \\"Code\\": \\"EcsHighCpuUtilization\\",\\n \\"Category\\": \\"1\\",\\n \\"Name\\": \\"ECS 性能负载巡检\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvisorChecksFoPages' => [
+ 'summary' => 'Queries inspection items by page.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -919,953 +579,631 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
+ 'abilityTreeCode' => '218228',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
- 'name' => 'AdviceId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '12345678',
- ],
+ 'schema' => ['description' => 'The page number of the algorithm library list. Minimum value: 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'CheckId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EcsHighCpuUtilization',
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp67acfmxazb4p****',
- ],
+ 'schema' => ['description' => 'The name of the inspection item.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''],
],
[
- 'name' => 'Language',
+ 'name' => 'Category',
'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'This parameter is invalid. Cost optimization is not supported.',
+ 'enumValueTitles' => [],
'type' => 'string',
'required' => false,
- 'example' => 'zh',
+ 'example' => '*',
+ 'title' => '',
],
],
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The code of the cloud service.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'Specifies whether the inspection item is disabled. Valid values:'."\n"
+ ."\n"
+ .'- **enabled**: Enabled.'."\n"
+ ."\n"
+ .'- **disabled**: Disabled.', 'type' => 'string', 'required' => false, 'example' => 'enabled', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Token',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The credential token.', 'type' => 'string', 'required' => false, 'example' => '***', 'title' => ''],
+ ],
+ [
+ 'name' => 'BizCategory',
'in' => 'query',
+ 'schema' => ['description' => 'The inspection type.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''],
+ ],
+ [
+ 'name' => 'AssumeAliyunId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The primary account for inspection.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11*********35', 'title' => ''],
+ ],
+ [
+ 'name' => 'CheckTypes',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'This parameter is invalid. Cost optimization is not supported.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The inspection category.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '*', 'title' => ''],
'required' => false,
- 'example' => '10',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'CheckPlanId',
+ 'name' => 'Source',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'This parameter is invalid. Cost optimization is not supported.', 'type' => 'string', 'required' => false, 'example' => '*', 'title' => ''],
+ ],
+ [
+ 'name' => 'Language',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9'],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
'Data' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'PageNo' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Total' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'AliyunId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => ' '."\n"
- .'1234567891234567',
- ],
- 'CheckId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsHighCpuUtilization',
- ],
- 'CheckName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '['."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "value":xxx'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "value":xxx'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "key":"EcsHighCpuUtilization_xxxx",'."\n"
- .' "value":xxx'."\n"
- .' },'."\n"
- .']',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'GmtCreated' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'GmtModified' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'Id' => [
- 'description' => 'ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'IsExpired' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'Resource' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "resourceId": xxxx,'."\n"
- .' "resourceName": xxxxxx,'."\n"
- .' "regionId": xxxx,'."\n"
- .' ...'."\n"
- .'}',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'i-bp67acfmxazb4p****',
- ],
- 'Severity' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'description' => 'The query result object.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The query result object.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the inspection item.', 'type' => 'string', 'example' => 'ECS低利用率检查', 'title' => ''],
+ 'Code' => ['description' => 'The code of the inspection item.', 'type' => 'string', 'example' => 'EcsCostLowUtilizationCheck', 'title' => ''],
+ 'Tips' => ['description' => 'A brief description of the inspection suggestion.', 'type' => 'string', 'example' => 'ECS低利用率建议结合实际业务考虑对实例进行降配操作,<a href = \\"https://help.aliyun.com/zh/ecs/user-guide/overview-of-instance-configuration-changes\\" target =\\"_blank\\">参考文档</a>。', 'title' => ''],
+ 'Category' => ['description' => 'The category of the inspection item. Valid values:'."\n"
+ ."\n"
+ .'- **21**: low resource utilization'."\n"
+ ."\n"
+ .'- **22**: idle resources'."\n"
+ ."\n"
+ .'- **23**: payment method'."\n"
+ ."\n"
+ .'- **24**: generation upgrade.', 'type' => 'string', 'example' => '21', 'title' => ''],
+ 'SubCategory' => [
+ 'description' => 'Not supported.',
+ 'type' => 'array',
+ 'items' => ['description' => 'Not supported.', 'type' => 'integer', 'format' => 'int64', 'example' => '*', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Status' => ['description' => 'Specifies whether the inspection item is disabled. Valid values:'."\n"
+ ."\n"
+ .'- **enabled**: Enabled.'."\n"
+ ."\n"
+ .'- **disabled**: Disabled.', 'type' => 'string', 'example' => 'enabled', 'title' => ''],
+ 'ConfigSupport' => ['description' => 'Indicates whether custom configuration is supported.', 'type' => 'string', 'example' => 'false', 'title' => ''],
+ 'ViewColumn' => ['description' => 'The display columns, which specify the detailed configuration of the inspection item displayed in the console.', 'type' => 'string', 'example' => '[{\\"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\\"}]', 'title' => ''],
+ 'OperateColumn' => ['description' => 'The operation field, which uses JSON fields defined in the frontend template or the action of the diagnostic suggestion.', 'type' => 'string', 'example' => '[{\\"type\\":\\"template\\",\\"value\\":\\"cloudmonitor.console.aliyun.com/index.htm?custom_trace=ecs_console#/hostDetail/chart/instanceId=${Resource.resourceId}&system=Linux&region=${Resource.regionId}&aliyunhost=true\\",\\"key\\":\\"Detail\\"},{\\"type\\":\\"template\\",\\"value\\":\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\",\\"key\\":\\"Refresh\\"}]'."\n", 'title' => ''],
+ 'InspectionScope' => ['description' => 'The inspection scope.', 'type' => 'string', 'example' => 'false', 'title' => ''],
+ 'Product' => ['description' => 'The code of the cloud service.', 'type' => 'string', 'example' => 'ECS', 'title' => ''],
+ 'Description' => ['description' => 'The description of the inspection item, including recommended operations and operation instructions.', 'type' => 'string', 'example' => 'Advisor 将检查账号下所有ECS实例,规格为r5或g5规格的ECS,建议升级为r6或g6', 'title' => ''],
+ 'Source' => ['description' => 'The source of the inspection item. Valid values:'."\n"
+ .'- **Advisor**: Inspection item created by Intelligent Advisor.'."\n"
+ ."\n"
+ .'- **Governance**: Cloud Governance Center.'."\n"
+ ."\n"
+ .'- **Config**: Configuration audit.', 'type' => 'string', 'example' => 'Advisor', 'title' => ''],
+ 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n"
+ .'- 1: Warning.'."\n"
+ ."\n"
+ .'- 2: Critical.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
+ 'Message' => ['description' => 'The message details.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
],
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"AliyunId\\": 0,\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"CheckName\\": \\"ECS 性能负载巡检\\",\\n \\"Content\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, ]\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"Id\\": 40200899,\\n \\"IsExpired\\": false,\\n \\"Product\\": \\"ecs\\",\\n \\"Resource\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"Severity\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeAdvicesPageResponse>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n <Data>\\n <PageNo>1</PageNo>\\n <PageSize>10</PageSize>\\n <Total>100</Total>\\n <Result>\\n <CheckId>EcsHighCpuUtilization</CheckId>\\n <CheckName>ECS 性能负载巡检</CheckName>\\n <Content>[{\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"value\\":\\"xxx\\"}, {\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"value\\":\\"xxx\\"}, {\\"key\\":\\"EcsHighCpuUtilization_xxxx\\", \\"value\\":\\"xxx\\"}, ]</Content>\\n <Description>CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高</Description>\\n <GmtCreated>2023-07-01 00:00:00</GmtCreated>\\n <GmtModified>2023-07-01 00:00:00</GmtModified>\\n <Id>40200899</Id>\\n <IsExpired>false</IsExpired>\\n <Product>ecs</Product>\\n <Resource>{\\"resourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\"resourceName\\": \\"ecs-20230701\\",\\"regionId\\": \\"cn-hangzhou\\",...}</Resource>\\n <ResourceId>i-2zecnwitr2s7aca6****</ResourceId>\\n <Severity>1</Severity>\\n </Result>\\n </Data>\\n</DescribeAdvicesPageResponse>","errorExample":""}]',
- ],
- 'GetTaskStatusById' => [
- 'summary' => '根据id获取任务状态',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => 'List inspection items with pagination',
+ 'description' => 'This operation is not compatible with Go SDK. If you need Go SDK, use the DescribeAdvicesFlatPage operation instead.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorChecksFoPages',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"Name\\": \\"ECS低利用率检查\\",\\n \\"Code\\": \\"EcsCostLowUtilizationCheck\\",\\n \\"Tips\\": \\"ECS低利用率建议结合实际业务考虑对实例进行降配操作,<a href = \\\\\\\\\\\\\\"https://help.aliyun.com/zh/ecs/user-guide/overview-of-instance-configuration-changes\\\\\\\\\\\\\\" target =\\\\\\\\\\\\\\"_blank\\\\\\\\\\\\\\">参考文档</a>。\\",\\n \\"Category\\": \\"21\\",\\n \\"SubCategory\\": [\\n 0\\n ],\\n \\"Status\\": \\"enabled\\",\\n \\"ConfigSupport\\": \\"false\\",\\n \\"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\\\\\\\\\\\\\\"}]\\",\\n \\"OperateColumn\\": \\"[{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"template\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cloudmonitor.console.aliyun.com/index.htm?custom_trace=ecs_console#/hostDetail/chart/instanceId=${Resource.resourceId}&system=Linux&region=${Resource.regionId}&aliyunhost=true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Detail\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"template\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Refresh\\\\\\\\\\\\\\"}]\\\\n\\",\\n \\"InspectionScope\\": \\"false\\",\\n \\"Product\\": \\"ECS\\",\\n \\"Description\\": \\"Advisor 将检查账号下所有ECS实例,规格为r5或g5规格的ECS,建议升级为r6或g6\\",\\n \\"Source\\": \\"Advisor\\",\\n \\"RiskLevel\\": 1\\n }\\n ]\\n }\\n ],\\n \\"Success\\": true,\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvisorResources' => [
+ 'summary' => 'Retrieves the list of inspection resources. You must trigger resource information synchronization before you can obtain the latest results.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
- 'name' => 'TaskId',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => '95906135',
- ],
+ 'schema' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-2zecnwitr2s7aca6****'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The query keyword. You can use this parameter to fuzzy match a resource or instance ID or name.', 'type' => 'string', 'required' => false, 'example' => 'ecs001', 'title' => ''],
+ ],
+ [
+ 'name' => 'Language',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The language of the request.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
+ ],
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The cloud service code.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9'."\n",
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The query result.',
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '95906135',
- ],
- 'TaskStatus' => [
+ 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'Result' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Resource' => [
+ 'description' => 'The array of query results.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The query result object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => ['description' => 'The resource details in JSON format. For more information, refer to the API documentation for querying instance details of each cloud service.', 'type' => 'string', 'example' => '{"resourceId": "i-2zecnwitr2s7aca6****","resourceName": "ecs-20230701","regionId": "cn-hangzhou",...}', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'example' => 'i-2zecnwitr2s7aca6****', 'title' => ''],
+ 'Product' => ['description' => 'The cloud service code.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'ecs-20230701', 'title' => ''],
+ 'RegionId' => ['description' => 'The region information.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\\\n\\",\\n \\"Data\\": {\\n \\"TaskId\\": 95906135,\\n \\"TaskStatus\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetTaskStatusByIdResponse>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9\\n</RequestId>\\n <Data>\\n <TaskId>95906135</TaskId>\\n <TaskStatus>1</TaskStatus>\\n </Data>\\n</GetTaskStatusByIdResponse>","errorExample":""}]',
- ],
- 'GetHistoryAdvices' => [
- 'methods' => [
- 'get',
- 'post',
+ 'title' => 'Retrieve resource list',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAdvisorResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": {\\n \\"Resource\\": [\\n {\\n \\"Data\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"Product\\": \\"ecs\\",\\n \\"ResourceName\\": \\"ecs-20230701\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCostCheckAdvices' => [
+ 'summary' => 'Queries the details of cost optimization results.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
+ ],
'parameters' => [
[
- 'name' => 'Language',
+ 'name' => 'CheckId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'The inspection item code.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'EcsCostLowUtilizationCheck', 'title' => ''],
],
[
- 'name' => 'Product',
+ 'name' => 'ResourceName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The resource name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'Severity',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: warning'."\n"
+ .'- **2**: critical.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'PageSize',
+ 'name' => 'RegionIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The list of edge node IDs. This parameter is used as a filter condition for the query. You can specify multiple IDs separated by commas (,). By default, all edge nodes are queried.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The list of region information.', 'type' => 'string', 'required' => false, 'example' => '[\\"cn-beijing\\"]', 'title' => ''],
'required' => false,
- 'example' => '10',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'PageNum',
+ 'name' => 'ResourceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The list of resource IDs (instance name list).',
+ 'type' => 'array',
+ 'items' => ['description' => 'The list of instance IDs to query.', 'type' => 'string', 'required' => false, 'example' => '[\\"trigger_hotfix_install\\"]', 'title' => ''],
'required' => false,
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'StartDate',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-07-01',
- ],
+ 'schema' => ['description' => 'The page number of the instance status list. Minimum value: 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '6', 'title' => ''],
],
[
- 'name' => 'EndDate',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-07-01'."\n",
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'Reverse',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The language to use.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
- ],
- 'Data' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'PageNo' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Total' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Severity' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'GmtCreated' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CheckId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsHighCpuUtilization',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'i-bp67acfmxazb4p****',
- ],
- 'CheckName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://ecs.console.aliyun.com/#/server/i-bp67acfmxazb4p****/detail?regionId=cn-hangzhou',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.',
- ],
- ],
- 500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"Severity\\": 1,\\n \\"Product\\": \\"ecs\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"CheckName\\": \\"ECS 性能负载巡检\\",\\n \\"Url\\": \\"https://ecs.console.aliyun.com/#/server/i-2zecnwitr2s7aca6****/detail?regionId=cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetHistoryAdvicesResponse>\\n <RequestId>566331F9-5AB3-550F-B745-A730331F97A9</RequestId>\\n <Data>\\n <PageNo>1</PageNo>\\n <Total>100</Total>\\n <Result>\\n <Severity>1</Severity>\\n <Product>ecs</Product>\\n <GmtCreated>2023-07-01 00:00:00</GmtCreated>\\n <Description>CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高</Description>\\n <CheckId>EcsHighCpuUtilization</CheckId>\\n <ResourceId>i-2zecnwitr2s7aca6****</ResourceId>\\n <CheckName>ECS 性能负载巡检</CheckName>\\n <Url>https://ecs.console.aliyun.com/#/server/i-2zecnwitr2s7aca6****/detail?regionId=cn-hangzhou</Url>\\n </Result>\\n </Data>\\n</GetHistoryAdvicesResponse>","errorExample":""}]',
- ],
- 'DescribeAdvicesFlatPage' => [
- 'summary' => 'DescribeAdvicesFlat分页',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [],
- 'parameters' => [
- [
- 'name' => 'AdviceId',
+ 'name' => 'TagKeys',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'The list of tag keys that meet the filter conditions.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The collection of tag keys.', 'type' => 'string', 'required' => false, 'example' => '[]', 'title' => ''],
'required' => false,
- 'example' => '12345678',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'CheckId',
+ 'name' => 'TagValues',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The tag value.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => '[\'x20\', \'x29\', \'x30\']', 'title' => ''],
'required' => false,
- 'example' => 'EcsHighCpuUtilization',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'AssumeAliyunIdList',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The collection of member account IDs to query.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The collection of member account IDs to query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[1802******3100]', 'title' => ''],
'required' => false,
- 'example' => 'i-2zecnwitr2s7aca6****'."\n",
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Language',
+ 'name' => 'TagList',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The list of tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of tags.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'ecs_***_shanghai', 'title' => ''],
+ 'TagValue' => [
+ 'description' => 'The tag value.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'region', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => 'zh',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Product',
+ 'name' => 'CheckPlanId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ResourceGroupIdList',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
- 'example' => '1',
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
- ],
'Data' => [
- 'description' => '',
+ 'description' => 'The query result object.',
'type' => 'object',
'properties' => [
- 'PageNo' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'Total' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Result' => [
- 'description' => '',
+ 'TotalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'CheckId' => ['description' => 'The inspection item code.', 'type' => 'string', 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ 'AdviceList' => [
+ 'description' => 'The collection of inspection results.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The inspection result.',
'type' => 'object',
'properties' => [
- 'AliyunId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '192895059480****',
- ],
- 'CheckId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsHighCpuUtilization',
- ],
- 'CheckName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[{"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, {"key":"EcsHighCpuUtilization_xxxx", "value":"xxx"}, ]',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
+ 'AliyunId' => ['description' => 'The Alibaba Cloud account ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '111******767', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'example' => 'i-2ze5*****ef7d2lk63in', 'title' => ''],
+ 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => '1200***bles_df', 'title' => ''],
+ 'Product' => ['description' => 'The cloud service code.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'RegionId' => ['description' => 'The region information.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''],
+ 'Severity' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: warning'."\n"
+ .'- **2**: critical.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Content' => ['description' => 'The result details in JSON format, consistent with the display column format configured in the console.', 'type' => 'string', 'example' => '{\'Domains\': [{\'Status\': \'success\', \'\': \'cn\', \'DomainName\': \'www.****.com\', Region\'Desc\': \'ok\'}]}', 'title' => ''],
+ 'StartTime' => ['description' => 'The start time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-02-04T16:00:00Z', 'title' => ''],
+ 'EndTime' => ['description' => 'The end time of the query.'."\n"
+ ."\n"
+ .'The time follows the ISO 8601 standard in UTC+0. Format: yyyy-MM-ddTHH:mm:ssZ.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-03-05T02:02:00Z', 'title' => ''],
+ 'GmtDeleted' => ['description' => 'The deletion time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-03-05T02:02:00Z'."\n", 'title' => ''],
+ 'Url' => ['description' => 'The URL to the resource corresponding to the inspection item.', 'type' => 'string', 'example' => 'https://fs1.xuece.cn/exam/import/***/30***0-9d16-c07b43c8ca6a.png', 'title' => ''],
+ 'UserName' => ['description' => 'The username.', 'type' => 'string', 'example' => 'test', 'title' => ''],
+ 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-beijing-h', 'title' => ''],
+ 'Tags' => [
+ 'description' => 'The service tag keys.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag key.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'autoTest-7', 'title' => ''],
+ 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'basic', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
'example' => '',
],
- 'GmtCreated' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'GmtModified' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'Id' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '40200899',
- ],
- 'IsExpired' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'Resource' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{"resourceId": "i-2zecnwitr2s7aca6****","resourceName": "ecs-20230701","regionId": "cn-hangzhou",...}',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'i-bp67acfmxazb4p****',
- ],
- 'Severity' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'AccountFolderId' => ['description' => 'The resource folder ID.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'AccountFolderName' => ['description' => 'The resource folder name.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'Email' => ['description' => 'Email', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '566331F9-****-550F-B745-A730331F97A9'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'example' => 'True', 'title' => ''],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
],
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"AliyunId\\": 0,\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"CheckName\\": \\"ECS 性能负载巡检\\",\\n \\"Content\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, {\\\\\\"key\\\\\\":\\\\\\"EcsHighCpuUtilization_xxxx\\\\\\", \\\\\\"value\\\\\\":\\\\\\"xxx\\\\\\"}, ]\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"GmtModified\\": \\"2023-07-01 00:00:00\\",\\n \\"Id\\": 40200899,\\n \\"IsExpired\\": false,\\n \\"Product\\": \\"ecs\\",\\n \\"Resource\\": \\"{\\\\\\"resourceId\\\\\\": \\\\\\"i-2zecnwitr2s7aca6****\\\\\\",\\\\\\"resourceName\\\\\\": \\\\\\"ecs-20230701\\\\\\",\\\\\\"regionId\\\\\\": \\\\\\"cn-hangzhou\\\\\\",...}\\",\\n \\"ResourceId\\": \\"i-bp67acfmxazb4p****\\",\\n \\"Severity\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]',
- ],
- 'GetProductList' => [
- 'summary' => '获取云产品的列表',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Cost optimization result details',
+ 'description' => 'Not compatible with Go SDK. If you need Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Token',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '****',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '',
- 'type' => 'string',
- 'example' => '566331F9-****-550F-B745-A730331F97A9'."\n",
- ],
- 'Data' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Category' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'ProductList' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'hologres',
- ],
- 'NewLabel' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'UserMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'AuthPrincipalType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '****',
- ],
- 'NoPermissionType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'PolicyType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*',
- ],
- ],
- ],
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCostCheckAdvices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- 'errorCodes' => [
- 403 => [
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.',
- ],
- ],
- 500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\\\n\\",\\n \\"Data\\": [\\n {\\n \\"Category\\": \\"\\\\\\"大数据计算\\\\\\"\\\\n\\",\\n \\"ProductList\\": [\\n {\\n \\"Product\\": \\"hologres\\",\\n \\"NewLabel\\": \\"实时数仓 Hologres\\"\\n }\\n ]\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"UserMessage\\": \\"*\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"*\\",\\n \\"AuthPrincipalDisplayName\\": \\"*\\",\\n \\"AuthPrincipalOwnerId\\": \\"*\\",\\n \\"AuthPrincipalType\\": \\"*\\",\\n \\"EncodedDiagnosticMessage\\": \\"****\\",\\n \\"NoPermissionType\\": \\"*\\",\\n \\"PolicyType\\": \\"*\\"\\n }\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 0,\\n \\"PageNumber\\": 4,\\n \\"PageSize\\": 10,\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"AdviceList\\": [\\n {\\n \\"AliyunId\\": 0,\\n \\"ResourceId\\": \\"i-2ze5*****ef7d2lk63in\\",\\n \\"ResourceName\\": \\"1200***bles_df\\",\\n \\"Product\\": \\"ecs\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"Severity\\": \\"1\\",\\n \\"Content\\": \\"{\'Domains\': [{\'Status\': \'success\', \'\': \'cn\', \'DomainName\': \'www.****.com\', Region\'Desc\': \'ok\'}]}\\",\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 0,\\n \\"GmtDeleted\\": 0,\\n \\"Url\\": \\"https://fs1.xuece.cn/exam/import/***/30***0-9d16-c07b43c8ca6a.png\\",\\n \\"UserName\\": \\"test\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"autoTest-7\\",\\n \\"TagValue\\": \\"basic\\"\\n }\\n ],\\n \\"AccountFolderId\\": \\"1\\",\\n \\"AccountFolderName\\": \\"1\\",\\n \\"Email\\": \\"xxx\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Success\\": \\"True\\",\\n \\"Message\\": \\"OK\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
],
'DescribeCostCheckResults' => [
- 'summary' => '查询巡检项聚合成本优化结果概览',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1877,74 +1215,52 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The cloud service code.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ecs', 'title' => ''],
],
[
'name' => 'CheckIds',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of check item IDs.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EcsCostLowUtilizationCheck',
- ],
+ 'items' => ['description' => 'The list of check item IDs.', 'type' => 'string', 'required' => false, 'example' => 'EcsCostLowUtilizationCheck', 'title' => ''],
'required' => false,
'docRequired' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'Severity',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Warning.'."\n"
+ .'- **2**: Critical.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ResourceName',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SYNC_********_TASK',
- ],
+ 'schema' => ['description' => 'The resource name.', 'type' => 'string', 'required' => false, 'example' => 'SYNC_********_TASK', 'title' => ''],
],
[
'name' => 'RegionIds',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of region IDs in array format.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"ap-southeast-1\\"]',
- ],
+ 'items' => ['description' => 'The list of region IDs. This parameter is used as a filter condition. You can specify multiple region IDs separated by commas (,). By default, all regions are queried.', 'type' => 'string', 'required' => false, 'example' => '[\\"ap-southeast-1\\"]', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -1952,15 +1268,12 @@
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of resource IDs. A maximum of 100 IDs are supported.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"Create-cpdprod\\"]',
- ],
+ 'items' => ['description' => 'The list of Anti-DDoS Pro and Anti-DDoS Premium instance IDs in the Chinese mainland to query.', 'type' => 'string', 'required' => false, 'example' => '[\\"Create-cpdprod\\"]', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -1968,42 +1281,32 @@
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The IDs of the member accounts to query.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[180*********100]',
- ],
+ 'items' => ['description' => 'The ID of the member accounts to query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[180*********100]', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Category',
- ],
+ 'schema' => ['description' => 'The dimension by which to group results. Valid values:'."\n"
+ .'- Category: groups by type (default). '."\n"
+ .'- Product: groups by product.', 'type' => 'string', 'required' => false, 'example' => 'Category', 'title' => ''],
],
[
'name' => 'TagKeys',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of tag keys that meet the filter conditions.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\'TagKey\': \'acs:tag:createdby\', \'TagCount\': 1}]',
- ],
+ 'items' => ['description' => 'The list of tag key details.', 'type' => 'string', 'required' => false, 'example' => '[{\'TagKey\': \'acs:tag:createdby\', \'TagCount\': 1}]', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -2011,15 +1314,12 @@
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The tag values.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\'TagValue\': []}',
- ],
+ 'items' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => '{\'TagValue\': []}', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -2027,33 +1327,29 @@
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of tags.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The business tag.',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ERP',
- ],
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'ERP', 'title' => ''],
'TagValue' => [
- 'description' => '',
+ 'description' => 'The tag values.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'items' => ['description' => 'The tag values.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -2061,262 +1357,166 @@
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of resource group IDs used as a filter.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx',
- ],
+ 'items' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'xxxx', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'CheckPlanId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'Language',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'Data' => [
- 'description' => '',
+ 'description' => 'The query result object.',
'type' => 'object',
'properties' => [
- 'ResourceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '76',
- ],
- 'AdviceResourceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '',
- ],
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'WarningCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'NormalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'GroupBy' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Category',
- ],
+ 'ResourceCount' => ['description' => 'The resource count by type.', 'type' => 'integer', 'format' => 'int32', 'example' => '76', 'title' => ''],
+ 'AdviceResourceCount' => ['description' => 'The number of inspected resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '巡检资源数量', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''],
+ 'WarningCount' => ['description' => 'The number of warning events.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'NormalCount' => ['description' => 'The number of normal items.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'GroupBy' => ['description' => 'The dimension by which to group results. Valid values:'."\n"
+ .'- Category: groups by type (default). '."\n"
+ .'- Product: groups by product.', 'type' => 'string', 'example' => 'Category', 'title' => ''],
'ViewGroup' => [
- 'description' => '',
+ 'description' => 'The grouped display items.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'GroupCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '22',
- ],
- 'GroupName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'aut***8ainRh1',
- ],
- 'GroupCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'GroupExpectedSavingCost' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
+ 'GroupCode' => ['description' => 'The group code. The value varies based on the GroupBy parameter:'."\n"
+ .'- **Product**: '."\n"
+ .' * The product code.'."\n"
+ ."\n"
+ .'- **Category**: '."\n"
+ .' * 21: low resource utilization.'."\n"
+ .' * 22: idle resources.'."\n"
+ .' * 23: billing method.', 'type' => 'string', 'example' => '22', 'title' => ''],
+ 'GroupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'aut***8ainRh1', 'title' => ''],
+ 'GroupCount' => ['description' => 'The number of items in the group.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ 'GroupExpectedSavingCost' => ['description' => 'The estimated cost savings for the group.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
'CheckItems' => [
- 'description' => '',
+ 'description' => 'The custom check configuration name.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The text content when the description type of the check item risk is text.',
'type' => 'object',
'properties' => [
- 'Severity' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AdviceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Summary' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'slb',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Tips' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'CheckId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EbsCostIdleCheck',
- ],
- 'Category' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'CheckName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'AdviceResourceCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CurrentCost' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'OptimizedCost' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
- 'ExpectedSavingCost' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1',
- ],
+ 'Severity' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Warning.'."\n"
+ .'- **2**: Critical.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'AdviceCount' => ['description' => 'The number of cloud service instances that match the inspection rule.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'Summary' => ['description' => 'The number of diagnostic suggestions for each product, grouped by product.', 'type' => 'string', 'example' => 'true', 'title' => ''],
+ 'Product' => ['description' => 'The cloud service code.', 'type' => 'string', 'example' => 'slb', 'title' => ''],
+ 'Description' => ['description' => 'The inspection item description, including recommended actions and instructions.', 'type' => 'string', 'example' => '云盘创建时间超过设置的阈值天,未挂载实例', 'title' => ''],
+ 'Tips' => ['description' => 'A brief summary of the inspection suggestion.', 'type' => 'string', 'example' => '云盘闲置资源建议结合实际业务考虑对实例进行释放,<a href = \\"https://help.aliyun.com/zh/ecs/user-guide/release-a-disk\\" target =\\"_blank\\">参考文档</a>。', 'title' => ''],
+ 'CheckId' => ['description' => 'The inspection item code.', 'type' => 'string', 'example' => 'EbsCostIdleCheck', 'title' => ''],
+ 'Category' => ['description' => 'The inspection item category. Valid values:'."\n"
+ ."\n"
+ .'- **1**: Security and compliance.'."\n"
+ ."\n"
+ .'- **2**: Performance and efficiency.'."\n"
+ ."\n"
+ .'- **3**: Business stability.'."\n"
+ ."\n"
+ .'- **4**: Cost optimization.'."\n"
+ ."\n"
+ .'- **5**: Service limits.', 'type' => 'string', 'example' => '4', 'title' => ''],
+ 'CheckName' => ['description' => 'The inspection item name.', 'type' => 'string', 'example' => '云盘闲置资源检查', 'title' => ''],
+ 'AdviceResourceCount' => ['description' => 'The resource count of inspected resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'CurrentCost' => ['description' => 'The current cost.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
+ 'OptimizedCost' => ['description' => 'The cost after optimization.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
+ 'ExpectedSavingCost' => ['description' => 'The estimated cost savings.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '566331F9-****-550F-B745-A730331F97A9',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '566331F9-****-550F-B745-A730331F97A9'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'string', 'example' => 'True', 'title' => ''],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
],
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Aggregated cost optimization results overview for inspection items',
+ 'summary' => 'Queries the aggregated cost optimization results overview for inspection items.',
+ 'description' => 'This operation is not compatible with the Go SDK. If you need the Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCostCheckResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ResourceCount\\": 76,\\n \\"AdviceResourceCount\\": 0,\\n \\"TotalCount\\": 4,\\n \\"WarningCount\\": 1,\\n \\"NormalCount\\": 1,\\n \\"GroupBy\\": \\"Category\\",\\n \\"ViewGroup\\": [\\n {\\n \\"GroupCode\\": \\"22\\",\\n \\"GroupName\\": \\"aut***8ainRh1\\",\\n \\"GroupCount\\": 0,\\n \\"GroupExpectedSavingCost\\": 1,\\n \\"CheckItems\\": [\\n {\\n \\"Severity\\": 1,\\n \\"AdviceCount\\": 100,\\n \\"Summary\\": \\"true\\",\\n \\"Product\\": \\"slb\\",\\n \\"Description\\": \\"云盘创建时间超过设置的阈值天,未挂载实例\\",\\n \\"Tips\\": \\"云盘闲置资源建议结合实际业务考虑对实例进行释放,<a href = \\\\\\\\\\\\\\"https://help.aliyun.com/zh/ecs/user-guide/release-a-disk\\\\\\\\\\\\\\" target =\\\\\\\\\\\\\\"_blank\\\\\\\\\\\\\\">参考文档</a>。\\",\\n \\"CheckId\\": \\"EbsCostIdleCheck\\",\\n \\"Category\\": \\"4\\",\\n \\"CheckName\\": \\"云盘闲置资源检查\\",\\n \\"AdviceResourceCount\\": 1,\\n \\"CurrentCost\\": 1,\\n \\"OptimizedCost\\": 1,\\n \\"ExpectedSavingCost\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Success\\": \\"True\\",\\n \\"Message\\": \\"OK\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
],
- 'DescribeCostCheckAdvices' => [
- 'summary' => '查询成本优化结果详情',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeCostOptimizationOverview' => [
+ 'summary' => 'Cost optimization - Overview.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2328,436 +1528,261 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
+ 'abilityTreeCode' => '218237',
+ 'abilityTreeNodes' => ['FEATUREadvisorP5QXH3'],
],
'parameters' => [
[
- 'name' => 'CheckId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'EcsCostLowUtilizationCheck',
- ],
- ],
- [
- 'name' => 'ResourceName',
+ 'name' => 'AssumeAliyunId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => 'The Alibaba Cloud account used for inspection.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11***********35', 'title' => ''],
],
[
- 'name' => 'Severity',
+ 'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The token required for the request. This parameter is not supported.', 'type' => 'string', 'required' => false, 'example' => '***', 'title' => ''],
],
[
- 'name' => 'RegionIds',
+ 'name' => 'AssumeAliyunIdList',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The IDs of the member accounts to query.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"cn-beijing\\"]',
- ],
+ 'items' => ['description' => 'The IDs of the member accounts to query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[18**********00]', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ResourceIds',
+ 'name' => 'CheckPlanId',
'in' => 'query',
- 'style' => 'json',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"trigger_hotfix_install\\"]',
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '566331F9-****-550F-B745-A730331F97A9'],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'Data' => [
+ 'description' => 'The query result object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => ['description' => 'The task ID generated in the backend.', 'type' => 'integer', 'format' => 'int64', 'example' => '95***135', 'title' => ''],
+ 'CurrentBillingCost' => ['description' => 'The expenditure amount of the previous month.', 'type' => 'string', 'example' => '100', 'title' => ''],
+ 'BillingCycleDate' => ['description' => 'The billing cycle in the yyyy-MM format.', 'type' => 'string', 'example' => '100', 'title' => ''],
+ 'OptCheckItemNum' => ['description' => 'The number of inspection items that can be optimized.', 'type' => 'string', 'example' => '100', 'title' => ''],
+ 'OptResourceNum' => ['description' => 'The maximum resource count eligible for optimization.', 'type' => 'string', 'example' => '100', 'title' => ''],
+ 'ExpectedSavingCost' => ['description' => 'The maximum estimated cost savings.', 'type' => 'string', 'example' => '100', 'title' => ''],
+ 'GmtModified' => ['description' => 'The time when the inspection item results were last updated, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'WaitProcessResourceCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ProcessedResourceCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ProcessedSaveAmount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => 'Internal service issue. Detail:.', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
+ 'AccessDeniedDetail' => [
+ 'description' => 'The details of the access denial.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => 'AuthAction', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'AuthPrincipalDisplayName' => ['description' => 'The information about the authentication principal.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'AuthPrincipalOwnerId' => ['description' => 'The ID of the Alibaba Cloud account used for authentication.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'AuthPrincipalType' => ['description' => 'The type of the authorization principal.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'EncodedDiagnosticMessage' => ['description' => 'The exception information.', 'type' => 'string', 'example' => '*****', 'title' => ''],
+ 'NoPermissionType' => ['description' => 'The type of the missing permission.', 'type' => 'string', 'example' => 'null', 'title' => ''],
+ 'PolicyType' => ['description' => 'The policy type.', 'type' => 'string', 'example' => 'PauseNotify', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
],
- 'required' => false,
+ 'example' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.', 'description' => ''],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Cost data overview',
+ 'description' => 'Not compatible with Go SDK. If you need Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '6',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCostOptimizationOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": {\\n \\"TaskId\\": 0,\\n \\"CurrentBillingCost\\": \\"100\\",\\n \\"BillingCycleDate\\": \\"100\\",\\n \\"OptCheckItemNum\\": \\"100\\",\\n \\"OptResourceNum\\": \\"100\\",\\n \\"ExpectedSavingCost\\": \\"100\\",\\n \\"GmtModified\\": 0,\\n \\"WaitProcessResourceCount\\": \\"\\",\\n \\"ProcessedResourceCount\\": \\"\\",\\n \\"ProcessedSaveAmount\\": \\"\\"\\n },\\n \\"Message\\": \\"Internal service issue. Detail:.\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"null\\",\\n \\"AuthPrincipalDisplayName\\": \\"null\\",\\n \\"AuthPrincipalOwnerId\\": \\"null\\",\\n \\"AuthPrincipalType\\": \\"null\\",\\n \\"EncodedDiagnosticMessage\\": \\"*****\\",\\n \\"NoPermissionType\\": \\"null\\",\\n \\"PolicyType\\": \\"PauseNotify\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetHistoryAdvices' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [],
+ 'parameters' => [
[
'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => 'The language of the request.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
- 'name' => 'TagKeys',
+ 'name' => 'Product',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[]',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The code of the cloud service.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
[
- 'name' => 'TagValues',
+ 'name' => 'Severity',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\'x20\', \'x29\', \'x30\']',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: warning'."\n"
+ .'- **2**: critical.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'AssumeAliyunIdList',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[1802******3100]',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
- 'name' => 'TagList',
+ 'name' => 'PageNum',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs_***_shanghai',
- ],
- 'TagValue' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'region',
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'CheckPlanId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'The start date of the time range for the query. Specify the date in the yyyy-mm-dd format.', 'type' => 'string', 'required' => false, 'example' => '2023-07-01', 'title' => ''],
],
[
- 'name' => 'ResourceGroupIdList',
+ 'name' => 'EndDate',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
+ 'schema' => ['description' => 'The end date of the time range for the query. Specify the date in the yyyy-mm-dd format.', 'type' => 'string', 'required' => false, 'example' => '2023-07-01'."\n", 'title' => ''],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'Reverse',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'Specifies whether to sort results in descending order. Valid values:'."\n"
+ ."\n"
+ .' - **true**: Sort in descending order.'."\n"
+ .' - **false**: Sort in ascending order.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The query result.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PageNumber' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CheckId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsHighCpuUtilization',
- ],
- 'AdviceList' => [
- 'description' => '',
+ 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The array of query result objects.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The query result object.',
'type' => 'object',
'properties' => [
- 'AliyunId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '111******767',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'i-2ze5*****ef7d2lk63in',
- ],
- 'ResourceName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1200***bles_df',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ecs',
- ],
- 'RegionId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'Severity' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Content' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '{\'Domains\': [{\'Status\': \'success\', \'\': \'cn\', \'DomainName\': \'www.****.com\', Region\'Desc\': \'ok\'}]}',
- ],
- 'StartTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2025-02-04T16:00:00Z',
- ],
- 'EndTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2025-03-05T02:02:00Z',
- ],
- 'GmtDeleted' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2025-03-05T02:02:00Z'."\n",
- ],
- 'Url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://fs1.xuece.cn/exam/import/***/30***0-9d16-c07b43c8ca6a.png',
- ],
- 'UserName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ZoneId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-beijing-h',
- ],
- 'Tags' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'autoTest-7',
- ],
- 'TagValue' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'basic',
- ],
- ],
- ],
- ],
- 'AccountFolderId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'AccountFolderName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Email' => [
- 'description' => 'Email',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'Severity' => ['description' => 'The severity level. Valid values:'."\n"
+ ."\n"
+ .'- **1**: warning'."\n"
+ .'- **2**: critical.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'Product' => ['description' => 'The code of the cloud service.', 'type' => 'string', 'example' => 'ecs', 'title' => ''],
+ 'GmtCreated' => ['description' => 'The time when the inspection item result was created, in the yyyy-mm-dd hh:mm:ss format.', 'type' => 'string', 'example' => '2023-07-01 00:00:00', 'title' => ''],
+ 'Description' => ['description' => 'The description of the inspection item, including recommended actions and instructions.', 'type' => 'string', 'example' => 'CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高', 'title' => ''],
+ 'CheckId' => ['description' => 'The code of the inspection item.', 'type' => 'string', 'example' => 'EcsHighCpuUtilization', 'title' => ''],
+ 'ResourceId' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'example' => 'i-2zecnwitr2s7aca6****', 'title' => ''],
+ 'CheckName' => ['description' => 'The name of the inspection item.', 'type' => 'string', 'example' => 'ECS 性能负载巡检', 'title' => ''],
+ 'Url' => ['description' => 'The URL that redirects to the resource associated with the inspection item.', 'type' => 'string', 'example' => 'https://ecs.console.aliyun.com/#/server/i-2zecnwitr2s7aca6****/detail?regionId=cn-hangzhou', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '566331F9-****-550F-B745-A730331F97A9',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => 'Retrieve historical inspection results by page',
+ 'summary' => 'Retrieves historical inspection results by page, filtered by product, date, and severity level.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 0,\\n \\"PageNumber\\": 4,\\n \\"PageSize\\": 10,\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"AdviceList\\": [\\n {\\n \\"AliyunId\\": 0,\\n \\"ResourceId\\": \\"i-2ze5*****ef7d2lk63in\\",\\n \\"ResourceName\\": \\"1200***bles_df\\",\\n \\"Product\\": \\"ecs\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"Severity\\": \\"1\\",\\n \\"Content\\": \\"{\'Domains\': [{\'Status\': \'success\', \'\': \'cn\', \'DomainName\': \'www.****.com\', Region\'Desc\': \'ok\'}]}\\",\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 0,\\n \\"GmtDeleted\\": 0,\\n \\"Url\\": \\"https://fs1.xuece.cn/exam/import/***/30***0-9d16-c07b43c8ca6a.png\\",\\n \\"UserName\\": \\"test\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"autoTest-7\\",\\n \\"TagValue\\": \\"basic\\"\\n }\\n ],\\n \\"AccountFolderId\\": \\"1\\",\\n \\"AccountFolderName\\": \\"1\\",\\n \\"Email\\": \\"xxx\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Success\\": \\"True\\",\\n \\"Message\\": \\"OK\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:GetHistoryAdvices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Data\\": {\\n \\"PageNo\\": 1,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"Severity\\": 1,\\n \\"Product\\": \\"ecs\\",\\n \\"GmtCreated\\": \\"2023-07-01 00:00:00\\",\\n \\"Description\\": \\"CPU负载,公网带宽负载,内存负载百分比算法超过标准值过高\\",\\n \\"CheckId\\": \\"EcsHighCpuUtilization\\",\\n \\"ResourceId\\": \\"i-2zecnwitr2s7aca6****\\",\\n \\"CheckName\\": \\"ECS 性能负载巡检\\",\\n \\"Url\\": \\"https://ecs.console.aliyun.com/#/server/i-2zecnwitr2s7aca6****/detail?regionId=cn-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'GetInspectProgress' => [
- 'summary' => '获取任务执行进度(普通用户、RD单账号)',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Retrieves the execution progress of a task for a regular user or a single account in a resource directory.',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2769,43 +1794,23 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- 'FEATUREadvisorKJHIKI',
- ],
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY', 'FEATUREadvisorKJHIKI'],
],
'parameters' => [
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '95***135',
- ],
+ 'schema' => ['description' => 'The ID of the task to query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '95***135', 'title' => ''],
],
[
'name' => 'AssumeAliyunId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '14********37',
- ],
+ 'schema' => ['description' => 'The Alibaba Cloud account used for the inspection.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14********37', 'title' => ''],
],
[
'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***',
- ],
+ 'schema' => ['description' => 'The token required for integration with Managed Service for Prometheus.', 'type' => 'string', 'required' => false, 'example' => '***', 'title' => ''],
],
],
'responses' => [
@@ -2813,882 +1818,3143 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '566331F9-****-550F-B745-A730331F97A9'."\n",
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Successful',
- ],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '566331F9-****-550F-B745-A730331F97A9'."\n"],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The message returned with the result.', 'type' => 'string', 'example' => 'Successful', 'title' => ''],
'Data' => [
- 'description' => '',
+ 'description' => 'The query result.',
'type' => 'object',
'properties' => [
- 'AllSubtaskCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Finish' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'FinishRate' => [
- 'description' => '',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'FinishSubtaskCount' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'LastInspectDate' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '111',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '95***135',
- ],
- 'UsedTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'AllSubtaskCount' => ['description' => 'The total number of subtasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
+ 'Finish' => ['description' => 'Indicates whether the task is complete. Valid values:'."\n"
+ ."\n"
+ .'- **true**: The task is complete.'."\n"
+ .'- **false**: The task is not complete.', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
+ 'FinishRate' => ['description' => 'The completion rate of the task.', 'type' => 'number', 'format' => 'double', 'example' => '1', 'title' => ''],
+ 'FinishSubtaskCount' => ['description' => 'The number of completed subtasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'LastInspectDate' => ['description' => 'The date of the last inspection.', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID generated by the backend.', 'type' => 'integer', 'format' => 'int64', 'example' => '95***135', 'title' => ''],
+ 'UsedTime' => ['description' => 'The time consumed.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Retrieve task execution progress',
+ 'description' => 'Not compatible with Go SDK. If you need Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetInspectProgress',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful\\",\\n \\"Data\\": {\\n \\"AllSubtaskCount\\": 100,\\n \\"Finish\\": true,\\n \\"FinishRate\\": 1,\\n \\"FinishSubtaskCount\\": 1,\\n \\"LastInspectDate\\": 111,\\n \\"TaskId\\": 0,\\n \\"UsedTime\\": 1\\n }\\n}","type":"json"}]',
],
- 'RefreshAdvisorCostCheck' => [
- 'summary' => '发起成本优化巡检',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetProductList' => [
+ 'summary' => 'Retrieves the list of cloud services.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The required token.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''],
],
[
- 'name' => 'ResourceIds',
+ 'name' => 'Language',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asg-8*********0yv8lph44',
- ],
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
- [
- 'name' => 'CheckIds',
- 'in' => 'query',
- 'style' => 'json',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["EcsCostLowUtilizationCheck"]',
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-****-550F-B745-A730331F97A9'."\n"],
+ 'Data' => [
+ 'description' => 'The data returned by the request.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data returned by the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Category' => ['description' => 'The category of the cloud service.', 'type' => 'string', 'example' => '"大数据计算"'."\n", 'title' => ''],
+ 'ProductList' => [
+ 'description' => 'The list of Alibaba Cloud products.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of integrated products.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Product' => ['description' => 'The product code of the cloud service.', 'type' => 'string', 'example' => 'hologres', 'title' => ''],
+ 'NewLabel' => ['description' => 'The description of the cloud service.', 'type' => 'string', 'example' => '实时数仓 Hologres', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
+ 'Code' => ['description' => 'The request code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ 'Message' => ['description' => 'The detailed information.', 'type' => 'string', 'example' => 'success', 'title' => ''],
+ 'UserMessage' => ['description' => 'The prompt details.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ 'AccessDeniedDetail' => [
+ 'description' => 'The details of the permission verification failure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => 'The authentication action.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ 'AuthPrincipalDisplayName' => ['description' => 'The display name of the authorization principal.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ 'AuthPrincipalOwnerId' => ['description' => 'The ID of the Alibaba Cloud account of the authentication principal.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ 'AuthPrincipalType' => ['description' => 'The authorization type.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ 'EncodedDiagnosticMessage' => ['description' => 'The exception information.', 'type' => 'string', 'example' => '****', 'title' => ''],
+ 'NoPermissionType' => ['description' => 'The type of missing permission.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ 'PolicyType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => '*', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
],
- 'required' => false,
- 'docRequired' => true,
+ 'example' => '',
],
],
- [
- 'name' => 'RefreshResource',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.', 'description' => ''],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Retrieve all products',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'AssumeAliyunIdList',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[1802*****3100]',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetProductList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
],
- 'required' => false,
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\\\n\\",\\n \\"Data\\": [\\n {\\n \\"Category\\": \\"\\\\\\"大数据计算\\\\\\"\\\\n\\",\\n \\"ProductList\\": [\\n {\\n \\"Product\\": \\"hologres\\",\\n \\"NewLabel\\": \\"实时数仓 Hologres\\"\\n }\\n ]\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"UserMessage\\": \\"*\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"*\\",\\n \\"AuthPrincipalDisplayName\\": \\"*\\",\\n \\"AuthPrincipalOwnerId\\": \\"*\\",\\n \\"AuthPrincipalType\\": \\"*\\",\\n \\"EncodedDiagnosticMessage\\": \\"****\\",\\n \\"NoPermissionType\\": \\"*\\",\\n \\"PolicyType\\": \\"*\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetTaskStatusById' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'CheckPlanId',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['description' => 'The ID of the task to query.', 'type' => 'string', 'required' => true, 'example' => '95906135', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9'."\n"],
'Data' => [
- 'description' => '',
+ 'description' => 'The response data.',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'CommandId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'c-wl*****n0g',
- ],
- 'TaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '959***135',
- ],
- 'ManagerTaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11***********35',
- ],
+ 'TaskId' => ['description' => 'The task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '95906135', 'title' => ''],
+ 'TaskStatus' => ['description' => 'The task status. Valid values:'."\n"
+ .'- **1**: The task is in progress.'."\n"
+ .'- **2**: The task is completed.'."\n"
+ .'- **3**: The task failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '566331F9-****-550F-B745-A730331F97A9',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"CommandId\\": \\"c-wl*****n0g\\",\\n \\"TaskId\\": 0,\\n \\"ManagerTaskId\\": 0\\n },\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Success\\": true,\\n \\"Message\\": \\"OK\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
- ],
- 'DescribeAdvisorChecksFoPages' => [
- 'summary' => '巡检项设置-分页',
- 'methods' => [
- 'get',
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query task status',
+ 'summary' => 'Queries the execution status of a task by task ID.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskStatusById'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTaskStatusById',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\\\n\\",\\n \\"Data\\": {\\n \\"TaskId\\": 95906135,\\n \\"TaskStatus\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'RefreshAdvisorCheck' => [
+ 'summary' => 'Refreshes a check item by triggering resource metric synchronization and re-inspection.'."\n"
+ .'This API creates inspection tasks based on multiple input dimensions (cloud product, cloud resource, and check item name). If all dimensions are left empty, inspection tasks are created by default for all check items across all resources under the current user.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '218228',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorZ01KCY',
- ],
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-2zecnwitr2s7aca6****', 'title' => ''],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'Name',
+ 'name' => 'CheckId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '****',
- ],
- ],
- [
- 'name' => 'Category',
- 'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => '*',
- ],
+ 'schema' => ['description' => 'The check item code.', 'type' => 'string', 'required' => false, 'example' => 'EcsHighCpuUtilization', 'title' => ''],
],
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- ],
+ 'schema' => ['description' => 'The product code.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
],
[
- 'name' => 'Status',
+ 'name' => 'Language',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enabled',
- ],
+ 'schema' => ['description' => 'The language to use.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
- 'name' => 'Token',
- 'in' => 'query',
+ 'name' => 'ResourceDimensionList',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Product' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'Security' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'Performance' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'Reliablility' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'Cost' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'Service' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'ProductName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => '***',
- ],
- ],
- [
- 'name' => 'BizCategory',
- 'in' => 'query',
- 'schema' => [
'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2',
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'AssumeAliyunId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11*********35',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
[
- 'name' => 'CheckTypes',
+ 'name' => 'CheckPlanId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '*',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => 'The inspection plan ID. If left empty, the default system plan is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '111', 'title' => ''],
],
[
- 'name' => 'Source',
+ 'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '*',
- ],
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '566331F9-5AB3-550F-B745-A730331F97A9',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
'Data' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'PageNo' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Total' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Result' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'EcsCostLowUtilizationCheck',
- ],
- 'Tips' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Category' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '21',
- ],
- 'SubCategory' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '*',
- ],
- ],
- 'Status' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'enabled',
- ],
- 'ConfigSupport' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'ViewColumn' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[{\\"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' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '[{\\"type\\":\\"template\\",\\"value\\":\\"cloudmonitor.console.aliyun.com/index.htm?custom_trace=ecs_console#/hostDetail/chart/instanceId=${Resource.resourceId}&system=Linux&region=${Resource.regionId}&aliyunhost=true\\",\\"key\\":\\"Detail\\"},{\\"type\\":\\"template\\",\\"value\\":\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\",\\"key\\":\\"Refresh\\"}]'."\n",
- ],
- 'InspectionScope' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'Product' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'ECS',
- ],
- 'Description' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'Source' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Advisor',
- ],
- 'RiskLevel' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
- ],
+ 'description' => 'The data returned by the request.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TraceId' => ['description' => 'The trace ID.', 'type' => 'string', 'example' => 'manual-1be17af1121b4974822e69daee4f2481', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID generated by the backend.', 'type' => 'integer', 'format' => 'int64', 'example' => '95906135', 'title' => ''],
+ 'Message' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'OK',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
- ],
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.',
- ],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => 'Refresh and Trigger Inspection',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RefreshAdvisorCheck'],
+ ],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Result\\": [\\n {\\n \\"Name\\": \\"ECS低利用率检查\\",\\n \\"Code\\": \\"EcsCostLowUtilizationCheck\\",\\n \\"Tips\\": \\"ECS低利用率建议结合实际业务考虑对实例进行降配操作,<a href = \\\\\\\\\\\\\\"https://help.aliyun.com/zh/ecs/user-guide/overview-of-instance-configuration-changes\\\\\\\\\\\\\\" target =\\\\\\\\\\\\\\"_blank\\\\\\\\\\\\\\">参考文档</a>。\\",\\n \\"Category\\": \\"21\\",\\n \\"SubCategory\\": [\\n 0\\n ],\\n \\"Status\\": \\"enabled\\",\\n \\"ConfigSupport\\": \\"false\\",\\n \\"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\\\\\\\\\\\\\\"}]\\",\\n \\"OperateColumn\\": \\"[{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"template\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cloudmonitor.console.aliyun.com/index.htm?custom_trace=ecs_console#/hostDetail/chart/instanceId=${Resource.resourceId}&system=Linux&region=${Resource.regionId}&aliyunhost=true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Detail\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"template\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/diagnosis?product=${Product}&resourceId=${Resource.resourceId}\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Refresh\\\\\\\\\\\\\\"}]\\\\n\\",\\n \\"InspectionScope\\": \\"false\\",\\n \\"Product\\": \\"ECS\\",\\n \\"Description\\": \\"Advisor 将检查账号下所有ECS实例,规格为r5或g5规格的ECS,建议升级为r6或g6\\",\\n \\"Source\\": \\"Advisor\\",\\n \\"RiskLevel\\": 1\\n }\\n ]\\n }\\n ],\\n \\"Success\\": true,\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"TraceId\\": \\"manual-1be17af1121b4974822e69daee4f2481\\",\\n \\"TaskId\\": 95906135,\\n \\"Message\\": \\"\\"\\n },\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\"\\n}","type":"json"}]',
],
- 'DescribeCostOptimizationOverview' => [
- 'summary' => '成本优化-概览',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RefreshAdvisorCostCheck' => [
+ 'summary' => 'Initiates a cost optimization inspection.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '218237',
- 'abilityTreeNodes' => [
- 'FEATUREadvisorP5QXH3',
- ],
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
],
'parameters' => [
[
- 'name' => 'AssumeAliyunId',
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The product code.', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => 'The resource IDs to update.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The list of resource IDs. The list contains 1 to 20 resource IDs in JSON array format.', 'type' => 'string', 'required' => false, 'example' => 'asg-8*********0yv8lph44', 'title' => ''],
'required' => false,
- 'example' => '11***********35',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Token',
+ 'name' => 'CheckIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The list of check item IDs.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The list of check item IDs.', 'type' => 'string', 'required' => false, 'example' => '["EcsCostLowUtilizationCheck"]', 'title' => ''],
'required' => false,
- 'example' => '***',
+ 'docRequired' => true,
+ 'title' => '',
+ 'example' => '',
],
],
[
+ 'name' => 'RefreshResource',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to refresh the resource status. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
+ ],
+ [
'name' => 'AssumeAliyunIdList',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The list of member account IDs to query.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '[18**********00]',
- ],
+ 'items' => ['description' => 'The list of member account IDs to query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[1802*****3100]', 'title' => ''],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'CheckPlanId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '566331F9-****-550F-B745-A730331F97A9',
- ],
- 'Code' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '200',
- ],
'Data' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'TaskId' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '95***135',
- ],
- 'CurrentBillingCost' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'BillingCycleDate' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'OptCheckItemNum' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'OptResourceNum' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'ExpectedSavingCost' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'GmtModified' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2023-07-01 00:00:00',
- ],
- 'WaitProcessResourceCount' => [
- 'type' => 'string',
- ],
- 'ProcessedResourceCount' => [
- 'type' => 'string',
- ],
- 'ProcessedSaveAmount' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'Message' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'Internal service issue. Detail:.',
- ],
- 'Success' => [
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
- 'AccessDeniedDetail' => [
- 'description' => '',
+ 'description' => 'The response data.',
'type' => 'object',
'properties' => [
- 'AuthAction' => [
- 'description' => 'AuthAction',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'AuthPrincipalType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '*****',
- ],
- 'NoPermissionType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'null',
- ],
- 'PolicyType' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'PauseNotify',
- ],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CommandId' => ['description' => 'The command ID.', 'type' => 'string', 'example' => 'c-wl*****n0g', 'title' => ''],
+ 'TaskId' => ['description' => 'The task ID generated in the backend.', 'type' => 'integer', 'format' => 'int64', 'example' => '959***135', 'title' => ''],
+ 'ManagerTaskId' => ['description' => 'The primary task ID generated in the backend. This parameter is used only for accounts in a resource directory.', 'type' => 'integer', 'format' => 'int64', 'example' => '11***********35', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '566331F9-****-550F-B745-A730331F97A9'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''],
+ 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'OK', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => '200', 'title' => ''],
],
+ 'example' => '',
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'Rd.NoMasterRole',
- 'errorMessage' => 'Login account is not RD management or co-management role.',
- ],
- [
- 'errorCode' => 'Forbidden.NotActivated',
- 'errorMessage' => 'User has not activated Advisor Service.',
- ],
- [
- 'errorCode' => 'Forbidden.NotAuthorized',
- 'errorMessage' => 'User has not authorized Advisor to provide services.',
- ],
- [
- 'errorCode' => 'Rd.NoManagePermission',
- 'errorMessage' => 'The RD management account does not have the specified member account management permission.',
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ],
+ 500 => [
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Initiate cost optimization inspection',
+ 'description' => 'Not compatible with Go SDK. If you need Go SDK, use the DescribeAdvicesFlatPage API.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorCostCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
- [
- 'errorCode' => 'Forbidden.RAM',
- 'errorMessage' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.',
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"CommandId\\": \\"c-wl*****n0g\\",\\n \\"TaskId\\": 0,\\n \\"ManagerTaskId\\": 0\\n },\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Success\\": true,\\n \\"Message\\": \\"OK\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
+ ],
+ 'RefreshAdvisorResource' => [
+ 'summary' => 'Triggers a resource information synchronization task based on a specific product and resource ID, and returns the ID of the created task.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREadvisorZ01KCY'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The cloud product code.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ecs', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource or instance ID.', 'type' => 'string', 'title' => '', 'required' => false, 'docRequired' => false, 'example' => 'i-2zecnwitr2s7aca6****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => ['description' => 'The task ID generated in the background.', 'type' => 'integer', 'format' => 'int64', 'example' => '95906134', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '566331F9-5AB3-550F-B745-A730331F97A9', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'description' => ''],
+ ['errorCode' => 'Forbidden.NotActivated', 'errorMessage' => 'User has not activated Advisor Service.', 'description' => 'The user has not opened the Advisor product.'],
+ ['errorCode' => 'Forbidden.NotAuthorized', 'errorMessage' => 'User has not authorized Advisor to provide services.', 'description' => ''],
+ ['errorCode' => 'Rd.NoManagePermission', 'errorMessage' => 'The RD management account does not have the specified member account management permission.', 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['errorCode' => 'Rd.NoMasterRole', 'errorMessage' => 'Login account is not RD management or co-management role.', 'description' => 'Logon account is not RD management or co-management role'],
+ ],
500 => [
- [
- 'errorCode' => 'InternalError',
- 'errorMessage' => 'The request processing has failed due to some unknown error.',
- ],
+ ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => ''],
+ ],
+ ],
+ 'title' => 'Sync resource information',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RefreshAdvisorResource'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"566331F9-****-550F-B745-A730331F97A9\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": {\\n \\"TaskId\\": 0,\\n \\"CurrentBillingCost\\": \\"100\\",\\n \\"BillingCycleDate\\": \\"100\\",\\n \\"OptCheckItemNum\\": \\"100\\",\\n \\"OptResourceNum\\": \\"100\\",\\n \\"ExpectedSavingCost\\": \\"100\\",\\n \\"GmtModified\\": 0,\\n \\"WaitProcessResourceCount\\": \\"\\",\\n \\"ProcessedResourceCount\\": \\"\\",\\n \\"ProcessedSaveAmount\\": \\"\\"\\n },\\n \\"Message\\": \\"Internal service issue. Detail:.\\",\\n \\"Success\\": true,\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"null\\",\\n \\"AuthPrincipalDisplayName\\": \\"null\\",\\n \\"AuthPrincipalOwnerId\\": \\"null\\",\\n \\"AuthPrincipalType\\": \\"null\\",\\n \\"EncodedDiagnosticMessage\\": \\"*****\\",\\n \\"NoPermissionType\\": \\"null\\",\\n \\"PolicyType\\": \\"PauseNotify\\"\\n }\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": 95906134,\\n \\"RequestId\\": \\"566331F9-5AB3-550F-B745-A730331F97A9\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'advisor.cn-hangzhou.aliyuncs.com',
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'advisor.cn-hangzhou.aliyuncs.com', 'endpoint' => 'advisor.cn-hangzhou.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'ApiCallError.%s', 'message' => 'Api call error: %s .', 'http_code' => 500, 'description' => 'API call error'],
+ ['code' => 'Forbidden.NotActivated', 'message' => 'User has not activated Advisor Service.', 'http_code' => 403, 'description' => 'The user has not opened the Advisor product.'],
+ ['code' => 'Forbidden.RAM', 'message' => 'The user is not authorized to operate on the specified resource, or this API does not support RAM.', 'http_code' => 403, 'description' => ''],
+ ['code' => 'Forbidden.RAM', 'message' => 'User not authorized to operate on the specified resource, or this API doesn\'t support RAM.', 'http_code' => 403, 'description' => ''],
+ ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => ''],
+ ['code' => 'Rd.NoManagePermission', 'message' => 'The RD management account does not have the specified member account management permission.', 'http_code' => 403, 'description' => 'The RD management account does not have the specified member account management permission.'],
+ ['code' => 'Rd.NoMasterRole', 'message' => 'Login account is not RD management or co-management role.', 'http_code' => 403, 'description' => 'Logon account is not RD management or co-management role'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RefreshAdvisorResource'],
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskStatusById'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAdvices'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RefreshAdvisorCheck'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAdvisorResources'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAdvisorChecks'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'Advisor',
+ 'productName' => 'Intelligent Advisor',
+ 'ramCodes' => ['advisor'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'GetTodoItemByCheckItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTodoItemByCheckItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceTopology',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetResourceTopology',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetWaterLevelAnalysisHistory',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:GetWaterLevelAnalysisHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetUserId',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SetUserId',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetHistoryCheckReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetHistoryCheckReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCheckResultOverview',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCheckResultOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckConnectivitySecurityGroup',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckConnectivitySecurityGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvicesFlatPage',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvicesFlatPage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceListForProduct',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetResourceListForProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshAdvisorCostCheck',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorCostCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeResourceStatusCheckResultsSummary',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeResourceStatusCheckResultsSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRegions',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeRegions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSubDomainList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetSubDomainList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddChecksPlanObjectList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:AddChecksPlanObjectList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetAdvisorCheck',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SetAdvisorCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagsByKey',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListTagsByKey',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetUserReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetUserReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckConnectivitySecurityPun',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckConnectivitySecurityPun',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetGlobalMemberUserScope',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SetGlobalMemberUserScope',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetProductListAboutTask',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:GetProductListAboutTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeProductTags',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeProductTags',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SynchronizeTags',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SynchronizeTags',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BuildTopology',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:BuildTopology',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PutChecksPlanObjectStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:PutChecksPlanObjectStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateServiceLinkedRole',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateServiceLinkedRole',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckConnectivity',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckConnectivity',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateExportInstanceListDetailList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateExportInstanceListDetailList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDomainList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetDomainList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCheckItemStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetCheckItemStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetRiskCount',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetRiskCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRdMembersAccount',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListRdMembersAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStatusCheckResultsHistory',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStatusCheckResultsHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetUserReportSubscription',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SetUserReportSubscription',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryInspectStrategyWhite',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryInspectStrategyWhite',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvisorUser',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryInstanceListDetailList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryInstanceListDetailList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeResourceAdvicesByTaskId',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeResourceAdvicesByTaskId',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListSubAccountList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListSubAccountList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAllProduct',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetAllProduct',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdviceDetails',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdviceDetails',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateCheckPlan',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:UpdateCheckPlan',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSuppressedChecks',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeSuppressedChecks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTamServiceStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTamServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetUserReportSubscriptionInfoNew',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SetUserReportSubscriptionInfoNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMuInitTaskStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetMuInitTaskStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PhysicalDeleteResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:PhysicalDeleteResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetInspectProgress',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetInspectProgress',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SaveInstanceLoadThresholdRule',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SaveInstanceLoadThresholdRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTaskStatusById',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTaskStatusById',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ActivateAdvisorUser',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ActivateAdvisorUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAdvisorUser',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DeleteAdvisorUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryMetricPointByTime',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryMetricPointByTime',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStabilityProducts',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStabilityProducts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetManualTrigger',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetManualTrigger',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvicesPage',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvicesPage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetGlobalMemberUserScope',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetGlobalMemberUserScope',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCostCheckResults',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCostCheckResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetProductRiskCount',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetProductRiskCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetIdentity',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:GetIdentity',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvisorResources',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BuildAccountAssociationFromResourceDirectory',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'advisor:BuildAccountAssociationFromResourceDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetAdvisorAuthorization',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:SetAdvisorAuthorization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetRiskClassification',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetRiskClassification',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetUserDrillAuthorization',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetUserDrillAuthorization',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshAdvisorCheck',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateResourceProductStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:UpdateResourceProductStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAllReports',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetAllReports',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCostOptimizationOverview',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCostOptimizationOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckConnectivityWhiteList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckConnectivityWhiteList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetWaterLevelAnalysisStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:GetWaterLevelAnalysisStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCheckPlan',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateCheckPlan',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryWaterLevelOneChart',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryWaterLevelOneChart',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'FinishItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:FinishItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetInstanceLoadThresholdRule',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetInstanceLoadThresholdRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSeverityLevel',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetSeverityLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryWaterLevelChart',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryWaterLevelChart',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'IgnoreItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:IgnoreItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetProductList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetProductList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceDistribution',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetResourceDistribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCheckItemAll',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetCheckItemAll',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetLastInspectedManagerTask',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetLastInspectedManagerTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'NumberOfRiskClosedLoops',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:NumberOfRiskClosedLoops',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryRdAssociation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryRdAssociation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetUserReportSubscription',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetUserReportSubscription',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetStatusEnum',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:GetStatusEnum',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTagInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTagInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceDirectory',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetResourceDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddInspectStrategyWhite',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:AddInspectStrategyWhite',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateHistoryCheckReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateHistoryCheckReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAssociateAccount',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAssociateAccount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetHistoryAdviceNew',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'advisor:GetHistoryAdviceNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeLastTaskOnToday',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeLastTaskOnToday',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DoResign',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'advisor:DoResign',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableCheckItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DisableCheckItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCostCheckAdvices',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCostCheckAdvices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshAdvisorResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeResourceDistribution',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeResourceDistribution',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetHealthyScore',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetHealthyScore',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetHistoryOverviewInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetHistoryOverviewInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetLookupEvents',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetLookupEvents',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckConnectivityNetwork',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckConnectivityNetwork',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteTodoItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DeleteTodoItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteInspectStrategyWhite',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DeleteInspectStrategyWhite',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryAccountRoleInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryAccountRoleInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshAdvisorStatusCheck',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshAdvisorStatusCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetLatestCostCheckReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetLatestCostCheckReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStatusCheckResultsByTaskId',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStatusCheckResultsByTaskId',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeResourceAdvicesHistory',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeResourceAdvicesHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetAdvisorAuthorizationAll',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'advisor:SetAdvisorAuthorizationAll',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListSubAccounts',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListSubAccounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InsertItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:InsertItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MonthlyCostBillExpenseComparativeStatisticalChart',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:MonthlyCostBillExpenseComparativeStatisticalChart',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRdAccountTags',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListRdAccountTags',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetProductRiskTrend',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetProductRiskTrend',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRdAccountFolder',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListRdAccountFolder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateInspectItemThresholdParamSetting',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:UpdateInspectItemThresholdParamSetting',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckConnectivityStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckConnectivityStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetRdAccountInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetRdAccountInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateBatchExportInstanceListDetailList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateBatchExportInstanceListDetailList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteChecksPlanObjectList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DeleteChecksPlanObjectList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTagForResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTagForResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckServiceLinkedRoleForDeleting',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CheckServiceLinkedRoleForDeleting',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'LogicalDeleteResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:LogicalDeleteResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PutChecksPlanObjectRiskLevel',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:PutChecksPlanObjectRiskLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStabilityRegions',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStabilityRegions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCheckItems',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCheckItems',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStatusCheckResultsByDate',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStatusCheckResultsByDate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshUserResources',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshUserResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateGovernancePermission',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateGovernancePermission',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMuTaskStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetMuTaskStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvices',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetAutoEnabledAdForTeamMember',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'advisor:SetAutoEnabledAdForTeamMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryResourceForRiskItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryResourceForRiskItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCheckPlanPage',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetCheckPlanPage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'OpenAdvisorForMember',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:OpenAdvisorForMember',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetHistoryAdvices',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:GetHistoryAdvices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListResourceInfoWithWhiteFlag',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'advisor:ListResourceInfoWithWhiteFlag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetManageTaskStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetManageTaskStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RestoreIgnoredTodoItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RestoreIgnoredTodoItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCheckPlan',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'advisor:DeleteCheckPlan',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetRegionForProductList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetRegionForProductList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'OpenServiceAndCreateSLR',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:OpenServiceAndCreateSLR',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CancelShieldForCheckItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CancelShieldForCheckItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceGroupList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetResourceGroupList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QuerySeriousAndWarningRiskItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QuerySeriousAndWarningRiskItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSummaryReportUrl',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetSummaryReportUrl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTodoItemWithRd',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTodoItemWithRd',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshUserResourcesWithRd',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshUserResourcesWithRd',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTaskStatus',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTaskStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryResourceInfoForHistory',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryResourceInfoForHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStatusCheckResultsHistoryConsole',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStatusCheckResultsHistoryConsole',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListResourceInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListResourceInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InsertItemList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:InsertItemList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagKeys',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListTagKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ServiceAccess',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'advisor:ServiceAccess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetGlobalStatusCheckUserSummary',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetGlobalStatusCheckUserSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetChecksPlanObjectScope',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetChecksPlanObjectScope',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GlobalShieldConfirm',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GlobalShieldConfirm',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetOverrunResourceProducts',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetOverrunResourceProducts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryAuthorizations',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryAuthorizations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStatusCheckAdvicesHistory',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeStatusCheckAdvicesHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceInfoForCheckItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetResourceInfoForCheckItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCheckPlanObjectPage',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetCheckPlanObjectPage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetUserCheckReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetUserCheckReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateSummaryReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GenerateSummaryReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvisorChecksFoPages',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorChecksFoPages',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ReportBizAlertInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ReportBizAlertInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInspectItemThresholdParamSetting',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeInspectItemThresholdParamSetting',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEcsUpgradeRecommend',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeEcsUpgradeRecommend',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCheckResults',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCheckResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCostCheckReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:CreateCostCheckReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshWaterLevel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshWaterLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PutChecksPlanObjectScope',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:PutChecksPlanObjectScope',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetJudgeFirstyUser',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetJudgeFirstyUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetEachReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetEachReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EnableCheckItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:EnableCheckItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTodoItemCount',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTodoItemCount',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMultiAccountsCheckReport',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetMultiAccountsCheckReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryCaseDetailStatistics',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryCaseDetailStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCheckPlanById',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetCheckPlanById',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryRiskItemDetailInfo',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:QueryRiskItemDetailInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAdvisorChecks',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeAdvisorChecks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCheckItemsSource',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'advisor:DescribeCheckItemsSource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RefreshMembersCheck',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:RefreshMembersCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetUserList',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetUserList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BuildAdvisorDrill',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetAdvisorDrill',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetTodoItem',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetTodoItem',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetJudgeActiveUser',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetJudgeActiveUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRdAccountFolderNew',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:ListRdAccountFolderNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetUserReportSubscriptionInfoNew',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'advisor:GetUserReportSubscriptionInfoNew',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Advisor', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'resourceTypes' => [],
],
];