public interface LoadBalancerApi
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
create(CreateLoadBalancer createLB)
Create a new load balancer 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.
|
void |
delete(int id)
Delete a load balancer.
|
boolean |
deleteMetadata(int id,
Iterable<Integer> metadataIds)
Batch delete metadata given the specified ids.
|
boolean |
deleteMetadatum(int id,
int metadatumId)
Delete metadatum.
|
LoadBalancer |
get(int id)
Get a load balancer.
|
Metadata |
getMetadata(int id)
List a load balancer's metadata.
|
PagedIterable<LoadBalancer> |
list()
List the load balancers.
|
IterableWithMarker<LoadBalancer> |
list(PaginationOptions options)
List the load balancers with full control of pagination.
|
void |
update(int id,
UpdateLoadBalancer updateLB)
Update the properties of a load balancer.
|
boolean |
updateMetadatum(int id,
int metadatumId,
String value)
Update metadatum.
|
@Named(value="lb:create") LoadBalancer create(CreateLoadBalancer createLB)
get(int)
.@Named(value="lb:update") void update(int id, UpdateLoadBalancer updateLB)
@Named(value="lb:list") PagedIterable<LoadBalancer> list()
@Named(value="lb:list") IterableWithMarker<LoadBalancer> list(PaginationOptions options)
@Named(value="lb:get") LoadBalancer get(int id)
@Named(value="lb:delete") void delete(int id)
@Named(value="lb:createmetadata") Metadata createMetadata(int id, Map<String,String> metadata)
@Named(value="lb:getmetadata") Metadata getMetadata(int id)
@Named(value="lb:updatemetadatum") boolean updateMetadatum(int id, int metadatumId, String value)
@Named(value="lb:deletemetadatum") boolean deleteMetadatum(int id, int metadatumId)
deleteMetadata(int, Iterable)
@Named(value="lb:deletemetadata") boolean deleteMetadata(int id, Iterable<Integer> metadataIds)
Copyright © 2009-2013 jclouds. All Rights Reserved.