Interface ServerApi
@Consumes("text/xml")
@Produces("text/xml")
public interface ServerApi
-
Method Summary
Modifier and TypeMethodDescriptioncreateServer
(Server.Request.CreatePayload payload) Creates a Virtual Server within an existing data center.boolean
deleteServer
(String id) Deletes an existing Virtual Server.resetServer
(String id) Resets an existing virtual server (POWER CYCLE).startServer
(String id) Starts an existing virtual server Server may receive new public IP addresses if necessary Billing will continuestopServer
(String id) Stops an existing virtual server forcefully (HARD stop) Server will be forcefully powered off.updateServer
(Server.Request.UpdatePayload payload) Updates parameters of an existing virtual server device.
-
Method Details
-
getAllServers
- Returns:
- Returns information about all virtual server, such as configuration, provisioning status, power status, etc.
-
getServer
- Parameters:
identifier
- Identifier of the virtual server- Returns:
- Returns information about a virtual server, such as configuration, provisioning status, power status, etc.
-
startServer
Starts an existing virtual server- Server may receive new public IP addresses if necessary
- Billing will continue
- Parameters:
id
- Identifier of the target virtual server- Returns:
- Identifier of current request
-
stopServer
Stops an existing virtual server forcefully (HARD stop)- Server will be forcefully powered off. Any unsaved data may be lost!
- Billing for this server will be stopped
- When restarting the server a new public IP gets assigned, alternatively, you can reserve IP addresses, see reservation of public IP blocks
- Parameters:
id
- Identifier of the target virtual server- Returns:
- Identifier of current request
-
resetServer
Resets an existing virtual server (POWER CYCLE).- Server will be forcefully powered off and restarted immediately. Any unsaved data may be lost!
- Billing will continue
- Parameters:
id
- Identifier of the target virtual server- Returns:
- Identifier of current request
-
createServer
Creates a Virtual Server within an existing data center. Parameters can be specified to set up a boot device and connect the server to an existing LAN or the Internet.- Parameters:
payload
- Payload- Returns:
- serverId of the created server
-
updateServer
Updates parameters of an existing virtual server device.- Parameters:
payload
- Payload- Returns:
- Identifier of current request
-
deleteServer
Deletes an existing Virtual Server.- Parameters:
id
- Identifier of the target virtual server- Returns:
- Identifier of current request
-