CreateSnapshot
Creates a manual snapshot backup for a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:CreateSnapshot |
create |
*Instance
|
None | None |
Request syntax
POST /openapi/instances/{InstanceId}/snapshots HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-nif1q9o8r0008**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
Yes |
The client token that is used to ensure the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
| body |
string |
No |
This operation creates a snapshot based on the instance ID in the path and does not require a request body. |
None |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Result |
boolean |
Indicates whether the manual snapshot backup succeeded. Valid values:
|
true |
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D*** |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.