ReservationState Class

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 ReservationState APPROVED

The capacity reservation request has been approved by Azure and is awaiting fulfillment.

static final ReservationState COMMITTED

The capacity reservation is locked and cannot be updated or deleted prior to going live.

static final ReservationState DECLINED

The capacity reservation request was rejected, and will not change again without user action.

static final ReservationState FULFILLMENT_FAILED

A failure occurred while attempting to fulfill the capacity reservation request.

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.

static final ReservationState PARTIALLY_FULFILLED

Azure was only able to deliver a portion of the requested capacity.

static final ReservationState 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 ReservationState value.

Method Summary

Modifier and Type Method and Description
static ReservationState fromString(String name)

Creates or finds a ReservationState from its string representation.

static Collection<ReservationState> values()

Gets known ReservationState values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ReservationState.

values

public static Collection<ReservationState> values()

Gets known ReservationState values.

Returns:

known ReservationState values.

Applies to