Queries all plans provided by Simple Application Server in a region.
Operation description
You can query the details of all plans provided by Simple Application Server in a region, including the IDs, prices, disk sizes, and disk categories of the plans.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the plans. You can call the ListRegions operation to query the most recent region list. | cn-hangzhou |
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\"]",
"PlanType": ""
}
],
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F"
}
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 |
---|
No change history