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 ClassesModifier and TypeClassDescriptionstatic 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
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
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
Gets the message. An explanation of the status reason.- Returns:
- the message
-
getMoreInfo
Gets the moreInfo. Link to documentation about this status reason.- Returns:
- the moreInfo
-