华为乾坤-替换模板:请求参数

时间:2025-02-17 11:39:00

请求参数

表1 body参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

replace-template

REFERENCE

详细请参见表2

copy template

-

表2 replace-template-input对象的参数列表

参数名称

类型

参数值域

默认值

参数说明

参数示例

huawei-nce-aoc-config-template:input

REFERENCE

详细请参见表3

input type

-

表3 input对象的参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

template-id

string

1~128个字符。

-

模板ID。

参数template-id与template-name必须选择其一写入请求参数中,且不能同时存在。

"2669355e-5c6c-4df4-bf68-5274309719cc"

template-name

string

1~128个字符。

-

模板名称。

参数template-id与template-name必须选择其一写入请求参数中,且不能同时存在。

"test_template"

template-content

string

0~2097152个字符。

-

模板内容

"---\\nhuawei-nce-e-vlan:vlan:\\n- vlan-id: 1\\n name: \\\"vlan1\\\"\\n description: \\\"vlan1\\\"\\n unknown-flow-drop: null\\nhuawei-nce-e-snmp-user:snmp-user:\\n agent-enable: true\\n password-min-length: 10\\n version: \\\"{snmp_user_version}\\\""

content-type

string

  • json

  • yaml

-

模板内容格式Json/Yaml

"yaml"

ignore-anonymize-node

boolean

  • true

  • false

true

是否替换敏感字段

true

support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002123969118.html