• Cloud Search Service

css
  1. Help Center
  2. Cloud Search Service
  3. API Reference
  4. APIs Related to Snapshot Management
  5. Automatically Performing Basic Configurations for a Cluster Snapshot

Automatically Performing Basic Configurations for a Cluster Snapshot

Function

This API is used to automatically perform 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: Is specified to authorize you to use OBS in IAM so that snapshots need to be stored in OBS.

URI

POST /v1.0/{project_id}/clusters/{cluster_id}/index_snapshot/auto_setting
Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

cluster_id

Yes

String

ID of the cluster where index data is 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.

Table 2 Status code

Status Code

Code

Status Code Description

200

OK

The request is processed successfully.

406

Not Acceptable

The server cannot fulfill the request according to the content characteristics of the request.