huawei-cloud-api-definitions-CSS 0.1.20240215

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"confs":{"properties":{"confContent":{"description":"配置文件内容。","example":"xxxxxxxx","type":"string"},"name":{"description":"配置文件名称。","example":"conf1","type":"string"},"setting":{"$ref":"#/definitions/setting","description":"具体的配置内容对象。"},"status":{"description":"配置文件状态。","example":"available","type":"string"},"updateAt":{"description":"更新时间。","example":"2021-09-29T02:44:44","type":"string"}}},"setting":{"properties":{"batchDelayMs":{"description":"每个event被pipeline调度等待的最小时间。 单位毫秒。","example":50,"type":"integer"},"batchSize":{"description":"单个工作线程在尝试执行其Filters和Outputs之前将从inputs收集的最大事件数,该值较大通常更有效,但会增加内存开销,默认为125。","example":125,"type":"integer"},"queueCheckPointWrites":{"description":"如果使用持久化队列,则表示强制执行检查点之前写入的最大事件数,默认值为1024。","example":1024,"type":"integer"},"queueMaxBytesMb":{"description":"如果使用持久化队列,则表示持久化队列的总容量(以兆字节MB为单位),确保磁盘的容量大于该值,默认值为1024。","example":1024,"type":"integer"},"queueType":{"description":"用于事件缓冲的内部队列模型。memory 为基于内存的传统队列,persisted为基于磁盘的ACKed持久化队列,默认值为memory。","example":"persisted","type":"string"},"workers":{"description":"并行执行管道的Filters+Outputs阶段的工作线程数,默认值为CPU核数。","example":2,"type":"integer"}},"required":["queueType"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"71c162cea8df4ab7b44f158b92b72aa6","info_version":"v1","method":"get","name":"ShowGetConfDetail","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/lgsconf/confdetail":{"get":{"description":"该接口用于查询配置文件内容。","operationId":"ShowGetConfDetail","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":"query","name":"name","required":true,"type":"string","x-example":"conf1"}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"confContent":"xxxxxxxx","name":"conf1","setting":{"batchDelayMs":50,"batchSize":125,"queueCheckPointWrites":1024,"queueMaxBytesMb":1024,"queueType":"persisted","workers":2},"status":"available","updateAt":"2021-09-29T02:44:44"}},"schema":{"$ref":"#/definitions/confs"}},"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":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/5c77b71c-5b35-4f50-8984-76387e42451a/lgsconf/confdetail?name=conf1","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"}