This project has retired. For details please refer to its
Attic page .
RouteApi (Apache jclouds 2.4.0 API)
JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Detail:
Field |
Constr |
Method
Method Detail
delete
@Named("Routes:delete")
@DELETE
@Path("/{route}")
@Nullable
Operation delete(@PathParam("route")
String routeName)
Deletes a route by name and returns the operation in progress, or null if not found.
createInNetwork
@Named("Routes:insert")
@POST
@Produces("application/json")
Operation createInNetwork(String name,
URI network,
RouteOptions routeOptions)
Creates a route resource in the specified project using the data included in the request.
Parameters:
name
- the name of the route to be inserted.
network
- the network to which to add the route
routeOptions
- the options of the route to add
Returns:
an Operation resource. To check on the status of an operation, poll the Operations resource returned to
you, and look for the status field.
listPage
@Named("Routes:list")
@GET
ListPage <Route > listPage(@Nullable @QueryParam("pageToken")
String pageToken,
ListOptions listOptions)
Retrieves the list of route resources available to the specified project.
By default the list as a maximum size of 100, if no options are provided or ListOptions#getMaxResults() has not
been set.
Parameters:
pageToken
- marks the beginning of the next list page
listOptions
- listing options
Returns:
a page of the list