|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeClient
Provides synchronous access to CloudLoadBalancers Node features.
NodeAsyncClient,
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Set<Node> createNodesInLoadBalancer(Set<NodeRequest> nodes,
int lbid)
nodes - configurations to createlbid - loadbalancer on which to create the nodes
HttpResponseException - If the corresponding request cannot be fulfilled due to insufficient or invalid
data
void 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 for
Node getNodeInLoadBalancer(int nid,
int lbid)
nid - node to getlbid - loadbalancer from which to get the node
void removeNodeFromLoadBalancer(int nid,
int lbid)
nid - node to removelbid - loadbalancer from which to remove the node
void removeNodesFromLoadBalancer(Set<Integer> nids,
int lbid)
nids - nodes to removelbid - loadbalancer from which to remove the node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||