Class SecurityGroupRuleLocalPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel
    Direct Known Subclasses:
    SecurityGroupRuleLocalPatchCIDR, SecurityGroupRuleLocalPatchIP

    public class SecurityGroupRuleLocalPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). Can be specified as an IP address or a CIDR block. Specify a CIDR block of `0.0.0.0/0` to allow traffic to all local IP addresses (or from all local IP addresses, for outbound rules). Classes which extend this class: - SecurityGroupRuleLocalPatchIP - SecurityGroupRuleLocalPatchCIDR
    • Method Detail

      • address

        public String address()
        Gets the address. The IP address. This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in the future.
        Returns:
        the address
      • cidrBlock

        public String cidrBlock()
        Gets the cidrBlock. The CIDR block. This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 address blocks in the future.
        Returns:
        the cidrBlock