@Beta
@Path(value="/floatingips")
@Consumes(value="application/json")
public interface FloatingIPApi
Modifier and Type | Method and Description |
---|---|
FloatingIP |
create(FloatingIP.CreateFloatingIP createFloatingIP)
Creates a floating IP.
|
boolean |
delete(String id)
Deletes the specified floatingIP
|
FloatingIP |
get(String id)
Returns the details for a specific floating IP.
|
PagedIterable<FloatingIP> |
list()
Returns a list of floating IPs to which the tenant has access.
|
FloatingIPs |
list(PaginationOptions options) |
FloatingIP |
update(String id,
FloatingIP.UpdateFloatingIP updateFloatingIP)
Update a Floating IP
|
@Named(value="floatingip:list") @GET PagedIterable<FloatingIP> list()
@Named(value="floatingip:list") @GET FloatingIPs list(PaginationOptions options)
@Named(value="floatingip:get") @GET @Path(value="/{id}") @Nullable FloatingIP get(@PathParam(value="id") String id)
id
- the id of the floatingIP to return@Named(value="floatingip:create") @POST FloatingIP create(FloatingIP.CreateFloatingIP createFloatingIP)
createFloatingIP
- Options for creating a Floating IP@Named(value="floatingip:update") @PUT @Path(value="/{id}") FloatingIP update(@PathParam(value="id") String id, FloatingIP.UpdateFloatingIP updateFloatingIP)
id
- the id of the Floating IP to updateupdateFloatingIP
- Contains only the attributes to update@Named(value="floatingip:delete") @DELETE @Path(value="/{id}") boolean delete(@PathParam(value="id") String id)
id
- the id of the floatingIP to deleteCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.