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":{"CreateSnapshotReq":{"properties":{"description":{"description":"快照描述,0~256个字符,不能包含!<>=&\\\"'字符。","type":"string"},"indices":{"description":"指定要备份的索引名称,多个索引用逗号隔开,默认备份所有索引。支持使用“\\*”匹配多个索引,例如:2018-06\\*,表示备份名称前缀是2018-06的所有索引的数据。\n\n0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?特殊字符。","example":"myindex1,myindex2","type":"string"},"name":{"description":"快照名称,快照名称在4位到64位之间,必须以字母开头,可以包含字母、数字、中划线或者下划线,注意字母不能大写且不能包含其他特殊字符。","example":"snapshot_001","type":"string"}},"required":["name"]},"SnapshotRsp":{"properties":{"backup":{"$ref":"#/definitions/backupRsp","description":"快照信息。"}}},"backupRsp":{"properties":{"id":{"description":"快照id。","type":"string"},"name":{"description":"快照名称。","type":"string"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"45dea38aa41e4b428f46de091d338d0c","info_version":"v1","method":"post","name":"CreateSnapshot","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/index_snapshot":{"post":{"description":"该接口用于手动创建一个快照。","operationId":"CreateSnapshot","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":"ea244205-d641-45d9-9dcb-ab2236bcd07e"},{"in":"body","name":"CreateSnapshotReq","required":true,"schema":{"$ref":"#/definitions/CreateSnapshotReq"}}],"responses":{"201":{"description":"创建类的请求已成功。","examples":{"application/json":{"backup":{"id":"9dc4f5c9-33c0-45c7-9378-ae35ae350682","name":"snapshot_101"}}},"schema":{"$ref":"#/definitions/SnapshotRsp"}},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"403":{"description":"请求被拒绝访问。\n\n返回该状态码,表明请求能够到达服务端,且服务端能够理解用户请求,但是拒绝做更多的事情,因为该请求被设置为拒绝访问,建议直接修改该请求,不要重试该请求。"},"406":{"description":"服务器无法根据客户端请求的内容特性完成请求。"},"500":{"description":"表明服务端能被请求访问到,但是不能理解用户的请求。"},"501":{"description":"服务器不支持请求的功能,无法完成请求。"}},"summary":"手动创建快照","tags":["快照管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","x-request-examples-1":{"indices":"myindex1myindex2","name":"snapshot_001"},"x-request-examples-description-1":"创建快照。","x-request-examples-text-1":{"indices":"myindex1myindex2","name":"snapshot_001"},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/index_snapshot","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/index_snapshot","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"手动创建快照","tags":"快照管理接口","uri":null,"version":"2.0"}