@Path(value="/ssh_keys")
@Produces(value="application/json")
@Consumes(value="application/json")
public interface SshKeyApi
Modifier and Type | Method and Description |
---|---|
SshKey |
create(SshKey.CreateSshKey sshKey) |
SshKey |
delete(String sshKeyId) |
SshKey |
get(String sshKeyId) |
List<SshKey> |
list() |
List<SshKey> |
list(GenericQueryOptions options) |
SshKey |
update(String sshKeyId,
SshKey.UpdateSshKey sshKey) |
@Named(value="sshkeys:list") @GET List<SshKey> list(GenericQueryOptions options)
@Named(value="sshkeys:get") @GET @Path(value="/{sshKeyId}") SshKey get(@PathParam(value="sshKeyId") String sshKeyId)
@Named(value="sshkeys:create") @POST SshKey create(SshKey.CreateSshKey sshKey)
@Named(value="sshkeys:update") @PUT @Path(value="/{sshKeyId}") SshKey update(@PathParam(value="sshKeyId") String sshKeyId, SshKey.UpdateSshKey sshKey)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.