Modifying a DB Instance Name
Function
This API is used to modify a DB instance name.
Constraints
The name of the DB instance that is being created or fails to be created cannot be modified.
URI
Requests
- Parameter description
Table 2 Parameter description Name
Mandatory
Type
Description
new_instance_name
Yes
String
Specifies the DB instance name. The DB instance name of the same DB engine is unique for the same tenant.
The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
- Request header
PUT https://DDS endpoint/v3/{project_id}/instances/{instance_id}/modify-name
- Example request
{ "new_instance_name": "myNewName" }
Responses
- Response example
{}
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
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