Class VPNServerPatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder.static interface
The transport protocol to use for this VPN server. -
Method Summary
Modifier and TypeMethodDescriptionasPatch()
Construct a JSON merge-patch from the VPNServerPatch.Gets the certificate.Gets the clientAuthentication.Gets the clientDnsServerIps.Gets the clientIdleTimeout.Gets the clientIpPool.Gets the enableSplitTunneling.name()
Gets the name.New builder.port()
Gets the port.protocol()
Gets the protocol.subnets()
Gets the subnets.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
-
certificate
Gets the certificate. The certificate instance for this VPN server.- Returns:
- the certificate
-
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
-
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
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
Gets the enableSplitTunneling. Indicates whether the split tunneling is enabled on this VPN server.- Returns:
- the enableSplitTunneling
-
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
-
protocol
Gets the protocol. The transport protocol to use for this VPN server.- Returns:
- the protocol
-
subnets
Gets the subnets. The subnets to provision this VPN server in (replacing the existing subnets).- Returns:
- the subnets
-
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
-