huawei-cloud-api-definitions-CSS 0.1.20240116

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"CreateCnfReq":{"properties":{"confContent":{"description":"配置文件内容。","example":"xxxxxxxx","type":"string"},"name":{"description":"配置文件名称。4~32个字符,只能包含数字、字母、中划线和下划线,且必须以字母开头。","example":"conf1","type":"string"},"sensitive_words":{"description":"敏感字符替换\n输入需要隐藏的敏感字串列表。配置隐藏字符串列表后,在返回的配置内容中,会将所有在列表中的字串隐藏为***(列表最大支持20条,单个字串最大长度512字节)","items":{"type":"string"},"type":"array"},"setting":{"$ref":"#/definitions/setting","description":"配置实体对象。"}},"required":["name","confContent","setting"],"type":"object"},"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":"1cf4d900c54645da83a19acb76aaa33a","info_version":"v1","method":"post","name":"UpdateCnf","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/lgsconf/update":{"post":{"description":"该接口用于更新配置文件。","operationId":"UpdateCnf","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":"UpdateCnfReq","required":true,"schema":{"$ref":"#/definitions/CreateCnfReq"}}],"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":{"confContent":"xxxxxxxx","name":"conf1","setting":{"batchDelayMs":50,"batchSize":125,"queueCheckPointWrites":1024,"queueMaxBytesMb":1024,"queueType":"persisted","workers":2}},"x-request-examples-description-1":"更新配置文件。","x-request-examples-text-1":{"confContent":"xxxxxxxx","name":"conf1","setting":{"batchDelayMs":50,"batchSize":125,"queueCheckPointWrites":1024,"queueMaxBytesMb":1024,"queueType":"persisted","workers":2}},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/5c77b71c-5b35-4f50-8984-76387e42451a/publickibana/lgsconf/update","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/lgsconf/update","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"}