huawei-cloud-api-definitions-CSS 0.1.20240128

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AddressAndPorts":{"properties":{"address":{"description":"IP地址或域名。","example":"10.0.0.83","type":"string"},"port":{"description":"端口号。","example":9200,"format":"int32","type":"integer"}},"required":["address"]},"StartConnectivityTestReq":{"properties":{"addressAndPorts":{"description":"地址和端口列表。","items":{"$ref":"#/definitions/AddressAndPorts"},"type":"array"}},"required":["addressAndPorts"]},"StartConnectivityTestResp":{"properties":{"result":{"description":"连通性测试结果。","items":{"$ref":"#/definitions/result"},"type":"array"}}},"result":{"properties":{"address":{"description":"IP地址或域名。","example":"10.0.0.83","type":"string"},"port":{"description":"端口号。","example":9200,"format":"int32","type":"integer"},"status":{"description":"测试结果。\n- 1:表示连接成功。\n- 0:表示地址不可达。\n- 2:表示端口不可达。\n- 3:表示域名无法解析。\n- -2:表示位置错误。","example":1,"type":"integer"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"7e96f6e8677d47a5b97dcc10509a3511","info_version":"v1","method":"post","name":"StartConnectivityTest","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/checkconnection":{"post":{"description":"该接口用于连通性测试。","operationId":"StartConnectivityTest","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"},{"in":"body","name":"StartConnectivityTestReq","required":true,"schema":{"$ref":"#/definitions/StartConnectivityTestReq"}}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"result":[{"address":"10.0.0.83","port":"9200","status":1}]}},"schema":{"$ref":"#/definitions/StartConnectivityTestResp"}},"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":{"addressAndPorts":[{"address":"10.0.0.83","port":"9200"}]},"x-request-examples-description-1":"配置端口测试连通性。","x-request-examples-text-1":{"addressAndPorts":[{"address":"10.0.0.83","port":"9200"}]},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/5c77b71c-5b35-4f50-8984-76387e42451a/publickibana/checkconnection","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/checkconnection","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"}