硅云幫助文檔中心
搜索文檔
熱門搜索詞:
產(chǎn)品簡介
產(chǎn)品定價
入門指南
經(jīng)典案例
快照
常見問題
知識拓展
名詞解釋
API參考
產(chǎn)品規(guī)格相關(guān)接口
服務(wù)器實(shí)例相關(guān)接口
安全組相關(guān)接口
磁盤相關(guān)接口
獲取帶寬規(guī)格
此接口功能為獲取帶寬規(guī)格,此接口不需要驗(yàn)簽,帶寬規(guī)格很少修改,建議緩存下來
/ncs-server/api/v1/product/getBandSpec
GET
無
GET /ncs-server/api/v1/product/getBandSpec HTTP/1.1
實(shí)際以真實(shí)返回結(jié)果為準(zhǔn)
{ "status": 2000, "message": "success", "data": [ { "productId": "default", "bandwidthName": "默認(rèn)", "areaMarks": "test,", "levelOne": 1, "levelOneUnitPrice": 500, "levelTwo": 5, "levelTwoUnitPrice": 1500, "levelThreeUnitPrice": 4000, "minSize": 1, "maxSize": 100, "configuration": "配置說明", "pos": 1 }, { "productId": "large-bandwidth", "bandwidthName": "large-bandwidth", "areaMarks": "test,", "levelOne": 5, "levelOneUnitPrice": 500, "levelTwo": 10, "levelTwoUnitPrice": 500, "levelThreeUnitPrice": 500, "minSize": 50, "maxSize": 200, "configuration": "large-bandwidth", "pos": 2 } ] }
帶寬規(guī)格數(shù)據(jù)結(jié)構(gòu):
字段 | 類型 | 描述 |
productId | string | 帶寬規(guī)格id |
bandwidthName | string | 帶寬名 |
areaMarks | string | 可以在哪些地區(qū)使用,每個地區(qū)以英文逗號分隔 |
minSize | int | 該類帶寬能分配的最小帶寬 |
maxSize | int | 該類帶寬能分配的最大帶寬 |
levelOne | int | 第一等級 |
levelOneUnitPrice | int | 第一等級單價,單位分 |
levelTwo | int | 第二等級 |
levelTwoUnitPrice | int | 第二等級單價,單位分 |
levelThreeUnitPrice | int | 第三等級單價,單位分 ,價格=每個等級帶寬數(shù)乘以各個等級的單價相加 |
configuration | string | 配置說明 |
pos | int | 排列位置標(biāo)識 |
您對該文檔有什么建議?
本文導(dǎo)航