public interface DropletApi extends Closeable
DropletApi
Modifier and Type | Interface and Description |
---|---|
static class |
DropletApi.ParseBackups |
static class |
DropletApi.ParseDropletActions |
static class |
DropletApi.ParseDroplets |
static class |
DropletApi.ParseKernels |
static class |
DropletApi.ParseSnapshots |
Modifier and Type | Method and Description |
---|---|
DropletCreate |
create(String name,
String region,
String size,
String image) |
DropletCreate |
create(String name,
String region,
String size,
String image,
CreateDropletOptions options) |
void |
delete(int id) |
Droplet |
get(int id) |
PagedIterable<Droplet> |
list() |
IterableWithMarker<Droplet> |
list(ListOptions options) |
PagedIterable<Action> |
listActions(int id) |
IterableWithMarker<Action> |
listActions(int id,
ListOptions options) |
PagedIterable<Backup> |
listBackups(int id) |
IterableWithMarker<Backup> |
listBackups(int id,
ListOptions options) |
PagedIterable<Kernel> |
listKernels(int id) |
IterableWithMarker<Kernel> |
listKernels(int id,
ListOptions options) |
PagedIterable<Snapshot> |
listSnapshots(int id) |
IterableWithMarker<Snapshot> |
listSnapshots(int id,
ListOptions options) |
Action |
powerCycle(int id) |
Action |
powerOff(int id) |
Action |
powerOn(int id) |
Action |
reboot(int id) |
Action |
shutdown(int id) |
Action |
snapshot(int id,
String name) |
@Named(value="droplet:list") PagedIterable<Droplet> list()
@Named(value="droplet:list") IterableWithMarker<Droplet> list(ListOptions options)
@Named(value="droplet:listkernels") PagedIterable<Kernel> listKernels(int id)
@Named(value="droplet:listkernels") IterableWithMarker<Kernel> listKernels(int id, ListOptions options)
@Named(value="droplet:listsnapshots") PagedIterable<Snapshot> listSnapshots(int id)
@Named(value="droplet:listsnapshots") IterableWithMarker<Snapshot> listSnapshots(int id, ListOptions options)
@Named(value="droplet:listbackups") PagedIterable<Backup> listBackups(int id)
@Named(value="droplet:listbackups") IterableWithMarker<Backup> listBackups(int id, ListOptions options)
@Named(value="droplet:actions") PagedIterable<Action> listActions(int id)
@Named(value="droplet:actions") IterableWithMarker<Action> listActions(int id, ListOptions options)
@Named(value="droplet:create") DropletCreate create(String name, String region, String size, String image)
@Named(value="droplet:create") DropletCreate create(String name, String region, String size, String image, CreateDropletOptions options)
@Named(value="droplet:delete") void delete(int id)
@Named(value="droplet:reboot") Action reboot(int id)
@Named(value="droplet:powercycle") Action powerCycle(int id)
@Named(value="droplet:shutdown") Action shutdown(int id)
@Named(value="droplet:poweroff") Action powerOff(int id)
@Named(value="droplet:poweron") Action powerOn(int id)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.