华为乾坤-创建AP子网配置:响应示例
时间:2025-05-12 15:32:43
响应示例
返回状态码为200:创建AP子网配置成功,响应体参考ApSubnetResponseDto。
{ "errcode": "0", "errmsg": "", "data": { "id": "1f23369b44904d28aca2203df250d71f", "name": "subnet", "vlanId": 1, "getIpAddressMode": 1, "ipv4poolOrNot": null, "ipAddress": null, "maskAddress": null, "ipv4PoolId": null, "dhcpEnable": null, "dhcpConfig": { "dnsConfig": null, "dhcpServerOptions": null, "leasesConfig": null, "excludedAddresses": null, "staticBindings": null }, "natPolicys": [], "natEnable": false, "aclId": null, "dhcpMode": "server", "relayServerIps": 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
返回状态码为500:内部服务错误。
HTTP/1.1 500 Internal Server Error 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_0000001852518082.html