Package com.ibm.cloud.is.vpc.v1.model
Class SecurityGroupRuleSecurityGroupRuleProtocolTCPUDP
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupRule
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupRuleSecurityGroupRuleProtocolTCPUDP
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecurityGroupRuleSecurityGroupRuleProtocolTCPUDP extends SecurityGroupRule
A rule specifying the TCP or UDP traffic to allow. Either both `port_min` and `port_max` will be present, or neither. When neither is present, all destination ports are allowed for the protocol. When both have the same value, that single destination port is allowed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SecurityGroupRuleSecurityGroupRuleProtocolTCPUDP.Direction
The direction of traffic to allow.static interface
SecurityGroupRuleSecurityGroupRuleProtocolTCPUDP.IpVersion
The IP version to allow.static interface
SecurityGroupRuleSecurityGroupRuleProtocolTCPUDP.Protocol
The network protocol.
-
Method Summary
-
Methods inherited from class com.ibm.cloud.is.vpc.v1.model.SecurityGroupRule
getCode, getDirection, getHref, getId, getIpVersion, getLocal, getPortMax, getPortMin, getProtocol, getRemote, getType
-
-