{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"UpdateSnapshotSettingReq":{"properties":{"agency":{"description":"委托名称,委托给CSS,允许CSS调用您的其他云服务。","example":"usearch","type":"string"},"base_path":{"description":"快照在OBS桶中的存放路径。","example":"css_repository/Es-name","type":"string"},"bucket":{"description":"备份使用的OBS桶的桶名。","example":"test-bucket","type":"string"},"delete_auto":{"description":"表示关闭自动创建快照策略时,是否需要清除所有自动创建的快照。","type":"string"},"enable":{"description":"是否开启自动创建快照策略。","type":"string"},"frequency":{"description":"自动创建快照的执行频次。","type":"string"},"indices":{"description":"需要备份的索引名。","type":"string"},"keepday":{"description":"自定义设置快照保留的个数。系统在半点时刻会自动删除超过保留个数的快照。过期删除策略只针对与当前自动创建快照策略相同执行频次的自动快照。","example":7,"format":"int32","type":"integer"},"max_restore_bytes_per_seconds":{"description":"配置每个节点的最大恢复速率(每秒),即当恢复的速率超过该值时会被限流,避免速率太大导致资源占用过高,影响系统稳定性。实际恢复速率不一定能达到该值,会受OBS、磁盘等影响。","example":0,"type":"string"},"max_snapshot_bytes_per_seconds":{"description":"配置每个节点的最大备份速率(每秒),即当备份的速率超过该值时会被限流,避免速率太大导致资源占用过高,影响系统稳定性。实际备份速率不一定能达到该值,会受OBS、磁盘等影响。","example":0,"type":"string"},"period":{"description":"每天创建快照的时刻。","type":"string"},"prefix":{"description":"自动创建快照的名称前缀,需要用户自己手动输入。","type":"string"}},"required":["bucket","agency","base_path"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"a88dbe15db964b8daafa16d44b008a04","info_version":"v1","method":"post","name":"UpdateSnapshotSetting","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/setting":{"post":{"description":"该接口用于修改集群快照的基础配置,可修改OBS桶和IAM委托。\n\n可以使用该接口开启快照功能。","operationId":"UpdateSnapshotSetting","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":"UpdateSnapshotSettingReq","required":true,"schema":{"$ref":"#/definitions/UpdateSnapshotSettingReq"}}],"responses":{"200":{"description":"请求已成功。"},"406":{"description":"服务器无法根据客户端请求的内容特性完成请求。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"},"504":{"description":"网关超时。"}},"summary":"修改集群快照的基础配置","tags":["快照管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","x-request-examples-1":{"agency":"usearch","base_path":"css_repository/Es-name","bucket":"test-bucket"},"x-request-examples-description-1":"开启快照功能。","x-request-examples-text-1":{"agency":"usearch","base_path":"css_repository/Es-name","bucket":"test-bucket"},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/index_snapshot/setting","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/index_snapshot/setting","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"修改集群快照的基础配置","tags":"快照管理接口","uri":null,"version":"2.0"}