huawei-cloud-api-definitions-CSS 0.1.20260703

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AiOpsSetting":{"properties":{"check_items":{"description":"**参数解释**:\n全量检测项中选取其中部分检测项进行检测,输入检测项列表。\n**约束限制**:\n当check_type为partial_detection时有效\n**取值范围**:\n通过智能运维ShowAiOpsDetector获取最新支持的检测项,输入检测项id字符串列表\n**默认取值**:\n不涉及","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不涉及","type":"string"},"period":{"description":"**参数解释**:\n智能运维自动检测时间,格式为时间加时区,例如:\"00:00 GMT+08:00\"。\n**约束限制**:\n不涉及\n**取值范围**:\n不涉及\n**默认取值**:\n不涉及","type":"string"}},"required":["check_type","period"],"type":"object"}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"1c80b053832441eba01fc9f8a8241d90","info_version":"v1","method":"post","name":"UpdateAiOpsSetting","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/ai-ops/setting":{"post":{"description":"CSS服务提供智能运维功能的定时检测,支持每日定时检测集群的潜在风险。此接口用于设置智能运维定时检测。","operationId":"UpdateAiOpsSetting","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"},{"description":"**参数解释**:\n指定查询的集群ID。获取方法请参见[获取集群ID](css_03_0101.xml)。\n**约束限制**:\n不涉及\n**取值范围**:\n集群ID。\n**默认取值**:\n不涉及","in":"path","name":"cluster_id","required":true,"type":"string"},{"description":"智能运维自动检测设置,设置每日自动进行智能检测。","in":"body","name":"ChangeAiOpsSetting","required":true,"schema":{"$ref":"#/definitions/AiOpsSetting"}}],"responses":{"200":{"description":"请求成功。"},"400":{"description":"非法请求。 建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。 返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"更新智能运维定时检测设置","tags":["智能运维"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-is-registered":"Y","x-request-examples-1":{"check_items":[],"check_type":"full_detection","period":"11:30 GMT+08:00"},"x-request-examples-description-1":"更新智能运维定时检测设置","x-request-examples-text-1":{"check_items":[],"check_type":"full_detection","period":"11:30 GMT+08:00"},"x-request-examples-url-1":"POST https://{Endpoint}/v1.0/{project_id}/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/ai-ops/setting","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"更新智能运维定时检测设置","tags":"智能运维","uri":null,"version":"2.0"}