CreateSnapshot
Creates a snapshot for an Elasticsearch Serverless application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
es-serverless:CreateSnapshot |
create |
*All Resource
|
None | None |
Request syntax
POST /openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appName |
string |
Yes |
The name of the application. |
test |
| repository |
string |
Yes |
The name of the snapshot repository. Default value: aliyun_auto_snapshot. |
aliyun_auto_snapshot |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The body parameters. |
|
| snapshot |
string |
Yes |
The name of the snapshot. |
qingning |
| indices |
string |
Yes |
The names of the indexes. Separate multiple indexes with commas. |
product_info |
| dryRun |
boolean |
No |
Specifies whether to validate the input parameters. Default value: false. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| requestId |
string |
The request ID. |
03761BE5-D12F-55B4-9C93-0255C11DE44A |
| result |
boolean |
The returned result. |
true |
Examples
Success response
JSON format
{
"requestId": "03761BE5-D12F-55B4-9C93-0255C11DE44A",
"result": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.