Class VPNServerClient
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.VPNServerClient
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VPNServerClient
extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPNServerClient.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The resource type.static interface
The status of the VPN client: - `connected`: the VPN client is `connected` to this VPN server. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getClientIp
Gets the clientIp. The IP address assigned to this VPN client from `client_ip_pool`.- Returns:
- the clientIp
-
getCommonName
Gets the commonName. The common name of client certificate that the VPN client provided when connecting to the server. This property will be present only when the `certificate` client authentication method is enabled on the VPN server.- Returns:
- the commonName
-
getCreatedAt
Gets the createdAt. The date and time that the VPN client was created.- Returns:
- the createdAt
-
getDisconnectedAt
Gets the disconnectedAt. The date and time that the VPN client was disconnected. This property will be present only when the client `status` is `disconnected`.- Returns:
- the disconnectedAt
-
getHref
-
getId
-
getRemoteIp
Gets the remoteIp. The remote IP address of this VPN client.- Returns:
- the remoteIp
-
getRemotePort
Gets the remotePort. The remote port of this VPN client.- Returns:
- the remotePort
-
getResourceType
-
getStatus
Gets the status. The status of the VPN client: - `connected`: the VPN client is `connected` to this VPN server. - `disconnected`: the VPN client is `disconnected` from this VPN server. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getUsername
Gets the username. The username that this VPN client provided when connecting to the VPN server. This property will be present only when the `username` client authentication method is enabled on the VPN server.- Returns:
- the username
-