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. |
|
|
object |
The plan information. |
||
| Core |
integer |
The number of vCPUs. |
2 |
| Bandwidth |
integer |
The peak bandwidth. Unit: Mbit/s. |
200 |
| DiskSize |
integer |
The disk capacity. Unit: GiB. |
40 |
| Flow |
integer |
The monthly data transfer quota. Unit: GB. |
400 |
| Tokens |
integer |
||
| PlanId |
string |
The plan ID. |
swas.s2.c2m1s40b3t04 |
| DiskType |
string |
The disk type. Valid values:
|
ESSD |
| Currency |
string |
The currency unit. Valid values:
Note
The currency unit is CNY on the China site (aliyun.com) and USD on the International site (alibabacloud.com). |
CNY |
| SupportPlatform |
string |
The operating system types supported by the plan. |
["Linux","Windows"] |
| PlanType |
string |
The plan type. Valid values:
Note
For more information, see Instance family. |
NORMAL |
| PublicIpNum |
string |
The number of public IP addresses. |
1 |
| IspType |
string |
The public network line type.
|
BGP |
| Memory |
number |
The memory size. Unit: GiB. |
1 |
| OriginPrice |
string |
The monthly price of the simple application server plan. |
60 |
| RequestId |
string |
The request ID. |
20758A-585D-4A41-A9B2-28DA8F4F534F |
Examples
Success response
JSON format
{
"Plans": [
{
"Core": 2,
"Bandwidth": 200,
"DiskSize": 40,
"Flow": 400,
"Tokens": 0,
"PlanId": "swas.s2.c2m1s40b3t04",
"DiskType": "ESSD",
"Currency": "CNY",
"SupportPlatform": "[\"Linux\",\"Windows\"]",
"PlanType": "NORMAL",
"PublicIpNum": "1",
"IspType": "BGP",
"Memory": 1,
"OriginPrice": "60"
}
],
"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.