Cluster Backup
Function
Cluster backup
Calling Method
For details, see Calling APIs.
URI
POST /api/v3.1/projects/{project_id}/clusters/{cluster_id}/operation/snapshot
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Details: Project ID. For details about how to obtain the value, see How to Obtain Parameters in the API URI. Constraints: None Options: Project IDs of the account Default value: N/A |
cluster_id |
Yes |
String |
Details: Cluster ID. For details about how to obtain the value, see How to Obtain Parameters in the API URI. Constraints: None Options: Cluster IDs Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
uid |
String |
Task ID |
metadata |
Backup metadata |
Example Requests
Example of a cluster upgrade backup request
POST /api/v3.1/projects/{project_id}/clusters/{cluster_id}/operation/snapshot
Example Responses
Status code: 200
The cluster backup task is created.
{ "uid" : "15376f1b-daa6-4e2d-96a6-e9d5d7caeaa2", "metadata" : { "kind" : "Snapshot", "apiVersion" : "v3.1" } }
Status Codes
Status Code |
Description |
---|---|
200 |
The cluster backup task is created. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot