Create A New WLDF Script Action
/management/weblogic/{version}/edit/resourceGroupTemplates/{name}/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:
true
Specifies whether this action is enabled.
-
environment(optional):
object Properties
Title:
Properties
Additional Properties Allowed: additionalPropertiesA map of environment variables to set for the child process.
-
id(optional):
integer(int64)
Read Only:
true
Return the unique id of this bean instance.
-
name(optional):
string
Read Only:
true
The name of the WebLogic Diagnostic Framework (WLDF) bean.
-
parameters(optional):
array Items
Title:
Items
An 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:
0
Default Value:0
The 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.
object
Properties
A map of environment variables to set for the child process.
array
Items
An array of ordered command-line arguments to the target script.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Deployer: basic
Type:
basic
Description:A user in the Deployer security role.