华为乾坤-编辑模板计算任务:请求参数

时间:2025-02-17 11:36:10

请求参数

表1 body参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

edit-temporary-template

REFERENCE

详细请参见表2

edit temporary template

-

表2 edit-temporary-template-input对象的参数列表

参数名称

类型

参数值域

默认值

参数说明

参数示例

huawei-nce-aoc-config-template:input

REFERENCE

详细请参见表3

-

-

表3 edit-temporary-template-input-body对象的参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

job-id

string

36个字符。满足正则表达[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}。

-

任务ID

"5c261eb5-2f4a-4acc-a747-c77ee1d18083"

edit-template

ARRAY_REFERENCE

0-100个列表项,详细请参见表4

edit temporary input

-

表4 edit-temporary-template-input-body-edit-template对象的参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

template-name

string

1~128个字符。

-

模板名称

"test_template"

content-type

string

  • json

  • yaml

-

模板内容格式Json/Yaml

"yaml"

template-content

string

0~1048576个字符。

-

模板内容

"---\\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}\\\""

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