Class VPNServerPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class VPNServerPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    VPNServerPatch.
    • Method Detail

      • certificate

        public CertificateInstanceIdentity certificate()
        Gets the certificate. The certificate instance for this VPN server.
        Returns:
        the certificate
      • clientAuthentication

        public List<VPNServerAuthenticationPrototype> clientAuthentication()
        Gets the clientAuthentication. The authentication methods to use to authenticate VPN client on this VPN server (replacing any existing methods).
        Returns:
        the clientAuthentication
      • clientDnsServerIps

        public List<IP> clientDnsServerIps()
        Gets the clientDnsServerIps. The DNS server addresses that will be provided to VPN clients connected to this VPN server (replacing any existing addresses).
        Returns:
        the clientDnsServerIps
      • clientIdleTimeout

        public Long clientIdleTimeout()
        Gets the clientIdleTimeout. The seconds a VPN client can be idle before this VPN server will disconnect it. If `0`, the server will not disconnect idle clients.
        Returns:
        the clientIdleTimeout
      • clientIpPool

        public String clientIpPool()
        Gets the clientIpPool. The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address prefixes in the VPC or any of the following reserved address ranges: - `127.0.0.0/8` (IPv4 loopback addresses) - `161.26.0.0/16` (IBM services) - `166.8.0.0/14` (Cloud Service Endpoints) - `169.254.0.0/16` (IPv4 link-local addresses) - `224.0.0.0/4` (IPv4 multicast addresses) The prefix length of the client IP address pool's CIDR must be between `/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses that are required to enable the maximum number of concurrent connections is recommended.
        Returns:
        the clientIpPool
      • enableSplitTunneling

        public Boolean enableSplitTunneling()
        Gets the enableSplitTunneling. Indicates whether the split tunneling is enabled on this VPN server.
        Returns:
        the enableSplitTunneling
      • name

        public String name()
        Gets the name. The name for this VPN server. The name must not be used by another VPN server in the VPC.
        Returns:
        the name
      • port

        public Long port()
        Gets the port. The port number used by this VPN server.
        Returns:
        the port
      • protocol

        public String protocol()
        Gets the protocol. The transport protocol to use for this VPN server.
        Returns:
        the protocol
      • subnets

        public List<SubnetIdentity> subnets()
        Gets the subnets. The subnets to provision this VPN server in (replacing the existing subnets).
        Returns:
        the subnets
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the VPNServerPatch. Note that properties of the VPNServerPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
        Returns:
        a JSON merge-patch for the VPNServerPatch