@Path(value="/datacenters/{dataCenterId}/lans") public interface LanApi extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
LanApi.LanParser |
Modifier and Type | Method and Description |
---|---|
Lan |
create(Lan.Request.CreatePayload payload) |
URI |
delete(String dataCenterId,
String lanId) |
Lan |
get(String dataCenterId,
String lanId) |
Lan |
get(String dataCenterId,
String lanId,
DepthOptions options) |
List<Lan> |
list(String dataCenterId) |
List<Lan> |
list(String dataCenterId,
DepthOptions options) |
Lan |
update(Lan.Request.UpdatePayload payload) |
@Named(value="lan:list") @GET List<Lan> list(@PathParam(value="dataCenterId") String dataCenterId)
@Named(value="lan:list") @GET List<Lan> list(@PathParam(value="dataCenterId") String dataCenterId, DepthOptions options)
@Named(value="lan:get") @GET @Path(value="/{lanId}") Lan get(@PathParam(value="dataCenterId") String dataCenterId, @PathParam(value="lanId") String lanId)
@Named(value="lan:get") @GET @Path(value="/{lanId}") Lan get(@PathParam(value="dataCenterId") String dataCenterId, @PathParam(value="lanId") String lanId, DepthOptions options)
@Named(value="lan:create") @POST Lan create(Lan.Request.CreatePayload payload)
@Named(value="lan:update") @Path(value="/{lanId}") @Produces(value="application/json") Lan update(Lan.Request.UpdatePayload payload)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.