# Class ConsumeReservationType (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    ConsumeReservationType(value)

Specifies the type of reservation from which this instance can
consume resources: ANY_RESERVATION (default),SPECIFIC_RESERVATION,
or NO_RESERVATION. See Consuming reserved instances for examples.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `UNDEFINED_CONSUME_RESERVATION_TYPE` | A value indicating that the enum field is not set. |
| `ANY_RESERVATION` | Consume any allocation available. |
| `ANY_RESERVATION_THEN_FAIL` | Consume any reservation available, but fail if no reservation is available. Will not consume from the on-demand pool. |
| `NO_RESERVATION` | Do not consume from any allocated capacity. |
| `SPECIFIC_RESERVATION` | Must consume from a specific reservation. Must specify key value fields for specifying the reservations. |
| `SPECIFIC_THEN_ANY_RESERVATION` | Prefer to consume from a specific reservation, but still consume any reservation available if the specified reservation is not available or exhausted. Must specify key value fields for specifying the reservations. |
| `SPECIFIC_THEN_NO_RESERVATION` | Prefer to consume from a specific reservation, but still consume from the on-demand pool if the specified reservation is exhausted. Must specify key value fields for specifying the reservations. |
| `UNSPECIFIED` | No description available. |