public interface ScriptOnResourceApiOp extends APIOperation
The contract here at the API level is intentionally very loose. Each connector decides what script languages it supports, what running a script on a target resource actually means, and what script options (if any) that connector supports. Refer to the javadoc of each particular connector for more information.
Object runScriptOnResource(ScriptContext request, OperationOptions options)
request- The script and arguments to run.
options- Additional options which control how the script is run. Please refer to the connector documentation for supported options.
ObjectSerializerFactoryfor a list of supported return types.
Copyright © 2018. All rights reserved.