Loading
close

路由

time 更新时间:2023-06-30 18:50:55

路由

路由列表页

URI

示例:product_type_list=[eks, hybrid, security]

GET /api/ecns/${product type}/ingress/?app_selector=<app_selector>

响应消息

参数 参数类型 描述
ingresses list(ingress) 路由列表

创建路由

URI

示例:product_type_list=[eks, hybrid, security]

POST /api/ecns/${product type}/ingress/

请求消息

参数 参数类型 是否必选 描述
ingress ingress

ingress Type定义:

参数 参数类型 是否必选 描述
name str
routers list(router) 路由规则列表
annotations dict(str:str) 注解
labels dict(str:str) 标签
creation_time str 否,创建时不要填,后端生成 创建时间

响应消息

参数 参数类型 描述
ingress ingress

更新路由

URI

示例:product_type_list=[eks, hybrid, security]

PATCH /api/ecns/${product type}/ingress/

请求消息

参数 参数类型 描述
ingress ingress

删除路由

URI

示例:product_type_list=[eks, hybrid, security]

DELETE /api/ecns/${product type}/ingress/

请求参数

参数 参数类型 是否必选 描述
ingress list(str) list of ingress name

路由access

URI

示例:product_type_list=[eks, hybrid, security]

GET /api/ecns/${product type}/access/

响应消息

参数 参数类型 描述
list(str) 路由定义URI列表
此篇文章对你是否有帮助?
没帮助
locked-file

您暂无权限访问该产品