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 class
SshKeyApi.ParseSshKeys
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SshKey
create(String label, String key)
void
delete(String id)
SshKey
get(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)
-
-