huawei-cloud-api-definitions-CSS 0.1.20240118

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ListTemplatesResp":{"properties":{"customTemplates":{"description":"自定义模板列表。","items":{"$ref":"#/definitions/customTemplates"},"type":"array"},"systemTemplates":{"description":"系统模板列表。","items":{"$ref":"#/definitions/systemTemplates"},"type":"array"}}},"customTemplates":{"properties":{"confContent":{"description":"配置文件内容。","example":"xxxxxxxx","type":"string"},"desc":{"description":"描述。","example":"es到安全集群es","type":"string"},"id":{"description":"配置文件id。","example":"2e16fbba-49bf-4690-93af-3f89025c6523","type":"string"},"name":{"description":"配置文件名称。","example":"es_to_https_es","type":"string"}}},"systemTemplates":{"properties":{"confContent":{"description":"配置文件内容。","example":"xxxxxxxx","type":"string"},"desc":{"description":"描述。","example":"logstash config for es","type":"string"},"id":{"description":"配置文件id。","example":"a03b1791-6dc6-453d-961d-88939adc82aa","type":"string"},"name":{"description":"配置文件名称。","example":"elasticsearch","type":"string"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"9716d9306c424ef18537b3719a21aa15","info_version":"v1","method":"get","name":"ListTemplates","parameters":{},"paths":{"/v1.0/{project_id}/lgsconf/template":{"get":{"description":"该接口用于查询模板列表。","operationId":"ListTemplates","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"模板类型。custom为自定义模板,system为系统模板。不指定查询模板类型默认查找自定义模板和系统模板。","in":"query","name":"type","required":false,"type":"string","x-example":"custom"}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"customTemplates":[{"confContent":"xxxxxxxx","desc":"es到安全集群es","id":"2e16fbba-49bf-4690-93af-3f89025c6523","name":"es_to_https_es"}],"systemTemplates":[{"confContent":"xxxxxxxx","desc":"logstash config for es","id":"a03b1791-6dc6-453d-961d-88939adc82aa","name":"elasticsearch"}]}},"schema":{"$ref":"#/definitions/ListTemplatesResp"}},"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-url":"GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/lgsconf/template?type=custom","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"}