Changes the instance type of an AIC instance.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID of the instance to upgrade or downgrade. |
aic-xxxx-0 |
| InstanceType |
string |
Yes |
Target instance type for the AIC container. |
aic.cf52r.c1.np |
| ImageId |
string |
Yes |
Image ID. |
yourImage ID |
| EnvironmentVar |
string |
No |
Set one or more environment variables during instance initialization. |
[object Object] |
| Resolution |
string |
No |
Screen resolution. Valid values:
|
720*1280 |
| Frequency |
integer |
No |
Refresh rate, in Hz. Valid values:
|
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID |
F590DD6C-B78B-571B-8FE9-B6ECEED9BE3C |
Examples
Success response
JSON format
{
"RequestId": "F590DD6C-B78B-571B-8FE9-B6ECEED9BE3C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.