Starting an Instance
Function
This API is used to start a DB instance. You can stop your instance temporarily to save money. After stopping your instance, you can restart it to begin using it again.
- Before calling an API, you need to understand the API in Authentication.
Constraints
- This API is supported for the MySQL DB engine only.
- If you start a primary instance, read replicas (if there are any) will also be started.
- Only instances in Stopped state can be started.
URI
- Parameter description
Table 1 Parameter description Name
Mandatory
Description
project_id
Yes
Project ID of a tenant in a region.
For details about how to obtain the project ID, see Obtaining a Project ID.
instance_id
Yes
Instance ID.
Request
- Parameter description
- Example
POST https://{Endpoint}/v3/054ea741f700d4a32f1bc00f5c80dd4c/instances/5b409baece064984a1b3eef6addae50cin01/action/startup
- Request example
{}
Response
- Normal response
Table 2 Parameter description Name
Type
Description
job_id
String
Job ID.
- Example normal response
{ "job_id": "2b414788a6004883a02390e2eb0ea227" }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
For details, 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