public interface NodeClient
NodeAsyncClient,
| Modifier and Type | Method and Description |
|---|---|
Set<Node> |
createNodesInLoadBalancer(Set<NodeRequest> nodes,
int lbid)
Create a new node with the configuration defined by the request.
|
Node |
getNodeInLoadBalancer(int nid,
int lbid) |
Set<Node> |
listNodes(int lbid) |
void |
removeNodeFromLoadBalancer(int nid,
int lbid)
Remove a node from the account.
|
void |
removeNodesFromLoadBalancer(Set<Integer> nids,
int lbid)
Batch-remove nodes from the account.
|
void |
updateAttributesForNodeInLoadBalancer(NodeAttributes attrs,
int nid,
int lbid)
Update the properties of a node.
|
Set<Node> createNodesInLoadBalancer(Set<NodeRequest> nodes, int lbid)
nodes - configurations to createlbid - loadbalancer on which to create the nodesHttpResponseException - If the corresponding request cannot be fulfilled due to insufficient or invalid
datavoid updateAttributesForNodeInLoadBalancer(NodeAttributes attrs, int nid, int lbid)
attrs - what to changenid - node to getlbid - loadbalancer from which to get the nodeLoadBalancerAttributes.fromLoadBalancer(T)Set<Node> listNodes(int lbid)
lbid - id of the loadbalancer to get the nodes forNode getNodeInLoadBalancer(int nid, int lbid)
nid - node to getlbid - loadbalancer from which to get the nodevoid removeNodeFromLoadBalancer(int nid,
int lbid)
nid - node to removelbid - loadbalancer from which to remove the nodevoid removeNodesFromLoadBalancer(Set<Integer> nids, int lbid)
nids - nodes to removelbid - loadbalancer from which to remove the nodeCopyright © 2009-2012 jclouds. All Rights Reserved.