Queries details about all plans provided by Simple Application Server in a specified region.


You can query the details of all plans provided by Simple Application Server in a specified region, including the IDs, prices, disk sizes, and disk categories of the plans.

QPS limits

The queries per second (QPS) limit for a single user for the API operation is 10 calls per minute. If the number of calls to the API operation per minute exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation. For more information, see QPS limit.

Request parameters

Parameter Type Required Example Description
Action String Yes ListPlans

The operation that you want to perform. Set the value to ListPlans.

RegionId String Yes cn-hangzhou

The region ID of the simple application server. You can call the ListRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
Plans Array of Plan

Details about the plans.

Core Integer 2

The number of vCPUs.

Bandwidth Integer 3

The peak bandwidth. Unit: Mbit/s.

DiskSize Integer 40

The size of the disk. Unit: GB.

Flow Integer 400

The monthly data transfer quota. Unit: GB.

Memory Integer 1

The memory size. Unit: GB.

PlanId String swas.s2.c2m1s40b3t04

The ID of the plan.

DiskType String ESSD

The category of the disk. Valid values:

  • SSD: standard SSD
  • ESSD: enhanced SSD
OriginPrice double 60

The price of the plan.

Currency String CNY

The unit of the plan price. Valid values:

  • CNY
  • USD
SupportPlatform String ["Linux","Windows"]

The operating system types supported by the plan.

RequestId String 20758A-585D-4A41-A9B2-28DA8F4F534F

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "Plans" : [ {
    "Memory" : 1,
    "PlanId" : "swas.s2.c2m1s40b3t04",
    "Bandwidth" : 3,
    "DiskSize" : 40,
    "Core" : 2,
    "Flow" : 400
  }, {
    "Memory" : 1,
    "PlanId" : "swas.s2.c2m1s50b4t06",
    "Bandwidth" : 4,
    "DiskSize" : 50,
    "Core" : 2,
    "Flow" : 600
  }, {
    "Memory" : 2,
    "PlanId" : "swas.s2.c2m2s50b4t08",
    "Bandwidth" : 4,
    "DiskSize" : 50,
    "Core" : 2,
    "Flow" : 800
  } ],
  "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. The error message returned because the specified RegionId parameter does not match the service address that you selected.
500 InternalError An error occurred while processing your request. The error message returned because an internal error has occurred. Try again later. If the problem persists, submit a ticket.

For a list of error codes, visit the API Error Center.