Class 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  BareMetalServerStatusReason.Code
      The status reason code: - `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 The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
    • Method Detail

      • getCode

        public String getCode()
        Gets the code. The status reason code: - `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 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