查询配额详情
功能介绍
查询指定项目中负载均衡相关的各类资源的当前配额。
调用方法
请参见如何调用API。
URI
GET /v3/{project_id}/elb/quotas
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| project_id | 是 | String | 参数解释:项目ID。 |
请求参数
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| X-Auth-Token | 是 | String | 参数解释:IAM鉴权Token。 |
响应参数
状态码:200
| 参数 | 参数类型 | 描述 |
|---|---|---|
| request_id | String | 请求ID。 注:自动生成 。 |
| quota | Quota object | 负载均衡相关各类资源的配额信息。仅返回资源的总配额,不包括剩余可用配额。 |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| project_id | String | 参数解释:项目ID。 |
| loadbalancer | Integer | 负载均衡器配额。 取值:
|
| certificate | Integer | 证书配额。 取值:
|
| listener | Integer | 监听器配额。 取值:
|
| l7policy | Integer | 转发策略配额。 取值:
|
| condition_per_policy | Integer | 单个转发策略下所有转发规则的condition总数配额。 取值:
|
| pool | Integer | 后端服务器组配额。 取值:
|
| healthmonitor | Integer | 健康检查配额。 取值:
|
| member | Integer | 后端服务器配额。 取值:
|
| members_per_pool | Integer | 单个pool下的member的配额。 取值:
|
| listeners_per_pool | Integer | 单个监听器下的pool的配额。 取值:
|
| ipgroup | Integer | IP地址组配额。 取值:
|
| ipgroup_bindings | Integer | 单个IP地址组可以关联的监听器数量配额。 取值:
|
| ipgroup_max_length | Integer | 单个监听器下关联的所有IP地址组的ip列表中的IP总数不能超过ipgroup_max_length。 取值:
|
| security_policy | Integer | 自定义安全策略配额。 取值:
|
| listeners_per_loadbalancer | Integer | 单个LB实例下的监听器配额。 取值:
说明: 当前单个LB下监听器配额实际未限制,但建议不要超过默认配额。 |
| ipgroups_per_listener | Integer | 单个监听器下的IP地址组配额。 取值:
|
| pools_per_l7policy | Integer | 单个转发策略下的后端服务器组配额。 取值:
|
| l7policies_per_listener | Integer | 单个监听器下的转发策略配额。 取值:
|
请求示例
查询负载均衡的相关资源配额信息
GET https://{ELB_Endpoint}/v3/99a3fff0d03c428eac3678da6a7d0f24/elb/quotas 响应示例
状态码:200
操作正常返回
{
"request_id" : "c6f3d7fe99bb1d8aa29e148097dab0d0",
"quota" : {
"member" : 10000,
"members_per_pool" : 1000,
"certificate" : -1,
"l7policy" : 2000,
"listener" : 1500,
"loadbalancer" : 100000,
"healthmonitor" : -1,
"pool" : 5000,
"ipgroup" : 1000,
"ipgroup_bindings" : 50,
"ipgroup_max_length" : 300,
"security_policy" : 50,
"project_id" : "060576798a80d5762fafc01a9b5eedc7",
"condition_per_policy" : 10,
"listeners_per_pool" : 50,
"listeners_per_loadbalancer" : 50
}
} 状态码
| 状态码 | 描述 |
|---|---|
| 200 | 操作正常返回 |
错误码
请参见错误码。