Invocation
Import
Eflo Invocation can be imported using the id, e.g.
$ pulumi import alicloud:eflo/invocation:Invocation example <id>
Properties
The command content. You need to pay attention:
The encoding of the script content. Value range:
The command description.
Whether custom parameters are included in the command. Default value: false.
A list of nodes.
When the command contains custom parameters, the key-value pair of the custom parameters passed in when the command is executed. For example, if the command content is 'echo {{name}}', the key-value pair'{"name":"Jack"}'can be passed through the 'Parameter' parameter'. The custom parameter will automatically replace the variable value 'name' to get a new command that actually executes 'echo Jack '. The number of custom parameters ranges from 0 to 10, and you need to pay attention:
Sets the way the command is executed. Value range:
The mode when the task is stopped (manually stopped or execution time-out interrupted). Possible values: Process: Stops the current script Process. ProcessTree: Stops the current process tree (the script process and the collection of all child processes it created)
You can customize the command execution path. The default path is as follows: Linux instance: the execution path is in the/home directory of the root user by default.