Changing a DDM Kernel Version (a V3 API)
Function
Change a DDM kernel version in the following ways:
- Version upgrade: Select a kernel version later than that of the DDM instance and perform the upgrade.
- Version downgrade: Select a kernel version earlier than that of the DDM instance and perform the downgrade.
Constraints
None
URI
- URL format
POST /v3/{project_id}/instances/{instance_id}/database-version/change-version
- Parameter description
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID of a tenant in a region
To obtain this value, see Obtaining a Project ID.
instance_id
Yes
String
DDM instance ID
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. You can obtain the token by calling the IAM API used to obtain a user token. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| target_version | Yes | String | Target version. |
Example Request
Change a DDM kernel version.
POST https://{endpoint}/v3/{project_id}/instances/{instance_id}/database-version/change-version
{
"target_version": "3.0.8.5"
} Response
- Normal response
Table 4 Response body parameters Parameter
Type
Description
instance_id
String
DDM instance ID.
job_id
String
Task ID of changing a kernel version.
- Normal response example
{ "instance_id" : "28e8841d0b9c4f6a9a30742ee60e1055****", "job_id" : "1eb697c0-1842-43a3-8671-f562d038****" } - Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Codes
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