Cloud Management API 1.5

ServerArray

A server array represents a logical group of instances and allows to resize(grow/shrink) that group based on certain elasticity parameters.

A server array just like a server always has a next_instance association, which will define the configuration to apply when a new instance is launched. But unlike a server which has a current_instance relationship, the server array has a current_instances relationship that gives the information about all the running instances in the array. Changes to the next_instance association prepares the configuration for the next instance that is to be launched in the array and will therefore not affect any of the currently running instances.

Content-Types

Content type
application/vnd.rightscale.server_array

Relationships

alert_specs
Associated AlertSpecs
alerts
Associated Alerts
current_instances
Associated current instances
deployment
Associated deployment
next_instance
Associated next instance
self
Href of itself

Actions

clone
Clones a new server array
launch
Launches a new instance in the array
monitor
Run the associated 'monitor' workflow, if one exists
multi_run_executable
Run a script or recipe on multiple instances in the array
multi_terminate
Terminate multiple instances in the array
scale_down
Scales the array down by 1 using the scaling logic
scale_up
Scales the array up by 1 using the scaling logic

Attributes

actions
 
array_type
 
current_instances
 
datacenter_policy
 
description
 
elasticity_params
 
instances_count
 
links
 
name
 
next_instance
 
optimized
 
state