百度智能云

All Product Document

          Virtual Private Cloud

          Query Rate Limitation Rule List of IPv6 Gateway

          Description

          Query the rate limitation rule list of the IPv6 gateway .

          Request Structure

          GET /v{version}/IPv6Gateway/{gatewayId}/rateLimitRule?marker={marker}&maxKeys={maxKeys}HTTP/1.1    
          Host: bcc.bd.baidubce.com      
          Authorization: authorization string

          Request Header Field

          No other special header fields are available except for the public header fields.

          Request Parameters

          Parameter Name Type Required? Parameter Position Description
          version String Yes URL parameter API version number
          gatewayId String Yes URL parameter IPv6 gateway Id
          marker string No Query parameters Marks the starting position of the query.
          maxKeys int No Query parameters Maximum number of keys contained on eachr page.

          Return Header Field

          No special return header field.

          Return Parameters

          Parameter Name Type Description
          rateLimitRules List<RateLimitRule> IPv6 gateway rate limitation rule list.
          marker String Marks the starting position of the query. If the result list is empty, this item does not exist.
          isTruncated boolean “True” means there is still data behind, and “false” means the current page is already the last page.
          nextMarker String Gets the “marker” value to be passed on the next page. This field does not appear when “isTruncated” is “false”.
          maxKeys int Maximum number of keys contained on each page.

          Request Example

          GET /v1/IPv6Gateway/rateLimitRule/ipv6_qos-0b56ec38 HTTP/1.1
          Host: bcc.bj.baidubce.com
          authorization: bce-auth-v1/c3119080364d11e8912505e5e0ae9978/2018-04-02T08:14:25Z/3600/host;x-bce-account;x-bce-client-ip;x-bce-date;x-bce-request-id;x-bce-security- 
          token/6b93bfd5ca2328fcb5560fa57f56253d80a629f6aac9c9cb74adf9a055fceb53

          Return Example

          HTTP/1.1 200 OK
          x-bce-request-id: 7e789a40-adac-414a-8bd4-916d6be61112
          Date: Mon, 02 Apr 2018 08:14:25 GMT
          Content-Type: application/json;charset=UTF-8
          Server: BWS
          {
              "rateLimitRules":[
                  {
                      "rateLimitRuleId":"ipv6_qos-0b56ec38"
                      "ipv6Address":"240c:4082:0:100::",
                      "ingressBandwidthInMbps":5,
                      "egressBandwidthInMbps":5
                  }
              ],
              "marker":"ipv6_qos-0b56ec38",
              "maxKeys":1000,
              "isTruncated":false
          }
          Previous
          Query IPv6 Gateway
          Next
          Update Rate Limitation Rule of IPv6 Gateway