Package org.jclouds.packet.features
Interface SshKeyApi
-
@Path("/ssh-keys") @Consumes("application/json") public interface SshKeyApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSshKeyApi.ParseSshKeys
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SshKeycreate(String label, String key)voiddelete(String id)SshKeyget(String id)PagedIterable<SshKey>list()IterableWithMarker<SshKey>list(ListOptions options)
-
-
-
Method Detail
-
list
@Named("sshkey:list") @GET PagedIterable<SshKey> list()
-
list
@Named("sshkey:list") @GET IterableWithMarker<SshKey> list(ListOptions options)
-
create
@Named("sshkey:create") @POST @Produces("application/json") SshKey create(String label, String key)
-
delete
@Named("sshkey:delete") @DELETE @Path("/{id}") void delete(@PathParam("id") String id)
-
-