ScriptExecutionRequest object

Example JSON representation

{
  "blocking": true, 
  "runAs": "string", 
  "server": {
    "id": "string"
  }, 
  "timeout": 1
}

Properties

property attributes valid values description filter option
server
ServerForeignKey object
required

Identifier of the Server

blocking
boolean
optional

If it is true Scalr Agent will wait for your Script to finish executing before firing and processing further events.

runAs
string
optional

A name of the system user the Script should be executed as. Administrator / root is used by default.

timeout
integer
optional

How many seconds should Scalr Agent wait before aborting the execution of this Script.

Endpoints using this object