华为云用户手册

  • URI /v1/networkservice/hierarchy-template/template-groups/{id}/members/action/batch-delete 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 id 是 string 36个字符。 - 模板组ID,UUID格式。 "00000000-0000-0000-0000-000000000000"
  • 响应示例 返回状态码为200:成功响应,响应体参考TerminalAllResponse。 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" : "", "pageIndex" : 1, "pageSize" : 10, "totalRecords" : 10, "data" : [ { "srcIpOrMac" : "192.168.1.1", "srcPort" : 1, "name" : "terminal-exp" } ] } 返回状态码为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参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 queryOption 是 REFERENCE 详细请参见表2。 查询参数。 - 表2 TerminalQueryOption对象的参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 pageIndex 否 int32 [0-100] 1 页索引。 1 pageSize 否 int32 [0-50] 10 页大小。 10 businessId 是 string 0~36个字符。 - 业务保障ID。 "00000000-0000-0000-0000-000000000000" filterValue 否 string 0~64个字符。 - 终端IP。 "192.168.1.1"
  • 响应参数 返回状态码为200:成功响应,响应体参考TerminalAllResponse。 表3 TerminalAllResponse对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 状态码,0:请求成功。 "0" errmsg string 0~256个字符。 - 接口调用结果的描述信息。 "" pageIndex int32 [0-100] - 页索引。 1 pageSize int32 [0-50] - 页大小。 10 totalRecords int32 [0-65535] - 记录总数。 10 data ARRAY_REFERENCE 0-2000个列表项,详细请参见表10。 终端列表。 - 返回状态码为400:失败响应。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 POST /controller/campus/v1/assurance/terminal 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 { "pageIndex" : 1, "pageSize" : 10, "businessId" : "00000000-0000-0000-0000-000000000000", "filterValue" : "192.168.1.1" }
  • 响应示例 返回状态码为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" : "Success", "total" : 10000, "data" : [ { "name" : "test", "description" : "五元组模板", "fiveTuple" : { "protocol" : "TCP", "srcIp" : "192.168.0.1/32", "dstIp" : "192.168.0.1/32", "srcPortRange" : "100-200", "dstPortRange" : "200", "fiveTupleType" : 0 } } ] } 返回状态码为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 /v1/performanceservice/identify/instances?pageNo=1&pageSize=10&keyword=五元组名称 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:查询识别流模板数据成功后的状态返回码。 表2 StreamProfileOutput对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string 0~64个字符。 - 错误码。 "0" errmsg string 0~256个字符。 - 错误信息。 "Success" total int32 - - 总数。 10000 data ARRAY_REFERENCE 0-10000个列表项,详细请参见表3。 模板信息及配置数据 - 表3 StreamProfileInput对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 name string 1~256个字符。 - 模板名称 "test" description string 0~512个字符。 - 模板描述 "五元组模板" fiveTuple REFERENCE 详细请参见表4。 五元组信息 - 表4 FiveTupleProfileData对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 protocol string 0~4个字符。 - 协议号, TCP/UDP,或者协议号7 "TCP" srcIp string 0~128个字符。 - 源IP "192.168.0.1/32" dstIp string 0~128个字符。 - 目的IP "192.168.0.1/32" srcPortRange string 0~11个字符。 - 源端口范围 "100-200" dstPortRange string 0~11个字符。 - 源端口范围 "200" fiveTupleType int32 - - 0-动态五元组 1-静态五元组 0 返回状态码为400:查询识别流模板数据失败后的状态返回码。 详细信息请参见实际响应消息体。 返回状态码为500:接口发生内部错误后的状态返回码。 详细信息请参见实际响应消息体。
  • URI /v1/performanceservice/identify/instances 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 pageNo 是 int32 [1-1000] - 页数 1 pageSize 是 int32 [5-100] - 当前页大小 10 keyword 否 string 0~256个字符。 - 五元组名称模糊查询 "五元组名称"
  • URI /controller/campus/v1/oamservice/resetchassis/devices/{deviceId}/frame/{frameNo} 表1 path参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 deviceId 是 string - - 设备ID或堆叠ID, UUID格式。 "ea25fdbf-8dee-4823-bac2-5bfe8e3359cad" frameNo 是 integer 1 2 - 机框号。 1
  • 请求示例 HTTP的示例 PUT /controller/campus/v1/oamservice/resetchassis/devices/ea25fdbf-8dee-4823-bac2-5bfe8e3359cad/frame/1 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:整框重启成功,响应体参考ResetChassisOutputDto。 表2 ResetChassisOutputDto对象的参数列表 参数名称 类型 参数值域 默认值 参数说明 参数示例 errcode string - - 错误码:当没有错误时返回0。 "0" errmsg string 0~256个字符。 - 接口调用结果的描述信息。 "error" 返回状态码为400:校验异常,无响应体。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误,无响应体。 详细信息请参见实际响应消息体。
  • 响应示例 返回状态码为200:整框重启成功,响应体参考ResetChassisOutputDto。 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" : "error" } 返回状态码为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:接口调用成功,响应体参考StaticRouteResponse。返回的静态路由信息中仅包含对应的ID,siteId,vpnId。 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" : "a99f794e-b510-438c-a75d-de59f02347eb", "vpnId" : "a99f794e-b510-438c-a75d-de59f02347eb", "siteId" : "a99f794e-b510-438c-a75d-de59f02347eb", "deviceId" : "a99f794e-b510-438c-a75d-de59f02347eb", "tnpId" : "a99f794e-b510-438c-a75d-de59f02347eb", "priority" : 1, "destinationAddressMask" : "10.1.0.0/16", "nextHopType" : "ip-address", "ipAddress" : "10.1.1.1", "track" : true, "target" : "10.1.0.0", "configSource" : "Wan", "isDefaultVpn" : false, "outBoundInterface" : "Tunnel0/0/400", "outBoundInterfaceDisplayName" : "GE0/0/2", "outBoundInterfaceType" : "IPSec" } ], "fail" : [ { "errcode" : "0", "errmsg" : "", "data" : { "id" : "a99f794e-b510-438c-a75d-de59f02347eb", "vpnId" : "a99f794e-b510-438c-a75d-de59f02347eb", "siteId" : "a99f794e-b510-438c-a75d-de59f02347eb", "deviceId" : "a99f794e-b510-438c-a75d-de59f02347eb", "tnpId" : "a99f794e-b510-438c-a75d-de59f02347eb", "priority" : 1, "destinationAddressMask" : "10.1.0.0/16", "nextHopType" : "ip-address", "ipAddress" : "10.1.1.1", "track" : true, "target" : "10.1.0.0", "configSource" : "Wan", "isDefaultVpn" : false, "outBoundInterface" : "Tunnel0/0/400", "outBoundInterfaceDisplayName" : "GE0/0/2", "outBoundInterfaceType" : "IPSec" } } ] } 返回状态码为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的示例 POST /controller/campus/v1/sdwan/routing-protocol/static/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 { "routes" : [ { "id" : "a99f794e-b510-438c-a75d-de59f02347eb", "vpnId" : "a99f794e-b510-438c-a75d-de59f02347eb", "siteId" : "a99f794e-b510-438c-a75d-de59f02347eb", "deviceId" : "a99f794e-b510-438c-a75d-de59f02347eb", "tnpId" : "a99f794e-b510-438c-a75d-de59f02347eb", "priority" : 1, "destinationAddressMask" : "10.1.0.0/16", "nextHopType" : "ip-address", "ipAddress" : "10.1.1.1", "track" : true, "target" : "10.1.0.0", "configSource" : "Wan", "isDefaultVpn" : false, "outBoundInterface" : "Tunnel0/0/400", "outBoundInterfaceDisplayName" : "GE0/0/2", "outBoundInterfaceType" : "IPSec" } ] }
  • 响应示例 返回状态码为200:下发成功。 HTTPS 200 OK Date: Thu,13 Sep 2022 10:00:00 GMT Server: example-server Content-Type: application/json { "errcode": "0", "errmsg": "", "successList": [ "IC1-Huawei-AR502H-GW-0001" ], "failList": [ { "id": "5c37d9e8-cdf6-11e8-a4fc-286ed488d002", "serialNumber": "IC1-Huawei-AR502H-GW-0002", "errcode": "0x00c80049", "errmsg": "WAC is not online" } ] } 返回状态码为400:重下发失败。 HTTPS 400 Bad Requests Date: Thu,13 Sep 2022 10:00:00 GMT Server: example-server Content-Type: application/json { "errcode": "0x00c8000d", "errmsg": "The parameter ids is null." } 返回状态码为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的示例 POST /controller/campus/api/campusoamservice/v1/cpe/cli/reconfig HTTPS Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN:CA48D152F6B19D84:637C38259E6974E17788348128A430FEE150E874752CE754B6BF855281219925 { "taskIds": [ "5c37d9e8-cdf6-11e8-a4fc-286ed488d001","5c37d9e8-cdf6-11e8-a4fc-286ed488d002" ] }
  • 请求示例 HTTP的示例 PUT /controller/campus/v3/devices/ztpconfirm/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:设备开局确认结果返回成功,响应体参考CommonResponseBean。 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
  • 响应示例 返回状态码为200:配置成功,响应体参考ApplyPolicyResponse。 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" : "", "errparam" : "["policyName"]", "processInstanceId" : "" } 返回状态码为202:请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功。响应体参考ApplyPolicyResponse。 HTTP/1.1 202 Accepted 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
  • 请求示例 HTTP的示例 POST /controller/campus/v1/sdwan/policy/unbind-policy 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 { "policyId" : "00000000-0000-0000-0000-000000000000", "policyType" : "qos", "effectImmediate" : true, "sites" : [ { "siteId" : "00000000-0000-0000-0000-000000000000", "siteName" : "Site1", "tnpIds" : [ "00000000-0000-0000-0000-000000000000" ], "externalPortIds" : [ "00000000-0000-0000-0000-000000000000" ], "lanPortIds" : [ "00000000-0000-0000-0000-000000000000" ], "devicePortTypes" : [ { "deviceId" : "00000000-0000-0000-0000-000000000000", "portType" : "EvpnTunnel" } ], "destSites" : [ "00000000-0000-0000-0000-000000000000" ] } ], "status" : "committing" }
  • 接口约束 1、该接口仅支持租户视图或msp代维视图下,角色为“Open Api Operator”的用户访问,必须在用户会话建立后使用。 2、当policyType为vpn bandwidth时,接口返回202,表示请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功;接口返回其他状态码,表示请求已处理完成。当policyType为其他类型时,接口在提交之后立即返回,实际业务还在执行中,可通过对应策略的查询接口查询执行状态。
  • 响应参数 返回状态码为200:配置成功,响应体参考ApplyPolicyResponse。 ApplyPolicyResponse对象的参数列表,详细请参见表6。 返回状态码为202:请求正在处理中,请求处理详情请通过“查询业务编排结果”接口,确认是否处理成功。响应体参考ApplyPolicyResponse。 返回状态码为400:请求参数错误,无响应体。 详细信息请参见实际响应消息体。 返回状态码为500:内部错误,无响应体。 详细信息请参见实际响应消息体。
  • 请求示例 HTTP的示例 PUT /v1/accountservice/users/action/batch-update Host: 192.168.1.125:18002 Content-Type: application/json Accept: application/json Accept-Language: en-US X-ACCESS-TOKEN:CA48D152F6B19D84:637C38259E6974E17788348128A430FEE150E874752CE754B6BF855281219925 { "updateUserInfoList": [ { "id": "0a638aed-d4b3-44ed-aaf1-f69dd9c4cfa8", "userGroupId": "1a638aed-d4b3-44ed-aaf1-f69dd9c4cfa8", "name": "Jack", "email": "***@***", "telephone": "***********", "validPeriodLong": 1718587859000, "changePwdByNextLogin": true, "maxAccessNum": 16, "accessLimitStrategy": 0, "roleIds": ["2a638aed-d4b3-44ed-aaf1-f69dd9c4cfa8"], "allowLoginType": 7, "forcePkiAuth": false, "description": "for update Jack" } ] }
  • 响应示例 返回状态码为200:批量修改用户结果返回体 HTTPS 200 OK Date: Thu,13 Jun 2024 10:00:00 GMT Server: example-server Content-Type: application/json { "errcode":"0", "errmsg":"", "data":{ "successList": [{"id": "0a638aed-d4b3-44ed-aaf1-f69dd9c4cfa8", "userName": "user01"}] } } 返回状态码为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的示例 PUT /controller/campus/api/v1/networkconfig/apwids/sites/fbb684c8-0d37-496f-bafa-4b06d5151e2e/wids 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 { "securityLevel" : "Off", "illegalDeviceDetect" : { "illegalDeviceDetect" : false, "macWhiteList" : [ "XX:XX:XX:XX:XX:XX" ], "ouiSsidMatch" : "both", "ouiWhiteList" : [ "02:02:00" ], "ssidWhiteList" : [ "abc" ] }, "manualContainDevice" : { "manualContainDevice" : false, "manualContainDeviceList" : [ "XX:XX:XX:XX:XX:XX" ] }, "spoofAPContain" : { "spoofAPContain" : false, "spoofingSSIDRuleList" : [ "abc" ] }, "terminalProtection" : { "terminalProtection" : false, "protectTerminalMACList" : [ "XX:XX:XX:XX:XX:XX" ] }, "bruteForceAttackDetect" : { "bruteForceAttackDetect" : false, "bruteForceThreshold" : 20, "bruteForceInterval" : 60 }, "spoofAttackDetect" : false, "floodAttackDetect" : false, "weakIvDetect" : false, "dynamicBlackListDefense" : false, "adhocContain" : false, "openDeviceContain" : false }
  • 响应示例 返回状态码为200:站点内修改AP无线安全配置成功后的消息返回体。 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" : { "securityLevel" : "Off", "illegalDeviceDetect" : { "illegalDeviceDetect" : false, "macWhiteList" : [ "XX:XX:XX:XX:XX:XX" ], "ouiSsidMatch" : "both", "ouiWhiteList" : [ "02:02:00" ], "ssidWhiteList" : [ "abc" ] }, "manualContainDevice" : { "manualContainDevice" : false, "manualContainDeviceList" : [ "XX:XX:XX:XX:XX:XX" ] }, "spoofAPContain" : { "spoofAPContain" : false, "spoofingSSIDRuleList" : [ "abc" ] }, "terminalProtection" : { "terminalProtection" : false, "protectTerminalMACList" : [ "XX:XX:XX:XX:XX:XX" ] }, "bruteForceAttackDetect" : { "bruteForceAttackDetect" : false, "bruteForceThreshold" : 20, "bruteForceInterval" : 60 }, "spoofAttackDetect" : false, "floodAttackDetect" : false, "weakIvDetect" : false, "dynamicBlackListDefense" : false, "adhocContain" : false, "openDeviceContain" : 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的示例 POST /controller/campus/v1/sdwan/policy/security/domain-set 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 { "domainSetInfo" : [ { "id" : "000000-0000-0000-0000-000000000000", "name" : "test_1", "description" : "XXX", "domainNames" : [ "www.test.com" ] } ] }
  • 响应示例 返回状态码为201:创建成功,响应体参考DomainSetResponse。 HTTP/1.1 201 Created 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" : "", "processInstanceId" : "", "success" : [ { "id" : "000000-0000-0000-0000-000000000000", "name" : "test_1", "description" : "XXX", "domainNames" : [ "www.test.com" ] } ], "fail" : [ { "errcode" : "0x00c8000c", "errmsg" : "The parameter is invalid.", "data" : { "id" : "000000-0000-0000-0000-000000000000", "name" : "test_1", "description" : "XXX", "domainNames" : [ "www.test.com" ] } } ] } 返回状态码为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的示例 PATCH /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-dns:dns 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" { "huawei-nce-e-dns:dns" : { "enable-dns" : false, "dnsv4" : [ { "dnsv4-ip" : "192.168.1.1", "vpn-instance" : "vpn1" } ], "ipv4-source" : [ { "ipv4-source-addr" : "192.168.1.1", "vpn-instance" : "vpn1" } ], "hostv4" : [ { "host" : "example.com", "address" : "192.168.1.1", "vpn-instance" : "vpn1" } ], "dns-relay" : { "enable-relay" : false, "local-ip" : [ { "ip-address" : "10.1.0.0", "vpn-name" : "vpn1" } ] }, "dns-proxy" : { "enable-proxy" : false, "forward-any-response" : false }, "proxy-client-src-ip" : [ { "address" : "192.168.1.1", "vpn-instance" : "vpn1" } ], "dnsv6" : [ { "dnsv6-ip" : "fc00::/7", "vpn-instance" : "vpn1", "if-name" : "GE0/0/0" } ], "ipv6-source" : [ { "ipv6-source-addr" : "fc00::/7", "vpn-instance" : "vpn1" } ] } }
共100000条
提示

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