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":{"CreateAiOpsRequestBody":{"properties":{"alarm":{"description":"**参数解释**:\n检测报告发送,当前功能已废弃。\n**约束限制**:\n不涉及\n**取值范围**:\n不涉及\n**默认取值**:\n不涉及","properties":{"level":{"description":"**参数解释**:\n报告发送风险类别,当前功能已废弃。\n**约束限制**:\n不涉及\n**取值范围**:\n不涉及\n**默认取值**:\n不涉及","example":"ES-Test-new","type":"string"},"smn_topic":{"description":"**参数解释**:\n报告发送主题,当前功能已废弃。\n**约束限制**:\n不涉及\n**默认取值**:\n不涉及","example":"ES-Test-new","type":"string"}}},"check_items":{"description":"**参数解释**:\n全量检测项中选取其中部分检测项进行检测,输入检测项列表。\n**约束限制**:\n当check_type为partial_detection时有效\n**取值范围**:\n通过智能运维ShowAiOpsDetector获取最新支持的检测项,输入检测项id字符串列表\n**默认取值**:\n不涉及","example":"ES-Test-new","items":{"type":"string"},"type":"array"},"check_type":{"description":"**参数解释**:\n检测类型\n**约束限制**:\n不涉及\n**取值范围**:\n- full_detection  全量检测项\n- unavailability_detection 集群不可用检测项\n- partial_detection 全量检测项中选取其中部分检测项进行检测,具体检测项需要设置check_items\n\n**默认取值**:\n不涉及","example":"ES-Test-new","type":"string"},"description":{"description":"**参数解释**:\n检测报告描述,支持自定义检测描述\n**约束限制**:\n不涉及\n**取值范围**:\n0~255个字符\n**默认取值**:\n不涉及","type":"string"},"name":{"description":"**参数解释**:\n检测报告名称,支持自定义检测名。\n**约束限制**:\n不涉及\n**取值范围**:\n4~64个字符,只能包含数字、字母、中划线和下划线,且必须以字母开头。\n**默认取值**:\n不涉及","type":"string"}},"type":"object"}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"870f1ebc7671495d9414baeb48321360","info_version":"v1","method":"post","name":"CreateAiOps","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/ai-ops":{"post":{"description":"该接口用于创建一个集群检测任务。","operationId":"CreateAiOps","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":"检测类型及范围设置","in":"body","name":"CreateAiOpsRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateAiOpsRequestBody"}}],"responses":{"200":{"description":"请求已成功。"},"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":1,"x-publishpath":"","x-request-examples-1":{"check_items":[],"check_type":"full_detection"},"x-request-examples-description-1":"创建一个集群检测任务。","x-request-examples-text-1":{"check_items":[],"check_type":"full_detection"},"x-request-examples-url":"POST https://{Endpoint}/v1.0/{project_id}/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops","x-request-examples-url-1":"POST 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"}