百度智能云

All Product Document

          Virtual Private Cloud

          Query Express Tunnel Gateway Details

          Description

          Query the express tunnel gateway details.

          Request Structure

          GET /v{version}/etGateway/{etGatewayId} HTTP/1.1
          Host: bcc.bj.baidubce.com
          Authorization: authorization string

          Request Parameter

          Parameter name Type Required or not Parameter position Description
          version String Yes URL parameter API version number (the current value is 1)
          etGatewayId String Yes URL parameter Id of express tunnel gateway

          Return Header

          There are no other special headers except the public headers.

          Return Parameter

          Parameter name Type Description
          etGatewayId String Id of express tunnel gateway
          name String Name of express tunnel gateway
          status etGatewayStatus Status of express tunnel gateway
          speed Integer Speed limit value of dedicated gateway bandwidth, in Mbps.
          createTime string Creation time
          description String Description of express tunnel gateway
          vpcId String Id of vpc to which the express tunnel gateway belongs
          etId String Id of bound physical express tunnel
          channelId String Id of bound express tunnel channel
          localCidrs List Cloud network of express tunnel gateway
          healthCheckSourceIp String Source IP of health check
          healthCheckDestIp String Destination IP of health check
          healthCheckInterval Integer Health check interval
          healthThreshold Integer Healthy threshold
          unhealthThreshold Integer Unhealthy threshold
          healthCheckType String Mode of health check
          healthCheckPort Integer Health check port

          Request Example

          GET /v1/etGateway/dcgw-4ds9x3kmds88 HTTP/1.1
          Host: bcc.bj.baidubce.com
          Authorization: bce-auth-v1/bf427691810a11e8a106475a8496ca04/2018-07-06T11:02:49Z/3600/host;x-bce-date/e84ee938f6466428ff5c16b3562a1cbf3db5928e7f863cedec8820b5d98aa474

          Return Example

          HTTP/1.1 200 OK
          Date: Fri, 06 Jul 2018 11:12:34 GMT
          Content-Type: application/json;charset=UTF-8
          Server: BWS{
              "etGatewayId":"dcgw-4ds9x3kmds88",
              "name":"dcGateway",
              "status":"running",
              "speed":100,
              "createTime":"2016-03-08T08:13:09Z",
              "description":"",
              "vpcId":"vpc-IyrqYIQ7",
              "etId":"dcphy-478px3km77dh",
              "channelId":"dedicatedconn-i7c1skfd0djs",
              "localCidrs":[
                  "192.168.0.0/20"
              ],
              "healthCheckSourceIp":"192.168.5.2",
              "healthCheckDestIp":"172.16.2.3",
              "healthCheckType":"ICMP",
              "healthCheckInterval":2,
              "healthThreshold":2,
              "unhealthThreshold":2
          }
          Previous
          Update Express Tunnel Gateway
          Next
          Create Express Tunnel Gateway Health Check