This topic describes information about all Simple Application Server plans in a specified region.
Operation description
You can query information about all Simple Application Server plans in a specified region. The returned information includes plan IDs, disk capacities, disk types, and prices.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The region ID. Call the ListRegions operation to query the regions where Simple Application Server is available. | cn-hangzhou |
Response parameters
Parameter | Type | Description | Example |
object | |||
| Plans | array<object> | The information about the plans. | |
object | The information about the plan. | ||
Core | integer | The number of vCPUs. | 2 |
Bandwidth | integer | The peak bandwidth. Unit: Mbps. | 200 |
DiskSize | integer | The disk capacity. Unit: GiB. | 40 |
Flow | integer | The monthly data transfer quota. Unit: GB. | 400 |
PlanId | string | The plan ID. | swas.s2.c2m1s40b3t04 |
DiskType | string | The disk type. Valid values:
| ESSD |
Currency | string | The currency. Valid values:
Note The price is displayed in CNY on the China site (aliyun.com) and in USD on the international site (alibabacloud.com). | CNY |
SupportPlatform | string | The operating systems supported by the plan. | ["Linux","Windows"] |
PlanType | string | The plan type. Valid values:
Note For more information, see Instance families. | NORMAL |
PublicIpNum | string | The number of public IP addresses. | 1 |
IspType | string | The line type of the public IP address.
| BGP |
Memory | number | The memory size. Unit: GiB. | 1 |
OriginPrice | string | The monthly subscription 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,
"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.