public class SecurityGroupRule extends Object
http://docs.cloudfoundry.org/adminguide/app-sec-groups.html| Constructor and Description |
|---|
SecurityGroupRule(String protocol,
String ports,
String destination) |
SecurityGroupRule(String protocol,
String ports,
String destination,
Boolean log) |
SecurityGroupRule(String protocol,
String ports,
String destination,
Boolean log,
Integer type,
Integer code) |
public SecurityGroupRule(String protocol, String ports, String destination, Boolean log)
public SecurityGroupRule(String protocol, String ports, String destination, Boolean log, Integer type, Integer code)
protocol - network protocol (tcp,icmp,udp,all)ports - port or port range (applicable for tcp,udp,all), may be conditionally nulldestination - destination CIDR or destination rangelog - enables logging for the egress rule, may be nulltype - control signal for icmp, may be nullcode - control signal for icmp, may be nullCopyright © 2015. All rights reserved.