Show the information on a single server array.
Table of Contents
Prerequisite: Example assumes you have previously authenticated, and your valid session cookie is in 'mycookie'.
#!/bin/sh -e SERVER_ARRAY="214837001" curl -i -H X_API_VERSION:1.5 -b mycookie -X GET https://my.rightscale.com/api/server_arrays/$SERVER_ARRAY.xml
Note: Truncated XML output without headers included (to save space).
<server_array> <links> <link rel="self" href="/api/server_arrays/214837001"/> <link rel="deployment" href="/api/deployments/322064001"/> <link rel="current_instances" href="/api/server_arrays/214837001/current_instances"/> <link rel="next_instance" href="/api/clouds/2327/instances/SK5VB5HAHM3H"/> <link rel="alert_specs" href="/api/server_arrays/214837001/alert_specs"/> </links> <instances_count>0</instances_count> <actions> <action rel="launch"/> <action rel="clone"/> </actions> <description></description> <name>HP Demo PHP App</name> <elasticity_params> <pacing> <resize_calm_time>12</resize_calm_time> <resize_up_by>3</resize_up_by> <resize_down_by>1</resize_down_by> </pacing> <schedule_entries></schedule_entries> <alert_specific_params> <voters_tag_predicate>HP Demo PHP App</voters_tag_predicate> <decision_threshold>51</decision_threshold> </alert_specific_params> <bounds> <max_count>10</max_count> <min_count>2</min_count> </bounds> </elasticity_params> <array_type>alert</array_type> <state>disabled</state> </server_array>
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.