Enum ComputeRequirementStatus
- All Implemented Interfaces:
Serializable
,Comparable<ComputeRequirementStatus>
,java.lang.constant.Constable
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.
The status of a compute requirement provides an aggregated view of the statuses of instances provisioned for that requirement.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe compute requirement has been created and submitted to YellowDog Compute.YellowDog Compute is in the process of provisioning computer machine instances to meet the requirement.The instances provisioned for the requirement are running.The instances provisioned for the requirement are being re-started after having been stopped.The instances provisioned for the requirement have stopped.The instances provisioned for the requirement are being stopped.The instances provisioned for the requirement have been terminated.The instances provisioned for the requirement are being terminated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputeRequirementStatus
Returns the enum constant of this type with the specified name.static ComputeRequirementStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEW
The compute requirement has been created and submitted to YellowDog Compute. -
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
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
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
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
The instances provisioned for the requirement have stopped. -
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
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
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
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 nameNullPointerException
- if the argument is null
-