ReservationState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. ReservationState
- com.
- com.
public final class ReservationState
extends ExpandableStringEnum<ReservationState>
The current state of a Future capacity reservation.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Reservation |
APPROVED
The capacity reservation request has been approved by Azure and is awaiting fulfillment. |
|
static final
Reservation |
COMMITTED
The capacity reservation is locked and cannot be updated or deleted prior to going live. |
|
static final
Reservation |
DECLINED
The capacity reservation request was rejected, and will not change again without user action. |
|
static final
Reservation |
FULFILLMENT_FAILED
A failure occurred while attempting to fulfill the capacity reservation request. |
|
static final
Reservation |
LIVE
The capacity reservation is active and available for use, and cannot be modified or deleted until the minimum commitment period has elapsed. |
|
static final
Reservation |
PARTIALLY_FULFILLED
Azure was only able to deliver a portion of the requested capacity. |
|
static final
Reservation |
PENDING
The capacity reservation request has been submitted and is awaiting evaluation. |
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Reservation |
fromString(String name)
Creates or finds a Reservation |
|
static
Collection<Reservation |
values()
Gets known Reservation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
APPROVED
public static final ReservationState APPROVED
The capacity reservation request has been approved by Azure and is awaiting fulfillment.
COMMITTED
public static final ReservationState COMMITTED
The capacity reservation is locked and cannot be updated or deleted prior to going live.
DECLINED
public static final ReservationState DECLINED
The capacity reservation request was rejected, and will not change again without user action.
FULFILLMENT_FAILED
public static final ReservationState FULFILLMENT_FAILED
A failure occurred while attempting to fulfill the capacity reservation request.
LIVE
public static final ReservationState LIVE
The capacity reservation is active and available for use, and cannot be modified or deleted until the minimum commitment period has elapsed.
PARTIALLY_FULFILLED
public static final ReservationState PARTIALLY_FULFILLED
Azure was only able to deliver a portion of the requested capacity. The capacity reservation cannot be modified or deleted until the minimum commitment period has elapsed. The portion of fulfilled capacity can be viewed by inspecting the capacity reservation's instance view, displayed as currentCapacity within the utilizationInfo.
PENDING
public static final ReservationState PENDING
The capacity reservation request has been submitted and is awaiting evaluation.
Constructor Details
ReservationState
@Deprecated
public ReservationState()
Deprecated
Creates a new instance of ReservationState value.
Method Details
fromString
public static ReservationState fromString(String name)
Creates or finds a ReservationState from its string representation.
Parameters:
Returns:
values
public static Collection<ReservationState> values()
Gets known ReservationState values.
Returns: