独享型负载均衡
可用区
URI
示例:product_type_list=[eks]
GET /api/ecns/${product type}/ecns/kubernetes/server/availabilityzones/
响应消息
| 参数 | 参数类型 | 描述 |
|---|---|---|
| name | string | 可用区名称 |
| state | state | 可用区状态 |
state Type定义:
| 参数 | 参数类型 | 是否必选 | 描述 |
|---|---|---|---|
| available | boolean | 否 | 可用区状态 |
规格
URI
示例:product_type_list=[eks]
GET /api/ecns/${product type}/ecns/kubernetes/server/flavors/
响应消息
| 参数 | 参数类型 | 描述 |
|---|---|---|
| description | string | nova api 描述 |
| id | string | flavor ID |
| is_disabled | boolean | 是否不可用 |
| is_public | boolean | |
| is_recommend | boolean | 是否为推荐flavor |
| name | string | nova flavor 名称 |
| ram | integer | 内存大小 |
| vcpus | integer | CPU核心数 |
子网
URI
示例:product_type_list=[eks]
GET /api/ecns/${product type}/ecns/kubernetes/network/subnets/?is_router_external=false&is_connect_router=true&all_projects=true
响应消息
| 参数 | 参数类型 | 描述 |
|---|---|---|
| updated_at | string | 更新时间 |
| revision_number | integer | |
| project_id | string | 项目ID |
| network_id | string | 网络ID |
| name | string | 名称 |
| is_dhcp_enabled | boolean | DHCP是否可用 |
| ip_version | integer | IP版本 |
| id | string | 子网ID |
| gateway_ip | string | 网关IP |
| description | string | 子网描述 |
| created_at | string | 子网创建时间 |
| cidr | string | cidr |
| allocation_pools | array(allocation_pool) | 地址池 |
allocation_pool Type定义
| 参数 | 参数类型 | 是否必选 | 描述 |
|---|---|---|---|
| start | string | 否 | 起始ip |
| end | string | 否 | 结束ip |
多活副本数限制
URI
示例product_type_list=[eks]
GET /api/ecns/${product type}/ecns/kubernetes/lbaas/flavorprofile_replicas_limit/
响应消息
| 参数 | 参数类型 | 描述 |
|---|---|---|
| REPLCAS_LIMIT | integer | 副本数限制 |
octavia状态
URI
示例:product_type_list=[eks]
GET /api/ecns/${product type}/ecns/kubernetes/lb/type/
响应消息
| 参数 | 参数类型 | 描述 |
|---|---|---|
| octavia | octavia | octavia安装状态 |
octavia Type定义:
| 参数 | 参数类型 | 是否必选 | 描述 |
|---|---|---|---|
| is_installed | boolean | 是 | octavia安装状态 |
license配额
URI
示例:product_type_list=[eks]
GET /api/ecns/${product type}/ecns/kubernetes/lb/license_usage/
响应消息
| 参数 | 参数类型 | 描述 |
|---|---|---|
| available | integer | 可用配额 |
| delta | integer | 已用配额 |
| hard_limit | integer | 配额限制 |
| resource | string | 资源名称 |