百度智能云

All Product Document

          Anti-DDoS Service

          Query ADAS Related Interface

          Query adasBackendIp Network Segment

          • Description

          Query adasBackendIp network segment.

          If the backend servicer has a firewall enabled, please configure adasBackendIp network segment to allow the traffic to pass through and prevent back-to-source traffic from being blocked.

          • Request syntax

            GET /v{version}/adasBackendIp?clientToken={clientToken} HTTP/1.1 Host: adas.baidubce.com Authorization: authorization string

          • Request header

          There are no other special headers except the public headers.

          • Request parameter
          Parameter name Type Required or not Parameter position Description
          version String Yes URL parameter API version number (the current value is 1)
          clientToken String Yes Query parameter Idempotent Token
          • Response status code

          Return 200 on success, see Error Code when return error.

          • Response header fields

          There are no other special headers except the public headers.

          • Response parameter
          Parameter name Type Description
          adasBackendIp Array List of adasBackendIp network segments

          Request example

          GET /v1/adasBackendIp?clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
          HOST adas.baidubce.com
          Authorization bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02

          Response example

          HTTP/1.1 200 OK
          x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
          Date: Wed, 10 Apr 2016 08:26:52 GMT
          Transfer-Encoding: chunked
          Content-Type: application/json;charset=UTF-8
          Server: BWS
          
          {
          	"adasBackendIp": [
          		"119.188.178.0/23", 
              	"150.138.240.0/20"
              ]
          }
          Previous
          NAT Configuration Related Interface
          Next
          Appendix 1