Class VPNGateway
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.VPNGateway
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
VPNGatewayPolicyMode
,VPNGatewayRouteMode
public class VPNGateway
extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPNGateway.
Classes which extend this class:
- VPNGatewayRouteMode
- VPNGatewayPolicyMode
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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 gateway.static interface
Route mode VPN gateway.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the connections.Gets the createdAt.getCrn()
Gets the crn.Gets the healthReasons.Gets the healthState.getHref()
Gets the href.getId()
Gets the id.Gets the lifecycleReasons.Gets the lifecycleState.Gets the members.getMode()
Gets the mode.getName()
Gets the name.Gets the resourceGroup.Gets the resourceType.Gets the subnet.getVpc()
Gets the vpc.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getConnections
Gets the connections. Connections for this VPN gateway.- Returns:
- the connections
-
getCreatedAt
Gets the createdAt. The date and time that this VPN gateway was created.- Returns:
- the createdAt
-
getCrn
-
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 gateway.- Returns:
- the lifecycleState
-
getMembers
Gets the members. The members for the VPN gateway.- Returns:
- the members
-
getName
Gets the name. The name for this VPN gateway. The name is unique across all VPN gateways in the VPC.- Returns:
- the name
-
getResourceGroup
Gets the resourceGroup. The resource group for this VPN gateway.- Returns:
- the resourceGroup
-
getResourceType
-
getSubnet
-
getVpc
-
getMode
-