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()
|
checkExtension(),
create(),
delete(),
getAlias(),
noCreate(),
noDelete(),
noUpdate(),
refresh(),
refreshFromLocationUrl(),
waitFor()
|
protected
|
$metadata |
|
|
protected static
string
|
$json_name | 'group' |
|
protected static
string
|
$url_resource | 'groups' |
|
protected static
string
|
$json_collection_name | 'groups' |
|
public
array
|
$createKeys | array(
'groupConfiguration',
'launchConfiguration',
'scalingPolicies'
) |
#
These are used to set the object used for JSON encode. |
public
array
|
$associatedResources | array(
'groupConfiguration' => 'GroupConfiguration',
'launchConfiguration' => 'LaunchConfiguration',
) |
#
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). |
public
array
|
$associatedCollections | array(
'scalingPolicies' => 'ScalingPolicy'
) |
#
Same as an associated resource, but it's instantiated as a Collection. |
$parent,
$service
|
$aliases
|