diff options
Diffstat (limited to 'data/sysom')
| -rw-r--r-- | data/sysom/2023-12-30/api-docs.php | 3787 |
1 files changed, 3787 insertions, 0 deletions
diff --git a/data/sysom/2023-12-30/api-docs.php b/data/sysom/2023-12-30/api-docs.php new file mode 100644 index 0000000..e97603c --- /dev/null +++ b/data/sysom/2023-12-30/api-docs.php @@ -0,0 +1,3787 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'SysOM', + 'version' => '2023-12-30', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'UpdateAlertEnabled' => [ + 'path' => '/api/v1/alertPusher/alert/updateEnabled', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'enabled' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'id' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GetAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/getStrategy', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'id', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + 'DeleteAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/deleteStrategy', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ListAlertItems' => [ + 'path' => '/api/v1/alertPusher/alert/listItems', + 'methods' => [ + 'get', + ], + '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', + ], + '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', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'CreateAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/createStrategy', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + '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, + ], + ], + ], + ], + ], + ], + 'UpdateAlertStrategy' => [ + 'path' => '/api/v1/alertPusher/alert/updateStrategy', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + '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, + ], + ], + ], + ], + ], + ], + 'UpdateFuncSwitchRecord' => [ + 'path' => '/api/v1/func-switch/update-service-func-switch', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'params', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + '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' => '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'params', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'function_name' => [ + 'type' => 'string', + 'required' => true, + ], + 'instance' => [ + 'type' => 'string', + 'required' => false, + ], + 'uid' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'service_name', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'channel', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'GetHotSpotUniqList' => [ + 'path' => '/api/v1/livetrace_proxy/hotspot_uniq_list', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'GetHotspotTracking' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_tracking', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'GetHotspotPidList' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_pid_list', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'GetHotspotInstanceList' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_instance_list', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + 'beg_start' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + 'beg_end' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'GetHotspotCompare' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_compare', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + '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, + ], + ], + ], + ], + ], + ], + 'GetHotspotAnalysis' => [ + 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_analysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + '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' => '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, + ], + ], + ], + ], + ], + ], + '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, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetAIQueryResult' => [ + 'path' => '/api/v1/app_observ/aiAnalysis/query_result', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'analysisId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + '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' => 'cluster', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instance', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetHostCount' => [ + 'path' => '/api/v1/openapi/cluster_health/range/host_count', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => false, + ], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => false, + ], + ], + ], + ], + 'InitialSysom' => [ + 'path' => '/api/v1/openapi/initial', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'check_only' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'source' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'ListClusters' => [ + 'path' => '/api/v1/am/cluster/list_clusters', + '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, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'cluster_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'cluster_status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Running', + 'Installing', + 'Uninstalling', + 'Upgrading', + 'Offline', + ], + ], + ], + [ + 'name' => 'cluster_type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'ACK', + 'CUSTOM', + ], + ], + ], + [ + 'name' => 'id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListInstances' => [ + 'path' => '/api/v1/am/instance/list_instances', + '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, + ], + ], + [ + '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, + ], + ], + [ + 'name' => 'cluster_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListPluginsInstances' => [ + 'path' => '/api/v1/am/agent/listPluginsInstances', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'operation_type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'plugin_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'instance_id_name', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instance_tag', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'current', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + 'ListPodsOfInstance' => [ + 'path' => '/api/v1/am/instance/list_pod_of_instance', + '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, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'cluster_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instance', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'UpgradeAgentForCluster' => [ + 'path' => '/api/v1/am/agent/upgrade_agent_by_cluster', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'UpgradeAgent' => [ + 'path' => '/api/v1/am/agent/upgrade_agent', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'UninstallAgent' => [ + 'path' => '/api/v1/am/agent/uninstall_agent', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + 'agent_id' => [ + 'type' => 'string', + 'required' => true, + ], + 'agent_version' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'ListRegions' => [ + 'path' => '/api/v1/am/instance/list_regions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListInstancesWithEcsInfo' => [ + 'path' => '/api/v1/am/instance/listInstancesWithEcsInfo', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instance_id_name', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'is_managed', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'instance_tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => [ + 'type' => 'string', + 'required' => false, + ], + 'value' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'public_ip', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'private_ip', + 'in' => 'query', + '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, + ], + ], + ], + ], + 'ListInstanceStatus' => [ + 'path' => '/api/v1/am/instance/list_instance_status', + '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, + ], + ], + [ + '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, + ], + ], + ], + ], + 'ListInstancesEcsInfoList' => [ + 'path' => '/api/v1/am/instance/listInstancesEcsInfoList', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'info_type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'managed_type', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instance_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'plugin_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListClusterAgentInstallRecords' => [ + 'path' => '/api/v1/am/agent/list_cluster_agent_install_list', + '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, + ], + ], + [ + '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, + ], + ], + ], + ], + 'ListAgentInstallRecords' => [ + 'path' => '/api/v1/am/agent/list_agent_install_list', + '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, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'instance_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' => 'status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'InstallAgentForCluster' => [ + 'path' => '/api/v1/am/agent/install_agent_by_cluster', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'InstallAgent' => [ + 'path' => '/api/v1/am/agent/install_agent', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'ListAgents' => [ + 'path' => '/api/v1/am/agent/list_agents', + '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, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + '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, + ], + ], + ], + ], + 'ListAllInstances' => [ + 'path' => '/api/v1/am/instance/listAllInstances', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instanceType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'ecs', + 'eflo', + 'all', + ], + ], + ], + [ + 'name' => 'managedType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'managed', + 'unmanaged', + 'install', + 'uninstall', + 'upgrade', + 'all', + ], + ], + ], + [ + 'name' => 'filters', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'current', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'pluginId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'UpdateEventsAttention' => [ + 'path' => '/api/v1/openapi/proxy/post/cluster_update_events_attention', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + 'ListAbnormalyEvents' => [ + 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => false, + ], + ], + [ + 'name' => 'pod', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'namespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => false, + ], + ], + [ + 'name' => 'level', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'showPod', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + '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' => 'event', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListInstanceHealth' => [ + 'path' => '/api/v1/openapi/cluster_health/range/instance_health_list', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => true, + ], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => true, + ], + ], + [ + 'name' => 'current', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + 'InvokeAnomalyDiagnosis' => [ + 'path' => '/api/v1/openapi/cluster_health/diagnosis/invoke_anomaly_diagnose', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'uuid', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetRangeScore' => [ + 'path' => '/api/v1/openapi/cluster_health/range/score', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + [ + 'name' => 'start', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => true, + ], + ], + [ + 'name' => 'end', + 'in' => 'query', + 'schema' => [ + 'type' => 'number', + 'format' => 'float', + 'required' => true, + ], + ], + ], + ], + 'GetProblemPercentage' => [ + 'path' => '/api/v1/openapi/cluster_health/range/problem_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, + ], + ], + [ + '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, + ], + ], + ], + ], + 'GetInstantScore' => [ + 'path' => '/api/v1/openapi/cluster_health/instant/score', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + ], + ], + '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, + ], + ], + [ + '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, + ], + ], + ], + ], + 'GetAbnormalEventsCount' => [ + 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events_count', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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, + ], + ], + [ + '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, + ], + ], + ], + ], + 'ListDiagnosis' => [ + 'path' => '/api/v1/openapi/diagnosis/list_diagnosis', + '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, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'service_name', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'params', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetDiagnosisResult' => [ + 'path' => '/api/v1/openapi/diagnosis/get_diagnosis_results', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'task_id', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'InvokeDiagnosis' => [ + 'path' => '/api/v1/openapi/diagnosis/invoke_diagnosis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'service_name' => [ + 'type' => 'string', + 'required' => true, + ], + 'channel' => [ + 'type' => 'string', + 'required' => true, + ], + 'params' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'AuthDiagnosis' => [ + 'path' => '/api/v1/openapi/diagnosis/auth', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => false, + 'properties' => [ + 'instance' => [ + 'type' => 'string', + 'required' => false, + ], + 'region' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'autoCreateRole' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'autoInstallAgent' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GetCopilotHistory' => [ + 'path' => '/api/v1/copilot/get_copilot_history', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'count' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'GenerateCopilotStreamResponse' => [ + 'path' => '/api/v1/copilot/generate_copilot_stream_response', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [], + 'produces' => [], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'llmParamString' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GenerateCopilotResponse' => [ + 'path' => '/api/v1/copilot/generate_copilot_response', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'llmParamString' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'CheckInstanceSupport' => [ + 'path' => '/api/v1/am/supportInstanceList/checkInstanceSupport', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'region' => [ + 'type' => 'string', + 'required' => false, + ], + 'instances' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'StartAIDiffAnalysis' => [ + 'path' => '/api/v1/appObserv/aiAnalysis/diffAnalysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + '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, + ], + ], + ], + '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, + ], + ], + ], + ], + ], + ], + ], + ], + 'DescribeMetricList' => [ + 'path' => '/api/v1/openapi/proxy/get/describeMetricList', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + '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, + ], + ], + ], + ], + 'CreateVmcoreDiagnosisTask' => [ + 'path' => '/api/v1/crashAgent/diagnosis/createDiagnosisTask', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + '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, + ], + ], + ], + ], + ], + ], + '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'days', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + ], + ], + ], + 'CpuHighAgentStreamResponse' => [ + 'path' => '/api/v1/highCpuAgent/streamResponse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/octet-stream', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'llmParamString' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'sysom.cn-hangzhou.aliyuncs.com', + ], + ], +]; |
