重新整理所有庫存項目
產品版本:10.11
最後修改日期:2024年7月31日
重新整理指定平台的所有庫存項目,或全部項目。
平台是透過呼叫不同的 action。請參閱「請求欄位」的說明。 method 是一樣的。
終點
https://<Director_IP_address>:4443/c/router
請求範例
複製
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "VmwareDiscovery",
"method": "refreshAll",
"data": null,
"type": "rpc",
"tid": 1}'
請求欄位
|
領域
|
類型
|
值(們)
|
|---|---|---|
action
|
字串 |
|
method
|
字串 | refreshAll |
data
|
null
|
null
|
type
|
字串 | rpc
|
tid
|
整數 | 1 |
回應範例
複製
{
"action": "VmwareDiscovery",
"method": "refreshAll",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
回應欄位
|
領域
|
價值
|
Description
|
|---|---|---|
message
|
字串 | 若請求失敗,請顯示此訊息 |
where
|
字串 | 關於發生問題的方法的說明 |
cause
|
字串 | 故障原因 |