Queries the resource capacity of a containerized application at the edge.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. To obtain the application ID, call the ListEdgeContainerApps operation. |
app-88068867578379**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
50423A7F-A83D-1E24-B80E-86DD25790759 |
| Regions |
array<object> |
The available regions. |
|
|
object |
|||
| Region |
string |
The Chinese mainland:
Special administrative regions and regions outside the Chinese mainland:
|
huadong |
| Isp |
string |
The carrier. This parameter is returned only for regions in the Chinese mainland. 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.