Package org.openstack4j.api.octavia
Interface LoadBalancerV2Service
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
LoadBalancerV2ServiceImpl
public interface LoadBalancerV2Service extends RestService
Octavia V2 loadbalancer Extention API- Author:
- wei
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionResponsecascadeDelete(String loadbalancerId)Cascade delete the specified loadbalancer by IDLoadBalancerV2create(LoadBalancerV2 loadbalancer)Create a loadbalancerActionResponsedelete(String loadbalancerId)Delete the specified loadbalancer by IDLoadBalancerV2get(String loadbalancerId)Get the specified loadbalancer by IDList<? extends LoadBalancerV2>list()List all loadbalancers that the current tenant has access toList<? extends LoadBalancerV2>list(Map<String,String> filteringParams)Returns list of loadbalancers filtered by parameters.LoadBalancerV2Statsstats(String loadbalancerId)Retrieve statistics on a loadbalancerLoadBalancerV2StatusTreestatusTree(String loadbalancerId)Retrieve the status tree of a loadbalancerLoadBalancerV2update(String loadbalancerId, LoadBalancerV2Update loadbalancer)Update a loadbalancer
-
-
-
Method Detail
-
list
List<? extends LoadBalancerV2> list()
List all loadbalancers that the current tenant has access to- Returns:
- list of all loadbalancers
-
list
List<? extends LoadBalancerV2> list(Map<String,String> filteringParams)
Returns list of loadbalancers filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- list of loadbalancer fitered by filteringParams
-
get
LoadBalancerV2 get(String loadbalancerId)
Get the specified loadbalancer by ID- Parameters:
loadbalancerId- the loadbalancer identifier- Returns:
- the loadbalancer or null if not found
-
delete
ActionResponse delete(String loadbalancerId)
Delete the specified loadbalancer by ID- Parameters:
loadbalancerId- the loadbalancer identifier- Returns:
- the action response
-
cascadeDelete
ActionResponse cascadeDelete(String loadbalancerId)
Cascade delete the specified loadbalancer by ID- Parameters:
loadbalancerId- the loadbalancer identifier- Returns:
- the action response
-
create
LoadBalancerV2 create(LoadBalancerV2 loadbalancer)
Create a loadbalancer- Returns:
- loadbalancer
-
update
LoadBalancerV2 update(String loadbalancerId, LoadBalancerV2Update loadbalancer)
Update a loadbalancer- Parameters:
loadbalancerId- the loadbalancer identifierloadbalancer- LoadBalancerV2Update- Returns:
- loadbalancer
-
stats
LoadBalancerV2Stats stats(String loadbalancerId)
Retrieve statistics on a loadbalancer- Returns:
- LoadBalancerV2Stats
-
statusTree
LoadBalancerV2StatusTree statusTree(String loadbalancerId)
Retrieve the status tree of a loadbalancer- Returns:
- status
-
-