Package com.ibm.cloud.is.vpc.v1.model
Class VPNGatewayMember
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.VPNGatewayMember
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VPNGatewayMember extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPNGatewayMember.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VPNGatewayMember.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.static interface
VPNGatewayMember.LifecycleState
The lifecycle state of the VPN gateway member.static interface
VPNGatewayMember.Role
The high availability role assigned to the VPN gateway member.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VPNGatewayMemberHealthReason>
getHealthReasons()
Gets the healthReasons.String
getHealthState()
Gets the healthState.List<VPNGatewayMemberLifecycleReason>
getLifecycleReasons()
Gets the lifecycleReasons.String
getLifecycleState()
Gets the lifecycleState.ReservedIPReference
getPrivateIp()
Gets the privateIp.IP
getPublicIp()
Gets the publicIp.String
getRole()
Gets the role.
-
-
-
Method Detail
-
getHealthReasons
public List<VPNGatewayMemberHealthReason> getHealthReasons()
Gets the healthReasons. The reasons for the current `health_state` (if any).- Returns:
- the healthReasons
-
getHealthState
public String 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
-
getLifecycleReasons
public List<VPNGatewayMemberLifecycleReason> getLifecycleReasons()
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the VPN gateway member.- Returns:
- the lifecycleState
-
getPrivateIp
public ReservedIPReference getPrivateIp()
Gets the privateIp. The reserved IP address assigned to the VPN gateway member. This property will be present only when the VPN gateway status is `available`.- Returns:
- the privateIp
-
getPublicIp
public IP getPublicIp()
Gets the publicIp. The public IP address assigned to the VPN gateway member.- Returns:
- the publicIp
-
getRole
public String getRole()
Gets the role. The high availability role assigned to the VPN gateway member. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the role
-
-