iectl iem job batch-create¶
Execute commands on app
Synopsis¶
This method executes commands (install, uninstall or update) on an application in the edge management.
iectl iem job batch-create [flags]
Options¶
--appid string The unique application ID
-d, --data string use this flag for passing data via json or as datafile with @filename
--files stringArray The files to send
-h, --help help for batch-create
--infoMap string The unique Edge Device ID, other info regarding config,resourses etc (use InfoMap object ).
Valid combinations:
- version config: {"configs":[{"configId":"configid","versionId":"versionid"}
- pre-defined template-based config: e.g. deploying or changing a template configuration: {"configId":"configid","templateId":"templateId"}
- template config: {"configId":"configid","templateId":"templateId",
"editedTemplateText":"editedText"}
- file-based configuration: {"configId":"configid","fileId":"unique id"}]} where fileId is the uploaded file name field
--operation string The operation to perform (install, uninstall, or update)
Valid operations: (installApplication, updateApplication, uninstallApplication, startApplication, restartApplication, stopApplication, updateAppConfig, deleteAppConfig)
--schedule string The time in ticks
Options inherited from parent commands¶
-o, --output string output format
-q, --query string query on result of object
-v, --verbose verbose output
Example¶
iectl iem job batch-create --appid dd55269380a94cf59b4ac128198f44b8 --operation "installApplication" --infoMap "{"devices":["f54476e757e5489c9e527bc5aa95bf99"]}"
SEE ALSO¶
- iectl iem job - batch jobs related commands