ReservationAffinityConsumeReservationType

enum ReservationAffinityConsumeReservationType : Enum<ReservationAffinityConsumeReservationType> , ConvertibleToJava<ReservationAffinityConsumeReservationType>

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.

Entries

Link copied to clipboard

Consume any allocation available.

Link copied to clipboard

Do not consume from any allocated capacity.

Link copied to clipboard

Must consume from a specific reservation. Must specify key value fields for specifying the reservations.

Link copied to clipboard

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.

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): ReservationAffinityConsumeReservationType
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: ReservationAffinityConsumeReservationType
Link copied to clipboard
Link copied to clipboard