获取边缘容器应用的资源容量
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AppId |
string |
是 |
应用 ID,可使用 ListEdgeContainerApps 接口获取应用 ID。 重要 若 ListEdgeContainerApps 返回空列表,请先调用 CreateEdgeContainerApp 创建应用并使用返回的 AppId。 |
app-88068867578379**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
50423A7F-A83D-1E24-B80E-86DD25790759 |
| Regions |
array<object> |
可用地域。 |
|
|
object |
|||
| Region |
string |
中国内地:
特别行政区以及海外:
|
huadong |
| Isp |
string |
支持如下几种运营商,海外与特别行政区不会输出。 运营商:
|
unicom |
| Replicas |
integer |
可部署的容器副本数。 |
16 |
示例
正常返回示例
JSON格式
{
"RequestId": "50423A7F-A83D-1E24-B80E-86DD25790759\n",
"Regions": [
{
"Region": "huadong",
"Isp": "unicom",
"Replicas": 16
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | 参数正确性校验失败,请检查的参数内容。 |
| 400 | InternalError | An internal exception occurred, please try again later. | 触发内部异常,请稍后再试。 |
| 400 | InvalidParameter.Appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | 传入的应用ID格式不正确,可使用ListEdgeContainerApps接口获取应用ID。 |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | 您传入的应用ID对应的应用不存在,请检查后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。