SoftLayer_Scale_Policy


SoftLayer_Scale_Policy

Description

A scale policy is a combination of triggers and actions that can occur on a scale group. When any trigger is satisfied (or the policy is manually triggered) the actions will be executed.

Methods

createObject

Add a policy to a group.

deleteObject

Delete this policy from the group.

editObject

Edit this policy's name.

getActions

Retrieve the actions to perform upon any trigger hit. Currently this must be a single value.

getObject

Retrieve a SoftLayer_Scale_Policy record.

getOneTimeTriggers

Retrieve the one-time triggers to check for this group.

getRepeatingTriggers

Retrieve the repeating triggers to check for this group.

getResourceUseTriggers

Retrieve the resource-use triggers to check for this group.

getScaleActions

Retrieve the scale actions to perform upon any trigger hit. Currently this must be a single value.

getScaleGroup

Retrieve the group this policy is on.

getTriggers

Retrieve the triggers to check for this group.

trigger

Manually trigger the actions on this policy.