調用DescribeServcieSchedule查詢Uuid正在佔用的(調度中)執行個體裝置或容器即時狀態。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:DescribeServcieSchedule |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| AppId |
string |
是 |
應用 ID。 |
474bdef0-d149-4695-abfb-52912d91**** |
| Uuid |
string |
是 |
終端裝置唯一 ID。 |
hdm_f022bf160dc69e2d8eb421e508eb**** |
| PodConfigName |
string |
否 |
無效參數。 |
android |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Index |
integer |
調度的目標虛擬設備(容器 Pod)索引號。 |
2 |
| InstanceId |
string |
調度的目標執行個體 ID。 |
i-5myukg7hnpbto7m024002**** |
| InstanceIp |
string |
調度的目標執行個體 IP。 |
120.26.XX.XX |
| InstancePort |
integer |
調度的目標執行個體 Port 開始端點口。 |
3306 |
| PodAbstractInfo |
object |
調度的虛擬設備 POD 的摘要資訊。 |
|
| ContainerService |
boolean |
Container Service名。 |
android |
| ContainerStatuses |
object |
||
| ContainerStatus |
array<object> |
容器資訊列表。 |
|
|
object |
容器資訊。 |
||
| ContainerId |
string |
容器 ID。 |
container_e79_1638372147094_158091_02_000001 |
| Name |
string |
容器名稱。 |
nginx |
| Name |
boolean |
POD 名。 |
gcs-prod-websocket-eip-telecom |
| Namespace |
boolean |
Namespace 名稱。 |
default-aliyun |
| ResourceScope |
boolean |
POD 所在 Scope。 |
FDN |
| Status |
boolean |
POD 狀態。 |
RUNNING |
| RequestId |
string |
請求 ID。 |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| RequestRepeated |
boolean |
是否已建立。 |
false |
| TcpPorts |
string |
調度的目標虛機執行個體/容器的 tcp 服務連接埠範圍,取值格式:${from}-${to},如 80-88。 |
80-88 |
樣本
正常返回樣本
JSON格式
{
"Index": 2,
"InstanceId": "i-5myukg7hnpbto7m024002****",
"InstanceIp": "120.26.XX.XX",
"InstancePort": 3306,
"PodAbstractInfo": {
"ContainerService": true,
"ContainerStatuses": {
"ContainerStatus": [
{
"ContainerId": "container_e79_1638372147094_158091_02_000001",
"Name": "nginx"
}
]
},
"Name": true,
"Namespace": true,
"ResourceScope": true,
"Status": true
},
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"RequestRepeated": false,
"TcpPorts": "80-88"
}
錯誤碼
|
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. | 介面調用出錯。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。