Queries the plans to which you can upgrade your simple application server.
Operation description
If the plan of your simple application server does not meet your business requirements, you can call the ListInstancePlansModification operation to obtain a list of plans to which you can upgrade your simple application server. Then, you can call the UpgradeInstance operation to upgrade the server.
For the precautions about plan upgrade, see Upgrade a simple application server.
QPS limit
You can call this API operation up to 10 times per minute per account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the simple application server. You can call the ListRegions operation to query the most recent region list. | cn-hangzhou |
InstanceId | string | Yes | The ID of the simple application server. | ace0706b2ac4454d984295a94213**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Plans": [
{
"Core": 2,
"Bandwidth": 3,
"DiskSize": 40,
"Flow": 400,
"Memory": 1,
"PlanId": "swas.s2.c2m1s40b3t04",
"DiskType": "ESSD",
"OriginPrice": 60,
"Currency": "CNY",
"SupportPlatform": "[\"Linux\",\"Windows\"]"
}
],
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | RegionIdNotMatchHost | The parameter regionId does not match the endpoint host. |
500 | InternalError | An error occurred while processing your request. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|