弹性公网IPEIP

    查询共享带宽详情

    • 查询共享带宽详情。

    请求结构

    GET /v{version}/eipgroup/{id} HTTP/1.1
    Host: eip.bj.baidubce.com
    Authorization: authorization string

    请求头域

    除公共头域外,无其他特殊头域

    请求参数

    参数名称 类型 是否必需 参数位置 描述
    version String URL参数 API版本号,当前取值1
    id String URL参数 要查询的共享带宽的ID

    返回状态码

    成功返回200,失败返回见错误码

    返回头域

    除公共头域外,无其他特殊头域

    返回参数

    参数名称 类型 描述
    id String 共享带宽的ID
    name String 共享带宽的名字
    eips List<EipModel> EIP实例列表
    status eipStatus 共享带宽状态
    bandwidthInMbps int 公网带宽,单位为Mbps
    paymentTiming String 付款时间,预支付(Prepaid)
    createTime String 创建时间
    expireTime String 过期时间,只有预付费产品此参数才有值

    请求示例

    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

    响应示例

    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"
    }
    一篇
    查询共享带宽列表
    一篇
    共享带宽续费