Class ImageStatusReason

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

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    A reason code for the status: - `encrypted_data_key_invalid`: image cannot be decrypted with the specified `encryption_key` - `encryption_key_deleted`: image unusable because its `encryption_key` was deleted - `encryption_key_disabled`: image unusable until its `encryption_key` is re-enabled - `image_data_corrupted`: image data is corrupt, or is not in the specified format - `image_provisioned_size_unsupported`: image requires a boot volume size greater than the maximum supported value - `image_request_in_progress`: image operation is in progress (such as an import from Cloud Object Storage) - `image_request_queued`: image request has been accepted but the requested operation has not started 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. A reason code for the status: - `encrypted_data_key_invalid`: image cannot be decrypted with the specified `encryption_key` - `encryption_key_deleted`: image unusable because its `encryption_key` was deleted - `encryption_key_disabled`: image unusable until its `encryption_key` is re-enabled - `image_data_corrupted`: image data is corrupt, or is not in the specified format - `image_provisioned_size_unsupported`: image requires a boot volume size greater than the maximum supported value - `image_request_in_progress`: image operation is in progress (such as an import from Cloud Object Storage) - `image_request_queued`: image request has been accepted but the requested operation has not started 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