百度智能云

All Product Document

          Elastic IP

          Query Details of a Shared Bandwidth

          • Query details of shared bandwidth.

          Request structure

          GET /v{version}/eipgroup/{id} HTTP/1.1 
          Host: eip.bj.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)
          id String Yes URL parameter ID of shared bandwidth to be queried

          Return status code

          200 is returned successfully, for the failed return, please see Error Code.

          Return header

          There are no other special headers except the public headers.

          Return parameter

          Parameter name Type Description
          id String ID of shared bandwidth
          name String Name of shared bandwidth
          eips List<EipModel> List of EIP instances
          status eipStatus State of shared bandwidth
          bandwidthInMbps int Public network bandwidth, in Mbps
          paymentTiming String Payment time, prepaid
          createTime String Creation time
          expireTime String Expiration time, this parameter has a value only for the prepaid products.

          Request example

          GET /v1/eipgroup/eg-DCB50385 HTTP/1.1 
          HOST eip.bj.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
          
          {
                "id":"eg-DCB50385",
          		"name":"eipgroup-for-test",
          		"eips": [
          			{
          				"name":"eip-xrllt5M-1",
          				"eip": "180.181.3.133",
          				"status":"binded",
          				"instanceType": "BCC",
          				"instanceId": "i-IyWRtII7",
          				"shareGroupId": "eg-DCB50385",
          				"eipInstanceType": "shared",
          				"bandwidthInMbps": 5,
          				"paymentTiming":"Prepaid",
          				"billingMethod":null,
          				"createTime":"2016-03-08T08:13:09Z",
          				"expireTime":"2016-04-08T08:13:09Z"
          			},
          		 ],
          		 "status":"binded",
          		 "bandwidthInMbps": 5,
          		 "paymentTiming":"Prepaid",
          		 "createTime":"2016-03-08T08:13:09Z",
          		 "expireTime":"2016-04-08T08:13:09Z"
          }
          Previous
          Query Shared Bandwidth List
          Next
          Renew Shared Bandwidth