| Overview | Package | Class | Deprecated | Help |
| Properties | |
|---|---|
| script.AbstractScriptBinding-Set |
type=Children-Set |
| script.AbstractXmlApiScript-Set |
type=Children-Set |
| script.Bundle-Set |
type=Children-Set |
| script.ControlScript-Set |
type=Children-Set |
| script.HandlerBinding-Set |
type=Children-Set |
| script.InvokerBinding-Set |
type=Children-Set |
| script.Script-Set |
type=Children-Set |
| script.TemplateBinding-Set |
type=Children-Set |
| script.VelocityTemplate-Set |
type=Children-Set |
| Properties inherited from ManagedObject |
|---|
| actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed |
| Methods |
|---|
clientId
: string - The client ID of the client that requested the execution of the target script.
targetScriptResultObjectFullNameListToBeCanceled
: List (Pointer) - The list of target scripts to cancel.
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
objectFullNameList
: List (Pointer) - The full name list of all the targets that could be cancelled.
script.ScriptManager.cancelExecutionException
clientId
: string - The client ID of the client that requested the execution of the target script.
aInTargetScriptFdn
: string - The FDN of target scripts.
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
clientId
: string - Identifies the client ID that requested the execution (used for sending an event to the specific client when execution is complete).
targetScriptResultObjectFullNameToBeCanceled
: Pointer - The FDN of target script result object to cancel.
This result object is returned by method executeScriptFlow.
targetScriptConfig
: config(script.TargetScript) - The configuration info for the target script to cancel.
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
cancelRequestSubmitted
: boolean - Returns true if the request was succesfully submitted (it does not mean that the script execution was actually stopped).
Returns false if the cancel request could not be submitted (the script already finished execution or user has no
privileges to cancel this task).
script.ScriptManager.cancelScriptFlowException
deployer
: Deployer - the deployment state
synchronousDeploy
: boolean - (Optional) Specify whether to block until the changes have been fully deployed to the network. A value of "true" means to block. A value of "false" means to return immediately. Default: false (asynchronous)
clearOnDeployFailure
: boolean - (Optional) Specify whether to clear any failed deployers. A value of "true" means to clear. A value of "false" means to leave the failed deployer. Default: false
deployRetries
: int - (Optional) The number of times to attempt re-deployment during synchronous deployment. This parameter is meaningless in the asynchronous case. Default: 0
deployRetryInterval
: long - (Optional) The number of milliseconds to wait between deployment retries. This parameter is meaningless in the asynchronous case. Default: 0
taskDescription
: string - (Optional) A user friendly description of what the operation does. This information will be used by the task manager.
configInfo
: generic.CommonManagedContainmentEntityConfigurationInformation - The script configuration information.
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
objectFullName
: string - The newly created scripts full name.
script.ScriptManager.configureException
For example:
<script.ScriptManager.executeCLIScript xmlns="xmlapi_1.0">
<isSynchronized>true</isSynchronized>
<clientId>user@1</clientId>
<targetScriptFullNameList>
<pointer>script-manager:script-4:target-script-1</pointer>
</targetScriptFullNameList>
<resultFilter></resultFilter>
</script.ScriptManager.executeCLIScript>
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client ID that is requesting the execution (used for sending an event to the specific client when execution is complete).
targetScriptFullNameList
: List (Pointer) - Identifies the list of target scripts to execute.
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
infoList
: List (generic.CommonManagedEntityInformation) - The list of TargetScriptResultInfo objects identifying the status of the executed target scripts.
script.ScriptManager.executeCLIScriptException
For example:
<script.ScriptManager.executeCLITargetScripts xmlns="xmlapi_1.0">
<isSynchronized>true<<isSynchronized>
<clientId>user@1</clientId>
<listOfTargetScriptConfigInfo>
<script.TargetScript>
<actionMask>
<bit>create</bit>
</actionMask>
<objectFullName>script-manager:script-6:target-script-1</objectFullName>
<script.TargetParameter-Set>
<script.TargetParameter>
<actionMask>
<bit>create</bit>
</actionMask>
<value>1</value>
<objectFullName>script-manager:script-6:target-script-1:target-parameter-bitmask2</objectFullName>
<parameterName>bitmask2</parameterName>
</script.TargetParameter>
<script.TargetParameter>
<actionMask>
<bit>create</bit>
</actionMask>
<value>1</value>
<objectFullName>script-manager:script-6:target-script-1:target-parameter-bitmask1</objectFullName>
<parameterName>bitmask1</parameterName>
</script.TargetParameter>
</script.TargetParameter-Set>
</script.TargetScript>
</listOfTargetScriptConfigInfo>
</script.ScriptManager.executeCLITargetScripts>
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client ID that is requesting the execution (used for sending an event to the specific client when execution is complete).
listOfTargetScriptConfigInfo
: List (generic.CommonManagedContainmentEntityConfigurationInformation) - The configuration info for the targets when executing (runtime parameters).
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
infoList
: List (generic.CommonManagedEntityInformation) - The list of TargetScriptResultInfo objects identifying the status of the executed target scripts.
script.ScriptManager.executeCLITargetScriptsException
For example:
<script.ScriptManager.executeScript xmlns="xmlapi_1.0">
<isSynchronized>true</isSynchronized>
<clientId>user@1</clientId>
<targetScriptFullNameList>
<pointer>script-manager:xmlApiScript-6:target-script-1</pointer>
</targetScriptFullNameList>
</script.ScriptManager.executeScript>
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client ID that is requesting the execution (used for sending an event to the specific client when execution is complete).
targetScriptFullNameList
: List (Pointer) - Identifies the list of target scripts to execute.
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
infoList
: List (generic.CommonManagedEntityInformation) - The list of TargetScriptResultInfo objects identifying the status of the executed target scripts.
script.ScriptManager.executeScriptException
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client ID that is requesting the execution (used for sending an event to the specific client when execution is complete).
systemInvokationId
: long - Identifies the client request ID that is uniquely identifying this particular request within the client.
The client is responsible to generate a unique ID for each request.
This value will be set on the script execution events that are created as a result of executing this request.
scriptName
: Pointer - Identifies the script to execute (version is not needed as latest version is executed).
This is the fully distinguished name (FDN) of the script to be executed.
Alternatively the unique name of the script can be used (scriptName of AbstractScript).
targetScriptConfig
: config(script.TargetScript) - The configuration info for the target script when executing.
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
result
: script.ScriptFlowExecutionResult - The ScriptFlowExecutionResult object identifying the status and the result body of the executed script.
script.ScriptManager.executeScriptFlowException
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client Id that is requesting the execution (used for sending an event to the specific client when execution is complete).
scriptClassName
: string - Identifies the script class name to execute.
scriptName
: string - Identifies the script to execute (version is not needed as versions are not supported for system scripts).
listOfSystemScriptTargetConfigInfo
: List (generic.CommonManagedContainmentEntityConfigurationInformation) - The configuration info for the targets when executing.
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
infoList
: List (generic.CommonManagedEntityInformation) - The list of TargetScriptResultInfo objects identifying the status of the executed target scripts.
script.ScriptManager.executeSystemScriptsException
For example:
<script.ScriptManager.executeTargetScripts xmlns="xmlapi_1.0">
<isSynchronized>true</isSynchronized>
<clientId>user@1</clientId>
<listOfTargetScriptConfigInfo>
<script.TargetScript>
<actionMask>
<bit>create</bit>
</actionMask>
<objectFullName>script-manager:xmlApiScript-55:target-script-3</objectFullName>
<script.TargetParameter-Set>
<script.TargetParameter>
<actionMask>
<bit>create</bit>
</actionMask>
<value>slope.Policy</value>
<objectFullName>script-manager:xmlApiScript-55:target-script-3:target-parameter-classToFind</objectFullName>
<parameterName>classToFind</parameterName>
</script.TargetParameter>
</script.TargetParameter-Set>
</script.TargetScript>
</listOfTargetScriptConfigInfo>
<</script.ScriptManager.executeTargetScripts>
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client ID that is requesting the execution (used for sending an event to the specific client when execution is complete).
listOfTargetScriptConfigInfo
: List (generic.CommonManagedContainmentEntityConfigurationInformation) - The configuration info for the targets when executing (runtime parameters).
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
infoList
: List (generic.CommonManagedEntityInformation) - The list of TargetScriptResultInfo objects identifying the status of the executed target scripts.
script.ScriptManager.executeTargetScriptsException
isSynchronized
: boolean - Identifies if the call to execute the script should wait until all scripts have been executed. True to wait, false otherwise.
clientId
: string - Identifies the client ID that is requesting the execution (used for sending an event to the specific client when execution is complete).
targetScriptFullNameList
: List (Pointer) - Identifies the list of target scripts to execute.
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
infoList
: List (generic.CommonManagedEntityInformation) - The list of TargetScriptResultInfo objects identifying the status of the executed target scripts.
script.ScriptManager.executeTargetScriptsWithParametersException
targetScriptResultObjectFullName
: Pointer - The full name of the target script result object (from the TargetScriptResultInfo).
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
resultBody
: string - The result of the executed script (returned as a string).
script.ScriptManager.getBodyOfTargetScriptResultException
utilMethod
: string - Specific util method as an input for the execution of a script.
resultFilter
: ResultFilter - (Optional) Filter for narrowing down the information returned per object
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
responseObject
: List (generic.CommonManagedEntityInformation) - Return the response of the executed util method as an object.
script.ScriptManager.invokeUtilMethodException
scriptFullName
: Pointer - Identifies the script to preview (version is not needed as latest version is previewed).
parameters
: Map (string to config(script.TargetParameter)) - The configuration info for the targets when previewing.
continueOnFailure
: continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
previewText
: string - The preview result.
script.ScriptManager.previewScriptWithParametersException