Batch-Auftrag erstellen - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of the Industrial Edge Platform - IEM - Hub - Industrial - Device - IED - Edge - IEH

Industrial Edge Platform Operation - APIs & Referenzen

Portfolio
Industrial Edge
Product
Industrial Edge
Product Version
v25.04
Edition
04/2025
Language
de-DE

Mit dieser Methode werden Befehle (install, uninstall oder update) auf einer App im IEM ausgeführt. Gültige Vorgänge für diese Befehle sind:

  • installApplication
  • updateApplication
  • uninstallApplication
  • startApplication
  • restartApplication
  • stopApplication
  • updateAppConfig
  • deleteAppConfig

Der Befehl batch-create liefert eine Batch-Id, mit der Informationen zu diesem Batch für weitere Verwendungen abgerufen werden können.

$ iectl iem job batch-create \
    --appid "46d2ac22e41a4b65af55a434c887578e" \
    --operation "installApplication" \
    --infoMap "{"devices":["14b7798c0f5b4c56a69c9b0b7fb1e8fe","d39b707268a24306845b9a6aae951ec5"]}" \

# 46d2ac22e41a4b65af55a434c887578e is unique id of the application on which batch actions will be performed
# Operation type to be applied to the application (should be a valid operation name)
# The infoMap object contains unique Edge Device IDs 14b7798c0f5b4c56a69c9b0b7fb1e8fe and d39b707268a24306845b9a6aae951ec5, along with other configuration and resource information. Device IDs will determine on which devices the given operation should be performed.

Dieser Befehl gibt als Antwort die Batch-Id zurück. Mit dieser Batch-Id können der Batch-Status und die im Batch enthaltenen Aufträge abgefragt werden.