public interface CloudSigmaApi extends Closeable
Modifier and Type | Method and Description |
---|---|
DriveInfo |
cloneDrive(String sourceUuid,
String newName,
CloneDriveOptions... options)
Clone an existing drive.
|
DriveInfo |
createDrive(Drive createDrive)
create a new drive
|
ServerInfo |
createServer(Server createServer)
create a new server
|
StaticIPInfo |
createStaticIP()
create a new ip
|
VLANInfo |
createVLAN(String name)
create a new vlan
|
void |
destroyDrive(String uuid)
Destroy a drive
|
void |
destroyServer(String uuid)
Destroy a server
|
void |
destroyStaticIP(String uuid)
Destroy a ip
|
void |
destroyVLAN(String uuid)
Destroy a vlan
|
DriveInfo |
getDriveInfo(String uuid) |
ProfileInfo |
getProfileInfo()
Get profile info
|
ServerInfo |
getServerInfo(String uuid) |
StaticIPInfo |
getStaticIPInfo(String uuid) |
VLANInfo |
getVLANInfo(String uuid) |
Set<DriveInfo> |
listDriveInfo()
Get all drives info
|
Set<String> |
listDrives()
list of drive uuids in your account
|
Set<ServerInfo> |
listServerInfo()
Get all servers info
|
Set<String> |
listServers()
list of server uuids in your account
|
Set<String> |
listStandardCds()
list of cd uuids that are in the library
|
Set<String> |
listStandardDrives()
list of drive uuids that are in the library
|
Set<String> |
listStandardImages()
list of image uuids that are in the library
|
Set<StaticIPInfo> |
listStaticIPInfo()
Get all ips info
|
Set<String> |
listStaticIPs()
list of ip uuids in your account
|
Set<VLANInfo> |
listVLANInfo()
Get all vlans info
|
Set<String> |
listVLANs()
list of vlan uuids in your account
|
VLANInfo |
renameVLAN(String uuid,
String name)
set vlan configuration
|
void |
resetServer(String uuid)
Reset a server
|
DriveInfo |
setDriveData(String uuid,
DriveData createDrive)
set extra drive data
|
ServerInfo |
setServerConfiguration(String uuid,
Server setServer)
set server configuration
|
void |
shutdownServer(String uuid)
Shutdown a server
Sends the server an ACPI power-down event.
|
void |
startServer(String uuid)
Start a server
|
void |
stopServer(String uuid)
Stop a server
Kills the server immediately, equivalent to a power failure.
|
Set<String> listStandardDrives()
Set<String> listStandardCds()
Set<String> listStandardImages()
DriveInfo cloneDrive(String sourceUuid, String newName, CloneDriveOptions... options)
sourceUuid
- source to clonenewName
- name of the resulting driveoptions
- options to control sizeProfileInfo getProfileInfo()
Set<DriveInfo> listDriveInfo()
DriveInfo getDriveInfo(String uuid)
uuid
- what to getDriveInfo createDrive(Drive createDrive)
createDrive
- required parameters: name, sizeDriveInfo setDriveData(String uuid, DriveData createDrive)
uuid
- what drive to changecreateDrive
- what values to changeServerInfo createServer(Server createServer)
createServer
- Set<ServerInfo> listServerInfo()
ServerInfo getServerInfo(String uuid)
uuid
- what to getServerInfo setServerConfiguration(String uuid, Server setServer)
uuid
- what server to changesetServer
- what values to changeSet<String> listServers()
void destroyServer(String uuid)
uuid
- what to destroyvoid startServer(String uuid)
uuid
- what to startvoid stopServer(String uuid)
uuid
- what to stopvoid shutdownServer(String uuid)
uuid
- what to shutdownvoid resetServer(String uuid)
uuid
- what to resetSet<String> listDrives()
void destroyDrive(String uuid)
uuid
- what to deleteVLANInfo createVLAN(String name)
name
- Set<VLANInfo> listVLANInfo()
VLANInfo getVLANInfo(String uuid)
uuid
- what to getVLANInfo renameVLAN(String uuid, String name)
uuid
- what vlan to changename
- what the new name isSet<String> listVLANs()
void destroyVLAN(String uuid)
uuid
- what to destroyStaticIPInfo createStaticIP()
Set<StaticIPInfo> listStaticIPInfo()
StaticIPInfo getStaticIPInfo(String uuid)
uuid
- what to getSet<String> listStaticIPs()
void destroyStaticIP(String uuid)
uuid
- what to destroyCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.