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