Class 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.
    • Method Detail

      • getHealthReasons

        public List<VPNGatewayMemberHealthReason> getHealthReasons()
        Gets the healthReasons. The reasons for the current VPN gateway member health_state (if any): - `cannot_reserve_ip_address`: IP address exhaustion (release addresses on the VPN's subnet) - `internal_error`: Internal error (contact IBM support) The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered.
        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 VPN gateway member lifecycle_state (if any): - `resource_suspended_by_provider`: The resource has been suspended (contact IBM support) The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered.
        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.
        Returns:
        the role