Class used for creating application command execution config.
name | data type | constraints | description |
---|---|---|---|
name | string | required, max size: 255, min size: 1 | |
cmdArg | array of string | required, max size: 255, min size: 1 | |
applications | array of NameAndGuid | ||
cmdExecMethod | CmdExecMethod | ||
exportData | boolean | required | |
removeFilesAfterExport | boolean | required | |
sourceType | SourceType | ||
appCmdExecConfigParams | array of AppCmdExecConfigParamRequest | ||
ignoredExitCodes | string | max size: 255, min size: 0 | |
stdErrorHandling | StdErrorHandling | ||
sourcePath | string | required | |
timeout | number | required | |
useNetcat | boolean | required |
Example
{ "name" : "...", "cmdArg" : [ "...", "..." ], "applications" : [ { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, { "guid" : "...", "name" : "..." } ], "cmdExecMethod" : "REMOTE_POWERSHELL", "exportData" : true, "removeFilesAfterExport" : true, "sourceType" : "FILE", "appCmdExecConfigParams" : [ { "guid" : "...", "name" : "...", "showInUi" : true, "obligatory" : true, "defaultValue" : "...", "userFriendlyHint" : "..." }, { "guid" : "...", "name" : "...", "showInUi" : true, "obligatory" : true, "defaultValue" : "...", "userFriendlyHint" : "..." } ], "ignoredExitCodes" : "...", "stdErrorHandling" : "IGNORE_WITHOUT_WARNING", "sourcePath" : "...", "timeout" : 12345, "useNetcat" : true }