> +@Consumes(MediaType.APPLICATION_JSON)
> +@Path("/servers")
> +public interface InterfaceApi {
> +
> + @POST
> + @Consumes(MediaType.APPLICATION_JSON)
> + @SelectJson("interfaceAttachment")
> + @Path("/{server_id}/os-interface")
> + @RequestFilters(AuthenticateRequest.class)
> + InterfaceAttachment attachInterface(@PathParam("server_id") String
> serverId, AttachInterfaceOptions... options);
> +
> + @DELETE
> + @Consumes(MediaType.APPLICATION_JSON)
> + @Path("/{server_id}/os-interface/{port_id}")
> + @RequestFilters(AuthenticateRequest.class)
> + void detachInterface(@PathParam("server_id") String serverId,
> @PathParam("port_id") String portId);
Add the corresponding `@Named` annotation to the method.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/697/files#r25602097