public class AnkaAPI extends Object
Constructor and Description |
---|
AnkaAPI(List<String> mgmtURLS,
boolean skipTLSVerification,
String rootCA) |
AnkaAPI(List<String> mgmtURLS,
boolean skipTLSVerification,
String client,
String key,
AuthType authType,
String rootCA) |
AnkaAPI(String mgmtUrl,
boolean skipTLSVerification,
String rootCA) |
AnkaAPI(String mgmtUrl,
boolean skipTLSVerification,
String client,
String key,
AuthType authType,
String rootCA) |
Modifier and Type | Method and Description |
---|---|
List<org.json.JSONObject> |
getImageRequests() |
List<NodeGroup> |
getNodeGroups() |
String |
getSaveImageStatus(String reqId) |
AnkaCloudStatus |
getStatus() |
List<AnkaVmTemplate> |
listTemplates() |
List<String> |
listTemplateTags(String masterVmId) |
AnkaMgmtVm |
makeAnkaVm(String templateId,
String tag,
String nameTemplate,
int sshPort,
String startUpScript,
String groupId,
int priority) |
void |
revertLatestTag(String templateID) |
public AnkaAPI(List<String> mgmtURLS, boolean skipTLSVerification, String client, String key, AuthType authType, String rootCA)
public AnkaMgmtVm makeAnkaVm(String templateId, String tag, String nameTemplate, int sshPort, String startUpScript, String groupId, int priority) throws AnkaMgmtException
AnkaMgmtException
public List<AnkaVmTemplate> listTemplates() throws AnkaMgmtException
AnkaMgmtException
public List<String> listTemplateTags(String masterVmId) throws AnkaMgmtException
AnkaMgmtException
public List<NodeGroup> getNodeGroups() throws AnkaMgmtException
AnkaMgmtException
public void revertLatestTag(String templateID) throws AnkaMgmtException
AnkaMgmtException
public List<org.json.JSONObject> getImageRequests() throws AnkaMgmtException
AnkaMgmtException
public String getSaveImageStatus(String reqId) throws AnkaMgmtException
AnkaMgmtException
public AnkaCloudStatus getStatus() throws AnkaMgmtException
AnkaMgmtException
Copyright © 2016–2019. All rights reserved.