Server
Servers represent the notion of a server/machine from the RightScale's perspective. A Server, does not always have a corresponding VM running or provisioned in a cloud. Some clouds use the word "servers" to refer to created VM's. These allocated VM's are not called Servers in the RightScale API, they are called Instances.
A Server always has a next_instance association, which will define the configuration to apply to a new instance when the server is launched or started (starting servers is not yet supported through this API). Once a Server is launched/started a current_instance relationship will exist. Accessing the current_instance of a server results in immediate runtime modification of this running server. Changes to the next_instance association prepares the configuration for the next instance launch/start (therefore they have no effect until such operation is performed).
Content-Types
- Content type
- application/vnd.rightscale.server
Relationships
- alert_specs
- Associated AlertSpecs
- alerts
- Associated Alerts
- current_instance
- Associated current instance
- deployment
- Associated deployment
- next_instance
- Associated next instance
- self
- Href of itself
Actions
- clone
- Clones this server
- launch
- Launches this server
- terminate
- Terminates the server
Attributes
- actions
- created_at
- current_instance
- description
- links
- name
- next_instance
- optimized
- state
- updated_at