Class Group
An autoscaling group is monitored by Rackspace Cloud Monitoring. 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\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
HttpResponse
|
|
public
HttpResponse
|
|
public
object|boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
Collection
|
|
public
|
createJson(),
resource(),
updateJson(),
url()
|
checkJsonError(),
getHttpRequestObject(),
getLogger(),
makeQueryString(),
populate(),
setLogger(),
setProperty()
|
public
mixed
|
$id |
|
|
public
mixed
|
$links |
|
|
public
mixed
|
$groupConfiguration |
|
|
public
mixed
|
$launchConfiguration |
|
|
public
mixed
|
$scalingPolicies |
|
|
public
mixed
|
$name |
|
|
public
mixed
|
$metadata |
|
|
public
mixed
|
$active |
|
|
public
mixed
|
$activeCapacity |
|
|
public
mixed
|
$pendingCapacity |
|
|
public
mixed
|
$desiredCapacity |
|
|
public
mixed
|
$paused |
|
|
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. |