Enables automatic minor version updates. After this feature is enabled, the instance is automatically upgraded during the time window.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hologram:UpdateAutoUpgrade |
update |
*Instance
|
None | None |
Request syntax
POST /api/v1/instances/{instanceId}/autoUpgrade HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The instance ID. |
hgprecn-cn-wwoxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| autoUpgrade |
string |
No |
The upgrade type. Valid values:
Valid values:
|
auto |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A |
| Data |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
| Success |
boolean |
The result of the request, which indicates whether an exception occurred. This parameter is not related to business logic. |
true |
| ErrorCode |
string |
The error code. |
null |
| ErrorMessage |
string |
The error message. |
null |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\n",
"Data": true,
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.