弹性公网IP EIP
弹性公网IP EIP
- 最新动态
- 功能总览
- 产品介绍
- 计费说明
- 快速入门
- 用户指南
- 最佳实践
- API参考
- SDK参考
-
常见问题
-
产品咨询类
- 管理EIP配额
- 如何创建或找回指定的弹性公网IP?
- 为什么释放弹性公网IP后重新申请的与原有IP地址相同?
- 购买弹性公网IP时,是否可以指定IP地址?
- 弹性公网IP是否会变化?
- 在管理控制台找不到已购买EIP怎么办?
- 弹性公网IP的分配策略是什么?
- EIP是否支持跨账号使用或跨账号迁移?
- 如何查询EIP使用量?
- 共享流量包购买后需要设置吗?
- 弹性公网IP使用独享带宽进行限速过后能否变更为使用共享带宽进行限速?
- 一个EIP可以绑定至几个ECS使用?
- 弹性公网IP、私有IP和虚拟IP之间有何区别?
- 带宽加油包、共享流量包与共享带宽有什么区别?
- 优选BGP线路在什么场景下使用,以及有什么使用约束?
- EIP资源在什么情况下会被冻结,如何解除被冻结的EIP资源?
- 计费类
- 弹性公网IP绑定/解绑类
- 带宽类
- 连接类
-
产品咨询类
- 视频帮助
- 产品术语
-
更多文档
- 用户指南(阿布扎比区域)
- API参考(阿布扎比区域)
- 用户指南(吉隆坡区域)
- API参考(吉隆坡区域)
- 用户指南(安卡拉区域)
- API参考(安卡拉区域)
- 通用参考
链接复制成功!
查询配额
功能介绍
查询单租户在VPC服务下的网络资源配额,包括vpc配额、子网配额、安全组配额、安全组规则配额、配额,vpn配额等。
弹性公网IP与VPC共用本接口,可在本接口中查询及VPC的配额。
URI
GET /v1/{project_id}/quotas
样例:
GET https://{Endpoint}/v1/{project_id}/quotas?type={type}
参数说明请参见表1。
名称 |
是否必选 |
参数类型 |
说明 |
---|---|---|---|
project_id |
是 |
String |
项目ID |
type |
否 |
String |
|
请求参数
无
响应参数
名称 |
参数类型 |
说明 |
---|---|---|
type |
String |
|
used |
Integer |
|
quota |
Integer |
|
min |
Integer |
允许修改的配额最小值 |
通过接口查询单租户在VPC服务下的网络资源配额,返回值“-1”,表示配额数量不限制。
响应示例
{ "quotas": { "resources": [ { "type": "vpc", "used": 4, "quota": 150, "min": 0 }, { "type": "subnet", "used": 5, "quota": 400, "min": 0 }, { "type": "securityGroup", "used": 1, "quota": 100, "min": 0 }, { "type": "securityGroupRule", "used": 6, "quota": 5000, "min": 0 }, { "type": "publicIp", "used": 2, "quota": 10, "min": 0 }, { "type": "vpn", "used": 0, "quota": 5, "min": 0 }, { "type": "vpngw", "used": 0, "quota": 2, "min": 0 }, { "type": "vpcPeer", "used": 0, "quota": 50, "min": 0 }, { "type":"physicalConnect", "used":0, "quota":10, "min":0 }, { "type":"virtualInterface", "used":0, "quota":50, "min":0 }, { "type": "firewall", "used": 0, "quota": 200, "min": 0 }, { "type": "shareBandwidth", "used": 0, "quota": 5, "min": 0 }, { "type": "shareBandwidthIP", "used": 0, "quota": 20, "min": 0 }, { "type": "loadbalancer", "used": 0, "quota": 10, "min": 0 }, { "type": "listener", "used": 0, "quota": 10, "min": 0 }, { "type": "vpcContainRoutetable", "used": 0, "quota": 1, "min": 0 }, { "type": "routetableContainRoutes", "used": 0, "quota": 200, "min": 0 }, { "type": "address_group", "used": 0, "quota": 50, "min": 0 } ] } }
状态码
请参见状态码。
错误码
请参考错误码。
父主题: 配额