public interface NodeApi
NodeAsyncApi
Modifier and Type | Method and Description |
---|---|
Set<Node> |
add(Iterable<NodeRequest> nodes)
Create a new node with the configuration defined by the request.
|
Node |
get(int id) |
PagedIterable<Node> |
list() |
IterableWithMarker<Node> |
list(PaginationOptions options) |
void |
remove(int id)
Remove a node from the account.
|
void |
remove(Iterable<Integer> ids)
Batch-remove nodes from the account.
|
void |
update(int id,
NodeAttributes attrs)
Update the properties of a node.
|
Set<Node> add(Iterable<NodeRequest> nodes)
nodes
- configurations to createHttpResponseException
- If the corresponding request cannot be fulfilled due to insufficient or invalid
datavoid update(int id, NodeAttributes attrs)
id
- node to getattrs
- what to changeLoadBalancerAttributes.fromLoadBalancer(T)
PagedIterable<Node> list()
IterableWithMarker<Node> list(PaginationOptions options)
Node get(int id)
id
- node to getvoid remove(int id)
id
- node to removevoid remove(Iterable<Integer> ids)
ids
- nodes to removeCopyright © 2009-2013 jclouds. All Rights Reserved.