public class RuntimeManagement extends Object implements IRuntimeManagement
| Constructor and Description |
|---|
RuntimeManagement() |
| Modifier and Type | Method and Description |
|---|---|
String |
startApplication(String appRef,
Map<String,String> inputParameters)
Starts a new application.
|
String |
startVM(String flavourRef,
String vmImageRef,
Map<String,String> inputParameters)
Starts a new virtual machine using a Flavour.
|
boolean |
stopApplication(String appInstanceRef,
Map<String,String> inputParameters)
Stops a running application.
|
boolean |
stopVM(String vmRef,
Map<String,String> inputParameters)
Stops a running virtual machine.
|
public String startVM(String flavourRef, String vmImageRef, Map<String,String> inputParameters)
IRuntimeManagementstartVM in interface IRuntimeManagementflavourRef - UUID of the CACTOS Flavour to boot.vmImageRef - UUID of the CACTOS VMImage to boot.inputParameters - Input parameters, e.g. tenant id.null if not successful.public String startApplication(String appRef, Map<String,String> inputParameters)
IRuntimeManagementstartApplication in interface IRuntimeManagementappRef - UUID of the application.inputParameters - Input parameters, e.g. tenant id.null if not successful.public boolean stopVM(String vmRef, Map<String,String> inputParameters)
IRuntimeManagementstopVM in interface IRuntimeManagementvmRef - UUID of the CACTOS Virtual Machine to remove.inputParameters - Input parameters, e.g. tenant id.true if successful, false otherwise.public boolean stopApplication(String appInstanceRef, Map<String,String> inputParameters)
IRuntimeManagementstopApplication in interface IRuntimeManagementappInstanceRef - UUID of the application instance.inputParameters - Input parameters, e.g. tenant id.true if successful, false otherwise.