DescribeSnapshotSetting
Retrieves the snapshot backup settings and backup cycle of a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:DescribeSnapshotSetting |
none |
*Instance
|
None | None |
Request syntax
GET /openapi/instances/{InstanceId}/snapshot-setting HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-0pp1jxvcl000z**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D**** |
| Result |
object |
The returned result. |
|
| Enable |
boolean |
Indicates whether automatic backup is enabled. |
true |
| Indices |
array |
The list of indexes to back up. |
|
|
string |
The index name. |
oders-* |
|
| QuartzRegex |
string |
The automatic backup time configuration, specified as a Quartz Cron expression. |
0 0 01 ? * * * |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****",
"Result": {
"Enable": true,
"Indices": [
"oders-*"
],
"QuartzRegex": "0 0 01 ? * * *"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InstanceNotFound | The specified cluster does not exist. Check the cluster status and try again. | The specified cluster does not exist. Check the cluster status and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.