Class InstanceHealthReason

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceHealthReason
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceHealthReason extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceHealthReason.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    A reason code for this health state: - `reservation_capacity_unavailable`: The reservation affinity pool has no available capacity.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the code.
    Gets the message.
    Gets the moreInfo.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getCode

      public String getCode()
      Gets the code. A reason code for this health state: - `reservation_capacity_unavailable`: The reservation affinity pool has no available capacity. - `reservation_deleted`: The reservation affinity pool has a deleted reservation. - `reservation_expired`: The reservation affinity pool has an expired reservation. - `reservation_failed`: The reservation affinity pool has a failed reservation. See [health status reasons](https://cloud.ibm.com/docs/vpc?topic=vpc-server-health-status-reasons) for details. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the code
    • getMessage

      public String getMessage()
      Gets the message. An explanation of the reason for this health state.
      Returns:
      the message
    • getMoreInfo

      public String getMoreInfo()
      Gets the moreInfo. Link to documentation about the reason for this health state.
      Returns:
      the moreInfo