Scale
SoftLayer_Scale_Policy

Overview

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

Add a policy to a group.

Delete this policy from the group.

Edit this policy's name.

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

Retrieve a SoftLayer_Scale_Policy record.

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

Retrieve the repeating triggers to check for this group.

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

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

Retrieve the group this policy is on.

Retrieve the triggers to check for this group.

Manually trigger the actions on this policy. Returns members if the trigger has an effect, or an empty set of members if there is no effect. Sometimes this may not have an effect if the group is not active, in cooldown, or the result would violate the group range. If this call fails, the group is suspended, the failure logged, and a ticket is created.