Cloud Management API 1.5
ServerTemplate
ServerTemplates allow you to pre-configure servers by starting from a base image and adding scripts that run during the boot, operational, and shutdown phases. A ServerTemplate is a description of how a new instance will be configured when it is provisioned by your cloud provider. All revisions of a ServerTemplate belong to a ServerTemplate lineage that is exposed by the "lineage" attribute. (NOTE: This attribute is merely a string to locate all revisions of a ServerTemplate and NOT a working URL)
Content-Types
- Content type
- application/vnd.rightscale.server_template
Relationships
- alert_specs
- Associated AlertSpecs
- cookbook_attachments
- Attached Chef Cookbooks
- default_multi_cloud_image
- The default MultiCloud Image
- inputs
- List of configuration inputs
- multi_cloud_images
- Associated MultiCloud Images
- publication
- Associated privately shared Publication
- runnable_bindings
- Attached RightScripts and Chef Recipes
- self
- Href of itself
Actions
- clone
- Clones the ServerTemplate
- commit
- Commits the ServerTemplate
- detect_changes_in_head
- Identifies RightScripts attached to the resource that differ from their HEAD.
- publish
- Publishes the ServerTemplate using private sharing
- resolve
- Enumerates all attached cookbooks, missing dependencies and bound executables.
- swap_repository
- In-place replacement of attached cookbooks from a given repository.
Attributes
- actions
- description
- inputs
- lineage
- links
- name
- revision