OrchestrationRuleTemplateContent object

Example JSON representation

{
  "action": {
    "actionType": "Action"
  }, 
  "blocking": true, 
  "enabled": true, 
  "order": 1, 
  "runAs": "string", 
  "target": {
    "targetType": "Target"
  }, 
  "timeout": 1, 
  "trigger": {
    "triggerType": "Trigger"
  }
}

Properties

property attributes valid values description filter option
action
Action object
optional

Orchestration Rule action that will be executed on the target servers.

blocking
boolean
optional

Whether this Orchestration Rule's execution should delay the execution of further Orchestration Rules and the triggering of further Events. Defaults to the action's default when null.

enabled
boolean
optional

If Orchestration Rule is not enabled this Rule won't be triggered

order
integer
optional

The priority of this Orchestration Rule relative to other Orchestration Rules that use the same triggeringEvent. Default is relative to existing Rules.

runAs
string
optional

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

target
Target object
optional

The set of Servers where the Orchestration Rules Action will be executed.

timeout
integer
optional

The time Scalr should wait for before aborting the execution of this Orchestration Rule, in seconds. Defaults to the action's default when null.

trigger
Trigger object
optional

Orchestration Rule trigger.