public interface CloudSigmaClient
CloudSigmaAsyncClient
,
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 server)
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<? extends DriveInfo> |
listDriveInfo()
Get all drives info
|
Set<String> |
listDrives()
list of drive uuids in your account
|
Set<? extends 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<? extends StaticIPInfo> |
listStaticIPInfo()
Get all ips info
|
Set<String> |
listStaticIPs()
list of ip uuids in your account
|
Set<? extends VLANInfo> |
listVLANInfo()
Get all vlans info
|
Set<String> |
listVLANs()
list of vlan uuids in your account
|
VLANInfo |
renameVLAN(String uuid,
String newName)
set vlan configuration
|
void |
resetServer(String uuid)
Reset a server
|
DriveInfo |
setDriveData(String uuid,
DriveData driveData)
set extra drive data
|
ServerInfo |
setServerConfiguration(String uuid,
Server server)
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.
|
ProfileInfo getProfileInfo()
Set<String> listServers()
Set<? extends ServerInfo> listServerInfo()
ServerInfo getServerInfo(String uuid)
uuid
- what to getServerInfo createServer(Server server)
server
- ServerInfo setServerConfiguration(String uuid, Server server)
uuid
- what server to changeserverData
- what values to changevoid 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()
Set<? extends DriveInfo> listDriveInfo()
DriveInfo getDriveInfo(String uuid)
uuid
- what to getDriveInfo createDrive(Drive createDrive)
createDrive
- required parameters: name, sizeDriveInfo setDriveData(String uuid, DriveData driveData)
uuid
- what drive to changedriveData
- what values to changevoid destroyDrive(String uuid)
uuid
- what to deleteSet<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 sizeSet<String> listVLANs()
Set<? extends VLANInfo> listVLANInfo()
VLANInfo getVLANInfo(String uuid)
uuid
- what to getVLANInfo createVLAN(String name)
vlan
- VLANInfo renameVLAN(String uuid, String newName)
uuid
- what vlan to changenewName
- what the new name isvoid destroyVLAN(String uuid)
uuid
- what to destroySet<String> listStaticIPs()
Set<? extends StaticIPInfo> listStaticIPInfo()
StaticIPInfo getStaticIPInfo(String uuid)
uuid
- what to getStaticIPInfo createStaticIP()
void destroyStaticIP(String uuid)
uuid
- what to destroyCopyright © 2009-2012 jclouds. All Rights Reserved.