|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeApi
Provides access to CloudLoadBalancers Node features.
| Method Summary | |
|---|---|
Set<Node> |
add(Iterable<AddNode> addNodes)
Add a new node with the configuration defined by the request. |
Metadata |
createMetadata(int id,
Map<String,String> metadata)
When a metadata item is added, it is assigned a unique identifier that can be used for mutating operations such as changing the value attribute or removing it. |
boolean |
deleteMetadata(int id,
Iterable<Integer> metadataIds)
Batch delete metadata given the specified ids. |
boolean |
deleteMetadatum(int id,
int metadatumId)
Delete metadatum. |
Node |
get(int id)
Get a node. |
Metadata |
getMetadata(int lb)
List a load balancer's metadata. |
org.jclouds.collect.PagedIterable<Node> |
list()
List the nodes. |
org.jclouds.collect.IterableWithMarker<Node> |
list(org.jclouds.openstack.v2_0.options.PaginationOptions options)
List the nodes with full control of pagination. |
void |
remove(int id)
Remove a node from the load balancer. |
void |
remove(Iterable<Integer> ids)
Batch remove nodes from the load balancer. |
void |
update(int id,
UpdateNode updateNode)
Update the attributes of a node. |
boolean |
updateMetadatum(int id,
int metadatumId,
String value)
Update metadatum. |
| Method Detail |
|---|
@Named(value="node:add") Set<Node> add(Iterable<AddNode> addNodes)
@Named(value="node:update")
void update(int id,
UpdateNode updateNode)
@Named(value="node:list") org.jclouds.collect.PagedIterable<Node> list()
@Named(value="node:list") org.jclouds.collect.IterableWithMarker<Node> list(org.jclouds.openstack.v2_0.options.PaginationOptions options)
@Named(value="node:get") Node get(int id)
@Named(value="node:remove") void remove(int id)
@Named(value="node:remove") void remove(Iterable<Integer> ids)
@Named(value="node:createmetadata")
Metadata createMetadata(int id,
Map<String,String> metadata)
@Named(value="node:getmetadata") Metadata getMetadata(int lb)
@Named(value="node:updatemetadatum")
boolean updateMetadatum(int id,
int metadatumId,
String value)
@Named(value="node:deletemetadatum")
boolean deleteMetadatum(int id,
int metadatumId)
deleteMetadata(int, Iterable)
@Named(value="node:deletemetadata")
boolean deleteMetadata(int id,
Iterable<Integer> metadataIds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||