查詢該使用者已購買的套餐執行個體及其詳細資料。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
esa:ListUserRatePlanInstances |
list |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| CheckRemainingSiteQuota |
string |
否 |
是否篩選有剩餘網站配額的套餐執行個體。支援:
|
true |
| Status |
string |
否 |
套餐執行個體狀態。支援:
|
online |
| SortBy |
string |
否 |
排序欄位,預設按照新購時間排序。支援:
|
CreateTime |
| SortOrder |
string |
否 |
排序標識,預設為降序。支援:
|
asc |
| PageNumber |
integer |
否 |
頁碼。預設值為 1。取值範圍為:1~100000。 |
1 |
| PageSize |
integer |
否 |
頁面大小。 |
500 |
| InstanceId |
string |
否 |
套餐執行個體 ID,可通過調用 ListSites 介面擷取。 |
sp-xcdn-96wblslz**** |
| RemainingExpireDays |
integer |
否 |
||
| SubscribeType |
string |
否 |
||
| PlanType |
string |
否 |
||
| PlanNameEn |
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
CB1A380B-09F0-41BB-3C82-72F8FD6DA2FE |
| InstanceInfo |
array<object> |
查詢到的該使用者下合格套餐執行個體。 |
|
|
array<object> |
套餐執行個體詳情。 |
||
| InstanceId |
string |
套餐執行個體 ID。 |
sp-xcdn-96wblslz**** |
| PlanName |
string |
套餐執行個體對應的套餐名稱。 |
basic |
| PlanType |
string |
套餐執行個體對應的套餐類型,取值:
|
normal |
| SiteQuota |
string |
套餐執行個體下的網站數量配額。 |
1 |
| ExpireTime |
string |
套餐執行個體的到期時間。 |
YYYY-MM-DDThh:mm:ssZ |
| Duration |
integer |
套餐執行個體的購買時間長度,單位:月。 |
3 |
| CreateTime |
string |
套餐執行個體的新購時間。 |
YYYY-MM-DDThh:mm:ssZ |
| Sites |
array<object> |
已經綁定到當前套餐執行個體下的網站列表。 |
|
|
object |
綁定的網站的詳情。 |
||
| SiteId |
integer |
網站 ID。 |
123456**** |
| SiteName |
string |
網站名稱。 |
example.com |
| SiteStatus |
string |
網站狀態。取值:
|
pending |
| Status |
string |
套餐執行個體狀態。取值:
|
online |
| Coverages |
string |
該網站可綁定的網站的加速地區範圍,多個用(,)隔開。取值:
|
domestic,overseas |
| BillingMode |
string |
付費類型。支援:
|
PREPAY |
| PlanTraffic |
string |
||
| Layer4Traffic |
string |
||
| Layer4TrafficIntl |
string |
||
| CrossborderTraffic |
string |
||
| EdgeRoutineRquest |
string |
||
| StaticRequest |
string |
||
| SmartRoutingRequest |
string |
||
| EdgeWafRequest |
string |
||
| DdosInstanceLevel |
string |
||
| DdosBurstableDomesticProtection |
string |
||
| DdosBurstableOverseasProtection |
string |
||
| BotInstanceLevel |
string |
||
| BotRequest |
string |
||
| SubscribeType |
string |
||
| PageNumber |
integer |
頁碼。 |
1 |
| PageSize |
integer |
整頁大小。 |
10 |
| TotalCount |
integer |
總條數。 |
68 |
| TotalPage |
integer |
總頁數。 |
1 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "CB1A380B-09F0-41BB-3C82-72F8FD6DA2FE",
"InstanceInfo": [
{
"InstanceId": "sp-xcdn-96wblslz****",
"PlanName": "basic",
"PlanType": "normal",
"SiteQuota": "1",
"ExpireTime": "YYYY-MM-DDThh:mm:ssZ ",
"Duration": 3,
"CreateTime": "YYYY-MM-DDThh:mm:ssZ ",
"Sites": [
{
"SiteId": 0,
"SiteName": "example.com",
"SiteStatus": "pending"
}
],
"Status": "online",
"Coverages": "domestic,overseas",
"BillingMode": "PREPAY",
"PlanTraffic": "",
"Layer4Traffic": "",
"Layer4TrafficIntl": "",
"CrossborderTraffic": "",
"EdgeRoutineRquest": "",
"StaticRequest": "",
"SmartRoutingRequest": "",
"EdgeWafRequest": "",
"DdosInstanceLevel": "",
"DdosBurstableDomesticProtection": "",
"DdosBurstableOverseasProtection": "",
"BotInstanceLevel": "",
"BotRequest": "",
"SubscribeType": ""
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 68,
"TotalPage": 1
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 輸入參數規範校正失敗。 |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 調用服務失敗,請稍後重試或聯絡客服諮詢詳情。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。