huawei-cloud-api-definitions-CSS 0.1.20240213

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AddFavoriteReq":{"properties":{"name":{"description":"配置文件名称。4~32个字符,只能包含数字、字母、中划线和下划线,且必须以字母开头。","example":"conf1","type":"string"},"template":{"$ref":"#/definitions/AddFavoriteReqTemplate","description":"自定义模板实体对象。"}},"required":["name","template"]},"AddFavoriteReqTemplate":{"properties":{"desc":{"description":"模板描述。","example":"自定义模板","type":"string"},"templateName":{"description":"模板名称。","example":"template1","type":"string"}},"required":["templateName"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"0977e70daf70448a8308e33eae4c98c8","info_version":"v1","method":"post","name":"AddFavorite","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/lgsconf/favorite":{"post":{"description":"该接口用于添加到自定义模板。","operationId":"AddFavorite","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"指定添加自定义模板的集群ID。","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"5c77b71c-5b35-4f50-8984-76387e42451a"},{"description":"添加自定义模板请求体。","in":"body","name":"AddFavoriteReq","required":true,"schema":{"$ref":"#/definitions/AddFavoriteReq"}}],"responses":{"200":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"添加到自定义模板","tags":["Logstash接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","x-request-examples-1":{"name":"conf1","template":{"desc":"自定义模板","templateName":"template1"}},"x-request-examples-description-1":"配置自定义模板。","x-request-examples-text-1":{"name":"conf1","template":{"desc":"自定义模板","templateName":"template1"}},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/5c77b71c-5b35-4f50-8984-76387e42451a/publickibana/lgsconf/favorite","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/lgsconf/favorite","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"添加到自定义模板","tags":"Logstash接口","uri":null,"version":"2.0"}