UpdateSnapshotSetting
The UpdateSnapshotSetting API modifies the automatic backup snapshot configuration for an Elasticsearch Serverless application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
es-serverless:UpdateSnapshotSetting |
update |
*All Resource
|
None | None |
Request syntax
PUT /openapi/es-serverless/instances/{appName}/auto-snapshot-setting HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appName |
string |
Yes |
The name of the application. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| quartzRegex |
string |
Yes |
The automatic backup schedule, defined using a Quartz cron expression. |
0 0 01 ? * * * |
| enable |
boolean |
Yes |
Whether to enable automatic backup. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| requestId |
string |
The request ID. |
A7B03723-AA73-5A5F-B71C-270792614DD8 |
| result |
object |
The response data. |
{ "quartzRegex": "0 0 01 ? * * *", "enable": true } |
Examples
Success response
JSON format
{
"requestId": "A7B03723-AA73-5A5F-B71C-270792614DD8",
"result": {
"quartzRegex": "0 0 01 ? * * *",
"enable": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.