华为云用户手册

  • 请求示例 HTTP的示例 PUT /controller/campus/api/v1/southboundservice/profile/softgre/fbde1c5d-5b94-49e3-a912-48641015e45c HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-AC CES S-TOKEN: x-yyyyyy { "name" : "Soft-GREProfile1", "destinationIp" : "10.10.1.1", "keepAliveEnable" : true, "period" : 5, "retryTimes" : 3, "untaggedVlan" : 3 }
  • 响应示例 返回状态码为200:删除成功。 HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "data" : { "stpMode" : 1, "mstpRegions" : [ { "regionId" : "fbb684c8-0d37-496f-bafa-4b06e5151e2e", "regionName" : "stp_region", "revisionLevel" : 0, "mstpRegionInstances" : [ { "instanceId" : 0, "mapVlan" : "1,3-10", "regionInstanceDevices" : [ { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "priority" : 15 } ] } ], "regionDeviceList" : [ { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "deviceName" : "LSW" } ] } ], "rstpConfig" : [ { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "priority" : 15 } ] } }
  • 典型场景 提供配置参数的接口,删除交换机MSTP配置。 1、若只传入regionId,删除对应的MSTPregion; 2、若只传入regionId和instanceId,则删除指定regionId下的instanceId对应的mstpRegionInstance; 3、若只传入regionId和deviceId,则删除指定regionId下的regionDeviceList中的deviceId,且会删除指定regionID下,所有instance下的deviceId对应的regionInstanceDevice; 4、若传入regionId、instanceId和deviceId,只删除指定regionId下指定instanceId下的regionInstanceDevice,instanceId为0的树无法删除。
  • URI /controller/campus/v1/networkservice/networkconfig/net/lswstp/sites/{siteId}/action/batch-delete 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 uuid - - 站点ID。 "fbb684c8-0d37-496f-bafa-4b06db151e2e"
  • 请求示例 HTTP的示例 POST /controller/campus/v1/networkservice/networkconfig/net/lswstp/sites/fbb684c8-0d37-496f-bafa-4b06db151e2e/action/batch-delete HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "mstpRegions" : [ { "regionId" : "fbb684c8-0d37-496f-bafa-4b06e5151e2e", "mstpRegionInstances" : [ { "instanceId" : 1, "regionInstanceDevices" : [ { "deviceId" : "fbb684c8-0d37-496f-bafa-4b06d5151e2e" } ] } ], "regionDeviceList" : [ "" ] } ] }
  • 响应参数 返回状态码为200:接口调用成功,响应体参考OverlayWanBgpBindSitesResponse。 表2 OverlayWanBgpBindSitesResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" vpnId string - - 关联VPNID。 "20" data ARRAY_REFERENCE 0-5000个列表项,详细请参见表3。 绑定站点列表。 - 表3 OverlayWanBgpPolicyVpnSites对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 siteId string - - 站点ID。 "2e7b7338-627f-4a0b-b4a5-092a331142d2" templateId string - - 已绑定模板ID。 "fbb684c8-0d37-496f-bafa-4b06d515j7l6" 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:接口调用成功,响应体参考OverlayWanBgpBindSitesResponse。 HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "vpnId" : "20", "data" : [ { "siteId" : "2e7b7338-627f-4a0b-b4a5-092a331142d2", "templateId" : "fbb684c8-0d37-496f-bafa-4b06d515j7l6" } ] } 返回状态码为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
  • 请求示例 HTTP的示例 GET /controller/campus/v1/sdwan/routing-protocol/overlay-wan-bgp-policy/template/vpnsites?vpnId=00000000-0000-0000-0000-000000000000 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy
  • 响应示例 返回状态码为200:当前站点下所有AP设备射频配置信息,返回结构体参见DeviceRadioConfigResponsesDto。 HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "totalRecords" : 1, "data" : [ { "deviceId" : "fbde1c5d-5b94-49e3-a912-48641015e45c", "deviceName" : "21500829352SH1904172", "radio2dot4Enabled" : true, "radio2dot4Power" : "auto", "radio2dot4Channel" : "auto", "radio2Support" : true, "antenna2Dot4Gain" : "6", "radio2Dot4Bandwidth" : "20mhz", "radio5Enabled" : true, "radio5Power" : "auto", "radio5Channel" : "auto", "radio5Channel2" : "auto", "radio5Support" : true, "antenna5Gain" : "6", "radio5Bandwidth" : "20mhz", "globalFlexibleRadio" : 1, "flexibleRadio" : 0, "redundancy" : true, "frequency" : "", "workMode" : "", "radio2th5Enabled" : true, "radio2th5Power" : "", "radio2th5Channel" : "", "antenna2th5Gain" : "0", "radio2th5Bandwidth" : "20mhz", "radio2th5Support" : false, "radio5BandwidthEnable" : false, "radio2BandwidthEnable" : false, "radio2th5BandwidthEnable" : false, "mode" : "default", "radio2th5SupportMode" : "0", "radio2RFType" : 1, "fastpassusers2gEnable" : true, "fastpassusers2gNum" : 5, "fastpassusers2gPeriod" : "20ms", "fastpassusers2gRatio" : 25, "fastpassusers5gEnable" : true, "fastpassusers5gNum" : 5, "fastpassusers5gPeriod" : "20ms", "fastpassusers5gRatio" : 25, "fastpassusers6gEnable" : true, "fastpassusers6gNum" : 5, "fastpassusers6gPeriod" : "20ms", "fastpassusers6gRatio" : 25 } ] } 返回状态码为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
  • 请求示例 HTTP的示例 GET /controller/campus/v3/networkconfig/site/fbde1c5d-5b94-49e3-a912-48641015e45c/apradio/radios HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy
  • 响应参数 返回状态码为200:当前站点下所有AP设备射频配置信息,返回结构体参见DeviceRadioConfigResponsesDto。 表2 DeviceRadioConfigResponsesDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码。 "0" errmsg string - - 错误信息。 "" totalRecords int32 - - 设备射频配置数量。 1 data ARRAY_REFERENCE 0-100个列表项,详细请参见表3。 站点下所有AP设备射频配置信息,结构体参见DeviceRadioEntityApiDto。 - 表3 DeviceRadioEntityApiDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 deviceId string - - 设备ID。 "fbde1c5d-5b94-49e3-a912-48641015e45c" deviceName string 1~64个字符。 - 设备名称。 "21500829352SH1904172" radio2dot4Enabled boolean true false - 2.4G射频使能。 true radio2dot4Power string - - 2.4G射频发射功率,auto,[1,127]。 "auto" radio2dot4Channel string - - 2.4G射频信道,不同国家码,对应不同的射频信道范围。 "auto" radio2Support boolean true false - 是否支持2.4G射频。 true antenna2Dot4Gain string - - 2.4G射频天线增益,0~30。 "6" radio2Dot4Bandwidth string auto 20mhz 40mhz-plus 40mhz-minus - 2.4G射频频宽。 "20mhz" radio5Enabled boolean true false - 5G射频使能。 true radio5Power string - - 5G射频发射功率,auto,[1,127]。 "auto" radio5Channel string - - 5G射频信道,不同国家码,对应不同的射频信道范围。 "auto" radio5Channel2 string - - 5G射频第二信道, 当radio5Bandwidth为80plus80mhz时,为必填项,不同国家码,对应不同的射频信道范围。 "auto" radio5Support boolean true false - 是否支持5G射频。 true antenna5Gain string - - 5G射频天线增益,0~30。 "6" radio5Bandwidth string auto 20mhz 40mhz-plus 40mhz-minus 80mhz 80plus80mhz 160mhz - 5G射频频宽。 "20mhz" globalFlexibleRadio int32 [0-2] - 全局DCA双频调整开关 disable:0/autoSwitch:1/autoOff:2。 1 flexibleRadio int32 [0-1] - 2.4G接口双频调整开关 disable:0/enable:1 0 redundancy boolean true false - 2.4G是否冗余。 true frequency string - - 2.4G经过调整后的工作频率 - workMode string - - 2.4G经过调整后的工作状态 - radio2th5Enabled boolean true false - 2th 5G/6G射频使能。 true radio2th5Power string - - 2th 5G/6G射频发射功率 - radio2th5Channel string - - 2th 5G/6G射频发射信道 - antenna2th5Gain string - - 2th 5G/6G射频天线增益(范围0~30) "0" radio2th5Bandwidth string - - 2th 5G/6G射频频宽,20mhz、40mhz-plus、40mhz-minus、80mhz、80plus80mhz、160mhz "20mhz" radio2th5Support boolean true false - 是否支持2th 5G/6G射频 设备系列分类与国家码来确定2th 5G射频是否支持。 false radio5BandwidthEnable boolean true false - 带宽使能。 false radio2BandwidthEnable boolean true false - 带宽使能,在调优场景2.4G有可能变5G,此时要支持dbs功能。 false radio2th5BandwidthEnable boolean true false - 2th 带宽使能。 false mode string - - 射频模式 "default" radio2th5SupportMode string - - 三射频模式(0:不支持三射频;1:支持三射频且模式切换为三射频时做高低频限制;2:支持三射频都做高低频限制) "0" radio2RFType int32 - 1 wlan-radio 0/0/2接口射频类型 2.4g:0/5g:1/6g:2。默认值为1。 1 fastpassusers2gEnable boolean true false - 是否开启2G VIP超帧 true fastpassusers2gNum int32 [0-10] - 2G VIP超帧 保障用户数 5 fastpassusers2gPeriod string 4~5个字符。满足正则表达^(20|40|60|80|100)ms$。 - 2G VIP超帧 调度周期 (已废弃) "20ms" fastpassusers2gRatio int32 [5-75] - VIP超帧 调度周期超帧保障占比 (已废弃) 25 fastpassusers5gEnable boolean true false - 是否开启 VIP超帧 true fastpassusers5gNum int32 [0-10] - VIP超帧 保障用户数 5 fastpassusers5gPeriod string 4~5个字符。满足正则表达^(20|40|60|80|100)ms$。 - VIP超帧 调度周期 (已废弃) "20ms" fastpassusers5gRatio int32 [5-75] - VIP超帧 调度周期超帧保障占比 (已废弃) 25 fastpassusers6gEnable boolean true false - 是否开启 VIP超帧 true fastpassusers6gNum int32 [0-10] - VIP超帧 保障用户数 5 fastpassusers6gPeriod string 4~5个字符。满足正则表达^(20|40|60|80|100)ms$。 - VIP超帧 调度周期 (已废弃) "20ms" fastpassusers6gRatio int32 [5-75] - VIP超帧 调度周期超帧保障占比 (已废弃) 25 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 DELETE /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-bgp:vpn-bgp/_public_ HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy restconf-transaction-id: "00000000-0000-0000-0000-000000000000"
  • 响应示例 返回状态码为200:操作成功。 HTTP/1.1 200 OK 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 返回状态码为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
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-bgp:vpn-bgp/{vpn-instance} 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 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。 "00000000-0000-0000-0000-000000000000" vpn-instance 是 string 1~31个字符。 - VPN,单一主键字段。 "_public_"
  • 接口约束 该接口支持msp视图下,角色为“Open Api Operator”的用户访问,必须在用户会话建立后使用,且仅支持AR6700V和AR6700V子设备; 或者支持租户视图或msp代维视图下,角色为“Open Api Operator”的用户访问,必须在用户会话建立后使用,且仅支持AR6700V-L款型。 该API可能会直接或间接影响现网业务运行,导致业务中断、关键数据丢失等,请谨慎操作!
  • 请求示例 HTTP的示例 PUT /controller/campus/api/v1/networkconfig/apipv6/sites/fbb684c8-0d37-496f-bafa-4b06d5151e2e/ipv6 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "ipv6Enable" : false }
  • 响应示例 返回状态码为200:修改AP站点IPV6开关配置成功后的消息返回体。 HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "data" : { "ipv6Enable" : false } } 返回状态码为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
  • 请求参数 表2 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 body 是 REFERENCE 详细请参见表3。 IPV6开关配置。 - 表3 Ipv6Configs对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 ipv6Enable 是 boolean true false false IPV6业务开关。默认值为false。 false
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/acl/basic/action/delete HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "siteId" : "00000000-0000-0000-0000-000000000000", "deviceId" : "00000000-0000-0000-0000-000000000000", "aclNum" : 2100, "type" : "IPv4" }
  • 响应参数 返回状态码为200:删除成功,响应体参考DeleteACLResponse。 表3 DeleteACLResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errCode string 0~10个字符。 - 错误码。 "0" errMsg string 0~255个字符。 - 错误描述。 "" 返回状态码为400:请求参数错误。 详细信息请参见实际响应消息体。 返回状态码为500:内部异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:删除成功,响应体参考DeleteACLResponse。 HTTP/1.1 200 OK 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 { "errCode" : "0", "errMsg" : "" } 返回状态码为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
  • 请求参数 表1 body参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deleteReq 是 REFERENCE 详细请参见表2。 删除基础ACL信息。 - 表2 DeleteInfo对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 uuid 0~36个字符。 - 站点ID,UUID格式。 "00000000-0000-0000-0000-000000000000" deviceId 是 uuid 0~36个字符。 - 设备ID,UUID格式。 "00000000-0000-0000-0000-000000000000" aclNum 是 int32 [2000-2999] - 基础ACL的ACL编号。 2100 type 否 string 0~8个字符。 IPv4 基础ACL类型,该字段可以设置为以下几种: a) IPv4 b) IPv6 默认为IPv4。 "IPv4"
  • 请求示例 HTTP的示例 GET /controller/campus/v3/networkconfig/site-templates/fbb684c8-0d37-496f-bafa-4b06d5151e2e/ipv6 HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy
  • URI /controller/campus/v3/networkconfig/site-templates/{siteTemplateId}/ipv6 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteTemplateId 是 string 36个字符。 - 站点模板ID, UUID格式。 "fbb684c8-0d37-496f-bafa-4b06d5151e2e"
  • 响应参数 返回状态码为200:查询AP站点模板IPV6开关配置的消息体。 表2 Ipv6ResponseDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "" data REFERENCE 详细请参见表3。 IPV6配置结构体 - 表3 Ipv6Configs对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 ipv6Enable boolean true false false IPV6业务开关。默认值为false。 false 返回状态码为400:校验异常。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:查询AP站点模板IPV6开关配置的消息体。 HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "data" : { "ipv6Enable" : false } } 返回状态码为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
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/sdwan/application/detection-url HTTP/1.1 Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN: x-yyyyyy { "detectionUrlInfos" : [ { "id" : "000000-0000-0000-0000-000000000000", "appName" : "Google", "detectionUrl" : "https://huawei.com", "appType" : 1 } ] }
  • 响应示例 返回状态码为200:修改成功,响应体参考DetectionUrlResponse。 HTTP/1.1 200 OK 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 { "errcode" : "0", "errmsg" : "", "success" : [ { "id" : "000000-0000-0000-0000-000000000000", "appName" : "Google", "detectionUrl" : "https://huawei.com", "appType" : 1 } ], "fail" : [ { "errcode" : "0x00c8000c", "errmsg" : "The parameter is invalid.", "data" : { "id" : "000000-0000-0000-0000-000000000000", "appName" : "Google", "detectionUrl" : "https://huawei.com", "appType" : 1 } } ] } 返回状态码为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
  • 响应示例 返回状态码为200:操作成功。 HTTP/1.1 200 OK 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 { "huawei-nce-e-nat-policy:nat-policy-rules" : [ { "config-status" : "configured-database-success", "last-committed-time" : "2022-01-01 00:00:00", "related-pkg-version" : "1.0.1", "edit-state" : "RUNNING", "name" : "rules@name", "action" : { "source-nat" : { "address-group-name" : "addressgroupname" } }, "source-zone" : [ "sourcezone" ], "destination-zone" : [ "destinationzonename" ], "egress-interface" : [ "egressinterfacename" ], "source-nat" : { "address-group-name" : "addressgroupname", "easy-ip" : "True" }, "source-address" : { "address-ipv4s" : { "address-ipv4" : [ { "ipv4" : "10.1.1.1", "mask" : "255.255.0.0" } ] }, "address-ipv4-ranges" : { "address-ipv4-range" : [ { "start-ipv4" : "10.1.1.1", "end-ipv4" : "10.1.1.1" } ] } }, "destination-address" : { "address-ipv4s" : { "address-ipv4" : [ { "ipv4" : "10.1.1.1", "mask" : "255.255.0.0" } ] }, "address-ipv4-ranges" : { "address-ipv4-range" : [ { "start-ipv4" : "10.1.1.1", "end-ipv4" : "10.1.1.1" } ] } }, "service" : { "service-items" : { "protocol-and-ports" : { "protocol-and-port" : [ { "protocol" : "tcp", "source-port" : "65501", "dest-port" : "65502" } ] }, "protocol" : { "protocol-id" : [ 199 ] } } } } ] } 返回状态码为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
  • URI /restconf/v2/data/huawei-ac-nes-device:nes/ne/{id}/huawei-nce-e-nat-policy:nat-policy-rules/{name} 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 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。 "00000000-0000-0000-0000-000000000000" name 是 string 1~63个字符。 - 策略的名称,单一主键字段。 "rules@name"
共100000条
提示

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