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