Queries the resource capacity of an edge container application.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. You can call the ListEdgeContainerApps API operation to obtain the application ID. Important If ListEdgeContainerApps returns an empty list, call CreateEdgeContainerApp first to create an application and use the returned AppId. |
app-88068867578379**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
50423A7F-A83D-1E24-B80E-86DD25790759 |
| Regions |
array<object> |
The available regions. |
|
|
object |
|||
| Region |
string |
Chinese mainland:
Special administrative regions and overseas:
|
huadong |
| Isp |
string |
The Internet service provider (ISP). This field is returned only for Chinese mainland regions. Valid values:
|
unicom |
| Replicas |
integer |
The number of container replicas that can be deployed. |
16 |
Examples
Success response
JSON format
{
"RequestId": "50423A7F-A83D-1E24-B80E-86DD25790759\n",
"Regions": [
{
"Region": "huadong",
"Isp": "unicom",
"Replicas": 16
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | Invalid parameter. Check the parameter configuration. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InvalidParameter.Appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the input application ID is incorrect. You can use the ListEdgeContainerApps API to obtain the application ID. |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | The application does not exist. Check whether the application ID you specified is correct and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.