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":{"RestoreSnapshotReq":{"properties":{"indices":{"description":"指定要恢复的索引名称,多个索引用逗号隔开,默认恢复所有索引。支持使用“\\*”匹配多个索引,例如:2018-06\\*,表示恢复名称前缀是2018-06的所有索引的数据。\n\n0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?特殊字符。","example":"myindex1,myindex2","type":"string"},"renamePattern":{"description":"匹配要恢复的索引规则,最大支持1024个字符。根据此处定义的过滤条件去恢复符合条件的索引,过滤条件请使用正则表达式。\n\n0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?,特殊字符。\n\n renamePattern参数与renameReplacement参数必须同时设置才能生效。","type":"string"},"renameReplacement":{"description":"索引重命名的规则。0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?,特殊字符。例如,“restored_index_$1”表示在所有恢复的索引名称前面加上“restored_”。\n\n\n renamePattern参数与renameReplacement参数必须同时设置才能生效。","type":"string"},"targetCluster":{"description":"快照要恢复到的集群的ID。","example":"ea244205-d641-45d9-9dcb-ab2236bcd07e","type":"string"}},"required":["targetCluster"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"33ec06ae097649e680c95eb8c2f25ddd","info_version":"v1","method":"post","name":"RestoreSnapshot","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/{snapshot_id}/restore":{"post":{"description":"该接口用于手动恢复一个快照。","operationId":"RestoreSnapshot","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"},{"description":"快照ID。","in":"path","name":"snapshot_id","required":true,"type":"string","x-example":"29a2254e-947f-4463-b65a-5f0b17515fae"},{"in":"body","name":"RestoreSnapshotReq","required":true,"schema":{"$ref":"#/definitions/RestoreSnapshotReq"}}],"responses":{"201":{"description":"创建类的请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"403":{"description":"请求被拒绝访问。\n\n返回该状态码,表明请求能够到达服务端,且服务端能够理解用户请求,但是拒绝做更多的事情,因为该请求被设置为拒绝访问,建议直接修改该请求,不要重试该请求。"}},"summary":"恢复快照","tags":["快照管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","x-request-examples-1":{"indices":"myindex1,myindex2","renamePattern":"index","renameReplacement":"restored_index_$1","targetCluster":"ea244205-d641-45d9-9dcb-ab2236bcd07e"},"x-request-examples-description-1":"恢复快照。","x-request-examples-text-1":{"indices":"myindex1,myindex2","renamePattern":"index","renameReplacement":"restored_index_$1","targetCluster":"ea244205-d641-45d9-9dcb-ab2236bcd07e"},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/index_snapshot/29a2254e-947f-4463-b65a-5f0b17515fae/restore","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/index_snapshot/653c086f-ebe7-4383-b902-c031b354f1dd/restore","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"恢复快照","tags":"快照管理接口","uri":null,"version":"2.0"}