Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > RightScale API 1.5 > Examples > Server Array > Show Server Array

Show Server Array

Table of Contents

Show the information on a single server array.

Table of Contents

Curl

Example Call

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

Sample Output

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>

 

You must to post a comment.
Last modified
23:18, 16 May 2013

Tags

This page has no custom tags.

Classifications

This page has no classifications.

Announcements

None


© 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.