huawei-cloud-api-definitions-CSS 0.1.20260703

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"StartAutoCreateSnapshotsReq":{"properties":{"frequency":{"description":"自动创建快照的执行频次。","type":"string"},"indices":{"description":"指定要恢复的索引名称,多个索引用逗号隔开,默认恢复所有索引。支持使用“\\*”匹配多个索引,例如:2018-06\\*,表示恢复名称前缀是2018-06的所有索引的数据。\n0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?特殊字符。\n默认值为\\*,表示恢复所有索引。","example":"*","type":"string"},"keepday":{"description":"设置快照保留的天数,范围是1~90。系统在半点时刻会自动删除超过保留天数的快照。","example":7,"type":"integer"},"period":{"description":"每天创建快照的时刻,只支持整点,后面需加上时区,格式为“HH:mm z”,“HH:mm”表示整点时间,“z”表示时区。比如“00:00 GMT+08:00”、“01:00 GMT+08:00”等。","example":"16:00 GMT+08:00","type":"string"},"prefix":{"description":"自动创建的快照名称前缀,需要用户自己手动输入。只能包含1~32位小写字母、数字、中划线或者下划线,并且以小写字母开头。","example":"snapshot","type":"string"}},"required":["keepday","prefix"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"4e12fa9d7de145d0907cdaa985bdd6c1","info_version":"v2","method":"post","name":"StartAutoCreateSnapshots","parameters":{},"paths":{"/v2.0/{project_id}/clusters/{cluster_id}/snapshots/policy/open":{"post":{"description":"该接口用于打开自动备份功能","operationId":"StartAutoCreateSnapshots","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":"StartAutoCreateSnapshotsReq","required":true,"schema":{"$ref":"#/definitions/StartAutoCreateSnapshotsReq"}}],"responses":{"200":{"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":"*","keepday":7,"period":"16:00 GMT+08:00","prefix":"snapshot"},"x-request-examples-text-1":{"indices":"*","keepday":7,"period":"16:00 GMT+08:00","prefix":"snapshot"},"x-request-examples-url-1":"POST /v2.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/snapshots/policy/open","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"开启自动创建快照功能","tags":"快照管理接口","uri":null,"version":"2.0"}