Class VPNServerRoute
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.VPNServerRoute
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VPNServerRoute
extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPNServerRoute.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The action to perform with a packet matching the VPN route: - `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target.static interface
The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state.static interface
The lifecycle state of the VPN route.static interface
The resource type. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAction
Gets the action. The action to perform with a packet matching the VPN route: - `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target. - `deliver`: deliver the packet into the VPC. - `drop`: drop the packet The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the action
-
getCreatedAt
Gets the createdAt. The date and time that the VPN route was created.- Returns:
- the createdAt
-
getDestination
Gets the destination. The destination for this VPN route in the VPN server. If an incoming packet does not match any destination, it will be dropped.- Returns:
- the destination
-
getHealthReasons
Gets the healthReasons. The reasons for the current `health_state` (if any).- Returns:
- the healthReasons
-
getHealthState
Gets the healthState. The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.- Returns:
- the healthState
-
getHref
-
getId
-
getLifecycleReasons
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the VPN route.- Returns:
- the lifecycleState
-
getName
Gets the name. The name for this VPN route. The name is unique across all routes for a VPN server.- Returns:
- the name
-
getResourceType
-