調用DescribeDataDistResult擷取資料檔案在應用邊緣資源執行個體的分髮狀態結果。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:DescribeDataDistResult |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| AppId |
string |
是 |
應用 ID。 |
e76f8985-7965-41fc-925b-9648bb6bf650 |
| DataNames |
string |
否 |
資料檔案名;屬於查詢的過濾條件,支援多選,以","號分割;預設查詢所有。 |
cloudgame-shanghai/deploy_app/20220215/1644895216305ACG_M21B-ota-1.1.2-D-0215.0628_V1_0002-pre-weiduan.zip |
| DataVersions |
string |
否 |
資料檔案版本號碼;屬於查詢的過濾條件,支援多選,以","號分割;預設查詢所有。 |
4885 |
| InstanceIds |
string |
否 |
邊緣執行個體 ID 列表;屬於查詢的過濾條件,支援多選,以","號分割;預設查詢所有。 |
i-7ecpqvkicnchxccozrp,i-6ecpqvkicnchxccozrp |
| MinDate |
string |
否 |
查詢起始時間,格式"2006-01-02";預設無時間限制。 |
2022-01-02 |
| MaxDate |
string |
否 |
查詢終止時間,格式"2006-01-02";預設無時間限制。 |
2022-02-01 |
| PageNumber |
integer |
否 |
頁碼,起始值為 1,匯出全部資訊時可不傳入。 |
1 |
| PageSize |
integer |
否 |
分頁查詢時設定的每頁行數,匯出全部時可不傳入。 |
10 |
| EnsRegionIds |
array |
否 |
ENS 節點 ID 列表。 |
|
|
string |
否 |
ENS 節點 ID 列表。 |
[\"cn-xiangyang-19\"] |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| DistResults |
object |
||
| DistResult |
array<object> |
邊緣資源執行個體的資料分髮狀態列表。 |
|
|
array<object> |
邊緣資源執行個體的資料分髮狀態。 |
||
| Name |
string |
資料檔案名。 |
gcs-prod-websocket-eip-unicom |
| StatusStats |
object |
||
| StatusStat |
array<object> |
分髮狀態統計列表。 |
|
|
array<object> |
分髮狀態統計資訊。 |
||
| InstanceCount |
string |
關聯的邊緣資源執行個體數量。 |
10 |
| Instances |
object |
||
| Instance |
array<object> |
邊緣資源執行個體的分髮狀態列表。 |
|
|
object |
邊緣資源執行個體的分髮狀態。 |
||
| InstanceId |
string |
執行個體 ID。 |
i-5qzje8f5un1wmi341m2yetaxv |
| StartTime |
string |
分發開始時間,UTC 時間格式。 |
2021-11-19T07:24:52Z |
| StatusDescrip |
string |
狀態原因。 |
成功 |
| UpdateTime |
string |
狀態的最新更新時間,utc 時間。 |
2021-10-11T02:38:19Z |
| Status |
string |
分髮狀態。枚舉類型,取值:
|
SUCCESS |
| Version |
string |
資料檔案版本號碼。 |
standard |
| PageNumber |
integer |
分頁查詢時的頁碼。 |
1 |
| PageSize |
integer |
分頁查詢時設定的每頁行數。 |
10 |
| RequestId |
string |
請求 ID。 |
50373E71-7710-4620-8AAB-133CCE49451C |
| TotalCount |
integer |
資料集總條數。 |
49 |
樣本
正常返回樣本
JSON格式
{
"DistResults": {
"DistResult": [
{
"Name": "gcs-prod-websocket-eip-unicom",
"StatusStats": {
"StatusStat": [
{
"InstanceCount": "10",
"Instances": {
"Instance": [
{
"InstanceId": "i-5qzje8f5un1wmi341m2yetaxv",
"StartTime": "2021-11-19T07:24:52Z",
"StatusDescrip": "成功",
"UpdateTime": "2021-10-11T02:38:19Z"
}
]
},
"Status": "SUCCESS"
}
]
},
"Version": "standard"
}
]
},
"PageNumber": 1,
"PageSize": 10,
"RequestId": "50373E71-7710-4620-8AAB-133CCE49451C",
"TotalCount": 49
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | LimitExceeded.SecurityGroup | The number of securityGroup exceeds the limit. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. | 介面調用出錯。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。