Class Group
An autoscaling group is monitored by Rackspace CloudMonitoring. When Monitoring triggers an alarm for high utilization within the autoscaling group, a webhook is triggered. The webhook stimulates the autoscale service which consults a policy in accordance with the webhook. The policy determines how many additional cloud servers should be added or removed in accordance with the alarm.
There are three components to Autoscale:
- The Scaling Group Configuration ($this->groupConfiguration)
- The Scaling Group's Launch Configuration ($this->launchConfiguration)
- The Scaling Group's Policies ($this->scalingPolicies)
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\Common\PersistentObject
-
OpenCloud\Autoscale\Resource\AbstractResource
-
OpenCloud\Autoscale\Resource\Group
Link: https://github.com/rackerlabs/otter/blob/master/doc/getting_started.rst
Link: http://docs.autoscale.apiary.io/
Located at OpenCloud/Autoscale/Resource/Group.php
public
Guzzle\Http\Message\Response
|
|
public
object|boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
Collection
|
#
getScalingPolicies( mixed $override = false )
Get the scaling policies associated with this autoscale group. |
public
|
#
getScalingPolicy( object|integer $id = null )
Get a particular scaling policy for this autoscale group. |
public
|
createJson(),
primaryKeyField(),
updateJson()
|
PATCH_CONTENT_TYPE
|
protected
|
$metadata
|
|
protected static
string
|
$json_name
|
# 'group' |
protected static
string
|
$url_resource
|
# 'groups' |
protected static
string
|
$json_collection_name
|
# 'groups' |
public
array
|
$createKeys
These are used to set the object used for JSON encode. |
# array(
'groupConfiguration',
'launchConfiguration',
'scalingPolicies'
) |
public
array
|
$associatedResources
These resources are associated with this one. When this resource object is populated, if a key is found matching one of these array keys, it is set as an instantiated resource object (rather than an arbitrary string or stdClass object). |
# array(
'groupConfiguration' => 'GroupConfiguration',
'launchConfiguration' => 'LaunchConfiguration',
) |
public
array
|
$associatedCollections
Same as an associated resource, but it's instantiated as a Collection. |
# array(
'scalingPolicies' => 'ScalingPolicy'
) |
$parent,
$service
|
$aliases
|