Enum ComputeRequirementStatus

java.lang.Object
java.lang.Enum<ComputeRequirementStatus>
co.yellowdog.platform.model.ComputeRequirementStatus
All Implemented Interfaces:
Serializable, Comparable<ComputeRequirementStatus>, java.lang.constant.Constable

public enum ComputeRequirementStatus extends Enum<ComputeRequirementStatus>
Describes the status of a compute requirement.
The status of a compute requirement provides an aggregated view of the statuses of instances provisioned for that requirement.
  • Enum Constant Details

    • NEW

      public static final ComputeRequirementStatus NEW
      The compute requirement has been created and submitted to YellowDog Compute.
    • PROVISIONING

      public static final ComputeRequirementStatus PROVISIONING
      YellowDog Compute is in the process of provisioning computer machine instances to meet the requirement. The requirement will remain in PROVISIONING state until all newly provisioned instances have transitioned to RUNNING or TERMINATED (in the case where a provider cancels provision).
    • STARTING

      public static final ComputeRequirementStatus STARTING
      The instances provisioned for the requirement are being re-started after having been stopped. Some instances may already have started, however the requirement is still considered to be STARTING until all instances have started.
    • RUNNING

      public static final ComputeRequirementStatus RUNNING
      The instances provisioned for the requirement are running. Individual instances may be independently transitioned to other states but the requirement is still considered to be running.
    • STOPPING

      public static final ComputeRequirementStatus STOPPING
      The instances provisioned for the requirement are being stopped. Some instances may already have stopped, however the requirement is still considered to be STOPPING until all instances have stopped.
    • STOPPED

      public static final ComputeRequirementStatus STOPPED
      The instances provisioned for the requirement have stopped.
    • TERMINATING

      public static final ComputeRequirementStatus TERMINATING
      The instances provisioned for the requirement are being terminated. Some instances may already be terminated, however the requirement is still considered to be TERMINATING until all instances have terminated.
    • TERMINATED

      public static final ComputeRequirementStatus TERMINATED
      The instances provisioned for the requirement have been terminated. At this point the compute requirement may no longer be changed and is considered to be in a final state.
  • Method Details

    • values

      public static ComputeRequirementStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ComputeRequirementStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null