Queries all plan information for simple application servers in a specified region.
Operation description
You can query all plan information for simple application servers in a specified region, including the plan ID, disk capacity, disk type, and plan price.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call ListRegions to query the available regions for simple application servers. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Plans |
array<object> |
The plan information. |
|
|
array<object> |
The plan information. |
||
| Bandwidth |
integer |
The peak bandwidth. Unit: Mbps. |
200 |
| Core |
integer |
The number of vCPUs. |
2 |
| Credits |
integer |
The number of credits. |
12500 |
| Currency |
string |
The currency unit. Valid values:
Note
The currency unit is CNY on the China site and USD on the international site. |
CNY |
| DiskSize |
integer |
The disk capacity. Unit: GiB. |
40 |
| DiskType |
string |
The disk type. Valid values:
|
ESSD |
| Flow |
integer |
The monthly data transfer quota. Unit: GB. |
400 |
| IspType |
string |
The public network line type. Valid values:
|
BGP |
| Memory |
number |
The memory size. Unit: GiB. |
1 |
| OriginPrice |
string |
The monthly price of the simple application server plan. |
60 |
| PlanId |
string |
The plan ID. |
swas.s2.c2m1s40b3t04 |
| PlanType |
string |
The plan type. Valid values:
Note
For more information, see Instance families. |
NORMAL |
| PublicIpNum |
string |
The number of public IP addresses. |
1 |
| SupportPlatform |
string |
The operating system type supported by the plan. |
["Linux","Windows"] |
| Tags |
array<object> |
The tags. |
|
|
object |
The tag. |
||
| CnTitle |
string |
The Chinese title. |
BGP |
| Color |
string |
The color. |
grey |
| EnTitle |
string |
The English title. |
BGP |
| Tokens |
integer |
The number of tokens. |
300 |
| RequestId |
string |
The request ID. |
20758A-585D-4A41-A9B2-28DA8F4F534F |
Examples
Success response
JSON format
{
"Plans": [
{
"Bandwidth": 200,
"Core": 2,
"Credits": 12500,
"Currency": "CNY",
"DiskSize": 40,
"DiskType": "ESSD",
"Flow": 400,
"IspType": "BGP",
"Memory": 1,
"OriginPrice": "60",
"PlanId": "swas.s2.c2m1s40b3t04",
"PlanType": "NORMAL",
"PublicIpNum": "1",
"SupportPlatform": "[\"Linux\",\"Windows\"]",
"Tags": [
{
"CnTitle": "BGP",
"Color": "grey",
"EnTitle": "BGP"
}
],
"Tokens": 300
}
],
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RegionIdNotMatchHost | The parameter regionId does not match the endpoint host. | |
| 500 | InternalError | An error occurred while processing your request. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.