Module: softlayer
Module: softlayer
| Method | Parameters | HTTPÂ Method | Description | URLÂ Examples |
|---|---|---|---|---|
|
functionalMachines |
JSONObject json, String imageDiskId, String domain |
GET/ POST |
Provides the information(JSON format) for the available machine |
http://localhost:8080/AppvanceServer/rest/softlayer/functionalMachines?ID=id&UserName=unameAPIKey=key&DataCenterName=data&MaxMemory=maxMemory&MaxNetworkSpeed=Maxspeed&StartCpus=2&Domain=domain&imageDiskId=discId |
|
getAllDataCenters |
String username,String apiKey |
GET/ POST |
Gets all the data-centers available in Softlayer. |
http://localhost:8080/AppvanceServer/rest/softlayer/getAllDataCenters?username=appvance&apiKey=keyvalue |
|
isSoftlayerAvailable |
GET/ POST |
Checks monitor preferences |
http://localhost:8080/AppvanceServer/rest/softlayer/isSoftlayerAvailable |
|
|
rebootMachine |
JSONObject json, String machineId |
GET/ POST |
Reboots a specified machine. |
http://localhost:8080/AppvanceServer/rest/softlayer/rebootMachine?ID=id&UserName=unameAPIKey=key&DataCenterName=data&MaxMemory=maxMemory&MaxNetworkSpeed=Maxspeed&StartCpus=2&Domain=domain&machineId=78958 |
|
startMachine |
JSONObject json |
GET/ POST |
Start a new machine with the information provided by configuration file or JSON |
http://localhost:8080/AppvanceServer/rest/softlayer/startMachine?APIKey=key1234&DataCenterName=data&Domain=domain&ID=id&MaxMemory=maxMemory&MaxNetworkSpeed=Maxspeed&StartCpus=2&UserName=uname |
|
terminateMachine |
JSONObject json, String machineId |
GET/ POST |
Requests a Softlayer machine deletion process |
http://localhost:8080/AppvanceServer/rest/softlayer/terminateMachine?ID=id&UserName=unameAPIKey=key&DataCenterName=data&MaxMemory=maxMemory&MaxNetworkSpeed=Maxspeed&StartCpus=2&Domain=domain&machineId=78958 |
|
testConfiguration |
JSONObject json |
GET/ POST |
Checks monitor preferences |
http://localhost:8080/AppvanceServer/rest/softlayer/testConfiguration?APIKey=key&DataCenterName=data&Domain=domain&ID=id&MaxMemory=maxMemory&MaxNetworkSpeed=Maxspeed&StartCpus=2&UserName=uname |