华为乾坤-配置单设备的远端模块信息:响应示例

时间:2025-05-12 15:32:20

响应示例

返回状态码为200:配置成功。

HTTP/1.1 200 OK
{
  "errcode": "0",
  "errmsg": "",
  "data": {
      "connectInterfaces": [
        "GE0/0/1"
      ],
      "description": "",
      "vlanMode": "manual",
      "ifNames": ["port1", "port2"],
      "defaultVlan": 1,
      "taggedVlan": "10, 12-16",
      "untaggedVlan": "18, 20-24",
      "isAdminStatus": true,
      "isDelete": false,
      "isolate": true
    }
}

返回状态码为400:校验异常。

HTTP/1.1 400 Bad Request
Date: Sun,11 May 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001852308996.html
提示

您即将访问非华为云网站,请注意账号财产安全