@Beta
@Path(value="/lb")
@Consumes(value="application/json")
public interface LBaaSApi
| Modifier and Type | Method and Description |
|---|---|
HealthMonitor |
associateHealthMonitor(String poolId,
String healthMonitorId)
Associate a HealthMonitor to a Pool.
|
HealthMonitor |
createHealthMonitor(HealthMonitor.CreateHealthMonitor healthMonitor)
Creates a new HealthMonitor.
|
Member |
createMember(Member.CreateMember member)
Creates a new Member.
|
Pool |
createPool(Pool.CreatePool pool)
Creates a new Pool.
|
VIP |
createVIP(VIP.CreateVIP vip)
Creates a new VIP.
|
boolean |
deleteHealthMonitor(String id)
Deletes the specified Health Monitor.
|
boolean |
deleteMember(String id)
Deletes the specified Member.
|
boolean |
deletePool(String id)
Deletes the specified Pool.
|
boolean |
deleteVIP(String id)
Deletes the specified VIP.
|
boolean |
disassociateHealthMonitor(String poolId,
String healthMonitorId)
Disassociate a HealthMonitor from a Pool.
|
HealthMonitor |
getHealthMonitor(String id)
Returns the details for a specific HealthMonitor.
|
Member |
getMember(String id)
Returns the details for a specific Member.
|
Pool |
getPool(String id)
Returns the details for a specific Pool.
|
VIP |
getVIP(String id)
Returns the details for a specific VIP.
|
PagedIterable<HealthMonitor> |
listHealthMonitors()
Returns a list of HealthMonitors to which the tenant has access.
|
HealthMonitors |
listHealthMonitors(PaginationOptions options) |
PagedIterable<Member> |
listMembers()
Returns a list of Members to which the tenant has access.
|
Members |
listMembers(PaginationOptions options) |
PagedIterable<Pool> |
listPools()
Returns a list of Pools to which the tenant has access.
|
Pools |
listPools(PaginationOptions options) |
PagedIterable<VIP> |
listVIPs()
Returns a list of VIPs to which the tenant has access.
|
VIPs |
listVIPs(PaginationOptions options) |
HealthMonitor |
updateHealthMonitor(String id,
HealthMonitor.UpdateHealthMonitor healthMonitor)
Update a HealthMonitor.
|
Member |
updateMember(String id,
Member.UpdateMember member)
Update a Member.
|
Pool |
updatePool(String id,
Pool.UpdatePool pool)
Update a Pool.
|
VIP |
updateVIP(String id,
VIP.UpdateVIP vip)
Update a VIP.
|
@Named(value="vip:list") @GET @Path(value="/vips") PagedIterable<VIP> listVIPs()
@Named(value="vip:list") @GET @Path(value="/vips") VIPs listVIPs(PaginationOptions options)
@Named(value="vip:get")
@GET
@Path(value="/vips/{id}")
@Nullable
VIP getVIP(@PathParam(value="id")
String id)
id - the id of the VIP to return.@Named(value="vip:create") @POST @Path(value="/vips") VIP createVIP(VIP.CreateVIP vip)
vip - describes the VIP to be created.@Named(value="vip:update")
@PUT
@Path(value="/vips/{id}")
VIP updateVIP(@PathParam(value="id")
String id,
VIP.UpdateVIP vip)
id - the id of the VIP to update.vip - the VIP's attributes to update.@Named(value="vip:delete")
@DELETE
@Path(value="/vips/{id}")
boolean deleteVIP(@PathParam(value="id")
String id)
id - the id of the VIP to delete.@Named(value="pool:list") @GET @Path(value="/pools") PagedIterable<Pool> listPools()
@Named(value="pool:list") @GET @Path(value="/pools") Pools listPools(PaginationOptions options)
@Named(value="pool:get")
@GET
@Path(value="/pools/{id}")
@Nullable
Pool getPool(@PathParam(value="id")
String id)
id - the id of the Pool to return.@Named(value="pool:create") @POST @Path(value="/pools") Pool createPool(Pool.CreatePool pool)
pool - describes the Pool to be created.@Named(value="pool:update")
@PUT
@Path(value="/pools/{id}")
Pool updatePool(@PathParam(value="id")
String id,
Pool.UpdatePool pool)
id - the id of the Pool to update.pool - the Pool's attributes to update.@Named(value="pool:delete")
@DELETE
@Path(value="/pools/{id}")
boolean deletePool(@PathParam(value="id")
String id)
id - the id of the Pool to delete.@Named(value="member:list") @GET @Path(value="/members") PagedIterable<Member> listMembers()
@Named(value="member:list") @GET @Path(value="/members") Members listMembers(PaginationOptions options)
@Named(value="member:get")
@GET
@Path(value="/members/{id}")
@Nullable
Member getMember(@PathParam(value="id")
String id)
id - the id of the Member to return.@Named(value="member:create") @POST @Path(value="/members") Member createMember(Member.CreateMember member)
member - describes the Member to be created.@Named(value="member:update")
@PUT
@Path(value="/members/{id}")
Member updateMember(@PathParam(value="id")
String id,
Member.UpdateMember member)
id - the id of the Member to update.member - the Member's attributes to update.@Named(value="member:delete")
@DELETE
@Path(value="/members/{id}")
boolean deleteMember(@PathParam(value="id")
String id)
id - the id of the Member to delete.@Named(value="health_monitor:list") @GET @Path(value="/health_monitors") PagedIterable<HealthMonitor> listHealthMonitors()
@Named(value="health_monitor:list") @GET @Path(value="/health_monitors") HealthMonitors listHealthMonitors(PaginationOptions options)
@Named(value="health_monitor:get")
@GET
@Path(value="/health_monitors/{id}")
@Nullable
HealthMonitor getHealthMonitor(@PathParam(value="id")
String id)
id - the id of the HealthMonitor to return.@Named(value="health_monitor:create") @POST @Path(value="/health_monitors") HealthMonitor createHealthMonitor(HealthMonitor.CreateHealthMonitor healthMonitor)
healthMonitor - describes the HealthMonitor to be created.@Named(value="health_monitor:update")
@PUT
@Path(value="/health_monitors/{id}")
HealthMonitor updateHealthMonitor(@PathParam(value="id")
String id,
HealthMonitor.UpdateHealthMonitor healthMonitor)
id - the id of the HealthMonitor to update.healthMonitor - the HealthMonitor's attributes to update.@Named(value="health_monitor:delete")
@DELETE
@Path(value="/health_monitors/{id}")
boolean deleteHealthMonitor(@PathParam(value="id")
String id)
id - the id of the Health Monitor to delete.@Named(value="pool:associate_health_monitor")
@POST
@Path(value="/pools/{pool-id}/health_monitors")
@Produces(value="application/json")
HealthMonitor associateHealthMonitor(@PathParam(value="pool-id")
String poolId,
String healthMonitorId)
poolId - the id of the Pool to associate.healthMonitorId - the id of the HealthMonitor to associate.@Named(value="pool:disassociate_health_monitor")
@DELETE
@Path(value="/pools/{pool-id}/health_monitors/{health-monitor-id}")
boolean disassociateHealthMonitor(@PathParam(value="pool-id")
String poolId,
@PathParam(value="health-monitor-id")
String healthMonitorId)
poolId - the id of the Pool to disassociate.healthMonitorId - the id of the HealthMonitor to disassociate.Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.