查詢共享帶寬詳情
描述?
查詢共享寬帶信息。
請求參數?
| 參數名 | 參數類型 | 是否必填 | 參數說明 |
|---|---|---|---|
| Region | String | 是 | 機房標識,取值參見地域列表 |
| Action | String | 是 | 操作方法:DescribeCommonBandwidth |
| Id | String | 是 | 共享寬帶ID |
返回參數?
| 名稱 | 類型 | 說明 |
|---|---|---|
| Action | String | 執行的操作 |
| TaskId | String | 請求標識 |
| Id | String | 共享寬帶標識 |
| Name | String | 名稱 |
| ProductModelId | integer | 型號ID |
| ProductType | string | 網絡類型 |
| ProductStatus | String | 產品狀態。取值范圍:NORMAL-正常; OVERTIMER-過期; ARREARAGE-欠費 |
| BandwidthSize | integer | 寬帶大小 |
| PayType | String | 支付類型 ONDEMAND:按量付費;PREPAID:包年包月 |
| Remark | String | 描述 |
| BandwidthSize | integer | 寬帶大小 |
| CreateTime | integer | 創建時間,時間戳 |
| UpdateTime | integer | 更新時間,時間戳 |
| DueTime | integer | 到期時間,時間戳 |
| CloseTime | integer | 關閉時間,時間戳 |
| ChangedTime | integer | 變更時間,時間戳 |
| IsCommonBandwidth | integer | 是否共享寬帶,目前是1 |
| EipList | EipList | 由EipList組成的數組格式,返回加入共享寬帶的IP信息 |
EipList?
入共享寬帶的IP信息
| 名稱 | 類型 | 說明 |
|---|---|---|
| Id | String | IP的ID |
| IpAddress | String | IP地址 |
| ProductModelId | integer | IP型號ID |
| ProductType | string | IP網絡類型 |
| CreateTime | integer | 創建時間,時間戳 |
| UpdateTime | integer | 更新時間,時間戳 |
| DueTime | integer | 到期時間,時間戳 |
| AllocateTime | integer | 分配時間,時間戳 |
| DeviceId | string | 公網ID綁定的設備ID |
| DeviceType | string | 公網ID綁定的設備類型,INSTANCE:云主機;ROUTER:路由器;LOADBALANCE:負載均衡器;IRONIC:裸機 |
| DeviceId | string | IP所屬的路由器ID |
請求示例?
//api.cn-henji.com/v2/?Action=DescribeCommonBandwidth
&Region=cn-wuxi
&Id=xxx
&<公共(gong)請求參數>
返回示例?
{
"code": 10000,
"message": "",
"data": {
"TaskId": "yvk7320190823131446315",
"Action": "DescribeCommonBandwidth",
"Id": "b-tq73j7la0719f",
"Name": "csbw-nc73j7la0719e",
"ProductModelId": 802021,
"ProductType": "ChinaTelecom",
"ProductStatus": "NORMAL",
"BandwidthSize": 20,
"PayType": "PREPAID",
"Remark": "aaa",
"CreateTime": 1566355003000,
"UpdateTime": 1566355995000,
"DueTime": 1569292603000,
"CloseTime": 1569296203000,
"ChangedTime": 1569296203000,
"IsCommonBandwidth": 1,
"EipList": [{
"Id": "eip-ne73j7la048",
"IpAddress": "30.30.17.63",
"ProductModelId": 179,
"ProductType": "ChinaTelecom",
"ProductStatus": "NORMAL",
"PayType": "PREPAID",
"Type": "MASTER",
"CreateTime": 1562730328000,
"UpdateTime": 1566355995000,
"DueTime": 1569292564000,
"AllocateTime": 1566354964000,
"DeviceId": "i-rq73j7la0782z",
"DeviceType": "INSTANCE",
"RouterId": "r-2073j6age842t"
}]
}]
}
}