|
|
FarmGetDetailsFrom $1Table of contentsDescriptionThis API call allows you to get information about your farm structure Changelog
Request Parameters
Response Elements
Sample Requesthttps://api.scalr.net/?Action=FarmGetDetails &Version=2.0.0 &FarmID=123 &KeyID=<Your Scalr API Key ID> &TimeStamp=2009-06-19T05%3A13%3A00.000Z &Signature=<URLEncode(Base64Encode(Signature))>
Sample Response<?xml version="1.0"?> <FarmGetDetailsResponse><TransactionID>f16447d8-36cd-4d6d-a664-65fe91073a12</TransactionID><FarmRoleSet><Item><ID>21366</ID><RoleID>26672</RoleID><Name>redis-test2-20110819-01</Name><Platform>ec2</Platform><Category>Base images</Category><ScalingProperties><MinInstances>1</MinInstances><MaxInstances>1</MaxInstances></ScalingProperties><PlatformProperties><InstanceType>m1.small</InstanceType><AvailabilityZone>us-east-1a</AvailabilityZone></PlatformProperties><ServerSet><Item><ServerID>a9cde1d9-d334-4a86-98c8-0f52ccb1743f</ServerID><ExternalIP>50.17.86.36</ExternalIP><InternalIP>10.91.34.152</InternalIP><Status>Running</Status><ScalarizrVersion>0.7.78</ScalarizrVersion><Uptime>192.47</Uptime><IsDbMaster>0</IsDbMaster><PlatformProperties><InstanceType>m1.small</InstanceType><AvailabilityZone>us-east-1a</AvailabilityZone><AMIID>ami-d78646be</AMIID><InstanceID>i-6b794e0a</InstanceID></PlatformProperties></Item></ServerSet><CloudLocation>us-east-1</CloudLocation></Item></FarmRoleSet></FarmGetDetailsResponse>
Tags: (Edit tags)
|
||||||||||||||||||||||||||||||||||||||||||||||
Powered by MindTouch Core |
<FarmRoleSet>
<Role name="role name" id="####" roleID="###">
<ServerSet>
<Instance serverID="###">
</Instance>
<Instance serverID="###">
</Instance>
</ServerSet>
</Role>
<Role name="role name" id="####" roleID="###">
<ServerSet>
<Instance serverID="###">
</Instance>
<Instance serverID="###">
</Instance>
</ServerSet>
</Role>
</FarmRoleSet>
Something like that. Basically changing "Item" to something more specific and putting in the key data as attributes instead of elements. Even just changing away from multiple Item elements would be very helpful.