Class BareMetalServerStatusReason

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

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The status reason code: - `cannot_reinitialize`: An error occurred while reinitializing bare metal server - `cannot_start`: Failed to start due to an internal error - `cannot_start_capacity`: Insufficient capacity within the selected zone - `cannot_start_compute`: An error occurred while allocating compute resources - `cannot_start_ip_address`: An error occurred while allocating an IP address - `cannot_start_network`: An error occurred while allocating network resources - `cannot_update_firmware`: An error occurred while updating bare metal server firmware - `cannot_start_reservation_capacity`: Failed to start because the reservation has insufficient capacity - `cannot_start_reservation_expired`: Failed to start because the reservation has expired The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
  • 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. The status reason code: - `cannot_reinitialize`: An error occurred while reinitializing bare metal server - `cannot_start`: Failed to start due to an internal error - `cannot_start_capacity`: Insufficient capacity within the selected zone - `cannot_start_compute`: An error occurred while allocating compute resources - `cannot_start_ip_address`: An error occurred while allocating an IP address - `cannot_start_network`: An error occurred while allocating network resources - `cannot_update_firmware`: An error occurred while updating bare metal server firmware - `cannot_start_reservation_capacity`: Failed to start because the reservation has insufficient capacity - `cannot_start_reservation_expired`: Failed to start because the reservation has expired 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 status reason.
      Returns:
      the message
    • getMoreInfo

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