public interface LoadBalancerApi
LoadBalancerAsyncApi
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
create(LoadBalancerRequest lb)
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,
LoadBalancerAttributes attrs)
Update the properties of a load balancer.
|
boolean |
updateMetadatum(int id,
int metadatumId,
String value)
Update metadatum.
|
LoadBalancer create(LoadBalancerRequest lb)
get(int)
.void update(int id, LoadBalancerAttributes attrs)
PagedIterable<LoadBalancer> list()
IterableWithMarker<LoadBalancer> list(PaginationOptions options)
LoadBalancer get(int id)
void delete(int id)
Metadata createMetadata(int id, Map<String,String> metadata)
Metadata getMetadata(int id)
boolean updateMetadatum(int id, int metadatumId, String value)
boolean deleteMetadatum(int id, int metadatumId)
deleteMetadata(int, Iterable)
boolean deleteMetadata(int id, Iterable<Integer> metadataIds)
Copyright © 2009-2013 jclouds. All Rights Reserved.