Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
7.0 KiB
(Not Recommended) Automatically Configuring Basic Settings of a Cluster Snapshot

The API for automatically configuring a cluster snapshot can automatically create OBS buckets and agencies for storing snapshots. If you have multiple clusters, an OBS bucket will be created for each cluster via this API during automatic configuration and consume your OBS quota. Too many OBS buckets will be difficult to manage. You are advised to perform operations in Modifying Basic Configurations of a Cluster Snapshot.
Function
This API is used to automatically set basic configurations for a cluster snapshot, including configuring OBS buckets and IAM agency.
- OBS Bucket: Enter the location of the OBS bucket used for storing snapshots.
- IAM Agency: Authorize you to use OBS in IAM so that snapshots must be stored in OBS.
URI
POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/auto_setting
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
cluster_id |
Yes |
String |
ID of the cluster where snapshots are to be backed up. |
Request
None
Response
None
Examples
Example request
POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/index_snapshot/auto_setting
Status Code
Table 2 describes the status code.