Loading
close

配置

time 更新时间:2026-08-28 09:21:40

配置

配置列表

URI

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

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

响应消息

参数 参数类型 描述
configmaps list(configmap_info) configmap列表

configmap_info Type 定义:

参数 参数类型 是否必选 描述
name str 是 configmap 名称
keys list(str) 是 configmap 下的 key
creation_time str 否

列举配置的键

URI

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

GET /api/ecns/${product type}/kubernetes/configmap/<configmap_name>/keys/

响应消息

参数 参数类型 描述
keys list(str) 配置的所有键

创建配置

URI

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

POST /api/ecns/${product type}/kubernetes/configmap/<configmap_name>/

请求消息

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

configmap Type定义:

参数 参数类型 是否必选 描述
name str 是
config dict 是 配置项的dict(key-value)

配置详情页

URI

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

GET /api/ecns/${product type}/kubernetes/configmap/<configmap_name>/

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

更新配置

URI

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

PATCH /api/ecns/${product type}/kubernetes/configmap/<configmap_name>/

请求消息

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

删除配置

URI

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

DELETE /api/ecns/${product type}/kubernetes/configmaps/

请求消息

参数 参数类型 是否必选 描述
configmaps list(str) 是
此篇文章对你是否有帮助?
没帮助
locked-file

您暂无权限访问该产品