Queries the resource distribution of an edge container application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetEdgeContainerAppResourceStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID, which can be obtained by calling the ListEdgeContainerApps operation. |
app-96253477062511**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| Regions |
array<object> |
The deployment regions. |
|
|
object |
A deployment region object. |
||
| Region |
string |
Chinese mainland:
Special Administrative Regions and Overseas:
|
huadong |
| Isp |
string |
The ISP. This parameter is empty for regions outside the Chinese mainland. Valid values:
|
unicom |
| Total |
integer |
The total number of deployed replicas. |
1 |
| Ready |
integer |
The number of ready replicas. |
1 |
| IsStaging |
boolean |
Indicates whether the region is a staging environment. |
false |
| IsOffline |
boolean |
Indicates whether graceful offline mode is enabled. |
false |
Examples
Success response
JSON format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"Regions": [
{
"Region": "huadong",
"Isp": "unicom",
"Total": 1,
"Ready": 1,
"IsStaging": false,
"IsOffline": false
}
]
}
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.