Interface FirewallApi
-
@Consumes("text/xml") @Produces("text/xml") public interface FirewallApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
activateFirewall(List<String> firewallIds)
Firewall
addFirewallRuleToNic(Firewall.Request.AddRulePayload payload)
boolean
deactivateFirewall(List<String> firewallIds)
boolean
deleteFirewall(List<String> firewallIds)
List<Firewall>
getAllFirewalls()
Firewall
getFirewall(String identifier)
boolean
removeFirewallRules(List<String> firewallRuleIds)
-
-
-
Method Detail
-
addFirewallRuleToNic
@POST @Named("firewall:addrule") Firewall addFirewallRuleToNic(Firewall.Request.AddRulePayload payload)
-
removeFirewallRules
@POST @Named("firewall:removerule") boolean removeFirewallRules(List<String> firewallRuleIds)
-
activateFirewall
@POST @Named("firewall:activate") boolean activateFirewall(List<String> firewallIds)
-
deactivateFirewall
@POST @Named("firewall:activate") boolean deactivateFirewall(List<String> firewallIds)
-
-