diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/sysom | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/sysom')
| -rw-r--r-- | data/sysom/2023-12-30/api-docs.php | 3818 |
1 files changed, 1372 insertions, 2446 deletions
diff --git a/data/sysom/2023-12-30/api-docs.php b/data/sysom/2023-12-30/api-docs.php index e97603c..718120c 100644 --- a/data/sysom/2023-12-30/api-docs.php +++ b/data/sysom/2023-12-30/api-docs.php @@ -1,33 +1,21 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'SysOM', - 'version' => '2023-12-30', - ], + 'info' => ['style' => 'ROA', 'product' => 'SysOM', 'version' => '2023-12-30'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'UpdateAlertEnabled' => [ - 'path' => '/api/v1/alertPusher/alert/updateEnabled', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AuthDiagnosis' => [ + 'path' => '/api/v1/openapi/diagnosis/auth', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -38,190 +26,134 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'instances' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instance' => ['type' => 'string', 'required' => false], + 'region' => ['type' => 'string', 'required' => false], + ], + ], ], + 'autoCreateRole' => ['type' => 'boolean', 'required' => false], + 'autoInstallAgent' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'GetAlertStrategy' => [ - 'path' => '/api/v1/alertPusher/alert/getStrategy', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CheckInstanceSupport' => [ + 'path' => '/api/v1/am/supportInstanceList/checkInstanceSupport', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'id', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'region' => ['type' => 'string', 'required' => false], + 'instances' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], - 'DeleteAlertStrategy' => [ - 'path' => '/api/v1/alertPusher/alert/deleteStrategy', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CpuHighAgentStreamResponse' => [ + 'path' => '/api/v1/highCpuAgent/streamResponse', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/octet-stream'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'id', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'llmParamString' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListAlertItems' => [ - 'path' => '/api/v1/alertPusher/alert/listItems', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateAlertDestination' => [ + 'path' => '/api/v1/alertPusher/alert/createDestination', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [], - ], - 'ListAlertStrategies' => [ - 'path' => '/api/v1/alertPusher/alert/listStrategies', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'current', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'name', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'target' => ['type' => 'string', 'required' => false], + 'name' => ['type' => 'string', 'required' => false], + 'source' => ['type' => 'string', 'required' => false], + 'params' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'webhook' => ['type' => 'string', 'required' => false], + 'sec' => ['type' => 'string', 'required' => false], + 'phone' => ['type' => 'string', 'required' => false], + 'email' => ['type' => 'string', 'required' => false], + ], + ], + ], ], ], ], ], 'CreateAlertStrategy' => [ 'path' => '/api/v1/alertPusher/alert/createStrategy', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -232,14 +164,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => true, - ], + 'name' => ['type' => 'string', 'required' => true], + 'enabled' => ['type' => 'boolean', 'required' => true], 'strategy' => [ 'type' => 'object', 'required' => true, @@ -247,49 +173,36 @@ 'items' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], 'clusters' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], + ], + 'destinations' => [ + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], ], ], - 'k8sLabel' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'k8sLabel' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'UpdateAlertStrategy' => [ - 'path' => '/api/v1/alertPusher/alert/updateStrategy', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateClusterVpcEndpointConnection' => [ + 'path' => '/api/v1/k8sProxy/access/createClusterVpcEndpointConnection', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -300,368 +213,165 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => true, - ], - 'strategy' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'items' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'clusters' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'k8sLabel' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'region' => ['type' => 'string', 'required' => true], + 'clusterId' => ['type' => 'string', 'required' => true], + 'dryRun' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'UpdateFuncSwitchRecord' => [ - 'path' => '/api/v1/func-switch/update-service-func-switch', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateInstanceInspection' => [ + 'path' => '/api/v1/inspection/createInstanceInspection', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'params', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'function_name' => [ - 'type' => 'string', - 'required' => true, - ], - 'instance' => [ - 'type' => 'string', - 'required' => false, - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'op' => [ - 'type' => 'string', - 'required' => false, - ], - 'args' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'add_cmd' => [ - 'type' => 'string', - 'required' => false, - ], - 'mem' => [ - 'type' => 'string', - 'required' => false, - ], - 'locks' => [ - 'type' => 'string', - 'required' => false, - ], - 'java_store_path' => [ - 'type' => 'string', - 'required' => false, - ], - 'system_profiling' => [ - 'type' => 'string', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'string', - 'required' => false, - ], - 'loop' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'pid' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'duration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'region' => [ - 'type' => 'string', + 'region' => ['type' => 'string', 'required' => false], + 'instance' => ['type' => 'string', 'required' => false], + 'source' => ['type' => 'string', 'required' => false], + 'items' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'metricSource' => ['type' => 'string', 'required' => false], ], ], ], - [ - 'name' => 'service_name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'channel', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], ], ], - 'GetServiceFuncStatus' => [ - 'path' => '/api/v1/func-switch/get-service-func-status', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateVmcoreDiagnosisTask' => [ + 'path' => '/api/v1/crashAgent/diagnosis/createDiagnosisTask', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'params', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'function_name' => [ - 'type' => 'string', - 'required' => true, - ], - 'instance' => [ - 'type' => 'string', - 'required' => false, - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], + 'taskType' => ['type' => 'string', 'required' => true], + 'vmcoreUrl' => ['type' => 'string', 'required' => false], + 'debuginfoUrl' => ['type' => 'string', 'required' => false], + 'debuginfoCommonUrl' => ['type' => 'string', 'required' => false], + 'dmesgUrl' => ['type' => 'string', 'required' => false], ], ], ], + ], + ], + 'DeleteAlertDestination' => [ + 'path' => '/api/v1/alertPusher/alert/deleteDestination', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'service_name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'channel', + 'name' => 'id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'GetHotSpotUniqList' => [ - 'path' => '/api/v1/livetrace_proxy/hotspot_uniq_list', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/deleteStrategy', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'uniq' => [ - 'type' => 'string', - 'required' => true, - ], - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'pid' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - 'beg_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], + 'name' => 'id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetHotspotTracking' => [ - 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_tracking', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeMetricList' => [ + 'path' => '/api/v1/openapi/proxy/get/describeMetricList', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'table' => [ - 'type' => 'string', - 'required' => true, - ], - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'beg_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'pid' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'hot_type' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'instance', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'metricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'GetHotspotPidList' => [ - 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_pid_list', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GenerateCopilotResponse' => [ + 'path' => '/api/v1/copilot/generate_copilot_response', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -672,48 +382,23 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'table' => [ - 'type' => 'string', - 'required' => true, - ], - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'beg_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'llmParamString' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetHotspotInstanceList' => [ - 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_instance_list', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GenerateCopilotStreamResponse' => [ + 'path' => '/api/v1/copilot/generate_copilot_stream_response', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ @@ -724,44 +409,23 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'table' => [ - 'type' => 'string', - 'required' => true, - ], - 'beg_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'llmParamString' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetHotspotCompare' => [ - 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_compare', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetAIQueryResult' => [ + 'path' => '/api/v1/app_observ/aiAnalysis/query_result', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -772,286 +436,157 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'table' => [ - 'type' => 'string', - 'required' => true, - ], - 'instance1' => [ - 'type' => 'string', - 'required' => true, - ], - 'pid1' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'beg1_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg1_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'instance2' => [ - 'type' => 'string', - 'required' => true, - ], - 'pid2' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'beg2_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg2_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'hot_type' => [ - 'type' => 'string', - 'required' => false, - ], + 'analysisId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetHotspotAnalysis' => [ - 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_analysis', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetAbnormalEventsCount' => [ + 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events_count', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'appType' => [ - 'type' => 'string', - 'required' => true, - ], - 'pid' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'beg_start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'beg_end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'table' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'cluster', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instance', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], + ], + [ + 'name' => 'showPod', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'level', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StartAIAnalysis' => [ - 'path' => '/api/v1/openapi/proxy/post/start_ai_analysis', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetAgent' => [ + 'path' => '/api/v1/am/agent/get_agent', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'instance' => [ - 'type' => 'string', - 'required' => false, - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'pids' => [ - 'type' => 'string', - 'required' => false, - ], - 'comms' => [ - 'type' => 'string', - 'required' => false, - ], - 'channel' => [ - 'type' => 'string', - 'required' => false, - ], - 'iteration_mod' => [ - 'type' => 'string', - 'required' => false, - ], - 'iteration_func' => [ - 'type' => 'string', - 'required' => false, - ], - 'uid' => [ - 'type' => 'string', - 'required' => false, - ], - 'created_by' => [ - 'type' => 'string', - 'required' => false, - ], - 'instance_type' => [ - 'type' => 'string', - 'required' => false, - ], - 'region' => [ - 'type' => 'string', - 'required' => false, - ], - 'iteration_range' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - 'analysis_params' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'analysisTool' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'agent_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetListRecord' => [ - 'path' => '/api/v1/app_observ/aiAnalysis/list_record', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetAgentTask' => [ + 'path' => '/api/v1/am/agent/get_agent_task', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'current', + 'name' => 'task_id', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetAlertDestination' => [ + 'path' => '/api/v1/alertPusher/alert/getDestination', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'region', + 'name' => 'id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'GetAIQueryResult' => [ - 'path' => '/api/v1/app_observ/aiAnalysis/query_result', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/getStrategy', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'id', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetCopilotHistory' => [ + 'path' => '/api/v1/copilot/get_copilot_history', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -1062,138 +597,113 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'analysisId' => [ - 'type' => 'string', - 'required' => false, - ], + 'count' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], ], ], - 'GetResources' => [ - 'path' => '/api/v1/openapi/cluster_health/instant/resource', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetDiagnosisResult' => [ + 'path' => '/api/v1/openapi/diagnosis/get_diagnosis_results', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'task_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetHealthPercentage' => [ + 'path' => '/api/v1/openapi/cluster_health/range/health_percentage', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'type', + 'name' => 'start', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], ], ], ], 'GetHostCount' => [ 'path' => '/api/v1/openapi/cluster_health/range/host_count', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'start', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ 'name' => 'end', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], ], ], - 'InitialSysom' => [ - 'path' => '/api/v1/openapi/initial', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetHotSpotUniqList' => [ + 'path' => '/api/v1/livetrace_proxy/hotspot_uniq_list', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -1204,341 +714,431 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'check_only' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'source' => [ - 'type' => 'string', - 'required' => false, - ], + 'uniq' => ['type' => 'string', 'required' => true], + 'instance' => ['type' => 'string', 'required' => true], + 'pid' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'table' => ['type' => 'string', 'required' => false], + 'beg_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], ], ], - 'ListClusters' => [ - 'path' => '/api/v1/am/cluster/list_clusters', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetHotspotAnalysis' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_analysis', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'current', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'appType' => ['type' => 'string', 'required' => true], + 'pid' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'instance' => ['type' => 'string', 'required' => true], + 'beg_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'table' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'GetHotspotCompare' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_compare', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'name', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'table' => ['type' => 'string', 'required' => true], + 'instance1' => ['type' => 'string', 'required' => true], + 'pid1' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'beg1_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg1_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'instance2' => ['type' => 'string', 'required' => true], + 'pid2' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'beg2_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg2_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'hot_type' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'GetHotspotInstanceList' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_instance_list', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'cluster_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'cluster_status', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'Running', - 'Installing', - 'Uninstalling', - 'Upgrading', - 'Offline', + 'properties' => [ + 'table' => ['type' => 'string', 'required' => true], + 'beg_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], + ], + ], + 'GetHotspotPidList' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_pid_list', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'cluster_type', - 'in' => 'query', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'ACK', - 'CUSTOM', + 'properties' => [ + 'table' => ['type' => 'string', 'required' => true], + 'instance' => ['type' => 'string', 'required' => true], + 'beg_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], + ], + ], + 'GetHotspotTracking' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_tracking', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'id', - 'in' => 'query', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'table' => ['type' => 'string', 'required' => true], + 'instance' => ['type' => 'string', 'required' => true], + 'beg_start' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'beg_end' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'pid' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'hot_type' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListInstances' => [ - 'path' => '/api/v1/am/instance/list_instances', - 'methods' => [ - 'get', + 'GetInspectionReport' => [ + 'path' => '/api/v1/inspection/getInspectionReport', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'reportId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'GetInstantScore' => [ + 'path' => '/api/v1/openapi/cluster_health/instant/score', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'cluster', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instance', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetListRecord' => [ + 'path' => '/api/v1/app_observ/aiAnalysis/list_record', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'instance', + 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'status', + 'name' => 'customId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'region', + 'name' => 'analysisId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetProblemPercentage' => [ + 'path' => '/api/v1/openapi/cluster_health/range/problem_percentage', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'cluster_id', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instance', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], ], ], ], - 'ListPluginsInstances' => [ - 'path' => '/api/v1/am/agent/listPluginsInstances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetRangeScore' => [ + 'path' => '/api/v1/openapi/cluster_health/range/score', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'operation_type', + 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'plugin_id', + 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'region', + 'name' => 'start', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], ], [ - 'name' => 'instance_id_name', + 'name' => 'end', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], + ], + ], + ], + 'GetResources' => [ + 'path' => '/api/v1/openapi/cluster_health/instant/resource', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'instance_tag', + 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'current', + 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'type', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListPodsOfInstance' => [ - 'path' => '/api/v1/am/instance/list_pod_of_instance', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetServiceFuncStatus' => [ + 'path' => '/api/v1/func-switch/get-service-func-status', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'current', + 'name' => 'params', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'function_name' => ['type' => 'string', 'required' => true], + 'instance' => ['type' => 'string', 'required' => false], + 'uid' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'pageSize', + 'name' => 'service_name', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'cluster_id', + 'name' => 'channel', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetVmcoreDiagnosisTask' => [ + 'path' => '/api/v1/crashAgent/diagnosis/queryTask', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'instance', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'taskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpgradeAgentForCluster' => [ - 'path' => '/api/v1/am/agent/upgrade_agent_by_cluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'InitialSysom' => [ + 'path' => '/api/v1/openapi/initial', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -1549,42 +1149,24 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'cluster_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'agent_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'agent_version' => [ - 'type' => 'string', - 'required' => false, - ], + 'check_only' => ['type' => 'boolean', 'required' => false], + 'source' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpgradeAgent' => [ - 'path' => '/api/v1/am/agent/upgrade_agent', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'InstallAgent' => [ + 'path' => '/api/v1/am/agent/install_agent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -1602,49 +1184,34 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'region' => [ - 'type' => 'string', - 'required' => true, - ], + 'instance' => ['type' => 'string', 'required' => true], + 'region' => ['type' => 'string', 'required' => true], ], ], ], - 'agent_id' => [ - 'type' => 'string', - 'required' => true, - ], - 'agent_version' => [ + 'install_type' => [ 'type' => 'string', 'required' => true, + 'enum' => ['InstallAndUpgrade', 'OnlyInstallNotHasAgent', 'OnlyUpgradeHasAgent', 'OnlyInstallWithoutStart'], ], + 'agent_id' => ['type' => 'string', 'required' => true], + 'agent_version' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'UninstallAgentForCluster' => [ - 'path' => '/api/v1/am/agent/uninstall_agent_by_cluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'InstallAgentForCluster' => [ + 'path' => '/api/v1/am/agent/install_agent_by_cluster', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -1655,42 +1222,27 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'cluster_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'agent_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'agent_version' => [ - 'type' => 'string', - 'required' => false, - ], + 'cluster_id' => ['type' => 'string', 'required' => false], + 'agent_id' => ['type' => 'string', 'required' => false], + 'agent_version' => ['type' => 'string', 'required' => false], + 'grayscale_config' => ['type' => 'string', 'required' => false], + 'config_id' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UninstallAgent' => [ - 'path' => '/api/v1/am/agent/uninstall_agent', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'InstallAgentWithType' => [ + 'path' => '/api/v1/am/agent/installAgent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -1708,762 +1260,338 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'region' => [ - 'type' => 'string', - 'required' => true, - ], + 'instance' => ['type' => 'string', 'required' => true], + 'region' => ['type' => 'string', 'required' => true], ], ], ], - 'agent_id' => [ - 'type' => 'string', - 'required' => true, - ], - 'agent_version' => [ + 'instanceType' => [ 'type' => 'string', 'required' => true, + 'enum' => ['ecs', 'eflo'], ], + 'agentId' => ['type' => 'string', 'required' => true], + 'agentVersion' => ['type' => 'string', 'required' => true], + 'configId' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'ListRegions' => [ - 'path' => '/api/v1/am/instance/list_regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'InvokeAnomalyDiagnosis' => [ + 'path' => '/api/v1/openapi/cluster_health/diagnosis/invoke_anomaly_diagnose', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [], - ], - 'ListInstancesWithEcsInfo' => [ - 'path' => '/api/v1/am/instance/listInstancesWithEcsInfo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + 'parameters' => [ + [ + 'name' => 'uuid', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'InvokeDiagnosis' => [ + 'path' => '/api/v1/openapi/diagnosis/invoke_diagnosis', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'region', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'instance_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'instance_name', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'service_name' => ['type' => 'string', 'required' => true], + 'channel' => ['type' => 'string', 'required' => true], + 'params' => ['type' => 'string', 'required' => true], + ], ], ], + ], + ], + 'ListAbnormalyEvents' => [ + 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'instance_id_name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'is_managed', + 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'instance_tag', + 'name' => 'instance', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'public_ip', + 'name' => 'start', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ - 'name' => 'private_ip', + 'name' => 'pod', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'resource_group_name', + 'name' => 'namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'resource_group_id', + 'name' => 'end', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ - 'name' => 'resource_group_id_name', + 'name' => 'level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'health_status', + 'name' => 'showPod', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'os_name', + 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'current', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'event', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListInstanceStatus' => [ - 'path' => '/api/v1/am/instance/list_instance_status', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListAgentInstallRecords' => [ + 'path' => '/api/v1/am/agent/list_agent_install_list', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'instance', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'region', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'ListInstancesEcsInfoList' => [ - 'path' => '/api/v1/am/instance/listInstancesEcsInfoList', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'region', + 'name' => 'instance_id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'info_type', + 'name' => 'plugin_id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'managed_type', + 'name' => 'plugin_version', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'instance_id', + 'name' => 'status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'plugin_id', + 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListClusterAgentInstallRecords' => [ - 'path' => '/api/v1/am/agent/list_cluster_agent_install_list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListAgents' => [ + 'path' => '/api/v1/am/agent/list_agents', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'cluster_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'plugin_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'plugin_version', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'agent_config_id', + 'name' => 'type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListAgentInstallRecords' => [ - 'path' => '/api/v1/am/agent/list_agent_install_list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListAlertDestinations' => [ + 'path' => '/api/v1/alertPusher/alert/listDestinations', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'current', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'instance_id', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'plugin_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'plugin_version', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'status', + 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'region', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'InstallAgentForCluster' => [ - 'path' => '/api/v1/am/agent/install_agent_by_cluster', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListAlertItems' => [ + 'path' => '/api/v1/alertPusher/alert/listItems', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'cluster_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'agent_id' => [ - 'type' => 'string', - 'required' => false, - ], - 'agent_version' => [ - 'type' => 'string', - 'required' => false, - ], - 'grayscale_config' => [ - 'type' => 'string', - 'required' => false, - ], - 'config_id' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], + 'parameters' => [], ], - 'InstallAgent' => [ - 'path' => '/api/v1/am/agent/install_agent', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListAlertStrategies' => [ + 'path' => '/api/v1/alertPusher/alert/listStrategies', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'instances' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'instance' => [ - 'type' => 'string', - 'required' => true, - ], - 'region' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'install_type' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'InstallAndUpgrade', - 'OnlyInstallNotHasAgent', - 'OnlyUpgradeHasAgent', - 'OnlyInstallWithoutStart', - ], - ], - 'agent_id' => [ - 'type' => 'string', - 'required' => true, - ], - 'agent_version' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - ], - 'ListAgents' => [ - 'path' => '/api/v1/am/agent/list_agents', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetAgentTask' => [ - 'path' => '/api/v1/am/agent/get_agent_task', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'task_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetAgent' => [ - 'path' => '/api/v1/am/agent/get_agent', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'agent_id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListAllInstances' => [ 'path' => '/api/v1/am/instance/listAllInstances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'instanceType', @@ -2471,11 +1599,7 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'ecs', - 'eflo', - 'all', - ], + 'enum' => ['ecs', 'eflo', 'all'], ], ], [ @@ -2484,751 +1608,630 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'managed', - 'unmanaged', - 'install', - 'uninstall', - 'upgrade', - 'all', - ], + 'enum' => ['managed', 'unmanaged', 'install', 'uninstall', 'upgrade', 'all'], ], ], [ 'name' => 'filters', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pluginId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateEventsAttention' => [ - 'path' => '/api/v1/openapi/proxy/post/cluster_update_events_attention', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListClusterAgentInstallRecords' => [ + 'path' => '/api/v1/am/agent/list_cluster_agent_install_list', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'uuid' => [ - 'type' => 'string', - 'required' => true, - ], - 'range' => [ - 'type' => 'string', - 'required' => false, - ], - 'mode' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'name' => 'current', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'cluster_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'plugin_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'plugin_version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'agent_config_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListAbnormalyEvents' => [ - 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListClusters' => [ + 'path' => '/api/v1/am/cluster/list_clusters', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'cluster', + 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'instance', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'start', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pod', + 'name' => 'cluster_id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'namespace', + 'name' => 'cluster_status', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['Running', 'Installing', 'Uninstalling', 'Upgrading', 'Offline'], ], ], [ - 'name' => 'end', + 'name' => 'cluster_type', 'in' => 'query', 'schema' => [ - 'type' => 'number', - 'format' => 'float', + 'type' => 'string', 'required' => false, + 'enum' => ['ACK', 'CUSTOM'], ], ], [ - 'name' => 'level', + 'name' => 'id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'ListDiagnosis' => [ + 'path' => '/api/v1/openapi/diagnosis/list_diagnosis', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'showPod', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'event', + 'name' => 'service_name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'params', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListInstanceHealth' => [ 'path' => '/api/v1/openapi/cluster_health/range/instance_health_list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'start', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], ], [ 'name' => 'end', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => true], ], [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'InvokeAnomalyDiagnosis' => [ - 'path' => '/api/v1/openapi/cluster_health/diagnosis/invoke_anomaly_diagnose', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListInstanceStatus' => [ + 'path' => '/api/v1/am/instance/list_instance_status', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'uuid', + 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'instance', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetRangeScore' => [ - 'path' => '/api/v1/openapi/cluster_health/range/score', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListInstances' => [ + 'path' => '/api/v1/am/instance/list_instances', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'cluster', + 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'start', + 'name' => 'status', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'end', + 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'cluster_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetProblemPercentage' => [ - 'path' => '/api/v1/openapi/cluster_health/range/problem_percentage', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListInstancesEcsInfoList' => [ + 'path' => '/api/v1/am/instance/listInstancesEcsInfoList', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'cluster', + 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instance', + 'name' => 'info_type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'start', + 'name' => 'managed_type', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'end', + 'name' => 'instance_id', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'plugin_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetInstantScore' => [ - 'path' => '/api/v1/openapi/cluster_health/instant/score', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListInstancesWithEcsInfo' => [ + 'path' => '/api/v1/am/instance/listInstancesWithEcsInfo', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'cluster', + 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instance', + 'name' => 'instance_id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'GetHealthPercentage' => [ - 'path' => '/api/v1/openapi/cluster_health/range/health_percentage', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'instance_name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'cluster', + 'name' => 'instance_id_name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'instance', + 'name' => 'is_managed', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'instance_tag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'start', + 'name' => 'public_ip', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'end', + 'name' => 'private_ip', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resource_group_name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resource_group_id', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resource_group_id_name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'health_status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'os_name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'current', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'GetAbnormalEventsCount' => [ - 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events_count', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListPluginsInstances' => [ + 'path' => '/api/v1/am/agent/listPluginsInstances', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'cluster', + 'name' => 'operation_type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instance', + 'name' => 'plugin_id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pod', + 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'namespace', + 'name' => 'instance_id_name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'start', + 'name' => 'instance_tag', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'end', + 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'showPod', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'level', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'ListDiagnosis' => [ - 'path' => '/api/v1/openapi/diagnosis/list_diagnosis', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListPodsOfInstance' => [ + 'path' => '/api/v1/am/instance/list_pod_of_instance', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'current', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'service_name', + 'name' => 'cluster_id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'params', + 'name' => 'instance', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'ListRegions' => [ + 'path' => '/api/v1/am/instance/list_regions', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], ], - 'GetDiagnosisResult' => [ - 'path' => '/api/v1/openapi/diagnosis/get_diagnosis_results', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListVmcoreDiagnosisTask' => [ + 'path' => '/api/v1/crashAgent/diagnosis/queryTaskList', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'days', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'StartAIAnalysis' => [ + 'path' => '/api/v1/openapi/proxy/post/start_ai_analysis', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'task_id', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instance' => ['type' => 'string', 'required' => false], + 'timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'pids' => ['type' => 'string', 'required' => false], + 'comms' => ['type' => 'string', 'required' => false], + 'channel' => ['type' => 'string', 'required' => false], + 'iteration_mod' => ['type' => 'string', 'required' => false], + 'iteration_func' => ['type' => 'string', 'required' => false], + 'uid' => ['type' => 'string', 'required' => false], + 'created_by' => ['type' => 'string', 'required' => false], + 'instance_type' => ['type' => 'string', 'required' => false], + 'region' => ['type' => 'string', 'required' => false], + 'iteration_range' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + 'analysis_params' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'analysisTool' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'InvokeDiagnosis' => [ - 'path' => '/api/v1/openapi/diagnosis/invoke_diagnosis', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'StartAIDiffAnalysis' => [ + 'path' => '/api/v1/appObserv/aiAnalysis/diffAnalysis', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3239,42 +2242,50 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'service_name' => [ - 'type' => 'string', - 'required' => true, - ], - 'channel' => [ - 'type' => 'string', + 'task1' => [ + 'type' => 'object', 'required' => true, + 'properties' => [ + 'analysisId' => ['type' => 'string', 'required' => false], + 'pids' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'step_start' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'step_end' => ['type' => 'number', 'format' => 'float', 'required' => false], + ], ], - 'params' => [ - 'type' => 'string', + 'task2' => [ + 'type' => 'object', 'required' => true, + 'properties' => [ + 'analysisId' => ['type' => 'string', 'required' => true], + 'pids' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + ], + 'step_start' => ['type' => 'number', 'format' => 'float', 'required' => true], + 'step_end' => ['type' => 'number', 'format' => 'float', 'required' => true], + ], ], ], ], ], ], ], - 'AuthDiagnosis' => [ - 'path' => '/api/v1/openapi/diagnosis/auth', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UninstallAgent' => [ + 'path' => '/api/v1/am/agent/uninstall_agent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3290,51 +2301,31 @@ 'required' => true, 'items' => [ 'type' => 'object', - 'required' => false, + 'required' => true, 'properties' => [ - 'instance' => [ - 'type' => 'string', - 'required' => false, - ], - 'region' => [ - 'type' => 'string', - 'required' => false, - ], + 'instance' => ['type' => 'string', 'required' => true], + 'region' => ['type' => 'string', 'required' => true], ], ], ], - 'autoCreateRole' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'autoInstallAgent' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'agent_id' => ['type' => 'string', 'required' => true], + 'agent_version' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'GetCopilotHistory' => [ - 'path' => '/api/v1/copilot/get_copilot_history', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UninstallAgentForCluster' => [ + 'path' => '/api/v1/am/agent/uninstall_agent_by_cluster', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3345,32 +2336,25 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'count' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'cluster_id' => ['type' => 'string', 'required' => false], + 'agent_id' => ['type' => 'string', 'required' => false], + 'agent_version' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GenerateCopilotStreamResponse' => [ - 'path' => '/api/v1/copilot/generate_copilot_stream_response', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'UninstallAgentWithType' => [ + 'path' => '/api/v1/am/agent/uninstallAgent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3381,34 +2365,41 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'llmParamString' => [ + 'instances' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'instance' => ['type' => 'string', 'required' => true], + 'region' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'agentId' => ['type' => 'string', 'required' => true], + 'agentVersion' => ['type' => 'string', 'required' => true], + 'instanceType' => [ 'type' => 'string', 'required' => false, + 'enum' => ['ecs', 'eflo'], ], ], ], ], ], ], - 'GenerateCopilotResponse' => [ - 'path' => '/api/v1/copilot/generate_copilot_response', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAlertDestination' => [ + 'path' => '/api/v1/alertPusher/alert/updateDestination', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3419,34 +2410,36 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'llmParamString' => [ - 'type' => 'string', + 'id' => ['type' => 'string', 'required' => false], + 'target' => ['type' => 'string', 'required' => false], + 'params' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'webhook' => ['type' => 'string', 'required' => false], + 'sec' => ['type' => 'string', 'required' => false], + 'phone' => ['type' => 'string', 'required' => false], + 'email' => ['type' => 'string', 'required' => false], + ], ], + 'name' => ['type' => 'string', 'required' => false], + 'source' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CheckInstanceSupport' => [ - 'path' => '/api/v1/am/supportInstanceList/checkInstanceSupport', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAlertEnabled' => [ + 'path' => '/api/v1/alertPusher/alert/updateEnabled', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3457,42 +2450,24 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'region' => [ - 'type' => 'string', - 'required' => false, - ], - 'instances' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'enabled' => ['type' => 'boolean', 'required' => false], + 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'StartAIDiffAnalysis' => [ - 'path' => '/api/v1/appObserv/aiAnalysis/diffAnalysis', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/updateStrategy', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3503,143 +2478,131 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'task1' => [ + 'name' => ['type' => 'string', 'required' => true], + 'id' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'enabled' => ['type' => 'boolean', 'required' => true], + 'strategy' => [ 'type' => 'object', 'required' => true, 'properties' => [ - 'analysisId' => [ - 'type' => 'string', - 'required' => false, - ], - 'pids' => [ + 'items' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], - 'step_start' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'step_end' => [ - 'type' => 'number', - 'format' => 'float', + 'clusters' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - ], - ], - 'task2' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'analysisId' => [ - 'type' => 'string', - 'required' => true, - ], - 'pids' => [ + 'destinations' => [ 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'step_start' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, - ], - 'step_end' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => true, + 'items' => ['type' => 'integer', 'format' => 'int32'], ], ], ], + 'k8sLabel' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'DescribeMetricList' => [ - 'path' => '/api/v1/openapi/proxy/get/describeMetricList', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateEventsAttention' => [ + 'path' => '/api/v1/openapi/proxy/post/cluster_update_events_attention', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instance', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'uuid' => ['type' => 'string', 'required' => true], + 'range' => ['type' => 'string', 'required' => false], + 'mode' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], + ], + ], + 'UpdateFuncSwitchRecord' => [ + 'path' => '/api/v1/func-switch/update-service-func-switch', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'metricName', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'params', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'function_name' => ['type' => 'string', 'required' => true], + 'instance' => ['type' => 'string', 'required' => false], + 'uid' => ['type' => 'string', 'required' => false], + 'op' => ['type' => 'string', 'required' => false], + 'args' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'add_cmd' => ['type' => 'string', 'required' => false], + 'mem' => ['type' => 'string', 'required' => false], + 'locks' => ['type' => 'string', 'required' => false], + 'java_store_path' => ['type' => 'string', 'required' => false], + 'system_profiling' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'loop' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'pid' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'duration' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'region' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'startTime', + 'name' => 'service_name', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'endTime', + 'name' => 'channel', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateVmcoreDiagnosisTask' => [ - 'path' => '/api/v1/crashAgent/diagnosis/createDiagnosisTask', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpgradeAgent' => [ + 'path' => '/api/v1/am/agent/upgrade_agent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3650,114 +2613,65 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'taskType' => [ - 'type' => 'string', + 'instances' => [ + 'type' => 'array', 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'instance' => ['type' => 'string', 'required' => true], + 'region' => ['type' => 'string', 'required' => true], + ], + ], ], - 'vmcoreUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'debuginfoUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'debuginfoCommonUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'dmesgUrl' => [ - 'type' => 'string', - 'required' => false, - ], + 'agent_id' => ['type' => 'string', 'required' => true], + 'agent_version' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'GetVmcoreDiagnosisTask' => [ - 'path' => '/api/v1/crashAgent/diagnosis/queryTask', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'taskId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListVmcoreDiagnosisTask' => [ - 'path' => '/api/v1/crashAgent/diagnosis/queryTaskList', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpgradeAgentForCluster' => [ + 'path' => '/api/v1/am/agent/upgrade_agent_by_cluster', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'days', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'cluster_id' => ['type' => 'string', 'required' => false], + 'agent_id' => ['type' => 'string', 'required' => false], + 'agent_version' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'CpuHighAgentStreamResponse' => [ - 'path' => '/api/v1/highCpuAgent/streamResponse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'UpgradeAgentWithType' => [ + 'path' => '/api/v1/am/agent/upgradeAgent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/octet-stream', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -3768,9 +2682,24 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'llmParamString' => [ + 'instances' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'instance' => ['type' => 'string', 'required' => true], + 'region' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'agentId' => ['type' => 'string', 'required' => true], + 'agentVersion' => ['type' => 'string', 'required' => true], + 'instanceType' => [ 'type' => 'string', 'required' => false, + 'enum' => ['ecs', 'eflo'], ], ], ], @@ -3779,9 +2708,6 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'sysom.cn-hangzhou.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'sysom.cn-hangzhou.aliyuncs.com', 'endpoint' => 'sysom.cn-hangzhou.aliyuncs.com', 'vpc' => ''], ], ]; |
