Create A New WLDF Script Action
/management/weblogic/{version}/edit/WLDFSystemResources/{name}/WLDFResource/watchNotification/scriptActions
Add a new WLDF script action to this collection.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain a populated WLDF script action model.
object-
enabled(optional):
boolean
Default Value:
trueSpecifies whether this action is enabled.
-
environment(optional):
object Properties
Title:
PropertiesAdditional Properties Allowed: additionalPropertiesA map of environment variables to set for the child process.
-
id(optional):
integer(int64)
Read Only:
trueReturn the unique id of this bean instance.
-
name(optional):
string
Read Only:
trueThe name of the WebLogic Diagnostic Framework (WLDF) bean.
-
parameters(optional):
array Items
Title:
ItemsAn array of ordered command-line arguments to the target script.
-
pathToScript(optional):
string
The full path to the script to execute.
Constraints
- legal null
-
timeout(optional):
integer(int32)
Minimum Value:
0Default Value:0The length of time, in seconds, that an action has to complete execution. By default, the timeout period is 0, which disables the action timeout.
-
workingDirectory(optional):
string
The working directory for the child process. If not set the working directory will be the same as the WebLogic Server parent process.
objectPropertiesA map of environment variables to set for the child process.
arrayItemsAn array of ordered command-line arguments to the target script.
-
Admin: basic
Type:
basicDescription:A user in the Admin security role. -
Deployer: basic
Type:
basicDescription:A user in the Deployer security role.