华为乾坤-Cloud AP接口个性化配置查询:响应示例

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

响应示例

返回状态码为200:AP接口配置结果,结构体参见CloudInterfaceConfigResponsesDto。

{
  "errcode": "0",
  "errmsg": "",
  "data": [
    {
      "name": "MultiGE0/0/0",
      "interfaceStatus": true,
      "description": "111",
      "lldpStatus": false,
      "sence": "accessStrict",
      "defaultVlanId": 1,
      "bindingCheck": false,
      "macMaxNumber": null,
      "trunkVlan": null,
      "upLimit": "null",
      "transmitMode": "bridge",
      "aclId": null
    },
    {
      "name": "GigabitEthernet0/0/0",
      "interfaceStatus": true,
      "description": null,
      "lldpStatus": true,
      "sence": "uppoint",
      "defaultVlanId": 1,
      "bindingCheck": null,
      "macMaxNumber": null,
      "trunkVlan": "2",
      "upLimit": "null",
      "transmitMode": null,
      "aclId": null
    }
  ]
}

返回状态码为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_0000001852518034.html
提示

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