huawei-cloud-api-definitions-CSS 0.1.20260710

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AiOps":{"properties":{"check_type":{"description":"**参数解释**:\n检测范围\n**取值范围**:\n- full_detection:全量检测\n- unavailability_detection:集群不可用检测\n- partial_detection:部分检测","type":"string"},"create_time":{"description":"**参数解释**:\n集群风险检测任务创建时间。\n**取值范围**:\n格式:Unix时间戳格式。","format":"date","type":"string"},"desc":{"description":"**参数解释**:\n集群风险检测任务描述。\n**取值范围**:\n不涉及","type":"string"},"id":{"description":"**参数解释**:\n集群风险检测任务ID。\n**取值范围**:\n不涉及","type":"string"},"name":{"description":"**参数解释**:\n集群风险检测任务名称。\n**取值范围**:\n不涉及","type":"string"},"status":{"description":"**参数解释**:\n任务执行状态。\n**取值范围**:\n- 150:未开启。\n- 200:已开启。\n- 300:已发送。","type":"integer"},"summary":{"$ref":"#/definitions/SummaryInfo","description":"**参数解释**:\n集群风险概要。\n**取值范围**:\n不涉及"},"task_risks":{"description":"**参数解释**:\n集群风险项详情。\n**取值范围**:\n不涉及","items":{"$ref":"#/definitions/AiOpsRiskObject"},"type":"array"},"trigger_type":{"description":"**参数解释**:\n触发类型\n**取值范围**:\n- manual:手动\n- auto:自动","type":"string"}},"type":"object"},"AiOpsRiskObject":{"properties":{"desc":{"description":"**参数解释**:\n检测项说明\n**取值范围**:\n不涉及","type":"string"},"id":{"description":"**参数解释**:\n检测项ID\n**取值范围**:\n不涉及","type":"string"},"level":{"description":"**参数解释**:\n检测结果风险等级\n**取值范围**:\n不涉及","type":"string"},"name":{"description":"**参数解释**:\n检测项名称\n**取值范围**:\n不涉及","type":"string"},"result":{"description":"**参数解释**:\n检测结果\n**取值范围**:\n不涉及","type":"string"},"suggestion":{"description":"**参数解释**:\n检测建议\n**取值范围**:\n不涉及","type":"string"}},"type":"object"},"ListAiOpsRspBody":{"properties":{"aiops_list":{"description":"智能运维任务列表及详情","items":{"$ref":"#/definitions/AiOps"},"type":"array"},"total_size":{"description":"**参数解释**:\n集群智能诊断任务总数。\n**取值范围**:\n不涉及","type":"integer"}},"type":"object"},"SummaryInfo":{"properties":{"highRisk":{"description":"**参数解释**:\n集群风险概要。\n**取值范围**:\n不涉及","type":"integer"},"mediumRisk":{"description":"**参数解释**:\n集群风险检测项判定为中风险的数量。\n**取值范围**:\n0-100","type":"integer"},"normal":{"description":"**参数解释:\n集群风险检测项判定为正常项的数量。\n**取值范围**:\n0-100","type":"integer"},"suggestion":{"description":"**参数解释**:\n集群风险检测项判定为提示项的数量。\n**取值范围**:\n0-100","format":"int32","type":"integer"}},"type":"object"}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"15c422c8811d4dab9962eebd407f4909","info_version":"v1","method":"get","name":"ListAiOps","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/ai-ops":{"get":{"description":"CSS服务提供智能运维功能,支持检测集群潜在风险。检测任务完成后,可以查看集群存在的风险项详情,根据风险建议及时处理集群存在的风险。此接口用于获取智能运维任务列表及详情。","operationId":"ListAiOps","parameters":[{"description":"**参数解释**:\n项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。\n**约束限制**:\n不涉及\n**取值范围**:\n账号的项目ID。\n**默认取值**:\n不涉及","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"**参数解释**:\n指定查询的集群ID。获取方法请参见[获取集群ID](css_03_0101.xml)。\n**约束限制**:\n不涉及\n**取值范围**:\n集群ID。\n**默认取值**:\n不涉及","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"4f3deec3-efa8-4598-bf91-560aad1377a3"},{"description":"**参数解释**:\n分页参数,列表当前分页的数量限制。默认值为10,即一次查询10个任务信息。\n**约束限制**:\n不涉及\n**取值范围**:\n1-1000\n**默认取值**:\n10","in":"query","name":"limit","required":false,"type":"integer","x-example":10},{"description":"**参数解释**:\n偏移量,表示从偏移量后面的计数开始查询。\n**约束限制**:\n不涉及\n**取值范围**:\n0-1000\n**默认取值**:\n0","in":"query","name":"offset","required":false,"type":"integer","x-example":0},{"description":"**参数解释**:\n获取当前最新一份报告或历史报告\n**约束限制**:\n不涉及\n**取值范围**:\n- current   仅获取当前最新一次检测报告\n- history   仅获取当前历史检测报告\n\n**默认取值**:\n不涉及","in":"query","name":"report","required":false,"type":"string"}],"responses":{"200":{"description":"请求成功。","examples":{"application/json":[{"check_type":"full_detection","create_time":1763365380723,"id":"0f896cea-c56a-4235-8cf2-69018229c903","name":"aiops-1763365380724","status":200,"summary":{"highRisk":0,"mediumRisk":0,"normal":1,"suggestion":0},"task_risks":[{"desc":"desc","id":"nodeDiskCheck","level":"normal","name":"name","result":"result","suggestion":"suggestion"}],"trigger_type":"manual"}]},"schema":{"$ref":"#/definitions/ListAiOpsRspBody"}},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"获取智能运维任务列表及详情","tags":["智能运维"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":0,"x-publishpath":"","x-request-examples-description-1":"获取智能运维任务列表及详情。","x-request-examples-url":"GET https://{Endpoint}/v1.0/{project_id}/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops","x-request-examples-url-1":"GET https://{Endpoint}/v1.0/{project_id}/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取智能运维任务列表及详情","tags":"智能运维","uri":null,"version":"2.0"}