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 null
destination
- destination CIDR or destination rangelog
- enables logging for the egress rule, may be null
type
- control signal for icmp, may be null
code
- control signal for icmp, may be null
Copyright © 2015. All rights reserved.